/* Brine & Ore
 *
 * Blue and white, after the hand-painted tiles of Manises outside Valencia:
 * the ink is ultramarine, never black, and the only warm colour on the page is
 * the gold in the photographs and in the metal of the scale drawings.
 *
 * Type is the Alegreya family from Huerta Tipográfica: the serif for reading
 * and headings, the sans for prices, buttons and forms, small caps for the mark
 * and for engraving.
 *
 * Sections: tokens, base, type, controls, header, footer, home, cards, shop,
 * product, drawings, drawer and lines, bag and checkout, help and sizer, toast,
 * motion. Mobile first.
 */

/* ---------- tokens ---------- */
:root {
  --salt: #f8f8f4;      /* the page */
  --white: #ffffff;     /* drawing sheets, inputs */
  --tile: #eceef7;      /* panels, behind photographs */
  --tile-2: #dde1f0;
  --line: #d3d8eb;
  --ink: #24308f;       /* ultramarine: all text */
  --ink-2: #4b5396;     /* secondary text, 6.6:1 on salt */
  --ink-3: #8a91c0;     /* drawing guides only, never body text */
  --deep: #161f5e;      /* buttons, footer */
  --gold: #e3c27a;      /* metal, in drawings */
  --gold-2: #b8913f;
  --error: #b0271d;

  --serif: "Alegreya", "Iowan Old Style", Georgia, serif;
  --sans: "Alegreya Sans", "Gill Sans", "Segoe UI", system-ui, sans-serif;
  --caps: "Alegreya SC", "Alegreya", Georgia, serif;

  --gutter: 16px;
  --max: 1280px;
  --top-h: 64px;
  --bar: var(--sc-demo-bar, 0px);
  --radius: 4px;
  --radius-2: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 720px) { :root { --gutter: 28px; --top-h: 76px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + var(--bar) + 20px); }
body {
  margin: 0;
  padding-top: var(--bar);
  background: var(--salt);
  color: var(--ink);
  font: 400 19px/1.6 var(--serif);
  font-variant-numeric: oldstyle-nums;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
[tabindex="-1"]:focus { outline: none; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0 0 .9em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
main { display: block; min-height: 60vh; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 14px; background: var(--deep); color: var(--white); font-family: var(--sans); }
.skip:focus { top: calc(var(--bar) + 8px); }
.muted { color: var(--ink-2); }

/* ---------- type ----------
 * Scale after Bringhurst: 15, 17, 19, 21, 24, 30, 36, 48, 56 */
.h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.08; letter-spacing: -.005em; }
.h2 { font-size: clamp(27px, 3.4vw, 36px); line-height: 1.15; }
.lede { font-size: 21px; line-height: 1.5; color: var(--ink-2); max-width: 32em; }

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: var(--radius);
  background: var(--deep); color: var(--white);
  font: 500 18px/1.2 var(--sans); letter-spacing: .005em;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s var(--ease);
}
.btn:hover { background: var(--ink); text-decoration: none; }
.btn--grow { flex: 1; width: 100%; }
.btn--light { background: var(--salt); color: var(--deep); }
.btn--light:hover { background: var(--white); }
.btn[disabled] { cursor: progress; background: var(--ink); }
.textbtn {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: inherit; text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px;
}
.textbtn:hover { text-decoration-thickness: 2px; }

