/* ══ STORE PAGES — category listing + product detail ═══════════════════
   Built on the same tokens as the homepage. Nothing here restates a
   colour; everything comes from tokens.css so both themes just work.   */

.page{padding-block:clamp(2.5rem,6vw,5rem)}
/* the 60ch cap applied to the whole header, which stacked everything into
   the left third; the title now runs the full measure and the cap stays
   on the lede alone, where a reading width actually matters */
.page__head{display:grid;gap:clamp(1rem,2vw,1.4rem);margin-bottom:clamp(2rem,4vw,3.4rem)}
.page__eyebrow{font-family:var(--body);font-size:var(--step--1);letter-spacing:.2em;
  text-transform:uppercase;color:var(--brass);display:flex;align-items:center;gap:.85em}
/* the hallmark, turning about once a minute; hovering it brings the two stars
   into line the way the wordmark does */
.page__mark{width:2.1em;height:2.1em;flex:none;overflow:visible}
.page__mark .mark__outer,.page__mark .mark__inner{transform-box:view-box;transform-origin:50px 50px}
.page__mark .mark__outer{transition:rotate .85s cubic-bezier(.22,.61,.36,1)}
.page__eyebrow:hover .page__mark .mark__outer{rotate:-36deg}
@media (prefers-reduced-motion:no-preference){
  .page__mark{animation:kbmarkspin 64s linear infinite}
}
@keyframes kbmarkspin{to{rotate:360deg}}
.page__title{font-family:var(--display);font-size:var(--step-3);line-height:1.05;margin:0;
  padding-bottom:clamp(1rem,2.2vw,1.7rem);border-bottom:1px solid var(--line)}
.page__lede{color:var(--paper-dim);max-width:52ch;margin:0}

.crumbs{font-family:var(--body);font-size:var(--step--1);letter-spacing:.08em;
  color:var(--paper-faint);margin-bottom:1.4rem}
.crumbs a{color:var(--paper-faint);text-decoration:none;border-bottom:1px solid transparent}
.crumbs a:hover{color:var(--brass);border-bottom-color:var(--brass)}

/* --- the grid of products --- */
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(1.6rem,3vw,2.6rem) clamp(1.2rem,2.2vw,2rem)}
@media(max-width:1100px){.grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:820px){.grid{grid-template-columns:repeat(2,1fr)}}
/* two per row on a phone: one per row wasted half the screen */
@media(max-width:520px){.grid{grid-template-columns:repeat(2,1fr);
  column-gap:clamp(.7rem,3vw,1.1rem);row-gap:clamp(1.6rem,5vw,2.2rem)}}
@media(max-width:430px){
  .card__name{font-size:.95rem;line-height:1.22}
  .card__price{font-size:.7rem}
  .card__meta{column-gap:.45rem;padding-top:.7rem;margin-top:.7rem}
  .card__desc,.card__note{font-size:.68rem}
}

.card{display:grid;gap:0;align-content:start;text-decoration:none;color:inherit}
.card__img{aspect-ratio:1/1;overflow:hidden;border:1px solid var(--line);background:var(--ink-800);position:relative}
.card__img img{width:100%;height:100%;object-fit:cover;display:block;
  transition:transform 1.1s var(--ease),opacity .55s var(--ease)}
.card:hover .card__img img{transform:scale(1.04)}

/* Hover reveals the same lamp in the other light — the dark exposure on a
   light theme, the lit one on dark. Two stacked layers crossfade, so there
   is no flash and nothing re-downloads. Cards with only one photograph
   never get an .alt layer, so they simply keep the scale-up. */
.card__img--pair .card__photo{position:absolute;inset:0}
.card__photo--alt{opacity:0}
.card:hover  .card__photo--alt,
.card:focus-visible .card__photo--alt{opacity:1}
.card:hover  .card__photo--primary,
.card:focus-visible .card__photo--primary{opacity:0}
@media (prefers-reduced-motion:reduce){
  .card__img img{transition:opacity .2s linear}
  .card:hover .card__img img{transform:none}
}

/* product page: main photograph + a thumbnail for every gallery image */

.card__meta{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:.7rem;
  align-items:baseline;padding:1rem .1rem 0;margin-top:1rem;border-top:1px solid var(--line)}
.card__name{font-family:var(--display);font-size:var(--step-1);line-height:1.15;margin:0}
.card__desc{font-family:var(--body);font-size:var(--step--1);line-height:1.4;color:var(--paper-faint);
  margin:.35rem 0 0;grid-column:1/-1}
.card__price{font-family:var(--body);font-size:var(--step--1);letter-spacing:.06em;
  color:var(--brass);white-space:nowrap}
