/* ===== Kasbah Brass — homepage ===== */

/* --- masthead --- */
.masthead{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--ink-900) 88%,transparent);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.masthead__in{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding-block:1.15rem}
.wordmark{font-family:var(--display);font-size:1.32rem;letter-spacing:.02em;color:var(--paper)}
.wordmark span{color:var(--brass);margin-left:.34em}
.nav{display:flex;gap:clamp(1.2rem,2.6vw,2.6rem)}
.nav a{font-size:var(--step--1);letter-spacing:.13em;text-transform:uppercase;color:var(--paper-dim);transition:color .35s var(--ease)}
.nav a:hover{color:var(--brass)}
.nav__cart{font-size:var(--step--1);letter-spacing:.13em;text-transform:uppercase;color:var(--paper-dim)}
.nav__cart span{color:var(--brass)}
/* Below 860px the links move into a panel. Without JS there is no panel,
   so they must not be hidden — they wrap instead. Hiding them
   unconditionally is what left the header with no navigation at all. */
@media(max-width:860px){
  .js .nav{display:none}
  html:not(.js) .nav{flex-wrap:wrap;gap:.7rem 1.1rem}
  .js .navtoggle{display:inline-flex}
}

/* --- hero --- */
.hero{position:relative;overflow:hidden;border-bottom:1px solid var(--line)}
.hero__media{position:absolute;inset:0;z-index:0}
.hero__sheen{
  position:absolute;inset:-30%;
  background:
    radial-gradient(60% 50% at 22% 28%,rgba(201,161,68,.26),transparent 68%),
    radial-gradient(45% 45% at 78% 72%,rgba(140,107,38,.20),transparent 70%),
    linear-gradient(118deg,transparent 38%,rgba(232,203,132,.10) 50%,transparent 62%);
  filter:blur(8px);
  animation:drift 22s var(--ease) infinite alternate;
}
@keyframes drift{from{transform:translate3d(-2%,-1%,0) scale(1)}to{transform:translate3d(3%,2%,0) scale(1.08)}}
@media(prefers-reduced-motion:reduce){.hero__sheen{animation:none}}

.hero__in{position:relative;z-index:1;padding-block:clamp(5.5rem,15vh,11rem) clamp(3rem,6vh,5rem);display:grid;gap:1.7rem;justify-items:start}
.hero__title{font-size:var(--step-4);max-width:16ch}
.hero__title em{font-style:normal;color:var(--brass);font-weight:300}
.hero__lede{max-width:48ch}
.hero__cta{display:flex;align-items:center;gap:2rem;flex-wrap:wrap;margin-top:.6rem}
.hero__link{font-size:var(--step--1);letter-spacing:.12em;text-transform:uppercase;color:var(--paper-dim);border-bottom:1px solid var(--line-2);padding-bottom:.35em;transition:color .4s var(--ease),border-color .4s var(--ease)}
.hero__link:hover{color:var(--brass);border-color:var(--brass)}

.hero__meta{position:relative;z-index:1;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1.4rem;padding-block:2rem;border-top:1px solid var(--line);font-size:var(--step--1);color:var(--paper-dim);letter-spacing:.06em}
.hero__meta .num{color:var(--brass);font-family:var(--display);margin-right:.8em}

/* --- section heads --- */
.sec__head{margin-bottom:clamp(2.4rem,5vw,4rem);display:grid;gap:.9rem}
.sec__title{font-size:var(--step-3);max-width:18ch}

/* --- signature --- */
.sig__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(2.5rem,6vw,6rem);align-items:center}
.sig__copy{display:grid;gap:1.4rem;justify-items:start}
.sig__title{font-size:var(--step-3)}
.sig__note{color:var(--paper-faint);max-width:52ch;font-size:var(--step-0)}
@media(max-width:900px){.sig__grid{grid-template-columns:1fr}}

.stamp{margin:0;display:grid;gap:1.6rem}
/* ── the hallmark plate ───────────────────────────────────────────────
   This carries the argument the whole shop rests on — every piece
   carries two names — and it was one 145deg ramp under a 5px striped
   overlay. At that period the stripe resolves as corduroy, and a ramp
   that runs corner to corner has no light source, so the whole thing
   read as a swatch rather than as metal.

   What makes brass read as brass: one light (here, upper left), a sheen
   that runs ACROSS the brushing rather than down the plate, grain too
   fine to resolve as a pattern, and shadows that go olive, not grey. */
.stamp__plate{
  aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;
  gap:clamp(1rem,3vw,2.4rem);position:relative;overflow:hidden;isolation:isolate;
  background:
    /* the sheen, a narrow band across the grain */
    linear-gradient(101deg,transparent 26%,rgba(255,243,208,.13) 43%,
      rgba(255,250,232,.26) 50%,rgba(255,243,208,.10) 57%,transparent 74%),
    /* the light itself, upper left, falling away */
    radial-gradient(120% 95% at 22% 14%,rgba(255,240,196,.30) 0%,
      rgba(255,236,186,.12) 34%,transparent 62%),
    /* and the metal under it */
    linear-gradient(158deg,#4c3a19 0%,#7d6229 16%,#a4823b 33%,#c2a059 44%,
      #967633 58%,#6b5425 76%,#45351a 100%);
  box-shadow:
    /* a chamfer: lit on the two edges facing the light, dark on the far two */
    inset 1px 1px 0 rgba(255,246,214,.45),
    inset -1px -1px 0 rgba(48,36,12,.55),
    inset 0 0 34px rgba(60,45,16,.36),
    0 14px 34px rgba(40,30,10,.18);
}
/* Brushing. Turbulence stretched along x streaks the way a wheel leaves
   it; a repeating gradient at any period the eye can resolve does not. */
.stamp__plate::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4 0.008' numOctaves='2' seed='11'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23b)'/%3E%3C/svg%3E");
  mix-blend-mode:overlay;opacity:.30}
/* A finer grain over the whole surface, so it is never flat anywhere. */
.stamp__plate::after{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' seed='5'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E");
  mix-blend-mode:soft-light;opacity:.34}

/* A struck mark is a hole, not a raised letter. With the light upper
   left, the lip nearest it is in shadow and the far lip carries the burr
   that catches it. Invert those two and the name pops out of the plate
   instead of being driven into it — which is what the old single pair of
   shadows very nearly did. */
.stamp__mark{font-family:var(--display);color:#43340f;z-index:1;
  text-shadow:
    0 -1px 0 rgba(42,31,8,.92),
    -1px -1px 2px rgba(42,31,8,.42),
    0 1px 0 rgba(255,240,190,.62),
    0 2px 3px rgba(255,238,186,.20)}
.stamp__mark--maker{font-size:clamp(2.6rem,6vw,4.4rem)}
/* The struck name. max-width was 9ch with an ellipsis, which with .2em of
   letter-spacing clipped "YOUR NAME" to "YOUR N…" before anyone had typed
   anything. It now takes whatever width the plate has left beside the
   hallmark, and home.js shrinks the type until the whole name fits — so a
   name is never cut off, at any length the input allows. */
.stamp__mark--owner{font-size:clamp(1.1rem,2.6vw,2rem);letter-spacing:.2em;
  flex:0 1 auto;min-width:0;max-width:100%;overflow:hidden;white-space:nowrap}
.stamp__divider{width:2px;height:46%;z-index:1;background:linear-gradient(90deg,rgba(42,31,8,.72) 0 1px,rgba(255,240,190,.5) 1px 2px)}
.stamp figcaption{display:grid;gap:.6rem}
.stamp label{font-size:var(--step--1);letter-spacing:.18em;text-transform:uppercase;color:var(--brass)}
.stamp input{background:var(--ink-800);border:1px solid var(--line-2);color:var(--paper);padding:.9em 1.1em;font-family:var(--body);font-size:var(--step-0);letter-spacing:.18em;text-transform:uppercase;width:100%}
.stamp input:focus{outline:2px solid var(--brass);outline-offset:2px}

/* --- tiles --- */
.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(.8rem,1.6vw,1.5rem)}
.tile{position:relative;overflow:hidden;background:var(--ink-800);border:1px solid var(--line)}
.tile--tall{grid-row:span 2}
.tile--wide{grid-column:span 2}
.tile__img{aspect-ratio:4/5;background:
  radial-gradient(70% 60% at 50% 38%,rgba(201,161,68,.30),transparent 70%),
  linear-gradient(160deg,var(--ink-700),var(--ink-850));
  transition:transform 1.1s var(--ease),filter .8s var(--ease)}
.tile--tall .tile__img{aspect-ratio:4/10}
.tile--wide .tile__img{aspect-ratio:8/5}
.tile:hover .tile__img{transform:scale(1.045);filter:brightness(1.18)}
.tile__cap{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:baseline;justify-content:space-between;gap:1rem;padding:1.3rem 1.4rem;background:linear-gradient(to top,var(--scrim),transparent)}
.tile__cap h3{font-size:var(--step-1)}
.tile__cap span{font-size:var(--step--1);letter-spacing:.1em;color:var(--brass)}
@media(max-width:1000px){.tiles{grid-template-columns:repeat(2,1fr)}.tile--tall{grid-row:span 1}.tile--tall .tile__img{aspect-ratio:4/5}}
@media(max-width:560px){.tiles{grid-template-columns:1fr}.tile--wide{grid-column:span 1}.tile--wide .tile__img{aspect-ratio:4/5}}