.input, .select select {
  width: 100%; min-height: 50px; padding: 11px 14px;
  border: 1px solid var(--tile-2); border-radius: var(--radius);
  background: var(--white); color: var(--ink);
  font: 400 18px/1.3 var(--sans);
}
.input::placeholder { color: var(--ink-3); }
textarea.input { min-height: 96px; resize: vertical; }
.input:focus, .select select:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.select { position: relative; display: block; }
.select select { appearance: none; padding-right: 42px; cursor: pointer; }
.select::after {
  content: ""; position: absolute; right: 17px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); pointer-events: none;
}
.inline { display: flex; gap: 8px; }
.inline .input { flex: 1; min-width: 0; }
.inline .btn { flex: none; }
.field { margin-bottom: 18px; }
.field > label, .choice legend { display: block; margin-bottom: 6px; font: 700 16px/1.3 var(--sans); }
.field__help { margin: 7px 0 0; font: 400 16px/1.45 var(--sans); color: var(--ink-2); }
.field__err { margin: 7px 0 0; font: 500 16px/1.4 var(--sans); color: var(--error); }
.field__err:empty { display: none; }
.pair { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .pair { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 14px; font: 400 17px/1.45 var(--sans); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }

/* a choice the buyer makes: metal, delivery */
.choice { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.choice__opt { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 8px; padding: 13px 15px; border: 1px solid var(--tile-2); border-radius: var(--radius-2); background: var(--white); cursor: pointer; }
.choice__opt input { width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--ink); flex: none; }
.choice__opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice__body { flex: 1; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
.choice__name { font-size: 19px; line-height: 1.3; }
.choice__price { font: 500 18px/1.4 var(--sans); }
.choice__note { grid-column: 1 / -1; font: 400 16px/1.4 var(--sans); color: var(--ink-2); }

/* ---------- header ---------- */
.top { position: sticky; top: var(--bar); z-index: 40; background: var(--salt); border-bottom: 1px solid var(--line); }
.top__in {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: var(--top-h);
  display: flex; align-items: center; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.brand span { font-size: 25px; font-weight: 500; letter-spacing: -.005em; }
.mark { width: 42px; height: 28px; flex: none; }
.mark path { fill: none; stroke: currentColor; stroke-width: 1.6; }
.mark text { font-family: var(--caps); font-size: 13.5px; font-weight: 500; fill: currentColor; letter-spacing: .02em; }
.top__acts { display: flex; align-items: center; gap: 22px; font: 500 18px/1 var(--sans); }
.top__menu { margin-left: auto; }
@media (min-width: 1040px) { .top__acts { margin-left: auto; } }
.top__help { display: none; text-decoration: none; }
.top__menu { min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; font: 500 18px/1 var(--sans); }
.bagbtn { display: inline-flex; align-items: center; min-height: 44px; gap: 5px; text-decoration: none; white-space: nowrap; }
.bagbtn span { font-variant-numeric: tabular-nums; }

.nav {
  position: absolute; left: 0; right: 0; top: 100%; height: 100vh;
  padding: 8px var(--gutter) 40px; background: var(--salt);
  visibility: hidden; opacity: 0;
  transition: opacity .18s var(--ease), visibility 0s .18s;
}
.nav-open .nav { visibility: visible; opacity: 1; transition-delay: 0s; }
.nav-open { overflow: hidden; }
.nav a { display: block; padding: 12px 0; font-size: 30px; line-height: 1.15; text-decoration: none; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.nav__more { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
.nav__more a { font: 500 18px/1.3 var(--sans); padding: 10px 0; }

@media (min-width: 1040px) {
  .top__menu { display: none; }
  .top__help { display: inline; }
  .nav { position: static; height: auto; padding: 0; visibility: visible; opacity: 1; background: none; margin-left: 28px; }
  .nav ul:first-child { display: flex; gap: 26px; }
  .nav a { padding: 6px 0; font: 500 18px/1 var(--sans); }
  .nav a:hover { text-decoration: underline; }
  .nav__more { display: none; }
  .nav-open { overflow: auto; }
}

/* ---------- footer ---------- */
.foot { margin-top: 120px; background: var(--deep); color: #e4e7f6; }
.foot a { color: var(--white); }
.foot__in { max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter) 40px; display: grid; gap: 40px; }
.foot h2 { margin-bottom: 12px; font: 700 17px/1.35 var(--sans); color: var(--white); }
.brand--foot { color: var(--white); }
.brand--foot span { font-size: 30px; }
.brand--foot .mark { width: 52px; height: 35px; }
.foot__studio p { max-width: 26em; margin-top: 16px; }
.foot__links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.foot__links li { margin-bottom: 6px; font-family: var(--sans); font-size: 18px; }
.foot__links a { text-decoration: none; }
.foot__links a:hover { text-decoration: underline; }
.foot__letter p { font-size: 18px; }
.foot__letter .input { border-color: transparent; }
.foot__msg { margin-top: 10px; font-family: var(--sans); font-size: 16px; }
.foot__msg:empty { display: none; }
.foot__demo { max-width: var(--max); margin: 0 auto; padding: 20px var(--gutter) 30px; border-top: 1px solid rgba(255, 255, 255, .16); font: 400 15px/1.5 var(--sans); color: #b9c0e4; }
@media (min-width: 900px) { .foot__in { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 56px; } }

/* ---------- shared blocks ---------- */
.hero, .fresh, .metal, .journey, .related, .shop, .product, .flow, .help {
  max-width: var(--max); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter);
}
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; margin-bottom: 26px; }
.sec-head a { font: 500 18px/1.3 var(--sans); }

/* ---------- home: hero ---------- */
.hero { display: grid; gap: 40px; padding-top: 28px; }
.hero .h1 { max-width: 15em; }
.index { margin-top: 24px; }
.index__row {
  display: flex; align-items: baseline; gap: 10px;
  padding: 10px 0; text-decoration: none;
}
.index__name { font-size: 27px; line-height: 1.2; white-space: nowrap; }
.index__fill { flex: 1; min-width: 16px; border-bottom: 2px dotted var(--ink-3); transform: translateY(-.3em); }
.index__meta { font: 400 17px/1.3 var(--sans); color: var(--ink-2); white-space: nowrap; }
.index__row:hover .index__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }
.index__row:hover .index__fill { border-bottom-color: var(--ink); }
.hero__small { margin-top: 22px; font: 400 17px/1.5 var(--sans); color: var(--ink-2); max-width: 30em; }

.specimen { margin: 0 calc(var(--gutter) * -1); display: grid; background: var(--white); }
.specimen__photo img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; transition: opacity .14s var(--ease); }
.specimen__sheet { padding: 18px var(--gutter) 20px; }
.specimen__drawing { transition: opacity .14s var(--ease); }
.specimen__drawing .drawing { max-height: 190px; margin: 0 auto; }
.specimen figcaption { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 14px; font: 400 17px/1.4 var(--sans); }
.specimen figcaption a { font-weight: 700; text-decoration: none; }
.specimen figcaption a:hover { text-decoration: underline; }
.specimen figcaption > span { color: var(--ink-2); }
.specimen.is-swapping img, .specimen.is-swapping .specimen__drawing { opacity: .25; }

@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: start; padding-top: 56px; }
  .index { margin-top: 40px; }
  .index__name { font-size: 30px; }
  .specimen { margin: 0; grid-template-rows: auto auto; border-radius: var(--radius-2); overflow: hidden; }
  .specimen__photo img { aspect-ratio: 5 / 4; }
  .specimen__sheet { padding: 20px 24px 22px; }
}
@media (min-width: 1200px) { .specimen__photo img { aspect-ratio: 4 / 3; } }