.card:hover .card__name{color:var(--brass);transition:color .35s var(--ease)}
.card__note{font-size:var(--step--1);color:var(--paper-faint);letter-spacing:.04em;padding:.35rem .1rem 0}

/* --- product detail --- */
.pd{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(2rem,5vw,5rem);align-items:start}
@media(max-width:900px){.pd{grid-template-columns:1fr}}
/* the photographs run as one column and scroll; .pd__info beside them is
   sticky, so the buy panel stays put while they go by */
.pd__media{display:grid;gap:clamp(.7rem,1.6vw,1.1rem);min-width:0}
.pd__shot{margin:0;display:grid;gap:.5rem}
.pd__shot img{width:100%;height:auto;display:block;aspect-ratio:1/1;
  object-fit:cover;border:1px solid var(--line);background:var(--ink-800)}
.pd__shot figcaption{font-size:var(--step--1);color:var(--paper-faint);
  letter-spacing:.04em}
/* No max-height and no overflow here. Capping it gave the panel its own
   inner scrollbar and clipped the facts off the bottom — two scrollbars on
   one screen, and content you could only reach by scrolling inside a region
   with no visible edge. A panel taller than the window simply pins later;
   that is the correct trade. Sticky already releases on its own at the end
   of the grid row, which is the bottom of the photographs, so the page
   carries on as one scroll from there with the left column empty. */
/* 0.95rem, not 1.4: eleven gaps at 1.4rem were 246px of the panel's height
   on their own, which is what pushed Add to cart below the fold while the
   panel was pinned. The CTA has to stay on screen the whole time it is
   stuck, or being stuck is worse than not being stuck. */
.pd__info{display:grid;gap:.95rem;align-content:start;position:sticky;top:5rem}
/* a panel taller than the window gets a negative inline `top` from the page,
   which pins its lower edge instead of its upper one — see fitSticky() */
/* the short form of the facts, beside the button; the full three sit below
   the photographs, where there is room for the detail */
.pd__strip{margin:0;font-family:var(--body);font-size:var(--step--1);
  letter-spacing:.13em;text-transform:uppercase;color:var(--paper-faint)}
@media(max-width:900px){.pd__info{position:static}}
/* the hallmark beside the name, the same gesture as the wordmark and the
   category eyebrow: it turns slowly, and pointing at the title brings its
   two stars into line. Baseline-aligned rather than centred, so it sits with
   the first line of a name that wraps instead of floating against the block.
   No transform-box on the <svg> itself — that makes the whole mark orbit its
   top-left corner instead of spinning on centre. */
.pd__title{font-family:var(--display);font-size:var(--step-3);line-height:1.05;margin:0;
  display:flex;align-items:baseline;gap:.42em}
.pd__title > span{min-width:0}
.pd__mark{width:.62em;height:.62em;flex:none;overflow:visible;
  translate:0 .04em;align-self:baseline}
.pd__mark .mark__outer,.pd__mark .mark__inner{transform-box:view-box;transform-origin:50px 50px}
.pd__mark .mark__outer{transition:rotate .85s cubic-bezier(.22,.61,.36,1)}
.pd__mark .mark__inner{transition:rotate .85s cubic-bezier(.22,.61,.36,1) .04s}
.pd__title:hover .mark__outer{rotate:-36deg}
.pd__title:hover .mark__inner{rotate:36deg}
@media (prefers-reduced-motion:no-preference){
  .pd__mark{animation:kbmarkspin 72s linear infinite}
}
.pd__subtitle{font-family:var(--body);font-size:var(--step-0);line-height:1.4;
  color:var(--paper-dim);margin:.5rem 0 0;max-width:46ch}
.pd__price{font-family:var(--display);font-size:var(--step-1);color:var(--brass);margin:0}
.pd__short{color:var(--paper-dim);margin:0;max-width:46ch}
.pd__desc{color:var(--paper-dim);max-width:62ch;line-height:1.7}
.pd__desc p{margin:0 0 1rem}

.field{display:grid;gap:.6rem}
.field__label{font-family:var(--body);font-size:var(--step--1);letter-spacing:.16em;
  text-transform:uppercase;color:var(--paper-faint)}