/* --- patina --- */
.patina__grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(2.5rem,6vw,6rem);align-items:center}
.patina__copy{display:grid;gap:1.3rem}
@media(max-width:900px){.patina__grid{grid-template-columns:1fr}}
.patina__stage{display:grid;gap:1.1rem}
.swatch{aspect-ratio:5/4;position:relative;overflow:hidden;border:1px solid var(--line);background:var(--ink-800)}
/* four photographs of the same hook, stacked and cross-faded. The slider
   already writes data-age on this element, so no JS changed. */
.swatch__img{position:absolute;inset:0;display:block;opacity:0}
/* with JS the blend is driven per frame by the slider, so a transition here
   would lag behind the drag; without JS the data-age rules below still work */
.js .swatch__img{transition:none}
:root:not(.js) .swatch__img{transition:opacity .75s var(--ease)}
.swatch__img img{width:100%;height:100%;object-fit:cover;display:block}
.swatch[data-age="0"] .swatch__img[data-i="0"],
.swatch[data-age="1"] .swatch__img[data-i="1"],
.swatch[data-age="2"] .swatch__img[data-i="2"],
.swatch[data-age="3"] .swatch__img[data-i="3"]{opacity:1}
@media (prefers-reduced-motion:reduce){.swatch__img{transition:none}}
.patina__range{width:100%;accent-color:var(--brass);cursor:pointer}
.patina__ticks{display:flex;justify-content:space-between;font-size:var(--step--1);letter-spacing:.14em;text-transform:uppercase;color:var(--paper-faint)}
.patina__ticks .on{color:var(--brass)}
.patina__caption{color:var(--paper-dim);min-height:3.2em;max-width:54ch}

/* --- workshop --- */
.workshop__grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2.5rem,6vw,6rem);align-items:center}
.workshop__copy{display:grid;gap:1.3rem;justify-items:start}
.workshop__img{aspect-ratio:4/5;background:
  radial-gradient(60% 50% at 40% 34%,rgba(201,161,68,.22),transparent 72%),
  linear-gradient(200deg,var(--ink-700),var(--ink-900));border:1px solid var(--line)}
@media(max-width:900px){.workshop__grid{grid-template-columns:1fr}}

/* --- build your own --- */
.byo{background:
  radial-gradient(70% 120% at 50% 0%,rgba(201,161,68,.11),transparent 68%),var(--ink-850);
  border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.byo__in{display:grid;gap:1.4rem;justify-items:center;text-align:center}
.byo__title{font-size:var(--step-3)}
.byo__lede{max-width:50ch}
.byo__form{display:flex;gap:.8rem;flex-wrap:wrap;justify-content:center;margin-top:.6rem}
.byo__form input{background:var(--ink-800);border:1px solid var(--line-2);color:var(--paper);padding:1.05em 1.3em;font-family:var(--body);font-size:var(--step-0);min-width:min(300px,78vw)}
.byo__form input:focus{outline:2px solid var(--brass);outline-offset:2px}
.byo__micro{font-size:var(--step--1);color:var(--paper-faint);letter-spacing:.04em}

/* --- footer --- */
.foot{padding-block:var(--bay) 2rem;background:var(--ink-900)}
.foot__grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:clamp(2rem,4vw,4rem)}
.foot__grid h4,.foot__h{font-family:var(--body);font-size:var(--step--1);letter-spacing:.18em;text-transform:uppercase;color:var(--brass);margin-bottom:1.1rem;font-weight:500}
.foot__grid a{display:block;color:var(--paper-dim);padding-block:.42em;font-size:var(--step-0);transition:color .3s var(--ease)}
.foot__grid a:hover{color:var(--brass)}
.foot__blurb{color:var(--paper-faint);max-width:34ch;margin-top:1rem}
.foot__social{display:flex;flex-wrap:wrap;gap:0 1.15rem;margin-top:1.6rem}
.foot__social a{display:inline-flex;padding:.4rem .15rem;color:var(--paper-faint);
  transition:color .35s var(--ease),translate .35s var(--ease)}
.foot__social a:hover{color:var(--brass);translate:0 -2px}
.foot__social svg{width:19px;height:19px;display:block}
.foot__base{display:flex;justify-content:space-between;gap:1.4rem;flex-wrap:wrap;margin-top:clamp(2.5rem,5vw,4rem);padding-top:1.6rem;border-top:1px solid var(--line);font-size:var(--step--1);color:var(--paper-faint)}
.foot__base a{color:var(--paper-dim);transition:color .3s var(--ease)}
.foot__base a:hover{color:var(--brass)}
@media(max-width:860px){.foot__grid{grid-template-columns:1fr 1fr}}

/* brand line under the H1 — visual weight without stealing the H1's SEO job */
.hero__brandline{font-family:var(--display);font-size:var(--step-2);color:var(--brass);line-height:1.1;max-width:18ch;margin-top:-.4rem}

/* ── brand mark ───────────────────────────────────────────────────── */
.wordmark{display:inline-flex;align-items:center;gap:.62em}
.mark{width:1.75em;height:1.75em;flex:none;overflow:visible}
.wordmark__txt{font-family:var(--body);font-size:.78rem;letter-spacing:.34em;text-transform:uppercase;font-weight:500;line-height:1}
.wordmark__txt i{font-style:normal;color:var(--gold);margin-left:.1em}
.foot .wordmark__txt{font-size:.82rem}
.stamp__hallmark{width:clamp(3rem,6.4vw,4.8rem);height:clamp(3rem,6.4vw,4.8rem);color:#43340f;z-index:1;overflow:visible;
  filter:drop-shadow(0 -1px 0 rgba(42,31,8,.8)) drop-shadow(0 1px 0 rgba(255,240,190,.5))}
/* struck into brass, so it needs a finer line than the on-screen mark */
.stamp__hallmark path{stroke-width:3.4}
/* dark palettes: lift both bands */

/* ══════════════════════════════════════════════════════════════════════
   MARK IN USE — three places, each with a reason.
   1. divider  : a printer's fleuron. Books have put an ornament between
                 sections for centuries; the weave draws itself on entry.
   2. weavefield: embossed pattern behind the provenance story only —
                 texture where the copy is about a workshop.
   3. tile stamp: the punch strikes the product on hover.
   ══════════════════════════════════════════════════════════════════════ */

/* ── 1. the drawing divider ───────────────────────────────────────── */
.divider{display:flex;align-items:center;gap:clamp(1rem,3vw,2.2rem);
  max-width:var(--maxw);margin-inline:auto;padding-inline:var(--gutter)}
.divider__line{flex:1;height:1px;background:var(--line)}
/* at 26-38px the two stars collided into a blur: bigger, and drawn with a
   finer stroke so the counters stay open */
.divider__mark{width:clamp(38px,4.6vw,54px);height:clamp(38px,4.6vw,54px);flex:none;overflow:visible}
.divider__mark path{stroke-width:3.6}

@media (prefers-reduced-motion:no-preference){
  .js .divider__mark .d-gold,
  .js .divider__mark .d-green{
    stroke-dasharray:1;stroke-dashoffset:1;
    transition:stroke-dashoffset 1.05s var(--ease);
  }
  .js .divider__mark .d-green{transition-delay:.22s}
  .js .divider__mark .d-over{opacity:0;transition:opacity .45s var(--ease) .95s}
  .js .divider.drawn .d-gold,
  .js .divider.drawn .d-green{stroke-dashoffset:0}
  .js .divider.drawn .d-over{opacity:1}
  /* the hairlines open outward as the mark completes */
  .js .divider__line{transform:scaleX(0);transition:transform 1.1s var(--ease) .15s}
  .js .divider__line:first-child{transform-origin:right}
  .js .divider__line:last-child{transform-origin:left}
  .js .divider.drawn .divider__line{transform:scaleX(1)}
}