/* ---------- home: earrings side by side ---------- */
.lineup { margin-top: 96px; padding: 48px 0 40px; background: var(--tile); --mm: 4.2px; }
.lineup__text { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.lineup__text p { max-width: 34em; color: var(--ink-2); margin-top: 12px; }
.lineup__scroll { overflow-x: auto; margin-top: 18px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.lineup__scroll:focus-visible { outline-offset: -4px; }
.lineup__row {
  display: flex; align-items: stretch; gap: 4px;
  width: max-content; min-width: 100%;
  max-width: none; margin: 0 auto; padding: 8px var(--gutter) 10px;
}
.lineup__item { flex: none; width: 132px; scroll-snap-align: start; }
.lineup__item a, .lineup__item--coin { display: flex; flex-direction: column; height: 100%; padding: 10px 10px 14px; border-radius: var(--radius-2); text-decoration: none; }
.lineup__item a:hover { background: var(--white); }
.lineup__fig { display: flex; align-items: center; justify-content: center; height: calc(var(--mm) * var(--tallest) + 8px); }
.lineup__svg { width: calc(var(--mm) * var(--w)); height: calc(var(--mm) * var(--h)); overflow: visible; }
.lineup__name { margin-top: 12px; font-size: 18px; line-height: 1.25; }
.lineup__item a:hover .lineup__name { text-decoration: underline; }
.lineup__meta { margin-top: 3px; font: 400 15px/1.35 var(--sans); color: var(--ink-2); }
.lineup__item--coin .lineup__name { color: var(--ink-2); }
@media (min-width: 900px) {
  .lineup { --mm: 5.6px; }
  /* fit the page width, with each column's text on the page's left edge */
  .lineup__row { width: auto; min-width: 0; max-width: var(--max); justify-content: space-between; padding: 8px calc(var(--gutter) - 10px) 10px; }
  .lineup__item { width: auto; flex: 1 1 0; min-width: 118px; }
}

/* ---------- home: new, metal, journey ---------- */
.fresh { margin-top: 96px; }

.metal { margin-top: 110px; display: grid; gap: 28px; }
.metal__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-2); }
@media (min-width: 900px) { .metal__photo img { aspect-ratio: 4 / 5; } }
.metal__intro { color: var(--ink-2); margin-top: 12px; max-width: 30em; }
.compare { width: 100%; margin-top: 22px; border-collapse: collapse; }
.compare thead th { padding: 0 12px 10px 0; text-align: left; vertical-align: bottom; font-size: 22px; font-weight: 500; line-height: 1.2; }
.compare tbody th { padding: 14px 16px 14px 0; text-align: left; vertical-align: top; font: 700 16px/1.4 var(--sans); width: 28%; }
.compare td { padding: 14px 16px 14px 0; vertical-align: top; font-size: 18px; line-height: 1.45; border-top: 1px solid var(--line); }
.compare tbody th { border-top: 1px solid var(--line); }
.compare__price td { font: 500 24px/1.3 var(--sans); }
@media (max-width: 639px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr { display: block; }
  .compare tr { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding: 14px 0; border-top: 1px solid var(--line); }
  .compare tbody th { grid-column: 1 / -1; width: auto; padding: 0 0 6px; border: 0; }
  .compare td { padding: 0; border: 0; }
  .compare td::before { content: attr(data-label); display: block; font: 400 15px/1.3 var(--sans); color: var(--ink-2); margin-bottom: 2px; }
}
@media (min-width: 900px) {
  .metal { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
}

.journey { margin-top: 110px; display: grid; gap: 28px; }
.journey__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-2); }
.days { margin-top: 24px; }
.days li { position: relative; padding: 0 0 22px 26px; border-left: 2px solid var(--tile-2); }
.days li:last-child { border-left-color: transparent; padding-bottom: 0; }
.days li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--salt); border: 2px solid var(--ink); }
.days__when { display: block; font: 700 16px/1.3 var(--sans); margin-bottom: 4px; }
.days p { margin: 0; font-size: 18px; color: var(--ink-2); }
.days b { color: var(--ink); font-weight: 500; }
@media (min-width: 900px) {
  .journey { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
}

/* ---------- cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
@media (min-width: 800px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; } }
@media (min-width: 1200px) { .shop .grid, .related .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { min-width: 0; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-2); background: var(--tile); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__alt { opacity: 0; transition: opacity .35s var(--ease); }
@media (hover: hover) { .card:hover .card__alt { opacity: 1; } }
.card__draw { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; padding: 10%; background: var(--white); }
.card__nodraw { font: 400 17px/1.4 var(--sans); color: var(--ink-2); text-align: center; }
.grid--drawn .card__photo, .grid--drawn .card__alt { display: none; }
.grid--drawn .card__draw { display: flex; }
.card__name { margin-top: 12px; font-size: 21px; line-height: 1.2; }
.card__name a { text-decoration: none; }
.card__name a:hover { text-decoration: underline; }
.card__price { margin: 5px 0 0; font: 500 17px/1.35 var(--sans); }
.card__price span { font-weight: 400; color: var(--ink-2); }
.card__dims { margin: 2px 0 0; font: 400 16px/1.35 var(--sans); color: var(--ink-2); }
.card__new { display: block; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink); }
.card__blurb { margin: 10px 0 0; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
/* two narrow columns: the solid gold price takes its own whole line */
@media (max-width: 520px) {
  .card__solid { display: block; }
  .card__solid::first-letter { text-transform: uppercase; }
  .card__sep { display: none; }
  .card__blurb { display: none; }
}

/* ---------- shop ---------- */
.shop__head { padding-top: 32px; }
.shop__head .lede { margin-top: 10px; }
.tabs {
  display: flex; gap: 6px 24px; margin: 24px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 4px;
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; font-size: 22px; text-decoration: none; padding: 6px 0; white-space: nowrap; }
.tabs a span { font: 400 15px/1 var(--sans); color: var(--ink-2); vertical-align: .35em; margin-left: 1px; }
.tabs a:hover { text-decoration: underline; }
.tabs a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; }
.tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; margin: 20px 0 8px; padding: 16px 0; border-top: 1px solid var(--line); }
.tools__right { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.tools__count { margin: 0 0 18px; font: 400 16px/1.3 var(--sans); color: var(--ink-2); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 15px; border: 1px solid var(--tile-2); border-radius: 21px; font: 500 16px/1 var(--sans); white-space: nowrap; background: var(--white); }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.seg--view span { border-radius: var(--radius); }
.select--quiet select { min-height: 42px; padding: 8px 40px 8px 14px; font-size: 16px; font-weight: 500; }
.shop__empty { margin-top: 24px; font-family: var(--sans); }

/* ---------- product ---------- */
.product { padding-top: 18px; }
.crumbs { font: 500 17px/1.3 var(--sans); margin-bottom: 14px; }
.product__grid { display: grid; gap: 28px; }
.gallery__main { margin: 0 calc(var(--gutter) * -1); background: var(--tile); }
.gallery__main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; }
.gallery__thumbs button { width: 68px; padding: 0; border: 2px solid transparent; border-radius: var(--radius); background: none; cursor: pointer; overflow: hidden; }
.gallery__thumbs img { aspect-ratio: 4 / 5; object-fit: cover; }
.gallery__thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.h1--product { font-size: clamp(34px, 4.2vw, 48px); }
.buy__price { margin: 8px 0 12px; font: 500 22px/1.3 var(--sans); }
.buy__blurb { font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 30em; }
.buy__material { font: 400 17px/1.45 var(--sans); color: var(--ink-2); }
.buy__form { margin-top: 26px; }
.buy__row { display: flex; gap: 10px; margin-top: 6px; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--tile-2); border-radius: var(--radius); background: var(--white); }
.qty button { width: 44px; border: 0; background: none; cursor: pointer; font: 400 22px/1 var(--sans); }
.qty button:hover { background: var(--tile); }
.qty input { width: 36px; border: 0; background: none; text-align: center; font: 500 18px var(--sans); color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--small button { width: 36px; height: 36px; font-size: 19px; }
.qty--small span { display: inline-grid; place-items: center; min-width: 26px; font: 500 17px var(--sans); }

.scale { margin: 24px 0 0; padding: 16px 18px 14px; background: var(--white); border-radius: var(--radius-2); }
.scale__drawing .drawing { max-height: 230px; margin: 0 auto; }
.scale figcaption { margin-top: 8px; font: 400 15px/1.4 var(--sans); color: var(--ink-2); }
.scale--none { font: 400 18px/1.4 var(--sans); }

.plate {
  display: flex; align-items: center; justify-content: center;
  width: min(100%, 320px); height: 78px; margin-top: 12px; border-radius: 39px;
  background: var(--gold); box-shadow: inset 0 0 0 1px var(--gold-2), inset 0 -6px 0 rgba(184, 145, 63, .25);
}
.plate span { font: 500 26px/1 var(--caps); letter-spacing: .14em; color: var(--deep); text-transform: uppercase; }
.plate.is-empty span { opacity: .45; }

.spec { margin: 56px 0 0; display: grid; }
.spec > div { display: grid; gap: 2px 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.spec dt { font: 700 16px/1.4 var(--sans); }
.spec dd { margin: 0; font-size: 18px; line-height: 1.5; color: var(--ink-2); }
@media (min-width: 700px) {
  .spec > div { grid-template-columns: 160px 1fr; }
}
@media (min-width: 1000px) {
  .spec { grid-template-columns: 1fr 1fr; column-gap: 56px; }
}
.related { margin-top: 96px; }

@media (min-width: 900px) {
  .product__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
  .gallery__main { margin: 0; border-radius: var(--radius-2); overflow: hidden; }
  .buy { position: sticky; top: calc(var(--bar) + var(--top-h) + 24px); }
}

/* ---------- scale drawings (see drawings.js) ---------- */
.drawing { display: block; width: 100%; height: auto; }
.dw-edge { fill: none; stroke: var(--ink); }
.dw-metal { fill: none; stroke: var(--gold); }
.dw-solid { fill: var(--gold); stroke: var(--ink); }
.dw-pearl { fill: #fffdf7; stroke: var(--ink); }
.dw-shine { fill: none; stroke: #fff8e6; stroke-linecap: round; }
.dw-stone { fill: var(--white); stroke: var(--ink); }
.dw-onyx { fill: var(--deep); stroke: var(--ink); }
.dw-clay { fill: var(--tile); stroke: var(--ink); }
.dw-rim { fill: none; stroke: var(--ink); stroke-dasharray: 1 1.2; }
.dw-coin, .dw-coin-core { fill: none; stroke: var(--ink-3); }
.dw-coin-label { fill: var(--ink-3); font-family: var(--sans); font-weight: 500; }
.dw-note { fill: var(--ink-2); font-family: var(--sans); }
.dw-dim { stroke: var(--ink); fill: none; }
.dw-label { fill: var(--ink); font-family: var(--sans); font-weight: 500; }
.dw-engrave { fill: var(--deep); font-family: var(--caps); letter-spacing: .08em; }

/* ---------- drawer ---------- */
.drawer {
  padding: 0; margin: 0 0 0 auto; border: 0; height: 100%; max-height: 100%;
  width: min(440px, 100%); max-width: 100%;
  background: var(--salt); color: var(--ink);
}
.drawer::backdrop { background: rgba(22, 31, 94, .38); }
.drawer[open] { animation: slide-in .28s var(--ease); }
.drawer-open { overflow: hidden; }
.drawer__panel { display: flex; flex-direction: column; height: 100%; padding-top: var(--bar); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 30px; }
.drawer__head .textbtn { min-height: 44px; font: 500 18px/1 var(--sans); }
.drawer__body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; padding: 0 var(--gutter); }
.drawer__body .lines { flex: 1; }
.drawer__foot { position: sticky; bottom: 0; padding: 16px 0 22px; background: var(--salt); border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer__foot p { margin: 0; font-family: var(--sans); font-size: 16px; }
.drawer__sub { display: flex; justify-content: space-between; font: 500 21px/1.3 var(--sans) !important; }
.drawer__bag { justify-self: center; font: 500 17px/1 var(--sans); padding: 8px 0; }
@keyframes slide-in { from { transform: translateX(36px); opacity: 0; } to { transform: none; opacity: 1; } }

.meter { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); font: 500 17px/1.4 var(--sans); }

.lines { margin: 0; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line__img img { width: 72px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--tile); }
.line__name { margin: 0; font-size: 20px; line-height: 1.2; }
.line__name a { text-decoration: none; }
.line__name a:hover { text-decoration: underline; }
.line__desc { margin: 4px 0 0; font: 400 16px/1.4 var(--sans); color: var(--ink-2); }
.line__acts { display: flex; align-items: center; gap: 16px; margin-top: 10px; font: 500 16px/1 var(--sans); }
.line__price { margin: 0; font: 500 18px/1.3 var(--sans); white-space: nowrap; }
.lines--mini .line { grid-template-columns: 54px 1fr auto; padding: 12px 0; }
.lines--mini .line__img img { width: 54px; }
.lines--mini .line__name { font-size: 18px; }

.empty { padding: 40px 0; }
.empty p { font-size: 26px; }
.empty--page { padding: 16px 0; }

/* ---------- bag and checkout ---------- */
.flow { padding-top: 32px; }
.flow > .h1 { margin-bottom: 26px; }
.flow__grid { display: grid; gap: 32px; }
.lines--page { border-top: 1px solid var(--line); }
.lines--page .line { grid-template-columns: 96px 1fr auto; gap: 18px; }
.lines--page .line__img img { width: 96px; }
@media (min-width: 900px) { .flow__grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; } }
.summary { padding: 22px; background: var(--tile); border-radius: var(--radius-2); font-family: var(--sans); }
.summary__title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font: 500 26px/1.2 var(--serif); }
.summary__title .textbtn { font: 500 17px/1 var(--sans); }
.summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 18px; }
.summary__row--total { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--tile-2); font-size: 22px; font-weight: 700; }
.summary > .btn { margin-top: 18px; width: 100%; }
.summary > .muted { margin: 14px 0 0; font-size: 16px; }
.summary .lines { margin-bottom: 8px; }
.summary .line { border-color: var(--tile-2); }
.promo { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--tile-2); }
.promo label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 16px; }
.promo__msg { margin: 8px 0 0; font-size: 16px; color: var(--ink-2); }
@media (min-width: 900px) { .summary--sticky { position: sticky; top: calc(var(--bar) + var(--top-h) + 24px); } }
.flow--checkout .summary { order: -1; }
@media (min-width: 900px) { .flow--checkout .summary { order: 0; } }