/* stated measurements, for a product with nothing to choose */
.pd__spec{display:grid;grid-template-columns:auto 1fr;gap:.45rem 1.4rem;margin:0;
  padding:1rem 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.pd__spec dt{font-family:var(--body);font-size:var(--step--1);letter-spacing:.16em;
  text-transform:uppercase;color:var(--paper-faint)}
.pd__spec dd{margin:0;font-size:var(--step--1);color:var(--paper-dim)}
@media (max-width:560px){.pd__spec{grid-template-columns:1fr;gap:.25rem}}

.sizes{display:grid;gap:.5rem}
/* options that all cost the same need no price column, so they sit as chips
   and five of them do not become five full-width rows */
.sizes--chips{grid-template-columns:repeat(auto-fit,minmax(8.5rem,1fr))}
.sizes--chips .size{grid-template-columns:1fr;padding:.7rem .9rem;text-align:center}
.size{display:grid;grid-template-columns:1fr auto;align-items:center;gap:1rem;
  padding:.85rem 1rem;border:1px solid var(--line);background:transparent;color:inherit;
  font:inherit;text-align:left;cursor:pointer;transition:border-color .25s var(--ease),background .25s var(--ease)}
.size:hover{border-color:var(--line-2)}
.size[aria-pressed="true"]{border-color:var(--brass);background:color-mix(in srgb,var(--brass) 8%,transparent)}
.size__price{color:var(--brass);font-size:var(--step--1);letter-spacing:.06em;white-space:nowrap}

/* Dimension diagram — the measured drawing under the size options.
   Everything is stroked, nothing filled: it should read as a sheet off
   the workshop bench, not as a product illustration. */
.dims{margin:.35rem 0 0;padding:1rem 0 0;border-top:1px solid var(--line);display:grid;gap:.55rem;justify-items:center}
.dims__box{width:100%;display:flex;justify-content:center;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.dims__svg{display:block;max-width:100%;height:auto}
.dims__ground{stroke:var(--line);stroke-width:1}
.dims__ref{fill:none;stroke:var(--line-2);stroke-width:1.1;stroke-linecap:round;stroke-linejoin:round}
.dims__fig{fill:var(--ink-600);stroke:none;opacity:.26}
.dims__reflabel{fill:var(--ink-600);font-family:var(--body);font-size:9px;letter-spacing:.1em;text-transform:uppercase}
.dims__ghost{fill:none;stroke:var(--line-2);stroke-width:1;stroke-dasharray:3 3}
.dims__solid{fill:color-mix(in srgb,var(--brass) 7%,transparent);stroke:var(--brass);stroke-width:1.4}
.dims__line{fill:none}
.dims__tick{fill:none;stroke:var(--brass);stroke-width:1}
.dims__lead{fill:none;stroke:var(--line-2);stroke-width:.8}
.dims__n{fill:var(--ink-800);font-family:var(--body);font-size:10px;letter-spacing:.06em}
.dims__cap{color:var(--ink-600);font-family:var(--body);font-size:var(--step--1);letter-spacing:.04em;text-align:center}
@media (max-width:700px){.dims__box{margin-inline:-.2rem}}

.addbtn{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;
  padding:1rem 1.6rem;border:1px solid var(--brass);background:var(--brass);
  color:var(--ink-900);font-family:var(--body);font-size:var(--step--1);
  letter-spacing:.14em;text-transform:uppercase;cursor:pointer;
  transition:opacity .25s var(--ease)}
.addbtn:hover{opacity:.88}
.addbtn[disabled]{opacity:.45;cursor:not-allowed}
.pd__msg{font-size:var(--step--1);color:var(--paper-dim);min-height:1.2em}
.pd__msg[data-state="ok"]{color:var(--green)}
.pd__msg[data-state="err"]{color:#c0574b}
.pd__facts{display:grid;gap:.5rem;padding-top:1.2rem;border-top:1px solid var(--line);
  font-size:var(--step--1);color:var(--paper-faint)}
.pd__facts b{color:var(--paper-dim);font-weight:400}

.state{padding:3rem 0;color:var(--paper-faint);font-size:var(--step-0)}

/* ── /collection/ — one section per category ──────────────────── */
.coll{padding-block:clamp(2rem,5vw,3.4rem)}
.coll + .coll{border-top:1px solid var(--line)}
.coll__title{font-family:var(--display);font-weight:300;font-size:var(--step-2);
  margin:0 0 clamp(1.4rem,3vw,2.2rem);line-height:1.1}
.coll__title a{color:var(--paper);text-decoration:none;
  border-bottom:1px solid transparent;transition:color .3s var(--ease),border-color .3s var(--ease)}
.coll__title a:hover{color:var(--brass);border-bottom-color:var(--brass)}

/* ── engraving field ──────────────────────────────────────────────── */
.engrave .field__label i{font-style:normal;color:var(--paper-faint);
  letter-spacing:.08em;text-transform:none}
.engrave__in{width:100%;background:transparent;color:var(--paper);
  border:1px solid var(--line);border-radius:0;padding:.85rem 1rem;
  font-family:var(--display);font-size:var(--step-1);letter-spacing:.04em;
  transition:border-color .25s var(--ease)}
.engrave__in::placeholder{font-family:var(--body);font-size:var(--step-0);
  color:var(--paper-faint);letter-spacing:0}
.engrave__in:focus{outline:none;border-color:var(--brass)}
/* the counter rides on the label row rather than below the input: three
   stacked lines per field is what pushed the panel past the window */
.engrave .field__label{display:flex;flex-wrap:wrap;align-items:baseline;gap:.2rem .7rem}
.engrave__hint{margin:0;font-size:var(--step--1);color:var(--paper-faint);
  letter-spacing:.02em;text-transform:none;
  letter-spacing:.04em}
.engrave__hint b{color:var(--brass);font-weight:400;font-variant-numeric:tabular-nums}
.pd__msg b{color:var(--brass);font-weight:400}

/* ── collection: search and filter ───────────────────────────────────
   Client-side over the markup that is already on the page, so the list
   stays one static document with a real <a href> on every piece — which
   is the whole reason /collection/ exists. Nothing is fetched. */
.cfilter{display:grid;gap:clamp(.95rem,2vw,1.3rem);
  margin:0 0 clamp(1.6rem,3.4vw,2.6rem)}
.cfilter__search{display:flex;align-items:center;gap:.7rem;max-width:28rem;
  border-bottom:1px solid var(--line);padding:.55rem .15rem;
  transition:border-color .35s var(--ease)}
.cfilter__search:focus-within{border-bottom-color:var(--brass)}
.cfilter__search svg{width:16px;height:16px;flex:none;color:var(--paper-faint)}
.cfilter__search input{flex:1;min-width:0;background:none;border:0;outline:none;
  padding:0;color:var(--paper);font-family:var(--body);font-size:var(--step-0)}
.cfilter__search input::placeholder{color:var(--paper-faint)}
.cfilter__search input::-webkit-search-cancel-button{display:none}
.cfilter__clear{background:none;border:0;cursor:pointer;line-height:1;
  color:var(--paper-faint);font-size:1.15rem;padding:.1rem .25rem;
  transition:color .3s var(--ease)}
.cfilter__clear:hover{color:var(--brass)}

.cfilter__chips{display:flex;flex-wrap:wrap;gap:.55rem}
.fchip{background:none;cursor:pointer;border:1px solid var(--line);border-radius:0;
  padding:.62rem .95rem;color:var(--paper-dim);
  font-family:var(--body);font-size:var(--step--1);letter-spacing:.13em;
  text-transform:uppercase;
  transition:color .3s var(--ease),border-color .3s var(--ease),
             background-color .3s var(--ease)}
.fchip i{font-style:normal;letter-spacing:.04em;margin-left:.55em;color:var(--paper-faint)}
.fchip:hover{color:var(--brass);border-color:var(--brass)}
.fchip:focus-visible{outline:2px solid var(--brass);outline-offset:2px}
.fchip.is-on{background:var(--brass);border-color:var(--brass);color:var(--ink-900)}
.fchip.is-on i{color:var(--ink-900);opacity:.65}

.cfilter__count{margin:0;min-height:1em;color:var(--paper-faint);
  font-family:var(--body);font-size:var(--step--1);letter-spacing:.14em;
  text-transform:uppercase}

.coll-empty{color:var(--paper-dim);padding-block:clamp(2.4rem,6vw,4rem);margin:0;
  border-top:1px solid var(--line)}
.coll-empty__reset{background:none;border:0;cursor:pointer;padding:0;margin-left:.5em;
  color:var(--brass);font-family:var(--body);font-size:inherit;
  border-bottom:1px solid var(--brass)}
.coll-empty__reset:hover{opacity:.75}

/* .card is a grid and .coll a block, so the hidden attribute alone loses */
.coll[hidden],.card[hidden],.cfilter[hidden],.coll-empty[hidden],
.cfilter__clear[hidden]{display:none!important}

@media(max-width:560px){
  .cfilter__chips{gap:.45rem}
  .fchip{padding:.55rem .75rem;letter-spacing:.1em}
}
/* the bar already supplies the breathing room; the first section's own top
   padding on top of it left a hole */
.coll-empty + .coll{padding-top:clamp(.4rem,1.2vw,.9rem)}

/* ── 404 ──────────────────────────────────────────────────────────────
   The mark stands in for the 0. It turns slowly on its own and, like the
   wordmark, brings its two stars into line when you point at it. */
.nf{padding-block:clamp(3rem,9vh,6rem) clamp(3rem,8vw,6rem);text-align:center;
  display:grid;justify-items:center;gap:clamp(.9rem,2vw,1.3rem)}
.nf__lock{display:flex;align-items:center;justify-content:center;
  gap:clamp(0rem,.5vw,.25rem);line-height:1;
  font-family:var(--display);font-weight:300;
  font-size:clamp(5.5rem,20vw,13rem);color:var(--paper);
  animation:nfstrike 1.1s cubic-bezier(.16,1,.3,1) both}
.nf__lock span{display:block;letter-spacing:-.04em}
/* the digits' glyph box is taller than the digits, so centring the mark on
   the line box floats it above them; .09em down puts it on their optical
   centre, and it has to be larger than the cap height to read as a 0 */
/* No transform-box/transform-origin here: on the outer <svg> that makes the
   whole mark orbit a point near its top-left instead of spinning on its own
   centre, which threw it clear of the numerals. They belong on the inner
   paths only, which is how .page__mark does it. */
.nf__mark{width:1.02em;height:1.02em;flex:none;overflow:visible;translate:0 .06em}
.nf__outer,.nf__inner{transform-box:view-box;transform-origin:50px 50px}
.nf__outer{transition:rotate 1s cubic-bezier(.22,.61,.36,1)}
.nf__inner{transition:rotate 1s cubic-bezier(.22,.61,.36,1) .05s}
.nf__lock:hover .nf__outer{rotate:-36deg}
.nf__lock:hover .nf__inner{rotate:36deg}
@media (prefers-reduced-motion:no-preference){
  .nf__mark{animation:kbmarkspin 48s linear infinite}
}
/* the numerals settle the way a punch settles into brass */
@keyframes nfstrike{
  0%{opacity:0;transform:scale(1.09);filter:blur(7px)}
  60%{opacity:1;filter:blur(0)}
  100%{opacity:1;transform:scale(1);filter:blur(0)}
}

.nf__code{font-family:var(--body);font-size:var(--step--1);letter-spacing:.3em;
  text-transform:uppercase;color:var(--brass);margin:.4rem 0 0}
.nf__title{font-family:var(--display);font-weight:300;
  font-size:var(--step-3);line-height:1.06;margin:0;max-width:18ch}
.nf__lede{color:var(--paper-dim);max-width:46ch;margin:0}
.nf__cta{display:flex;flex-wrap:wrap;gap:1rem 1.6rem;align-items:center;
  justify-content:center;margin-top:clamp(.6rem,2vw,1.2rem)}
.nf__back{font-family:var(--body);font-size:var(--step--1);letter-spacing:.14em;
  text-transform:uppercase;color:var(--paper-dim);
  border-bottom:1px solid transparent;transition:color .3s var(--ease),
  border-color .3s var(--ease)}
.nf__back:hover{color:var(--brass);border-bottom-color:var(--brass)}

.nf__row{width:100%;margin-top:clamp(3rem,8vw,5.5rem);
  padding-top:clamp(1.6rem,3vw,2.4rem);border-top:1px solid var(--line);
  text-align:left}
.nf__rowtitle{font-family:var(--body);font-size:var(--step--1);letter-spacing:.2em;
  text-transform:uppercase;color:var(--paper-faint);font-weight:500;
  margin:0 0 clamp(1.4rem,3vw,2rem)}

@media(max-width:560px){
  .nf__lock{font-size:clamp(4.6rem,26vw,7rem)}
  .nf__cta{flex-direction:column;gap:1.1rem}
}

/* ── payment marks, under the add button ──────────────────────────────
   Monochrome on purpose. A row of full-colour card logos is the loudest
   thing on a page that is otherwise brass on plaster, and it reads as a
   plugin rather than part of the shop. Shape and wordmark carry the
   recognition on their own at this size. */
.pd__pay{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem 1rem;
  margin-top:1.1rem}
.pd__pay-row{display:flex;gap:.4rem;list-style:none;margin:0;padding:0}
/* the brands' own marks now, so they sit on their own light tiles rather
   than taking the page's colours. A hairline keeps the white ones from
   floating on the dark ground. */
.paymark svg{display:block;width:38px;height:24px;border-radius:3.4px;
  box-shadow:0 0 0 1px color-mix(in srgb,var(--line) 70%,transparent)}
.paymark text{font-family:var(--body)}
.pd__pay-note{display:flex;align-items:center;gap:.45rem;margin:0;
  font-family:var(--body);font-size:var(--step--1);color:var(--paper-faint);
  letter-spacing:.02em}
.pd__lock{width:13px;height:13px;flex:none;fill:none;stroke:var(--paper-faint);
  stroke-width:1.7;stroke-linecap:round}

/* ── quantity, sharing the button's row so it costs no panel height ──── */
.buyrow{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.6rem}
.qty{display:flex;align-items:stretch;border:1px solid var(--line);background:transparent}
.qty__b{width:2.4rem;background:none;border:0;cursor:pointer;color:var(--paper-dim);
  font-family:var(--body);font-size:1rem;line-height:1;
  transition:color .25s var(--ease),background-color .25s var(--ease)}
.qty__b:hover{color:var(--brass)}
.qty__b:focus-visible{outline:2px solid var(--brass);outline-offset:-2px}
.qty__in{width:2.6rem;text-align:center;background:none;border:0;outline:none;
  color:var(--paper);font-family:var(--body);font-size:var(--step-0);
  font-variant-numeric:tabular-nums;-moz-appearance:textfield;appearance:textfield}
.qty__in::-webkit-outer-spin-button,.qty__in::-webkit-inner-spin-button{
  -webkit-appearance:none;margin:0}

/* ── accordions, running the full width of the page ──────────────────── */
.pd__more,.more{padding-block:clamp(2rem,4.5vw,3.4rem)}
.acc{border-top:1px solid var(--line)}
.acc:last-of-type{border-bottom:1px solid var(--line)}
.acc > summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;
  cursor:pointer;list-style:none;padding:clamp(1rem,2.2vw,1.5rem) 0;
  font-family:var(--body);font-size:var(--step--1);letter-spacing:.16em;
  text-transform:uppercase;color:var(--paper-dim);
  transition:color .3s var(--ease)}
.acc > summary::-webkit-details-marker{display:none}
.acc > summary:hover{color:var(--brass)}
.acc > summary:focus-visible{outline:2px solid var(--brass);outline-offset:3px}
/* the + that becomes a − , drawn rather than typed so it cannot wander */
.acc > summary::after{content:"";width:13px;height:13px;flex:none;
  background:
    linear-gradient(currentColor,currentColor) center/100% 1px no-repeat,
    linear-gradient(currentColor,currentColor) center/1px 100% no-repeat;
  transition:rotate .35s var(--ease),background-size .35s var(--ease)}
.acc[open] > summary::after{background-size:100% 1px,0 100%;rotate:180deg}
.acc[open] > summary{color:var(--paper)}
.acc__body{padding-bottom:clamp(1.2rem,2.6vw,2rem)}
.acc__p{color:var(--paper-dim);line-height:1.7;max-width:76ch;margin:0}
.acc__p a{color:var(--brass);border-bottom:1px solid var(--brass)}
.pd__more .pd__desc{max-width:76ch}
.pd__more .pd__facts{border-top:0;padding-top:0}

/* specifications: two columns on a wide page, one on a phone */
.specs{margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(26rem,100%),1fr));
  gap:0 clamp(2rem,5vw,4rem)}