/* ── 2. embossed weave field ──────────────────────────────────────── */
.workshop{position:relative;overflow:hidden}
.weavefield{
  position:absolute;inset:-14% -2% -14% -2%;z-index:0;pointer-events:none;
  opacity:.5;
  background-image:url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='120' height='208' viewBox='0 0 120 208'>\
<g fill='none' stroke='%238A6A22' stroke-width='4' opacity='0.16'>\
<g transform='translate(10,10) scale(0.5)'><path d='M 72.34,19.26 L 50.00,88.00 L 27.66,19.26 L 86.14,61.74 L 13.86,61.74 Z' opacity='.55'/><path d='M 50.00,21.88 L 66.53,72.75 L 23.26,41.31 L 76.74,41.31 L 33.47,72.75 Z'/></g>\
<g transform='translate(70,114) scale(0.5)'><path d='M 72.34,19.26 L 50.00,88.00 L 27.66,19.26 L 86.14,61.74 L 13.86,61.74 Z' opacity='.55'/><path d='M 50.00,21.88 L 66.53,72.75 L 23.26,41.31 L 76.74,41.31 L 33.47,72.75 Z'/></g>\
<g transform='translate(-50,114) scale(0.5)'><path d='M 72.34,19.26 L 50.00,88.00 L 27.66,19.26 L 86.14,61.74 L 13.86,61.74 Z' opacity='.55'/><path d='M 50.00,21.88 L 66.53,72.75 L 23.26,41.31 L 76.74,41.31 L 33.47,72.75 Z'/></g>\
</g></svg>");
  background-repeat:repeat;
  will-change:transform;
}
.workshop__grid,.workshop__visual,.workshop__copy{position:relative;z-index:1}
/* fade it out at the edges so it reads as embossing, not wallpaper */
.weavefield{mask-image:radial-gradient(120% 90% at 50% 50%,#000 35%,transparent 78%);
            -webkit-mask-image:radial-gradient(120% 90% at 50% 50%,#000 35%,transparent 78%)}
@media (prefers-reduced-motion:reduce){.weavefield{transform:none!important}}

/* ── 3. the stamp press on category tiles ─────────────────────────── */
.tile{isolation:isolate}
.tile__stamp{
  /* struck in the corner like a maker's seal, not laid over the product.
     It scales from its own top-right corner, so the entry animation grows
     down and left into the card instead of spilling past the clip. */
  /* the star sits inside its own 100x100 box with ~19% air above it and ~14%
     either side, so the box goes flush to the corner and that built-in air
     is the whole margin */
  position:absolute;top:0;right:.6%;left:auto;width:17%;height:17%;
  translate:none;transform-origin:100% 0;
  opacity:0;scale:1.35;
  transition:opacity .34s var(--ease),scale .34s cubic-bezier(.2,1.5,.4,1);
  pointer-events:none;z-index:2;overflow:visible;
  filter:drop-shadow(0 1px 3px rgba(0,0,0,.45));
}
.tile:hover .tile__stamp,.tile:focus-visible .tile__stamp{opacity:.6;scale:1}

/* ── the mark is two stars offset by 36°, so it has a motion of its own ──
   The geometry: the outer (green) star is drawn 36° round from the inner
   (gold) one. Rotate the outer back by exactly that and the ten-point
   rosette closes into a single five-point star. Nothing arbitrary — the
   animation is the construction of the mark, run backwards.             */
.mark__outer,.mark__inner{transform-box:view-box;transform-origin:50px 50px}

/* wordmark: hovering the logo closes the rosette */
.wordmark .mark__outer{transition:rotate .85s cubic-bezier(.22,.61,.36,1)}
.wordmark .mark__inner{transition:rotate .85s cubic-bezier(.22,.61,.36,1) .04s}
.wordmark:hover .mark__outer,.wordmark:focus-visible .mark__outer{rotate:-36deg}

/* tile stamp: starts closed and opens as it presses, so the press lands
   on the mark's designed state rather than arriving already finished */
.tile__stamp .mark__outer{rotate:-36deg;transition:rotate .46s cubic-bezier(.2,1.5,.4,1)}
.tile__stamp .mark__inner{rotate:18deg; transition:rotate .46s cubic-bezier(.2,1.5,.4,1) .03s}
.tile:hover .tile__stamp .mark__outer,.tile:focus-visible .tile__stamp .mark__outer,
.tile:hover .tile__stamp .mark__inner,.tile:focus-visible .tile__stamp .mark__inner{rotate:0deg}

@media (prefers-reduced-motion:reduce){
  .wordmark .mark__outer,.wordmark .mark__inner,
  .tile__stamp .mark__outer,.tile__stamp .mark__inner{transition:none;rotate:0deg}
}
@media (prefers-reduced-motion:reduce){.tile__stamp{transition:opacity .2s}.tile:hover .tile__stamp{scale:1}}

/* ══ FX 4 — mark as the patina slider thumb ════════════════════════════ */
.patina__range{-webkit-appearance:none;appearance:none;background:transparent;height:30px}
.patina__range::-webkit-slider-runnable-track{height:2px;background:var(--line-2)}
.patina__range::-webkit-slider-thumb{
  -webkit-appearance:none;width:30px;height:30px;margin-top:-14px;border:0;background:transparent;cursor:grab;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='48' fill='%23FBFAF8'/><path d='M 72.34,19.26 L 50.00,88.00 L 27.66,19.26 L 86.14,61.74 L 13.86,61.74 Z' fill='none' stroke='%235E7158' stroke-width='7' stroke-linejoin='round'/><path d='M 50.00,21.88 L 66.53,72.75 L 23.26,41.31 L 76.74,41.31 L 33.47,72.75 Z' fill='none' stroke='%238A6A22' stroke-width='7' stroke-linejoin='round'/></svg>");
  background-size:contain;background-repeat:no-repeat;background-position:center;
  transition:scale .2s var(--ease)}
.patina__range:active::-webkit-slider-thumb{scale:1.14;cursor:grabbing}
.patina__range::-moz-range-track{height:2px;background:var(--line-2)}
.patina__range::-moz-range-thumb{
  width:30px;height:30px;border:0;background:transparent;cursor:grab;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='48' fill='%23FBFAF8'/><path d='M 72.34,19.26 L 50.00,88.00 L 27.66,19.26 L 86.14,61.74 L 13.86,61.74 Z' fill='none' stroke='%235E7158' stroke-width='7' stroke-linejoin='round'/><path d='M 50.00,21.88 L 66.53,72.75 L 23.26,41.31 L 76.74,41.31 L 33.47,72.75 Z' fill='none' stroke='%238A6A22' stroke-width='7' stroke-linejoin='round'/></svg>");
  background-size:contain;background-repeat:no-repeat}

/* ══ FX 5 — scroll progress mark ══════════════════════════════════════ */
.scrollmark{
  display:grid;place-items:center;position:fixed;z-index:60;
  right:clamp(1rem,2.4vw,2rem);bottom:clamp(1rem,2.4vw,2rem);
  width:48px;height:48px;
  background:color-mix(in srgb,var(--ink-900) 86%,transparent);
  backdrop-filter:blur(10px);border-radius:50%;
  opacity:0;transition:opacity .5s var(--ease)}
.scrollmark.live{opacity:1}
.scrollmark__ring{position:absolute;inset:0;width:48px;height:48px}
.scrollmark__arc{transition:stroke-dashoffset .12s linear}
.scrollmark__mark{width:19px;height:19px;overflow:visible;
  transition:rotate .5s var(--ease)}
@media (max-width:640px){.scrollmark{display:none}}
@media (prefers-reduced-motion:reduce){.scrollmark__mark{transition:none}}

/* ══ FX 6 — hero watermark ════════════════════════════════════════════ */
.hero__watermark{
  display:block;position:absolute;
  right:-8%;top:50%;translate:0 -50%;
  width:min(62vh,640px);height:min(62vh,640px);
  color:var(--gold);opacity:.085;overflow:visible;
  will-change:transform}
@media (prefers-reduced-motion:no-preference){
  .hero__watermark{animation:wmspin 90s linear infinite}
}
@keyframes wmspin{to{rotate:360deg}}
@media (max-width:900px){.hero__watermark{right:-32%;opacity:.06}}


/* ══ hero photograph ══════════════════════════════════════════════════
   The image carries the left third as near-empty plaster, so the headline
   sits on it directly. The scrim only lifts contrast enough for AA text;
   the sheen and watermark drop right back now there is a real photo.     */
.hero__media{position:absolute;inset:0;z-index:0;overflow:hidden}
.hero__photo{width:100%;height:100%;object-fit:cover;
  /* hold the clean plaster at the left and the brass edge at the right */
  object-position:62% 50%}
@media (max-width:900px){.hero__photo{object-position:34% 50%}}

/* legibility scrim — warm, not grey, so it reads as light not haze */
.hero__scrim{position:absolute;inset:0;
  background:linear-gradient(100deg,
    color-mix(in srgb,var(--ink-900) 88%,transparent) 0%,
    color-mix(in srgb,var(--ink-900) 62%,transparent) 32%,
    color-mix(in srgb,var(--ink-900) 14%,transparent) 58%,
    transparent 80%)}

/* the CSS sheen was standing in for a photo — now it is a whisper */
.hero__sheen{opacity:.28;mix-blend-mode:soft-light}

/* watermark: pull it off the brass strip and lighten it */
.hero__watermark{right:2%;opacity:.055;color:var(--ink);mix-blend-mode:multiply}
@media (max-width:900px){.hero__watermark{right:-30%;opacity:.045}}

/* give the hero a real floor now that it holds an image */
.hero__in{min-height:clamp(560px,76vh,860px);align-content:center}
.hero__meta{background:color-mix(in srgb,var(--ink-900) 72%,transparent);backdrop-filter:blur(6px)}

/* FIX: <picture> is display:inline by default, so a child img with
   height:100% has no sized parent and collapses. Size the wrapper. */
.hero__media picture{display:block;width:100%;height:100%}

/* FIX: on the light palettes --ink-900 IS the near-white ground, so the
   scrim was an 88% white veil. Lighten the image just enough for AA text. */
.hero__scrim{background:linear-gradient(100deg,
    color-mix(in srgb,var(--ink-900) 72%,transparent) 0%,
    color-mix(in srgb,var(--ink-900) 46%,transparent) 30%,
    color-mix(in srgb,var(--ink-900) 12%,transparent) 56%,
    transparent 78%)}
/* dark palettes need the opposite: darken, not lighten */


/* ══ COLLECTION — rebuilt ══════════════════════════════════════════════
   Was: a 4-col mosaic with row/col spans. Auto-placement left a hole in
   the top-right, tiles had unequal heights so captions never shared a
   baseline, and long names wrapped while short ones didn't.
   Now: 3 x 2 uniform grid, one aspect ratio, captions below the image on
   a shared baseline — a museum label, not an overlay.                    */
.tiles{grid-template-columns:repeat(3,1fr);gap:clamp(1.4rem,2.6vw,2.6rem) clamp(1.2rem,2.2vw,2rem)}
.tile{background:transparent;border:0;display:grid;gap:0;align-content:start}

.tile__img{aspect-ratio:4/5;border:1px solid var(--line);
  background:
    radial-gradient(64% 52% at 50% 40%,color-mix(in srgb,var(--brass) 22%,transparent),transparent 72%),
    linear-gradient(162deg,var(--ink-700),var(--ink-600));
  transition:transform 1.1s var(--ease),filter .8s var(--ease)}
.tile--tall .tile__img,.tile--wide .tile__img{aspect-ratio:4/5}

/* caption: name left, price right, hairline above, baselines locked */
.tile__cap{position:static;display:flex;align-items:baseline;justify-content:space-between;
  gap:1.2rem;padding:1rem .1rem 0;background:none;border-top:1px solid var(--line);margin-top:1rem}
.tile__cap h3{font-size:var(--step-1);line-height:1.15;min-width:0}
.tile__price{font-family:var(--body);font-size:var(--step--1);letter-spacing:.1em;
  text-transform:uppercase;color:var(--brass);white-space:nowrap;flex:none}

/* hover lives on the image only */
.tile:hover .tile__img{transform:none;filter:brightness(1.04)}
.tile__imgwrap{position:relative;overflow:hidden}
.tile:hover .tile__cap h3{color:var(--brass);transition:color .4s var(--ease)}

@media(max-width:1000px){.tiles{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.tiles{grid-template-columns:1fr}}

/* stamp now lives inside the image box */
.tile{overflow:visible;position:relative}
.tile__img{position:relative;overflow:hidden}
.tile__stamp{width:17%;height:17%}
.tile:hover .tile__img{transform:none}
.tile__img::after{content:"";position:absolute;inset:0;background:var(--brass);
  opacity:0;transition:opacity .45s var(--ease);mix-blend-mode:overlay}
.tile:hover .tile__img::after{opacity:.1}

/* placeholder blocks — visible enough to judge layout until real photos land.
   Delete this rule the day the photography arrives. */
.tile__img{
  background:
    radial-gradient(58% 48% at 50% 42%, color-mix(in srgb,var(--brass) 26%,transparent), transparent 74%),
    linear-gradient(162deg,
      color-mix(in srgb,var(--paper) 14%,var(--ink-900)),
      color-mix(in srgb,var(--paper) 7%,var(--ink-900)))}
.tile__img::before{content:attr(data-label);position:absolute;inset:auto 0 1rem;text-align:center;
  font-family:var(--body);font-size:var(--step--1);letter-spacing:.2em;text-transform:uppercase;
  color:color-mix(in srgb,var(--paper) 34%,transparent)}
.workshop__img{background:
    radial-gradient(58% 46% at 42% 38%, color-mix(in srgb,var(--brass) 24%,transparent), transparent 74%),
    linear-gradient(200deg,
      color-mix(in srgb,var(--paper) 15%,var(--ink-900)),
      color-mix(in srgb,var(--paper) 8%,var(--ink-900)))}
.tiles{row-gap:clamp(2.2rem,3.6vw,3.4rem)}

/* real photographs in tiles */
.tiles .tile__img{aspect-ratio:1/1}          /* sources are landscape/square, not 4:5 */
.tile__img.has-photo{background:var(--ink-800)}
.tile__img.has-photo::before{content:none}   /* hide the "PHOTO —" placeholder label */
.tile__img picture{display:block;width:100%;height:100%}
.tile__photo{width:100%;height:100%;object-fit:cover;transition:transform 1.2s var(--ease)}
.tile:hover .tile__photo{transform:scale(1.035)}

/* theme-paired tile photographs ---------------------------------------
   Each bathroom tile ships a light and a dark exposure of the same room.
   <picture media="(prefers-color-scheme:dark)"> can't be used here: it
   only sees the OS setting, and the toggle in the header writes
   data-theme on <html>. Flipping to dark would leave a bright white
   bathroom sitting on a near-black page. So both variants ship and CSS
   chooses, through the same three selectors the colour tokens use.
   The .tile__img prefix is needed to outrank .tile__img picture above. */
.tile__ph{display:block;width:100%;height:100%}
.tile__img .tile__ph--dark{display:none}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .tile__img .tile__ph--light{display:none}
  :root:not([data-theme="light"]) .tile__img .tile__ph--dark{display:block}
}
:root[data-theme="dark"]  .tile__img .tile__ph--light{display:none}
:root[data-theme="dark"]  .tile__img .tile__ph--dark {display:block}
:root[data-theme="light"] .tile__img .tile__ph--light{display:block}
:root[data-theme="light"] .tile__img .tile__ph--dark {display:none}

/* workshop photograph */
.workshop__img.has-photo{aspect-ratio:auto;background:none;border:0;margin:0;display:grid;gap:.9rem}
.workshop__img.has-photo picture{display:block;border:1px solid var(--line);overflow:hidden}
.workshop__photo{width:100%;height:auto;display:block;aspect-ratio:1/1;object-fit:cover}
/* The frame clips, so the photograph is held slightly oversize and drifts
   inside it as the section passes — 5% of slack each side, 3% of travel. */
@media (prefers-reduced-motion:no-preference){
  .js .workshop__photo{scale:1.1;will-change:transform}
}
.workshop__img figcaption{font-size:var(--step--1);letter-spacing:.14em;text-transform:uppercase;color:var(--paper-faint)}

/* FIX: the weave field was calibrated on the dark palette. On a near-white
   ground the same values read as wallpaper. Drop it to a whisper and keep
   the bleed inside the section. */
.weavefield{inset:-6% -2%;opacity:.65;
  mask-image:radial-gradient(110% 70% at 50% 50%,#000 20%,transparent 70%);
  -webkit-mask-image:radial-gradient(110% 70% at 50% 50%,#000 20%,transparent 70%)}

/* FIX: the band is full-bleed, the content inside it is not.
   Previously .hero__meta carried both the background and .shell's max-width,
   so the band stopped at 1560px and the hero photo showed either side. */
.hero__meta{display:block;padding-block:0;border-top:1px solid var(--line);
  background:color-mix(in srgb,var(--ink-900) 72%,transparent);backdrop-filter:blur(6px)}
.hero__meta-in{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:1.4rem;padding-block:2rem;
  font-size:var(--step--1);color:var(--paper-dim);letter-spacing:.06em}
.hero__meta-in .num{color:var(--brass);font-family:var(--display);margin-right:.8em}

/* ══ MOBILE OVERFLOW FIX ═══════════════════════════════════════════════
   Root cause: several grids use `justify-items:start` so their children
   size to MAX-CONTENT instead of filling the column. A long paragraph then
   took its unwrapped width and pushed the page wider than the viewport —
   which is why text was clipped at the right edge on phones rather than
   wrapping. The ch-based max-widths (62ch, 52ch…) also exceed 390px.
   Fix: cap every child at the container, and make each ch measure a min().
   NOTE: the clipping first seen in screenshots was a headless artifact —
   Chrome clamps its viewport to 500px min. These guards are still correct
   (a 62ch measure does exceed a 390px phone) but they were not a bug fix. */
.hero__in > *,
.sig__copy > *,
.workshop__copy > *,
.byo__in > *,
.patina__copy > *,
.sec__head > *{max-width:100%}

.lede{max-width:min(var(--measure),100%)}
.hero__lede{max-width:min(48ch,100%)}
.hero__title{max-width:min(16ch,100%)}
.hero__brandline{max-width:min(18ch,100%)}
.sig__note{max-width:min(52ch,100%)}
.sec__title{max-width:min(18ch,100%)}
.sig__title{max-width:100%}
.byo__lede{max-width:min(50ch,100%)}
.byo__title{max-width:100%}
.patina__caption{max-width:min(54ch,100%)}
.foot__blurb{max-width:min(34ch,100%)}

/* Long category names must not shove the price out of the tile — and the
   price must stay on the name's FIRST line, so all four prices in the row
   sit at the same height.

   Was flex + flex-wrap: a two-line name ("Shower & Bathroom Hardware")
   pushed the price onto its own line, so FROM $86 hung below the other
   three and the row lost its shared line.

   Grid fixes both. Baseline alignment in a grid row uses each item's FIRST
   baseline, so the price lines up with the first line of the name however
   many lines the name takes. minmax(0,1fr) lets the name wrap; the auto
   column means the price is never squeezed or pushed out. */
.tile__cap{display:grid;grid-template-columns:minmax(0,1fr) auto;
  column-gap:.7rem;row-gap:0;align-items:baseline}
/* the price column is permanent now, so claw back the width it costs the
   name: a tighter gap and less letter-spacing keep the longest category
   ("Shower & Bathroom Hardware") at two lines instead of three. */
.tile__price{letter-spacing:.06em}


/* ══ FEATURED PRODUCTS ════════════════════════════════════════════════ */
.prods{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(1.2rem,2.4vw,2.2rem)}
.prod{display:grid;gap:0;align-content:start}
.prod__img{aspect-ratio:1/1;overflow:hidden;border:1px solid var(--line);position:relative}
.prod__img picture{display:block;width:100%;height:100%}
.prod__img img{width:100%;height:100%;object-fit:cover;transition:transform 1.1s var(--ease)}
.prod:hover .prod__img img{transform:scale(1.04)}
/* same grid treatment as .tile__cap — product names are long ("Brass Candle
   Holders, Set of Three") and under flex-wrap the price dropped below them,
   so prices sat at four different heights across the row. */
.prod__meta{display:grid;grid-template-columns:minmax(0,1fr) auto;
  column-gap:.7rem;row-gap:0;align-items:baseline;
  padding:.9rem .1rem 0;margin-top:.9rem;border-top:1px solid var(--line)}
.prod__meta h3{font-size:var(--step-0);font-family:var(--display);line-height:1.2;flex:1 1 auto;min-width:0}
.prod__price{font-size:var(--step--1);letter-spacing:.06em;color:var(--brass);white-space:nowrap;flex:none}
.prod__note{font-size:var(--step--1);color:var(--paper-faint);letter-spacing:.05em;padding:.35rem .1rem 0}
.prod:hover h3{color:var(--brass);transition:color .35s var(--ease)}
@media(max-width:900px){.prods{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.prods{grid-template-columns:1fr}}

/* ══ HOW IT WORKS ═════════════════════════════════════════════════════ */
.steps{list-style:none;margin:0;padding:0;display:grid;
  grid-template-columns:repeat(4,1fr);gap:clamp(1.6rem,3vw,3rem);counter-reset:none}
.steps li{display:grid;gap:.55rem;align-content:start;padding-top:1.4rem;border-top:1px solid var(--line);min-width:0}
.steps__n{font-family:var(--mono,var(--body));font-size:var(--step--1);letter-spacing:.14em;color:var(--brass)}
.steps h3{font-size:var(--step-1);font-family:var(--display)}
.steps p{color:var(--paper-dim);font-size:var(--step-0)}
@media(max-width:900px){.steps{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.steps{grid-template-columns:1fr}}

/* ══ SHIPPING & DUTIES ════════════════════════════════════════════════ */
.ship{background:color-mix(in srgb,var(--brass) 5%,var(--ink-850))}
.ship__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(1.6rem,3vw,2.8rem)}
.ship__grid h3{font-size:var(--step-0);font-family:var(--body);font-weight:600;letter-spacing:.04em;
  text-transform:uppercase;color:var(--brass);margin-bottom:.5rem}
.ship__grid p{color:var(--paper-dim);font-size:var(--step-0);min-width:0}
@media(max-width:900px){.ship__grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.ship__grid{grid-template-columns:1fr}}

/* ══ FAQ ══════════════════════════════════════════════════════════════ */
.faq__shell{max-width:860px}
.faq{border-top:1px solid var(--line)}
.faq__item{border-bottom:1px solid var(--line)}
.faq__item summary{cursor:pointer;list-style:none;display:flex;align-items:flex-start;
  justify-content:space-between;gap:1.5rem;padding:1.35rem 0;font-family:var(--display);
  font-size:var(--step-1);line-height:1.3}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item summary::after{content:"";flex:none;width:13px;height:13px;margin-top:.45em;
  border-right:1.5px solid var(--brass);border-bottom:1.5px solid var(--brass);
  transform:rotate(45deg);transition:transform .35s var(--ease)}
.faq__item[open] summary::after{transform:rotate(-135deg)}
.faq__item summary:hover{color:var(--brass)}
.faq__item summary:focus-visible{outline:2px solid var(--brass);outline-offset:3px}
.faq__a{padding:0 0 1.5rem;max-width:68ch}
.faq__a p{color:var(--paper-dim)}

/* ══ DARK MODE ADJUSTMENTS ════════════════════════════════════════════
   Everything else is token-driven, so only these four need a real change:
   the hero scrim must darken instead of lighten, and the weave field was
   calibrated on a dark ground. Declared twice so the OS preference and the
   toggle both work.                                                       */
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .hero__scrim{
    background:linear-gradient(100deg,
      rgba(8,10,8,.80) 0%,rgba(8,10,8,.55) 30%,rgba(8,10,8,.18) 58%,transparent 80%)}
  :root:not([data-theme="light"]) .weavefield{opacity:.65}
  :root:not([data-theme="light"]) .stamp input,
  :root:not([data-theme="light"]) .byo__form input{background:var(--ink-800)}
  :root:not([data-theme="light"]) .hero__sheen{opacity:.45;filter:blur(8px)}
}
:root[data-theme="dark"] .hero__scrim{
  background:linear-gradient(100deg,
    rgba(8,10,8,.80) 0%,rgba(8,10,8,.55) 30%,rgba(8,10,8,.18) 58%,transparent 80%)}
:root[data-theme="dark"] .weavefield{opacity:.65}
:root[data-theme="dark"] .stamp input,
:root[data-theme="dark"] .byo__form input{background:var(--ink-800)}
:root[data-theme="dark"] .hero__sheen{opacity:.45;filter:blur(8px)}

/* light is now the default, so these are plain rules */
.hero__sheen{opacity:.28}
.stamp input,.byo__form input{background:#fff}
.stamp__mark{color:#43340f}

/* ── theme toggle ─────────────────────────────────────────────────── */
.themetoggle{display:inline-flex;align-items:center;gap:.55rem;background:none;border:0;
  padding:.4rem .2rem;cursor:pointer;color:var(--paper-dim);font-family:var(--body);
  font-size:var(--step--1);letter-spacing:.13em;text-transform:uppercase;
  transition:color .35s var(--ease)}
.themetoggle:hover{color:var(--brass)}
.themetoggle:focus-visible{outline:2px solid var(--brass);outline-offset:3px}
.themetoggle svg{width:15px;height:15px;flex:none}
.themetoggle .t-sun{display:none}
:root[data-theme="dark"] .themetoggle .t-sun{display:block}
:root[data-theme="dark"] .themetoggle .t-moon{display:none}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .themetoggle .t-sun{display:block}
  :root:not([data-theme="light"]) .themetoggle .t-moon{display:none}
}
.masthead__right{display:flex;align-items:center;gap:clamp(1rem,2vw,1.8rem)}
.nav__cart{display:inline-flex;align-items:center;gap:.5rem}
.nav__cart svg{width:16px;height:16px;flex:none;display:none}
.nav__cart-n::before{content:"("}
.nav__cart-n::after{content:")"}

/* On a phone the nav itself is already gone, so the bar is the wordmark and
   these two. Spelling out THEME and CART (0) beside it crowds the line for no
   gain — the moon and the bag say it. */
@media(max-width:640px){
  .masthead__right{gap:1.15rem}
  .themetoggle__label,.nav__cart-t{display:none}
  .nav__cart svg{display:block}
  .nav__cart{gap:.38rem}
  .nav__cart-n{font-size:.78rem}
  .nav__cart-n::before,.nav__cart-n::after{content:""}
  .themetoggle svg,.nav__cart svg{width:17px;height:17px}
  .themetoggle{padding:.4rem}
}

/* FIX: in dark mode the hero text is light and the photograph is bright
   plaster, so the scrim has to carry much further across the frame than
   it does in light mode, where dark text on light plaster needs very little. */
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .hero__scrim{
    background:linear-gradient(100deg,
      rgba(8,10,8,.92) 0%,rgba(8,10,8,.86) 26%,rgba(8,10,8,.72) 48%,
      rgba(8,10,8,.42) 68%,rgba(8,10,8,.12) 86%,transparent 100%)}
}
:root[data-theme="dark"] .hero__scrim{
  background:linear-gradient(100deg,
    rgba(8,10,8,.92) 0%,rgba(8,10,8,.86) 26%,rgba(8,10,8,.72) 48%,
    rgba(8,10,8,.42) 68%,rgba(8,10,8,.12) 86%,transparent 100%)}
/* four categories now, not six */
.tiles{grid-template-columns:repeat(4,1fr)}
@media(max-width:1000px){.tiles{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.tiles{grid-template-columns:1fr}}

/* ===================================================================
   Loading veil
   Shown only when the inline head script has set html.kb-loading, so a
   visitor without JS never sees it and can never be trapped behind it.
   The node is never removed — it is reused for the leaving transition.
   =================================================================== */
#kbveil{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;
  background:var(--ink-900);
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .6s var(--ease),visibility 0s linear .6s}
html.kb-loading #kbveil,
html.kb-leaving #kbveil{opacity:1;visibility:visible;pointer-events:auto;
  transition:opacity .34s var(--ease),visibility 0s}
/* while hidden it must cost nothing */
html:not(.kb-loading):not(.kb-leaving) #kbveil *{animation-play-state:paused!important}
/* and it must not have played out before the contents were revealed */
.kbveil__outer,.kbveil__inner,.kbveil__line,.kbveil__rule{animation-play-state:paused}
html.kb-armed .kbveil__outer,html.kb-armed .kbveil__inner,
html.kb-armed .kbveil__line,html.kb-armed .kbveil__rule{animation-play-state:running}

/* Nothing in here is sized in vw. The page behind becomes scrollable part
   way through loading; the scrollbar appears, vw changes, and anything
   measured in it jumps. rem does not move. */
.kbveil__in{display:grid;justify-items:center;gap:1.9rem;
  opacity:0;transition:opacity .5s var(--ease)}
html.kb-armed .kbveil__in{opacity:1}
.kbveil__mark{width:5.6rem;height:5.6rem;overflow:visible}
.kbveil__mark path{transform-box:view-box;transform-origin:50px 50px}
.kbveil__outer{animation:kbdraw 1.15s var(--ease) forwards,kbspin 22s linear 1.15s infinite}
.kbveil__inner{animation:kbdraw 1.15s var(--ease) .16s forwards,kbspinback 28s linear 1.31s infinite}
@keyframes kbdraw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes kbspin{to{rotate:360deg}}
@keyframes kbspinback{to{rotate:-360deg}}

.kbveil__line{font-family:var(--display);font-weight:300;
  font-size:1.3rem;letter-spacing:.01em;color:var(--paper-dim);
  margin:0;text-align:center;opacity:0;animation:kbrise .9s var(--ease) .55s forwards}
@keyframes kbrise{from{opacity:0;translate:0 .6rem}to{opacity:1;translate:0 0}}

.kbveil__rule{width:7rem;height:1px;background:var(--line);
  transform-origin:center;scale:0 1;animation:kbrule 1.4s var(--ease) .3s forwards}
@keyframes kbrule{to{scale:1 1}}

@media (max-width:420px){
  .kbveil__mark{width:4.6rem;height:4.6rem}
  .kbveil__line{font-size:1.1rem}
}
@media (prefers-reduced-motion:reduce){
  .kbveil__in{transition:none}
  .kbveil__outer,.kbveil__inner{animation:none;stroke-dashoffset:0}
  .kbveil__line{animation:none;opacity:1}
  .kbveil__rule{animation:none;scale:1 1}
}


/* ===================================================================
   Hero feature — one real piece on the first screen
   Absolutely placed so the hero's own grid is untouched, and dropped
   entirely below 1100px where it would crowd the headline.
   =================================================================== */
.hero__feature{position:absolute;z-index:2;right:clamp(1.5rem,4vw,4rem);top:50%;
  transform:translateY(-50%);width:min(290px,24vw);
  text-decoration:none;color:inherit;isolation:isolate}
/* a panel, not a soft scrim: the right of the hero has blown highlights in
   daylight and brass text disappeared into them. --ink-900 is theme-aware,
   so one rule gives a dark panel in dark mode and a pale one in light. */
.hero__feature .hf__in{display:grid;gap:.8rem;opacity:0;translate:0 16px;
  padding:.95rem .95rem 1.05rem;
  background:color-mix(in srgb,var(--ink-900) 76%,transparent);
  border:1px solid color-mix(in srgb,var(--brass) 24%,transparent);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  transition:opacity .9s var(--ease) .5s,translate .9s var(--ease) .5s}
.hero__feature.in .hf__in{opacity:1;translate:0 0}
.hero__feature .hf__frame{aspect-ratio:1/1;overflow:hidden;
  border:1px solid color-mix(in srgb,var(--brass) 40%,transparent);
  background:color-mix(in srgb,var(--ink-900) 40%,transparent)}
.hero__feature img{width:100%;height:100%;object-fit:cover;display:block;
  transition:transform 1.2s var(--ease)}
.hero__feature:hover img{transform:scale(1.05)}
.hero__feature .hf__tag{font-family:var(--body);font-size:var(--step--1);
  letter-spacing:.2em;text-transform:uppercase;color:var(--brass)}
.hero__feature .hf__row{display:grid;grid-template-columns:minmax(0,1fr) auto;
  column-gap:.7rem;align-items:baseline;
  padding-top:.7rem;border-top:1px solid color-mix(in srgb,var(--brass) 30%,transparent)}
.hero__feature .hf__name{font-family:var(--display);font-size:var(--step-0);
  line-height:1.2;color:var(--paper)}
.hero__feature .hf__price{font-size:var(--step--1);letter-spacing:.06em;
  color:var(--brass);white-space:nowrap}
.hero__feature:hover .hf__name{color:var(--brass);transition:color .35s var(--ease)}
@media (max-width:1100px){.hero__feature{display:none}}
@media (prefers-reduced-motion:reduce){
  .hero__feature .hf__in{transition:none;opacity:1;translate:0 0}
}

/* ===================================================================
   Mobile
   Two per row for categories and products — one per row wasted half
   the screen and pushed everything below the fold — plus a hero that
   shows a real piece instead of an empty wall.
   =================================================================== */

/* ── two per row, all the way down ────────────────────────────── */
@media(max-width:560px){
  .tiles{grid-template-columns:repeat(2,1fr);
    column-gap:clamp(.7rem,3vw,1.1rem);
    row-gap:clamp(1.7rem,5vw,2.4rem)}
  .tile--wide{grid-column:span 1}
  .tiles .tile__img{aspect-ratio:1/1}
}
@media(max-width:480px){
  .prods{grid-template-columns:repeat(2,1fr);
    column-gap:clamp(.7rem,3vw,1.1rem);
    row-gap:clamp(1.6rem,5vw,2.2rem)}
}
/* at two-up the column is ~170px, so the caption needs to give a little */
@media(max-width:430px){
  .tile__cap h3,.prod__meta h3{font-size:.95rem;line-height:1.22}
  .tile__price,.prod__price{font-size:.7rem;letter-spacing:.04em}
  .tile__cap,.prod__meta{column-gap:.45rem;padding-top:.7rem;margin-top:.7rem}
  .prod__note{font-size:.68rem;letter-spacing:.03em}
}

/* ── hero ─────────────────────────────────────────────────────── */
@media(max-width:700px){
  /* it was running to 76vh of mostly empty plaster before the fold */
  .hero__in{min-height:auto;gap:1.1rem;
    padding-block:clamp(2.6rem,9vh,4.5rem) clamp(1.6rem,4vh,2.6rem)}
  .hero__title{font-size:clamp(2.15rem,9.4vw,3.1rem);line-height:1.02}
  .hero__brandline{font-size:var(--step-1);margin-top:-.15rem}
  .hero__lede{font-size:var(--step-0);max-width:36ch}
  .hero__cta{gap:.9rem 1.3rem;margin-top:.2rem}
  .hero__meta-in{padding-block:1.05rem;gap:.45rem;font-size:var(--step--1)}

  /* the horizontal scrim was cut for a left-hand text column on a wide
     screen; on a phone the text spans the width, so fade top to bottom
     and let the photograph come back in the lower half */
  .hero__scrim{background:linear-gradient(180deg,
    color-mix(in srgb,var(--ink-900) 90%,transparent) 0%,
    color-mix(in srgb,var(--ink-900) 78%,transparent) 38%,
    color-mix(in srgb,var(--ink-900) 50%,transparent) 70%,
    color-mix(in srgb,var(--ink-900) 30%,transparent) 100%)!important}
}

/* ── the featured piece, which was simply hidden on mobile ────── */
@media(max-width:1100px){
  .hero__feature{display:block;position:static;transform:none;
    width:auto;max-width:var(--maxw);margin-inline:auto;
    padding:0 var(--gutter) clamp(1.3rem,4vh,2.2rem)}
  .hero__feature .hf__in{
    grid-template-columns:72px minmax(0,1fr);
    grid-template-areas:"img tag" "img row";
    align-content:center;gap:.3rem .9rem;padding:.75rem .9rem}
  .hero__feature .hf__frame{grid-area:img;width:72px;height:72px}
  .hero__feature .hf__tag{grid-area:tag;align-self:end;font-size:.68rem}
  .hero__feature .hf__row{grid-area:row;align-self:start;
    border-top:0;padding-top:0}
  .hero__feature .hf__name{font-size:1rem}
}

/* honeypot: off-screen rather than display:none, because some bots skip
   fields that are not rendered at all */
.byo__hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ── section rhythm ───────────────────────────────────────────────────
   Every .bay carried a full --bay above AND below, so each boundary
   between two untinted sections stacked two of them: 252px of nothing,
   repeated down the page, about a quarter of its height. Two untinted
   neighbours now share one interval instead of each paying for their own.
   A tinted band still needs padding on both sides or the tint closes on
   the type — but shipping and the waitlist are utility strips, not
   chapters, so theirs is tighter. The shipping band was the worst on the
   page: 358px tall around 106px of content. */
.bay:not(.ship):not(.byo) + .bay:not(.ship):not(.byo),
.divider + .bay:not(.ship):not(.byo){padding-block-start:0}
.ship{padding-block:clamp(2.4rem,4.4vw,4rem)}
.byo{padding-block:clamp(3.4rem,6vw,6rem)}

/* ── hero entrance ────────────────────────────────────────────────────
   The reveal observer starts the moment the script runs, but the veil
   stays up until window load plus 850ms. The hero's .9s transition
   therefore played out behind the veil and was already settled by the
   time it lifted — the entrance existed and nobody ever saw it. These
   wait for html.kb-ready, which the veil sets as it goes.

   Held only under .js, so a visitor without it still gets the hero. */
.js .hero .h-rise{opacity:0}
.hero__title .hl{display:block;overflow:hidden;
  /* a line box clipped at the baseline eats the descenders in
     "engraved" and "your"; the padding gives them room and the margin
     takes the space back out of the layout */
  padding-bottom:.16em;margin-bottom:-.16em}
.js .hero__title .hl > span{display:block;transform:translateY(106%)}

html.kb-ready .hero .h-rise{animation:heroRise .92s var(--ease) both;animation-delay:var(--d,0ms)}
html.kb-ready .hero__title .hl > span{
  animation:heroLine 1.05s cubic-bezier(.19,1,.22,1) both;animation-delay:var(--d,0ms)}
@keyframes heroRise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes heroLine{from{transform:translateY(106%)}to{transform:translateY(0)}}

/* The photograph settles instead of cutting in. Slow and small — at 1.06
   it reads as the room coming to rest, not as a zoom. */
.js .hero__photo{transform:scale(1.055)}
html.kb-ready .hero__photo{animation:heroSettle 2.6s cubic-bezier(.16,1,.3,1) both}
@keyframes heroSettle{from{transform:scale(1.055)}to{transform:none}}

/* The rule above the three proof points draws itself in rather than
   appearing whole. */
.js .hero__meta{border-top-color:transparent}
html.kb-ready .hero__meta{animation:heroRise .92s var(--ease) both,
  heroRule .9s var(--ease) both;animation-delay:var(--d,0ms)}
@keyframes heroRule{from{border-top-color:transparent}to{border-top-color:var(--line)}}

@media(prefers-reduced-motion:reduce){
  .js .hero .h-rise,.js .hero__title .hl > span,.js .hero__photo{
    opacity:1;transform:none;animation:none}
  .js .hero__meta{border-top-color:var(--line)}
}

/* ── the narrow-window menu ───────────────────────────────────────────
   Two hairlines that cross into an X when the panel is open — the same
   weight as the rules everywhere else on the page, rather than a stock
   three-bar glyph. */
.navtoggle{display:none;align-items:center;justify-content:center;
  background:none;border:0;padding:.35rem;margin:0;cursor:pointer;
  color:var(--paper-dim);transition:color .35s var(--ease)}
.navtoggle:hover{color:var(--brass)}
.navtoggle:focus-visible{outline:2px solid var(--brass);outline-offset:3px}
.navtoggle__bars{display:grid;gap:6px;width:21px}
.navtoggle__bars i{display:block;height:1px;background:currentColor;
  transition:transform .32s var(--ease),opacity .32s var(--ease)}
.navtoggle[aria-expanded="true"] .navtoggle__bars i:first-child{transform:translateY(3.5px) rotate(45deg)}
.navtoggle[aria-expanded="true"] .navtoggle__bars i:last-child{transform:translateY(-3.5px) rotate(-45deg)}

/* The panel hangs off the masthead, which is sticky and therefore already
   a containing block, so it travels with the bar. */
.navpanel{position:absolute;left:0;right:0;top:100%;
  /* Solid, not translucent: .masthead already sets backdrop-filter, which
     makes it a backdrop root, so a blur on this child has nothing left to
     sample and the hero read straight through the menu. */
  background:var(--ink-900);border-bottom:1px solid var(--line);
  box-shadow:0 18px 34px rgba(20,24,18,.14);
  opacity:0;transform:translateY(-10px);pointer-events:none;
  transition:opacity .28s var(--ease),transform .28s var(--ease)}
.navpanel.in{opacity:1;transform:none;pointer-events:auto}
.navpanel__in{display:grid;padding-block:.4rem 1.1rem}
.navpanel__in a{font-family:var(--display);font-size:var(--step-1);
  letter-spacing:.01em;text-transform:none;color:var(--paper);
  padding-block:.9rem;border-bottom:1px solid var(--line);
  transition:color .3s var(--ease)}
.navpanel__in a:last-child{border-bottom:0}
.navpanel__in a:hover{color:var(--brass)}
@media(prefers-reduced-motion:reduce){
  .navpanel{transition:none}
  .navtoggle__bars i{transition:none}
}

/* The preferences ride in the panel on narrow screens — five controls do
   not fit a 390px bar, and the menu button was being pushed off the edge
   of it. They are MOVED, not copied, so their listeners come with them. */
.navpanel__prefs{display:flex;gap:1.4rem;align-items:center;flex-wrap:wrap;
  padding-block:1rem .2rem;margin-top:.2rem;border-top:1px solid var(--line)}
.navpanel__prefs:empty{display:none}

/* ── the hero on a desktop screen ─────────────────────────────────────
   .hero__in was pinned to clamp(560px,76vh,860px), so the hero stood at
   991px whatever the monitor did — 69% of a tall display, a band rather
   than an arrival. It now takes the viewport, with the three proof
   points held at the bottom edge.

   96svh, not 100: the few remaining pixels of the next section are the
   cue that there IS a next section. svh rather than vh so a mobile
   browser's collapsing toolbar cannot overshoot. */
@media (min-width:900px){
  /* The sticky masthead takes 75px of the viewport before the hero
     starts, so 96svh here actually asked for 96% PLUS the bar and
     overshot. Subtract the bar and a ~40px peek of the next section. */
  .hero{min-height:calc(100svh - 115px);display:flex;flex-direction:column}
  .hero__in{flex:1 1 auto;min-height:0}      /* releases the 860px cap */
  .hero__meta{margin-top:auto}
}
/* Anything up to a 1080p screen cannot hold a three-line headline AND the
   proof strip once the type scales up. The strip is the first piece of
   evidence on the page, so the padding yields rather than it. Above
   1120px tall there is room for both at full spacing. */
@media (min-width:900px) and (max-height:1120px){
  .hero__in{padding-block:clamp(3.2rem,8vh,5.5rem) clamp(1.8rem,3.5vh,2.8rem)}
}

/* ── consent banner ───────────────────────────────────────────────────
   Bottom sheet rather than a centred modal: it must not cover the piece
   someone came to look at, and it must not need dismissing to read the
   page. Accept and Decline carry equal visual weight - a greyed-out
   Decline is not a free choice. */
.kbc{position:fixed;left:0;right:0;bottom:0;z-index:9999;display:flex;flex-wrap:wrap;
     align-items:center;justify-content:space-between;gap:1rem 2rem;
     padding:1.15rem clamp(1.25rem,4vw,3rem);
     background:var(--scrim);backdrop-filter:blur(10px);
     border-top:1px solid var(--line);color:var(--paper);
     font-size:var(--step--1);line-height:1.5;
     animation:kbc-in .32s var(--ease) both}
@keyframes kbc-in{from{transform:translateY(100%)}to{transform:none}}
@media(prefers-reduced-motion:reduce){.kbc{animation:none}}
.kbc__t{margin:0;max-width:70ch}
.kbc__t a{color:var(--brass);text-decoration:underline;text-underline-offset:.18em}
.kbc__b{display:flex;gap:.6rem;flex:none}
.kbc__b button{font:inherit;font-family:var(--body);cursor:pointer;
     padding:.62em 1.5em;border:1px solid var(--line-2);background:transparent;
     color:var(--paper);letter-spacing:.06em;transition:background .25s var(--ease),color .25s var(--ease)}
.kbc__b button:hover{background:var(--paper);color:var(--ink-900)}
.kbc__yes{border-color:var(--brass)!important;color:var(--brass)!important}
.kbc__yes:hover{background:var(--brass)!important;color:var(--ink-900)!important}
.kbc__b button:focus-visible{outline:2px solid var(--brass);outline-offset:2px}
.foot__cookies{background:none;border:0;padding:0;font:inherit;cursor:pointer;
     color:var(--paper-dim);text-decoration:underline;text-underline-offset:.18em}
.foot__cookies:hover{color:var(--brass)}

/* ── over a kitchen island ────────────────────────────────────────────
   Copy left, photograph right, reversed from the workshop bay so the two
   do not read as the same block twice. The photograph drifts slower than
   the page (home.js §9); overflow:hidden on the section is what keeps the
   drift from showing an edge. */
.island{position:relative;overflow:hidden}
.island__grid{display:grid;grid-template-columns:1fr 1.15fr;
  gap:clamp(2rem,5vw,5rem);align-items:center}
@media(max-width:900px){.island__grid{grid-template-columns:1fr}}
.island__copy{display:grid;gap:clamp(.9rem,1.8vw,1.3rem);align-content:center}
.island__copy .btn{justify-self:start;margin-top:.4rem}
.island__img{margin:0;aspect-ratio:3/2;overflow:hidden;border:1px solid var(--line);
  background:radial-gradient(60% 50% at 50% 38%,rgba(201,161,68,.20),transparent 74%),
             linear-gradient(200deg,var(--ink-700),var(--ink-900))}
.island__photo{width:100%;height:100%;object-fit:cover;display:block;
  /* Oversize pays for the drift. The invariant: the translate in home.js §9
     must stay below (scale - 1) / 2, or the frame shows an edge at the
     extremes. 1.20 buys 10% of headroom each way; the drift uses 9%. */
  scale:1.20;will-change:translate}
@media(prefers-reduced-motion:reduce){.island__photo{translate:none!important;scale:1}
  .island__copy{translate:none!important}}

/* ── island: two more kitchens ────────────────────────────────────────
   A pair below the hero photograph, captioned and linked to the piece.
   Deliberately three DIFFERENT kitchens rather than three angles of one:
   a set that shares a room reads as generated, however good each frame is. */
.island__more{display:grid;grid-template-columns:1fr 1fr;
  gap:clamp(1.2rem,3vw,2.4rem);margin-top:clamp(2rem,4vw,3.4rem)}
@media(max-width:700px){.island__more{grid-template-columns:1fr}}
.island__card{margin:0}
.island__card a{display:block;color:inherit;text-decoration:none}
.island__card picture{display:block;overflow:hidden;border:1px solid var(--line);
  aspect-ratio:4/3;background:linear-gradient(200deg,var(--ink-700),var(--ink-900))}
.island__card-photo{width:100%;height:100%;object-fit:cover;display:block;
  transition:scale .6s var(--ease)}
.island__card a:hover .island__card-photo{scale:1.03}
.island__card figcaption{margin-top:.85rem;color:var(--paper-dim);
  font-size:var(--step--1);line-height:1.5;max-width:46ch}
.island__card figcaption strong{color:var(--paper);font-weight:500}
.island__card a:hover figcaption strong{color:var(--brass)}

/* ══ GLOBAL SHOP CHROME ══════════════════════════════════════════════
   These two live here, not in store.css, because store.css is only
   loaded on the shop pages — the home page and /workshop/ do not have it.
   store.js IS on every page, and so is the header cart link that opens the
   drawer, so a drawer opened from the home page rendered as unstyled HTML
   dumped under the footer. Anything store.js can draw ANYWHERE has to be
   styled in a sheet every page loads, which is this one.
   ═══════════════════════════════════════════════════════════════════ */

/* ── toast ────────────────────────────────────────────────────────────
   Adding to the cart used to confirm itself in one line of the smallest
   grey type under the button. People missed it and added twice. It sits
   just UNDER the sticky masthead — measured in store.js, not guessed — so it
   never covers the cart count, which is the thing people look at next. */
/* ABOVE the cart drawer (9999), not below it. The only thing that can
   raise a toast away from a product page is a cart change failing inside
   the drawer - so the one moment this matters most is the one moment the
   drawer is open, and at 9998 it was painted under the drawer's scrim and
   never seen. */
.kbtoast{position:fixed;left:50%;top:var(--kbtoast-top,4.6rem);z-index:10000;
  translate:-50% -14px;opacity:0;transition:translate .32s var(--ease),opacity .32s var(--ease);
  max-width:min(92vw,34rem)}
.kbtoast.is-in{translate:-50% 0;opacity:1}
/* the same chip hung off the BOTTOM, used when the cart drawer is
   full-width so it clears every item row. It rises into place rather
   than dropping, which is the direction it is coming from. */
.kbtoast--low{top:auto;bottom:var(--kbtoast-bottom,1rem);translate:-50% 14px}
.kbtoast--low.is-in{translate:-50% 0}
.kbtoast__in{display:flex;align-items:center;gap:1rem;
  padding:.85rem 1rem .85rem 1.25rem;
  background:var(--paper);color:var(--ink-900);
  border:1px solid var(--line-2);box-shadow:0 10px 40px rgba(0,0,0,.18);
  font-size:var(--step--1);line-height:1.45}
.kbtoast__in a{color:var(--brass-bright);text-decoration:underline;
  text-underline-offset:.18em;white-space:nowrap}
.kbtoast__in b{color:var(--brass-bright);font-weight:500}
.kbtoast__x{flex:none;margin-left:auto;background:none;border:0;cursor:pointer;
  color:var(--paper-faint);font-size:1.3em;line-height:1;padding:0 .2em}
.kbtoast__x:hover{color:var(--ink-900)}
.kbtoast--err .kbtoast__in{border-color:#c0574b}
@media(prefers-reduced-motion:reduce){.kbtoast,.kbtoast--low{transition:none;translate:-50% 0}}

/* ── cart drawer ──────────────────────────────────────────────────────
   The cart was a WordPress page: a full page load away from the catalogue
   and another one back, in the other half of the site, with the other
   half's chrome. It is now a panel over whatever you were already looking
   at, and Checkout is the only outbound link in it.

   /shop/cart/ still exists — block checkout redirects there when the
   basket is empty — it is simply no longer linked. */
.kbcart{position:fixed;inset:0;z-index:9999}
/* a fixed near-black, not var(--paper): --paper flips with the theme, so a
   themed scrim DIMMED the light page and WASHED the dark one lighter, which
   reads as a rendering fault rather than as a layer. A scrim dims. */
.kbcart__scrim{position:absolute;inset:0;background:rgba(7,9,8,.5);
  opacity:0;transition:opacity .34s var(--ease);backdrop-filter:blur(2px)}
.kbcart.is-open .kbcart__scrim{opacity:1}
.kbcart__panel{position:absolute;top:0;right:0;bottom:0;width:min(27rem,100vw);
  display:flex;flex-direction:column;
  /* one step off the page ground so the panel lifts in both themes, since
     the scrim behind it is now the same near-black in both */
  background:var(--ink-850);color:var(--paper);
  border-left:1px solid var(--line-2);box-shadow:-24px 0 70px rgba(0,0,0,.34);
  translate:100% 0;transition:translate .34s var(--ease)}
.kbcart.is-open .kbcart__panel{translate:0 0}

.kbcart__head{flex:none;display:flex;align-items:baseline;gap:.75rem;
  padding:1.5rem clamp(1.25rem,3vw,1.9rem) 1.1rem;border-bottom:1px solid var(--line)}
.kbcart__head h2{font-family:var(--display);font-weight:300;font-size:var(--step-1);
  letter-spacing:-.01em}
.kbcart__count{color:var(--brass);font-family:var(--body);font-size:var(--step--1);
  letter-spacing:.06em}
.kbcart__x{margin-left:auto;background:none;border:0;cursor:pointer;
  color:var(--paper-faint);font-size:1.6rem;line-height:1;padding:0 .15em}
.kbcart__x:hover{color:var(--paper)}

.kbcart__content{flex:1 1 auto;display:flex;flex-direction:column;min-height:0;
  overflow-y:auto;overscroll-behavior:contain;transition:opacity .2s var(--ease)}
.kbcart__content[aria-busy="true"]{opacity:.5;pointer-events:none}
.kbcart__loading,.kbcart__empty{padding:clamp(1.25rem,3vw,1.9rem);color:var(--paper-dim);
  font-size:var(--step--1)}
.kbcart__empty{display:grid;gap:1.4rem;justify-items:start}

.kbcart__list{list-style:none;margin:0;padding:0;flex:1 1 auto}
.kbcart__item{display:grid;grid-template-columns:5rem 1fr;gap:1rem;
  padding:1.25rem clamp(1.25rem,3vw,1.9rem);border-bottom:1px solid var(--line)}
/* align-self, or the grid stretches the anchor to the row height and the
   block of background below the photograph looks like a broken image */
.kbcart__thumb{display:block;align-self:start;background:var(--ink-800)}
.kbcart__thumb img{width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.kbcart__body{display:grid;gap:.45rem;align-content:start;min-width:0}
.kbcart__name{font-family:var(--display);font-size:var(--step-0);line-height:1.2}
.kbcart__name:hover{color:var(--brass-bright)}
.kbcart__var{font-size:var(--step--1);color:var(--paper-faint);letter-spacing:.03em}
.kbcart__row{display:flex;align-items:center;justify-content:space-between;gap:1rem;
  margin-top:.25rem}
.kbcart__qty{display:inline-flex;align-items:center;border:1px solid var(--line)}
.kbcart__qty button{width:2rem;height:2rem;background:none;border:0;cursor:pointer;
  color:var(--paper-dim);font:inherit;font-size:1rem;line-height:1}
.kbcart__qty button:hover:not([disabled]){color:var(--brass-bright)}
.kbcart__qty button[disabled]{opacity:.35;cursor:not-allowed}
.kbcart__qty span{min-width:1.8rem;text-align:center;font-size:var(--step--1);
  font-variant-numeric:tabular-nums}
.kbcart__line{color:var(--brass);font-size:var(--step--1);letter-spacing:.06em;
  white-space:nowrap}
.kbcart__rm{justify-self:start;background:none;border:0;padding:0;cursor:pointer;
  color:var(--paper-faint);font:inherit;font-size:var(--step--1);
  text-decoration:underline;text-underline-offset:.2em}
.kbcart__rm:hover{color:#c0574b}

.kbcart__foot{flex:none;padding:1.25rem clamp(1.25rem,3vw,1.9rem) 1.6rem;
  border-top:1px solid var(--line);background:var(--ink-800);display:grid;gap:.85rem}
.kbcart__sum{display:flex;align-items:baseline;justify-content:space-between;
  font-size:var(--step--1);letter-spacing:.14em;text-transform:uppercase;
  color:var(--paper-dim)}
.kbcart__sum strong{font-family:var(--display);font-size:var(--step-1);font-weight:400;
  letter-spacing:-.01em;color:var(--paper);text-transform:none}
.kbcart__note{font-size:var(--step--1);line-height:1.45;color:var(--paper-faint)}
.kbcart__go{display:block;padding:1rem 1.6rem;text-align:center;
  border:1px solid var(--brass);background:var(--brass);color:var(--ink-900);
  font-size:var(--step--1);letter-spacing:.14em;text-transform:uppercase;
  transition:opacity .25s var(--ease)}
.kbcart__go:hover{opacity:.88}

@media (max-width:420px){.kbcart__panel{width:100vw}}
@media (prefers-reduced-motion:reduce){
  .kbcart__panel,.kbcart__scrim{transition:none}
  .kbcart__panel{translate:0 0}
}