.checkout .step { margin: 0 0 34px; padding: 0; border: 0; min-width: 0; }
.checkout legend { padding: 0; margin-bottom: 16px; font-size: 28px; font-weight: 500; }
.choice--stack { margin-bottom: 8px; }
.demo { margin: 0 0 18px; padding: 14px 16px; border-radius: var(--radius-2); background: #fbf3dd; font: 400 17px/1.5 var(--sans); }
.alert { margin: 0 0 24px; padding: 14px 16px; border-radius: var(--radius-2); background: #f8e5e2; color: var(--error); font: 700 17px/1.4 var(--sans); }
.btn--pay { min-height: 60px; font-size: 20px; }

.flow--narrow { max-width: 780px; }
.flow--narrow .lede { margin: 12px 0 24px; }
.order { margin: 28px 0; display: grid; gap: 22px; }
.order .lines { border-top: 1px solid var(--line); }
.order__cols { display: grid; gap: 20px; font-family: var(--sans); font-size: 17px; }
.order__cols h2 { margin-bottom: 6px; font: 700 16px/1.3 var(--sans); }
@media (min-width: 640px) { .order__cols { grid-template-columns: repeat(3, 1fr); } }

/* ---------- help and sizer ---------- */
.help { max-width: 860px; padding-top: 32px; }
.help__toc { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; font: 500 18px/1.4 var(--sans); }
.help__sec { margin-top: 56px; }
.help__sec .h2 { margin-bottom: 14px; }
.help__sec > p { color: var(--ink-2); max-width: 36em; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-family: var(--sans); font-size: 17px; }
.table th, .table td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table thead th { font-weight: 700; font-size: 16px; }
.table tbody th { font-weight: 500; }

.sizer__steps { display: grid; gap: 20px; margin-top: 22px; }
.sizer__step h3 { margin-bottom: 10px; font: 700 17px/1.3 var(--sans); }
.sizer__stage { display: flex; align-items: center; justify-content: center; height: 250px; overflow: hidden; background: var(--white); border-radius: var(--radius-2); }
.sizer__card { flex: none; }
.sizer__card { border-radius: 12px; background: var(--tile); box-shadow: inset 0 0 0 2px var(--ink); max-width: none; }
.sizer__ring { border-radius: 50%; background: var(--tile); box-shadow: 0 0 0 7px var(--gold), 0 0 0 8.5px var(--gold-2); }
.sizer__slider { display: grid; gap: 6px; margin-top: 12px; font: 500 16px/1.3 var(--sans); }
.sizer__slider input { width: 100%; margin: 0; accent-color: var(--ink); }
.sizer__result { margin-top: 20px; font-size: 24px; line-height: 1.3; }
@media (min-width: 720px) { .sizer__steps { grid-template-columns: 1fr 1fr; } }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 2147483001;
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: var(--radius-2);
  background: var(--deep); color: var(--white); font: 500 17px/1.35 var(--sans);
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast:empty { display: none; }

/* ---------- pairs, sets and presents ---------- */
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--small { min-height: 44px; padding: 0 16px; font-size: 17px; }

.buy__arrival { margin: 14px 0 0; font: 400 17px/1.45 var(--sans); color: var(--ink-2); }
.buy__arrival:empty { display: none; }

.pairup { margin-top: 26px; padding: 18px; border-radius: var(--radius-2); background: var(--tile); }
.pairup__title { margin-bottom: 12px; font-size: 21px; }
.pairup__row { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; margin-bottom: 14px; }
.pairup__img img { width: 76px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.pairup__name { margin: 0; font-size: 20px; line-height: 1.2; }
.pairup__name a { text-decoration: none; }
.pairup__name a:hover { text-decoration: underline; }
.pairup__meta { margin: 3px 0 0; font: 400 16px/1.4 var(--sans); color: var(--ink-2); }
.pairup .btn { width: 100%; }

.suggest { margin: 4px 0 16px; padding: 14px; border-radius: var(--radius-2); background: var(--tile); }
.suggest__title { margin: 0 0 10px; font: 700 16px/1.35 var(--sans); }
.suggest__row { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; }
.suggest__row img { width: 54px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.suggest__name { margin: 0; font-size: 18px; line-height: 1.2; }
.suggest__name a { text-decoration: none; }
.suggest__meta { margin: 2px 0 0; font: 400 15px/1.35 var(--sans); color: var(--ink-2); }

.scale--neck { margin-top: 12px; }
.drawing--neck { max-height: 170px; margin: 0 auto; }
.dw-body { stroke: var(--ink-2); }
.dw-guide { stroke: var(--ink-3); stroke-dasharray: 2 2; }

.index__row--gift { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 16px; }
.index__row--gift .index__name { font-style: italic; }
.index__row--small { padding: 8px 0; }
.index__row--small .index__name { font-size: 20px; white-space: normal; }
.index__row--small .index__name small { font: 400 15px/1 var(--sans); color: var(--ink-2); margin-left: 4px; white-space: nowrap; }

.gifts { max-width: var(--max); margin: 0 auto; padding: 32px var(--gutter) 0; }
.gifts__head .lede { margin-top: 12px; }
.gifts__sec { margin-top: 72px; }
.gifts__sec > .h2 { margin-bottom: 22px; }
.gifts__intro { color: var(--ink-2); max-width: 36em; margin: -10px 0 22px; }
.sets { display: grid; gap: 36px; }
.set { display: grid; gap: 16px; }
.set__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.set__pics img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-2); }
.set__name { font-size: 24px; line-height: 1.2; }
.set__name a { text-decoration: none; }
.set__name a:hover { text-decoration: underline; }
.set__note { margin: 8px 0 10px; color: var(--ink-2); font-size: 18px; }
.set__price { font: 500 18px/1.4 var(--sans); }
.set__price span { font-weight: 400; color: var(--ink-2); }
.set .btn { margin-top: 4px; }
@media (min-width: 800px) {
  .sets { grid-template-columns: 1fr 1fr; gap: 48px 40px; }
}
.budgets { display: grid; gap: 28px; }
.budget h3 { margin-bottom: 4px; font: 700 17px/1.3 var(--sans); }
@media (min-width: 900px) { .budgets { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.spec--one { grid-template-columns: 1fr !important; max-width: 860px; margin-top: 0; }

/* checkout steps are numbered by what is showing, so hiding the address
   for a collection never leaves a gap in the numbers */
.checkout { counter-reset: step; }
.checkout .step:not([hidden]) { counter-increment: step; }
.checkout legend::before { content: counter(step) ". "; }
.choice__note [data-ship-eta] { color: var(--ink); font-weight: 500; }

/* phones: the shop's filters scroll sideways in one row, so the pieces start
   on the first screen */
@media (max-width: 699px) {
  .tools { flex-wrap: nowrap; flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 0; }
  .tools .seg { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .tools .seg::-webkit-scrollbar { display: none; }
  .tools .seg label { flex: none; }
  .tools__right { flex-wrap: nowrap; gap: 8px; }
  .tools__right .seg { margin: 0; padding: 0; overflow: visible; }
  .tools__right .select { flex: 1; min-width: 0; }
  .shop__head { padding-top: 20px; }
  .shop__head .lede { font-size: 19px; }
  .tabs { margin-top: 14px; }
}

/* ---------- Christmas, wrapping, express, the sticky button ---------- */
.xmas { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-2); background: var(--tile); font: 400 17px/1.45 var(--sans); }
.xmas b { font-weight: 700; }
.xmas-table p { color: var(--ink-2); max-width: 40em; }
.help__h3 { margin: 26px 0 6px; font: 700 18px/1.3 var(--sans); }

.wraplines { display: grid; gap: 14px; margin: 4px 0 16px 32px; }
.wrapline .check { margin-bottom: 6px; }
.wrapline .input:disabled { opacity: .45; }

.express { margin: -8px 0 28px; max-width: 560px; }
.express__title { margin: 0 0 10px; font: 700 16px/1.3 var(--sans); }
.express__btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.btn--wallet { padding: 0 10px; background: var(--white); color: var(--deep); box-shadow: inset 0 0 0 1.5px var(--deep); font-weight: 700; }
.btn--wallet:hover { background: var(--deep); color: var(--white); }
.express__or { margin: 14px 0 0; font: 400 16px/1.4 var(--sans); color: var(--ink-2); }

.wallet { width: min(440px, calc(100% - 32px)); padding: 24px; border: 0; border-radius: var(--radius-2); background: var(--salt); color: var(--ink); }
.wallet::backdrop { background: rgba(22, 31, 94, .45); }
.wallet__title { margin-bottom: 12px; font-size: 26px; }
.wallet p { color: var(--ink-2); font-size: 18px; }
.wallet__acts { display: flex; align-items: center; gap: 18px; margin-top: 18px; font-family: var(--sans); }

.order__no { margin: 0 0 6px; font: 500 17px/1.3 var(--sans); color: var(--ink-2); }

.stickybuy { display: none; }
@media (max-width: 899px) {
  .stickybuy {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: flex; align-items: center; gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--salt); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .2s var(--ease);
  }
  .stickybuy.is-on { transform: none; }
  .stickybuy__info { flex: 1; min-width: 0; margin: 0; font: 500 17px/1.3 var(--sans); }
  .stickybuy__name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 18px/1.25 var(--serif); }
  .stickybuy .btn { flex: none; min-height: 48px; }
  /* phones: a square photograph puts the name and price on the first screen */
  .gallery__main img { aspect-ratio: 1; }
}
@media (min-width: 900px) { .budgets { grid-template-columns: repeat(4, 1fr); gap: 36px; } }

/* ---------- audit fixes: small screens and tap targets ---------- */
/* Grid columns default to the width of their content; on a 320px phone a
   long word or a fixed-size child then pushes the page sideways. */
.hero, .flow__grid, .product__grid, .metal, .journey, .sizer__steps, .budgets, .sets, .set { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .flow__grid { grid-template-columns: minmax(0, 1fr) 400px; }
  .product__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .metal { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .journey { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .budgets { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 800px) { .sets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 720px) { .sizer__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* the narrowest phones: name, Menu and Bag must share 288px */
@media (max-width: 359px) {
  .top__in { gap: 14px; }
  .brand { gap: 8px; }
  .brand span { font-size: 22px; }
  .mark { width: 36px; height: 24px; }
  .top__acts { gap: 14px; }
}

/* Every standalone link and button gets a 44px target, without changing how
   the page looks: padding grows the hit area, negative margin keeps the layout. */
.foot__links li { margin: 0; }
.foot__links a { display: inline-block; min-width: 44px; padding: 9px 0; }
.brand { min-height: 44px; }
.crumbs a, .sec-head a, .summary__title .textbtn, .help__toc a { display: inline-block; min-width: 44px; padding: 13px 6px; margin: -13px -6px; text-align: center; }
.help__toc { row-gap: 14px; padding: 6px 0; }
.crumbs { margin-bottom: 18px; padding-top: 6px; }
.line__acts .textbtn { min-height: 44px; padding: 0 4px; }
.qty--small button { width: 44px; height: 44px; }
.check { padding: 10px 0; margin: 0; }
.demo .textbtn { padding: 10px 0; margin: -10px 0; }
/* the whole card is the link, not only its name */
.card { position: relative; }
.card__name a::after { content: ""; position: absolute; inset: 0; }
.card__name a:focus-visible { outline: none; }
.card:has(.card__name a:focus-visible) { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: var(--radius-2); }

/* ---------- audit fixes: bag lines on small phones ---------- */
.line { grid-template-columns: 72px minmax(0, 1fr) auto; }
.line__acts { flex-wrap: wrap; gap: 6px 14px; }
@media (max-width: 419px) {
  .lines--page .line { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; }
  .lines--page .line__img img { width: 72px; }
}

/* ---------- audit fixes: tablets (640 to 899px) ----------
   Between a phone and a laptop the phone layout was simply stretched: one
   photograph a whole screen tall, then the next. */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 720px) and (max-width: 899px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; padding-top: 36px; }
  .hero .h1 { font-size: 34px; }
  .index__name { font-size: 24px; }
  .index__meta { font-size: 15px; }
  .specimen { margin: 0; border-radius: var(--radius-2); overflow: hidden; }
  .specimen__photo img { aspect-ratio: 4 / 5; }
  .journey { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
  .journey__photo img { aspect-ratio: 4 / 5; }
  .metal__photo img { aspect-ratio: 2 / 1; }
}
@media (min-width: 760px) and (max-width: 899px) {
  .product__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .gallery__main { margin: 0; border-radius: var(--radius-2); overflow: hidden; }
  .gallery__main img { aspect-ratio: 4 / 5; }
  .buy { position: sticky; top: calc(var(--bar) + var(--top-h) + 16px); }
  .stickybuy { display: none; }
}

/* ---------- figures ----------
 * Old-style figures sit in running text; prices, sizes and anything read as
 * a number get lining figures, tabular where they stack in columns. */
.btn, .bagbtn, .index__meta, .card__price, .card__dims, .lineup__meta, .buy__price, .choice__price,
.tabs span, .tools__count, .crumbs, .dw-label, .dw-coin-label, .days__when, .table, .compare__price td,
.field__help, .meter, .line__desc, .order__cols, .toast, .hero__small, .specimen figcaption, .plate span {
  font-variant-numeric: lining-nums;
}
.summary, .line__price, .drawer__sub, .qty { font-variant-numeric: lining-nums tabular-nums; }

/* ---------- motion ----------
 * One moment only: the drawing on the home page draws itself in, the way a
 * jeweller sketches a piece, and again whenever the index swaps it. */
.specimen__drawing .dw-edge { stroke-dasharray: 220; stroke-dashoffset: 220; animation: sketch 1.1s var(--ease) .25s forwards; }
.specimen__drawing .dw-metal, .specimen__drawing .dw-solid, .specimen__drawing .dw-pearl { opacity: 0; animation: fill .5s ease 1s forwards; }
@keyframes sketch { to { stroke-dashoffset: 0; } }
@keyframes fill { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}

/* without JavaScript: say so once, under the header */
.nojs { margin: 0; padding: 10px var(--gutter); background: var(--tile); font: 500 16px/1.4 var(--sans); text-align: center; }