.specs > div{display:grid;grid-template-columns:minmax(7.5rem,10rem) minmax(0,1fr);
  gap:1rem;padding:.75rem 0;border-bottom:1px solid var(--line)}
.specs dt{font-family:var(--body);font-size:var(--step--1);letter-spacing:.1em;
  text-transform:uppercase;color:var(--paper-faint)}
.specs dd{margin:0;color:var(--paper-dim)}

.more__title{font-family:var(--display);font-weight:300;font-size:var(--step-2);
  margin:0 0 clamp(1.2rem,3vw,2rem);padding-bottom:clamp(.8rem,1.8vw,1.2rem);
  border-bottom:1px solid var(--line)}
.more[hidden]{display:none}

/* ── the photographs on a phone ───────────────────────────────────────
   Stacked, seven images put the price four screens down — nobody scrolls
   past that to buy. On a phone they become one horizontal swipe instead,
   so the photographs cost one screen and the price sits right under them.
   The slides stop short of the screen edge so the next one peeks in: a
   carousel with nothing showing past its edge reads as a single image. */
.pd__count{display:none}
@media(max-width:900px){
  .pd__media{
    display:flex;gap:.6rem;overflow-x:auto;overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;scroll-behavior:smooth;
    margin-inline:calc(var(--gutter) * -1);
    padding-inline:var(--gutter);scroll-padding-inline:var(--gutter);
    scrollbar-width:none;-ms-overflow-style:none}
  .pd__media::-webkit-scrollbar{display:none}
  .pd__shot{flex:0 0 100%;scroll-snap-align:start;min-width:0;gap:.45rem}
  .pd__shot img{aspect-ratio:1/1}

  .pd__figwrap{display:grid;gap:.7rem}
  .pd__count{display:block;margin:0;text-align:center;
    font-family:var(--body);font-size:var(--step--1);letter-spacing:.18em;
    color:var(--paper-faint);font-variant-numeric:tabular-nums}
  .pd__count b{color:var(--brass);font-weight:400}
  .pd__count[hidden]{display:none}
}
@media(max-width:900px) and (prefers-reduced-motion:reduce){
  .pd__media{scroll-behavior:auto}
}

/* The server-rendered description, before the script lifts it into the
   Description accordion. Styled so the page is readable if the script never
   runs, and removed from the DOM the moment it has been used. */
.pd__descsrc{color:var(--paper-dim);line-height:1.7;max-width:76ch;
  padding-block:clamp(1.5rem,4vw,2.5rem)}
.pd__descsrc:empty{display:none}
.pd__descsrc p{margin:0 0 1rem}

/* ── engraving preview ────────────────────────────────────────────────
   Borrows the home page's struck plate, shrunk to sit under the field.
   The plate's own styling lives in home.css, which product pages already
   load, so only the size and the caption are set here. */
.engrave__stamp{margin:.75rem 0 0;display:grid;gap:.5rem}
.engrave__plate{aspect-ratio:auto;min-height:5.2rem;padding:.9rem 1.2rem;
  gap:clamp(.7rem,2vw,1.2rem)}
.engrave__plate .stamp__hallmark{width:2.3rem;height:2.3rem}
.engrave__plate .stamp__mark--owner{font-size:clamp(.95rem,2.2vw,1.25rem);
  letter-spacing:.22em;max-width:100%;
  transition:opacity .25s var(--ease)}
.engrave__plate .stamp__divider{height:2rem}
.engrave__cap{margin:0;font-family:var(--body);font-size:var(--step--1);
  color:var(--paper-faint);letter-spacing:.04em}

/* ── complete the set ─────────────────────────────────────────────────
   A list, not a grid: four pieces bought together is a checklist, and a
   row carries a price and an action where a card only carries a picture. */
.set__why{color:var(--paper-dim);line-height:1.7;max-width:62ch;
  margin:0 0 clamp(1.4rem,3vw,2rem)}
.set{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.set__item{display:grid;align-items:center;gap:clamp(.9rem,2vw,1.6rem);
  grid-template-columns:72px minmax(0,1fr) auto auto;
  padding:clamp(.9rem,2vw,1.2rem) 0;border-bottom:1px solid var(--line)}
.set__item.is-here{opacity:.62}
.set__img{display:block;width:72px;height:72px;overflow:hidden;
  border:1px solid var(--line);background:var(--ink-800)}
.set__img img{width:100%;height:100%;object-fit:cover;display:block}
.set__name{display:grid;gap:.2rem;min-width:0}
.set__name a{font-family:var(--display);font-weight:300;font-size:var(--step-0);
  color:var(--paper);text-decoration:none}
.set__name a:hover{color:var(--brass)}
.set__name i{font-style:normal;font-size:var(--step--1);color:var(--paper-faint);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.set__price{color:var(--brass);font-size:var(--step--1);
  font-variant-numeric:tabular-nums;white-space:nowrap}
.set__act{justify-self:end}
.set__add{background:none;border:1px solid var(--line);border-radius:0;
  cursor:pointer;white-space:nowrap;
  padding:.6rem .9rem;color:var(--paper-dim);font-family:var(--body);
  font-size:var(--step--1);letter-spacing:.1em;text-transform:uppercase;
  transition:color .3s var(--ease),border-color .3s var(--ease)}
.set__add:hover:not(:disabled){color:var(--brass);border-color:var(--brass)}
.set__add:disabled{cursor:default}
.set__add.is-in{color:var(--brass);border-color:var(--brass)}
.set__pick,.set__here{font-family:var(--body);font-size:var(--step--1);
  letter-spacing:.1em;text-transform:uppercase;white-space:nowrap}
.set__pick{color:var(--paper-dim);border-bottom:1px solid transparent;
  transition:color .3s var(--ease),border-color .3s var(--ease)}
.set__pick:hover{color:var(--brass);border-bottom-color:var(--brass)}
.set__here{color:var(--paper-faint)}
.set__total{margin:clamp(1.1rem,2.5vw,1.6rem) 0 0;font-family:var(--body);
  font-size:var(--step--1);letter-spacing:.16em;text-transform:uppercase;
  color:var(--paper-faint)}

@media(max-width:560px){
  .set__item{grid-template-columns:56px minmax(0,1fr);row-gap:.6rem}
  .set__img{width:56px;height:56px}
  .set__price{grid-column:2;justify-self:start}
  .set__act{grid-column:2;justify-self:start}
}

/* the ship-by date, directly under the button where the decision is */
.pd__ship{margin:0;font-family:var(--body);font-size:var(--step--1);
  color:var(--paper-dim);letter-spacing:.01em}

/* ── zoom ─────────────────────────────────────────────────────────────
   The photographs are 2048px and show at roughly a third of that. The
   hammer marks and the engraved line are in the file either way; this is
   what makes them visible. */
.pd__shot{cursor:zoom-in}
.pd__shot:focus-visible{outline:2px solid var(--brass);outline-offset:3px}
.pd__shot img{transition:opacity .3s var(--ease)}
@media (hover:hover){ .pd__shot:hover img{opacity:.9} }

.zoom{position:fixed;inset:0;z-index:200;display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;align-items:center;
  gap:clamp(.5rem,2vw,1.5rem);padding:clamp(1rem,3vw,2.5rem);
  background:color-mix(in srgb,var(--ink-900) 94%,transparent);
  backdrop-filter:blur(6px)}
.zoom[hidden]{display:none}
.zoom__fig{margin:0;display:grid;justify-items:center;gap:.9rem;min-width:0}
.zoom__fig img{max-width:100%;max-height:84vh;object-fit:contain;display:block;
  border:1px solid var(--line)}
.zoom__fig figcaption{font-family:var(--body);font-size:var(--step--1);
  letter-spacing:.12em;text-transform:uppercase;color:var(--paper-faint)}
.zoom__x{position:absolute;top:clamp(.6rem,2vw,1.4rem);right:clamp(.6rem,2vw,1.4rem);
  background:none;border:0;cursor:pointer;line-height:1;padding:.4rem .6rem;
  color:var(--paper-dim);font-size:1.9rem;transition:color .3s var(--ease)}
.zoom__nav{background:none;border:0;cursor:pointer;line-height:1;
  padding:.5rem .7rem;color:var(--paper-dim);font-size:2.4rem;
  transition:color .3s var(--ease)}
.zoom__x:hover,.zoom__nav:hover{color:var(--brass)}
.zoom__x:focus-visible,.zoom__nav:focus-visible{outline:2px solid var(--brass);
  outline-offset:2px}
.zoom__nav[hidden]{visibility:hidden;display:block}

@media(max-width:640px){
  .zoom{grid-template-columns:1fr;grid-template-rows:auto;padding:1rem}
  .zoom__nav{position:absolute;top:50%;margin-top:-1.8rem;font-size:2.8rem}
  .zoom__nav--prev{left:.2rem}
  .zoom__nav--next{right:.2rem}
  .zoom__fig img{max-height:72vh}
}
@media (prefers-reduced-motion:reduce){ .zoom{backdrop-filter:none} }

/* ── kitchen-island guide block ───────────────────────────────────────
   Editorial copy above the grid. The three numbers are the questions
   people actually email about, answered before they have to ask. */
.guide{margin:0 0 clamp(2.4rem,5vw,3.8rem);max-width:74ch}
.guide__h{font-family:var(--display);font-weight:400;font-size:var(--step-2);
          line-height:1.15;margin:0 0 clamp(1.2rem,2.4vw,1.8rem);color:var(--paper)}
.guide__list{display:grid;gap:clamp(1.1rem,2.2vw,1.6rem);margin:0}
.guide__list dt{font-family:var(--body);font-weight:500;font-size:var(--step-0);
                letter-spacing:.01em;color:var(--brass);margin:0 0 .35em}
.guide__list dd{margin:0;color:var(--paper-dim);max-width:62ch}
.guide__note{margin:clamp(1.4rem,3vw,2.2rem) 0 0;color:var(--paper-dim);max-width:62ch;
             padding-top:1.1rem;border-top:1px solid var(--line)}
.guide__after{margin:clamp(2rem,4vw,3rem) 0 0;color:var(--paper-dim)}
.guide__after a{color:var(--brass);text-decoration:underline;text-underline-offset:.18em}

/* the option row flashes when you try to add without choosing */
@keyframes kb-nudge{0%,100%{box-shadow:0 0 0 0 rgba(192,87,75,0)}
  30%{box-shadow:0 0 0 3px rgba(192,87,75,.35)}}
.kb-nudge{animation:kb-nudge .9s var(--ease) 2}
@media(prefers-reduced-motion:reduce){.kb-nudge{animation:none;outline:2px solid #c0574b;outline-offset:3px}}
