/* ==========================================================================
   urbanleaves — design system

   White ground, colour that means something. The page is white because the
   photography is: fifty pieces shot on a white sweep sit on the page without a
   seam, and nothing competes with the metal.

   The colour comes from the collection's own structure. Each of the seven
   families owns a hue, and that hue is the only thing that changes between a
   family's filter chip, its heading, its section number and the rule above
   every one of its cards. So the colour is navigation, not decoration: a
   reader learns "plum is Symbols" once and then reads the grid by eye.

   Cormorant sets the display, Jost everything else — a Garamond and a
   geometric sans, which is the pairing the pieces are photographed against.

   Light only, on purpose. A dark surface would put a bright square around
   every photograph and the grid would read as fifty windows instead of one
   collection. color-scheme is declared so form controls follow.
   ========================================================================== */

/* ---------- fonts ---------- */
@font-face {
  font-family: "Cormorant";
  src: url("../fonts/cormorant-subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-subset.woff2") format("woff2-variations");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

/* Metric-matched fallbacks. Without these the swap from Georgia to Cormorant
   moves every heading; Cormorant is a narrow, small-x-height face and Georgia
   is neither. */
@font-face {
  font-family: "Cormorant Fallback";
  src: local("Georgia"), local("Times New Roman"), local("Liberation Serif");
  size-adjust: 88%;
  ascent-override: 98%;
  descent-override: 26%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Jost Fallback";
  src: local("Segoe UI"), local("Helvetica Neue"), local("Arial"),
       local("DejaVu Sans");
  size-adjust: 99%;
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
}

/* ---------- tokens ---------- */
:root {
  color-scheme: light;

  /* surface */
  --paper:    oklch(1 0 0);              /* the page: white */
  --white:    oklch(1 0 0);              /* behind photography */
  --paper-2:  oklch(0.975 0.016 85);     /* sand, for alternating bands */
  --paper-3:  oklch(0.948 0.022 85);

  /* ink, with just enough green in it to belong to the wordmark */
  --ink:      oklch(0.235 0.020 155);
  --ink-2:    oklch(0.435 0.015 155);
  --ink-3:    oklch(0.560 0.012 155);

  /* the leaf in the name */
  --leaf:      oklch(0.480 0.095 150);
  --leaf-2:    oklch(0.395 0.085 152);
  --leaf-wash: oklch(0.962 0.030 150);

  /* the two finishes the collection is actually sold in */
  --brass:      oklch(0.700 0.115 78);
  --brass-deep: oklch(0.500 0.095 72);
  --brass-wash: oklch(0.966 0.032 85);
  --pewter:     oklch(0.680 0.014 250);
  --pewter-deep:oklch(0.470 0.016 250);

  /* ---- the seven families ----
     Seven hues, none closer than 40 degrees to its neighbour, all at a
     lightness that clears 4.5:1 against white so each one can set type as well
     as fill a swatch. Necklaces takes the brass because the two chains are
     literally the gold one and the silver one. */
  --c-initials:  oklch(0.500 0.130 285);   /* violet-blue */
  --c-nature:    oklch(0.480 0.110 150);   /* green */
  --c-garden:    oklch(0.565 0.155 25);    /* coral */
  --c-journey:   oklch(0.505 0.120 235);   /* blue */
  --c-symbols:   oklch(0.495 0.135 330);   /* plum */
  --c-beads:     oklch(0.520 0.095 195);   /* turquoise */
  --c-necklaces: oklch(0.530 0.105 75);    /* brass */

  /* Whatever hue the current context owns. Everything below paints with this
     rather than naming a family, so one rule per family colours the page. */
  --accent: var(--brass-deep);
  --accent-wash: var(--brass-wash);

  --line:   oklch(0.898 0.006 85);
  --line-2: oklch(0.822 0.010 85);

  /* type */
  --display: "Cormorant", "Cormorant Fallback", Georgia, "Times New Roman",
             serif;
  --sans: "Jost", "Jost Fallback", -apple-system, BlinkMacSystemFont,
          "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-900: clamp(3rem, 1.1rem + 8vw, 7rem);
  --fs-800: clamp(2.35rem, 1.25rem + 4.4vw, 4.5rem);
  --fs-700: clamp(1.85rem, 1.3rem + 2.3vw, 2.9rem);
  --fs-600: clamp(1.4rem, 1.15rem + 1.1vw, 1.95rem);
  --fs-500: clamp(1.12rem, 1.04rem + 0.4vw, 1.35rem);
  --fs-400: 1.0625rem;
  --fs-300: 0.9375rem;
  --fs-200: 0.8125rem;
  --fs-100: 0.72rem;

  /* space */
  --s-1: 0.375rem;
  --s-2: 0.75rem;
  --s-3: 1.125rem;
  --s-4: 1.75rem;
  --s-5: 2.5rem;
  --s-6: 3.5rem;
  --s-7: clamp(3.5rem, 2rem + 5vw, 6.5rem);
  --s-8: clamp(4.5rem, 2rem + 8vw, 9.5rem);

  --gutter: clamp(1.25rem, 0.6rem + 2.8vw, 3.5rem);
  --measure: 64ch;
  --wide: 78rem;

  --radius: 2px;    /* the line sheet has corners, not pills */
}

/* One rule per family, matching every element that carries the family's name:
   the filter chip (data-value), the collection section (data-group), the home
   page's family row and each card (data-family). */
[data-family="initials"],  [data-group="initials"],  [data-value="initials"]
  { --accent: var(--c-initials);  --accent-wash: oklch(0.965 0.022 285); }
[data-family="nature"],    [data-group="nature"],    [data-value="nature"]
  { --accent: var(--c-nature);    --accent-wash: oklch(0.962 0.026 150); }
[data-family="garden"],    [data-group="garden"],    [data-value="garden"]
  { --accent: var(--c-garden);    --accent-wash: oklch(0.966 0.028 25); }
[data-family="journey"],   [data-group="journey"],   [data-value="journey"]
  { --accent: var(--c-journey);   --accent-wash: oklch(0.964 0.024 235); }
[data-family="symbols"],   [data-group="symbols"],   [data-value="symbols"]
  { --accent: var(--c-symbols);   --accent-wash: oklch(0.965 0.024 330); }
[data-family="beads"],     [data-group="beads"],     [data-value="beads"]
  { --accent: var(--c-beads);     --accent-wash: oklch(0.962 0.024 195); }
[data-family="necklaces"], [data-group="necklaces"], [data-value="necklaces"]
  { --accent: var(--c-necklaces); --accent-wash: var(--brass-wash); }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-400);
  font-weight: 350;
  line-height: 1.62;
  letter-spacing: 0.004em;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: var(--s-2) var(--s-3);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}
.skip:focus { left: var(--s-2); top: var(--s-2); }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* ---------- layout ---------- */
.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wide));
  margin-inline: auto;
}
.wrap--text { width: min(100% - (var(--gutter) * 2), 52rem); margin-inline: auto; }

.section { padding-block: var(--s-8); }
.section--tight { padding-block: var(--s-7); }
.section--well { background: var(--paper-2); }
.section--leaf { background: var(--leaf-wash); }
.section--rule { border-top: 1px solid var(--line); }

.stack > * + * { margin-top: var(--s-3); }
.stack-4 > * + * { margin-top: var(--s-4); }
.stack-5 > * + * { margin-top: var(--s-5); }

/* ---------- type utilities ---------- */
.eyebrow {
  font-size: var(--fs-100);
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.h-display { font-size: var(--fs-900); }
.h1 { font-size: var(--fs-800); }
.h2 { font-size: var(--fs-700); }
.h3 { font-size: var(--fs-600); }
.h4 {
  font-family: var(--sans);
  font-size: var(--fs-300);
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--ink-2);
}
.lead {
  font-size: var(--fs-500);
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: var(--measure);
}
.prose { max-width: var(--measure); color: var(--ink-2); }
.prose > * + * { margin-top: var(--s-3); }
.small { font-size: var(--fs-300); color: var(--ink-3); }
.tiny { font-size: var(--fs-200); color: var(--ink-3); }
.mono {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  font-size: var(--fs-200);
  font-weight: 400;
}

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.82em 1.5em;
  border: 1px solid var(--leaf-2);
  border-radius: var(--radius);
  background: var(--leaf-2);
  color: var(--white);
  font-size: var(--fs-300);
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { background: var(--brass-deep); border-color: var(--brass-deep); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* A chevron that is not U+2192: the Jost subset has no arrow glyph, so the
   mark is drawn rather than typed. */
.btn::after {
  content: "";
  width: 0.42em;
  height: 0.42em;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}
.btn:hover::after { transform: rotate(45deg) translate(2px, -2px); }
.btn--plain::after { display: none; }

/* ---------- header ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklch, var(--paper) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.masthead[data-scrolled="true"] { border-bottom-color: var(--line); }

.masthead__inner {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  min-height: 4.5rem;
}

/* The house sets its own name in a bold geometric sans on the card the
   bangles ship on, not in a serif, so the wordmark follows the card rather
   than the rest of the site's display face. Jost is the closest thing already
   loaded. */
.wordmark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-right: auto;
}
.wordmark__mark { width: 2rem; height: 2rem; flex: none; }
.wordmark__text { display: flex; flex-direction: column; gap: 0.32em; }
.wordmark__name {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink);
}
.wordmark__sub {
  display: flex;
  align-items: center;
  gap: 0.45em;
  font-size: var(--fs-100);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-deep);
  line-height: 1;
}
.wordmark__heart { width: 0.8em; height: 0.8em; color: var(--c-garden); }

@media (max-width: 30rem) {
  .wordmark__sub { display: none; }
}

.nav { display: flex; align-items: center; gap: var(--s-4); }
.nav__list { display: flex; gap: var(--s-4); list-style: none; }
.nav__link {
  font-size: var(--fs-300);
  letter-spacing: 0.04em;
  text-decoration: none;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
}
.nav__link:hover { border-bottom-color: var(--line-2); }
.nav__link[aria-current="page"] { border-bottom-color: var(--brass); }

/* The language switch, in two shapes. The block form carries the full name of
   each language and sits on the home page where a first-time visitor lands;
   the row form is two-letter codes and sits in the footer of every page. The
   current language stays in both rather than dropping out — a reader needs to
   see which of the four they are on, and a set that changes length as you move
   between languages reads as a bug. */
.langs { display: flex; }

.langs--block {
  flex-wrap: wrap;
  gap: var(--s-2);
}
.langs--block .lang {
  display: flex;
  align-items: baseline;
  gap: 0.7em;
  padding: 0.75em 1.1em;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink-2);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.langs--block .lang:hover {
  border-color: var(--brass);
  background: var(--brass-wash);
  color: var(--brass-deep);
}
.langs--block .lang--on,
.langs--block .lang--on:hover {
  background: var(--brass-deep);
  border-color: var(--brass-deep);
  color: var(--white);
}
.lang__code {
  font-size: var(--fs-200);
  letter-spacing: 0.14em;
  opacity: 0.75;
}
.lang__name { font-size: var(--fs-400); }

.langs--row {
  gap: 1px;
  background: color-mix(in oklch, var(--white) 22%, transparent);
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
}
.langs--row .lang {
  padding: 0.4em 0.65em;
  background: oklch(0.255 0.042 155);
  color: color-mix(in oklch, var(--white) 78%, transparent);
  font-size: var(--fs-200);
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.langs--row .lang:hover { color: var(--brass); }
.langs--row .lang--on,
.langs--row .lang--on:hover {
  background: var(--brass);
  color: oklch(0.255 0.042 155);
}

.nav__toggle {
  display: none;
  align-items: center;
  gap: 0.55em;
  padding: 0.5em 0.9em;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-size: var(--fs-200);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 56rem) {
  .nav__toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 4.5rem 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s-3) var(--gutter) var(--s-5);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -22px oklch(0.235 0.02 155 / 0.5);
  }
  .nav[hidden] { display: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link {
    display: block;
    padding-block: var(--s-3);
    border-bottom: 1px solid var(--line);
    font-size: var(--fs-500);
  }
  .nav__link[aria-current="page"] { border-bottom-color: var(--brass); }
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  gap: var(--s-6);
  padding-block: var(--s-6) var(--s-5);
  align-items: center;
}
@media (min-width: 62rem) {
  .hero { grid-template-columns: 1.05fr 0.95fr; gap: var(--s-8); }
}
.hero__copy > * + * { margin-top: var(--s-4); }
.hero__title { font-size: var(--fs-900); line-height: 0.95; }

/* The seven family hues as a band under the headline: the collection's own
   index, before a word has been said about it. */
.hero__spectrum {
  display: flex;
  height: 6px;
  max-width: 24rem;
  border-radius: var(--radius);
  overflow: hidden;
}
.hero__spectrum span { flex: 1; background: var(--accent); }

.hero__figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 2px oklch(0.235 0.02 155 / 0.05),
              0 18px 44px -18px oklch(0.235 0.02 155 / 0.28);
}
/* The aspect ratio and the focal point are set per photograph in build.py,
   because they belong to the picture rather than to the layout. */
.hero__figure img { width: 100%; object-fit: cover; }
.hero__caption {
  position: absolute;
  left: 0; bottom: 0;
  padding: var(--s-2) var(--s-3);
  background: var(--brass-wash);
  border-top: 1px solid var(--brass);
  border-right: 1px solid var(--brass);
  font-size: var(--fs-100);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-deep);
}

/* ---------- page head (interior pages) ---------- */
.pagehead { padding-block: var(--s-7) var(--s-6); }
.pagehead > * + * { margin-top: var(--s-3); }
.pagehead .lead { margin-top: var(--s-4); }

/* ---------- the "not a shop" band ---------- */
.notice {
  display: grid;
  gap: var(--s-3);
  padding: var(--s-5);
  background: var(--leaf-wash);
  border: 1px solid color-mix(in oklch, var(--leaf) 35%, transparent);
  border-left: 4px solid var(--leaf);
  border-radius: var(--radius);
}
@media (min-width: 48rem) {
  .notice { grid-template-columns: auto 1fr; align-items: start; gap: var(--s-5); }
}
.notice__mark {
  font-family: var(--display);
  font-size: var(--fs-600);
  color: var(--leaf);
  line-height: 1;
}
.notice h2 {
  font-size: var(--fs-600);
  margin-bottom: var(--s-2);
  color: var(--leaf-2);
}
.notice p { color: var(--ink-2); max-width: var(--measure); }

/* ---------- grids ---------- */
.cols {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.cols--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }

.pillar {
  padding-top: var(--s-3);
  border-top: 3px solid var(--accent);
}
.pillar > * + * { margin-top: var(--s-2); }
/* These three are not families, so they borrow three of the family hues
   rather than owning one. */
.cols .pillar:nth-child(1) { --accent: var(--c-garden); }
.cols .pillar:nth-child(2) { --accent: var(--c-journey); }
.cols .pillar:nth-child(3) { --accent: var(--c-symbols); }
.cols .pillar:nth-child(4) { --accent: var(--c-nature); }
.pillar__n {
  font-family: var(--display);
  font-size: var(--fs-700);
  color: var(--accent);
  line-height: 1;
}
.pillar h3 { font-size: var(--fs-600); }
.pillar p { color: var(--ink-2); font-size: var(--fs-300); }

/* ---------- family rows ---------- */
.families { display: grid; gap: 0; border-top: 1px solid var(--line); }
.family {
  display: grid;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-2) var(--s-4) var(--s-3);
  border-bottom: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  text-decoration: none;
  transition: background 0.18s ease;
}
@media (min-width: 48rem) {
  .family {
    grid-template-columns: 3rem 14rem 1fr auto;
    align-items: baseline;
    gap: var(--s-4);
  }
}
.family:hover { background: var(--accent-wash); }
.family__n {
  font-family: var(--display);
  font-size: var(--fs-500);
  color: var(--accent);
}
.family__name { font-family: var(--display); font-size: var(--fs-600); }
.family__line { color: var(--ink-2); font-size: var(--fs-300); }
.family__count {
  font-size: var(--fs-100);
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--accent);
  padding: 0.25em 0.65em;
  border-radius: var(--radius);
  white-space: nowrap;
  justify-self: start;
  font-variant-numeric: tabular-nums;
}

/* ---------- brand photography ---------- */
/* Two arrangements, one behaviour. The lookbook is a wide band of small
   frames; a strip is two or three larger ones beside a piece of text. Both
   crop to a single aspect so a row reads as a set — these masters range from
   641x1488 to 959x1405, and left alone they tile like a ransom note. */
.lookbook, .strip {
  list-style: none;
  display: grid;
  gap: var(--s-3);
}
.lookbook {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
}
.strip {
  gap: var(--s-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.lookbook img, .strip img, .photo img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}
.lookbook li, .strip li { overflow: hidden; border-radius: var(--radius); }
.lookbook li:hover img, .strip li:hover img { transform: scale(1.04); }

.photo { margin: 0; }
.photo img { box-shadow: 0 12px 30px -18px oklch(0.235 0.02 155 / 0.35); }

/* ---------- markets ---------- */
.markets { display: grid; gap: var(--s-5); }
@media (min-width: 48rem) { .markets { grid-template-columns: 1fr 1fr; } }
.market-list { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.market {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5em;
  padding: 0.45em 0.85em;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-size: var(--fs-300);
}
.market--core {
  border-color: var(--leaf);
  background: var(--leaf-wash);
  color: var(--leaf-2);
}
.market__code {
  font-size: var(--fs-100);
  letter-spacing: 0.1em;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.market--core .market__code { color: var(--leaf); }

/* ---------- filters ---------- */
.filters {
  position: sticky;
  top: 4.5rem;
  z-index: 20;
  padding-block: var(--s-3);
  background: color-mix(in oklch, var(--paper) 93%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
/* On a phone the eight family chips wrap to five rows; pinned, they would hold
   a third of the screen for the whole scroll. Below the breakpoint they scroll
   away with everything else. */
@media (max-width: 56rem) {
  .filters { position: static; }
}
.filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.filters__label {
  font-size: var(--fs-100);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-right: var(--s-1);
}
.filters__count {
  margin-left: auto;
  font-size: var(--fs-200);
  letter-spacing: 0.08em;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.chip {
  padding: 0.42em 0.95em;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--ink-2);
  font-size: var(--fs-200);
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
/* The two finish chips are not families: they wear the two things the pieces
   are actually made to look like. */
.chip--gold { --accent: var(--brass-deep); }
.chip--silver { --accent: var(--pewter-deep); }
/* "Everything" and "Both finishes" clear a filter rather than choosing one, so
   they stay neutral when pressed. */
.chip[data-value="all"][aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
}

.empty {
  padding: var(--s-7) 0;
  text-align: center;
  color: var(--ink-2);
}
.empty[hidden] { display: none; }

/* ---------- collection groups ---------- */
[data-group] .h2 { color: var(--accent); }
[data-group] .grid { border-top: 3px solid var(--accent); }

/* ---------- product grid ---------- */
.grid {
  display: grid;
  gap: var(--s-5) var(--s-4);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  list-style: none;
}
.card[hidden] { display: none; }
.card { display: flex; flex-direction: column; }

.card__frame {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover .card__frame {
  border-color: var(--accent);
  box-shadow: 0 10px 26px -14px oklch(0.235 0.02 155 / 0.3);
}
.card__frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card__frame img { transform: scale(1.03); }

.card__finish {
  position: absolute;
  top: var(--s-2);
  right: var(--s-2);
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  border: 1px solid color-mix(in oklch, var(--ink) 25%, transparent);
}
.card__finish--gold { background: var(--brass); }
.card__finish--silver { background: var(--pewter); }

.card__body {
  margin-top: var(--s-3);
  padding-top: var(--s-3);
  border-top: 2px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}
.card__title { font-family: var(--display); font-size: var(--fs-500); line-height: 1.15; }
.card__meta {
  display: flex;
  gap: var(--s-2);
  color: var(--accent);
  font-size: var(--fs-100);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.card__blurb {
  font-size: var(--fs-300);
  color: var(--ink-2);
  line-height: 1.5;
  margin-top: var(--s-1);
}
.card__spec {
  margin-top: var(--s-2);
  padding-top: var(--s-2);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem var(--s-2);
  font-size: var(--fs-200);
}
.card__spec dt { color: var(--ink-3); }
.card__spec dd { margin: 0; color: var(--ink-2); }

/* ---------- steps ---------- */
.steps { list-style: none; counter-reset: step; border-top: 1px solid var(--line); }
.step {
  counter-increment: step;
  display: grid;
  gap: var(--s-2);
  padding: var(--s-4) 0 var(--s-4) var(--s-3);
  border-bottom: 1px solid var(--line);
  border-left: 4px solid var(--accent);
}
.steps .step:nth-child(1) { --accent: var(--c-garden); }
.steps .step:nth-child(2) { --accent: var(--c-journey); }
.steps .step:nth-child(3) { --accent: var(--c-symbols); }
.steps .step:nth-child(4) { --accent: var(--c-nature); }
@media (min-width: 48rem) {
  .step { grid-template-columns: 4rem 16rem 1fr; gap: var(--s-4); align-items: baseline; }
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--display);
  font-size: var(--fs-600);
  color: var(--accent);
  line-height: 1;
}
.step h3 { font-size: var(--fs-600); }
.step p { color: var(--ink-2); font-size: var(--fs-300); }

/* ---------- lists ---------- */
.ticks { list-style: none; display: grid; gap: var(--s-2); }
.ticks li {
  display: grid;
  grid-template-columns: 1.2em 1fr;
  gap: var(--s-2);
  color: var(--ink-2);
  font-size: var(--fs-300);
}
.ticks li::before {
  content: "";
  width: 0.5em; height: 0.5em;
  margin-top: 0.55em;
  background: var(--leaf);
  transform: rotate(45deg);
}
.ticks--no li::before { background: var(--c-garden); }

/* ---------- key/value table ---------- */
.kv { border-top: 1px solid var(--line); }
.kv__row {
  display: grid;
  gap: var(--s-1);
  padding-block: var(--s-3);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 40rem) {
  .kv__row { grid-template-columns: 18rem 1fr; gap: var(--s-4); align-items: baseline; }
}
.kv__k { color: var(--ink-3); font-size: var(--fs-300); }
.kv__v { color: var(--ink); }
/* A detail the business still has to supply. Coral, dashed, and nothing else
   on the site looks like it. */
.todo {
  display: inline-block;
  padding: 0.1em 0.5em;
  background: oklch(0.966 0.028 25);
  border: 1px dashed var(--c-garden);
  border-radius: var(--radius);
  color: var(--c-garden);
  font-size: var(--fs-300);
}

/* ---------- form ---------- */
.form { display: grid; gap: var(--s-3); }
.field { display: grid; gap: 0.4rem; }
.field--pair { display: grid; gap: var(--s-3); }
@media (min-width: 40rem) { .field--pair { grid-template-columns: 1fr 1fr; } }

.field label, .fieldset legend {
  font-size: var(--fs-200);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.field .req { color: var(--c-garden); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.75em 0.9em;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-size: var(--fs-400);
  font-weight: 350;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--leaf);
}
.field .hint { font-size: var(--fs-200); color: var(--ink-3); }

.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.radio {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-2);
  align-items: start;
  padding: var(--s-3);
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: var(--fs-300);
}
.radio:has(input:checked) { border-color: var(--leaf); background: var(--leaf-wash); }
.radio input { margin-top: 0.25em; accent-color: var(--leaf-2); }

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-2);
  align-items: start;
  font-size: var(--fs-300);
  color: var(--ink-2);
}
.consent input { margin-top: 0.3em; accent-color: var(--leaf-2); }

.hp { position: absolute; left: -9999px; }

/* ---------- footer ---------- */
.footer {
  padding-block: var(--s-7) var(--s-5);
  background: oklch(0.255 0.042 155);
  color: color-mix(in oklch, var(--white) 80%, transparent);
  font-size: var(--fs-300);
}
.footer a { color: inherit; }
.footer a:hover { color: var(--brass); }
.footer__top {
  display: grid;
  gap: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid color-mix(in oklch, var(--white) 20%, transparent);
}
@media (min-width: 52rem) {
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-6); }
}
.footer h2 {
  font-family: var(--sans);
  font-size: var(--fs-100);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--s-2);
}
.footer__wordmark {
  font-family: var(--display);
  font-size: var(--fs-600);
  color: var(--white);
  line-height: 1;
}
.footer__list { list-style: none; display: grid; gap: var(--s-1); }
.footer__email {
  margin-top: var(--s-3);
  font-family: var(--display);
  font-size: var(--fs-500);
}
.footer__email a { color: var(--brass); text-decoration: none; }
.footer__email a:hover { color: var(--white); text-decoration: underline; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
  padding-top: var(--s-4);
  font-size: var(--fs-200);
  color: color-mix(in oklch, var(--white) 58%, transparent);
}
.footer__bottom p { margin-right: auto; }

/* ---------- print: the line sheet people actually print ---------- */
@media print {
  .masthead, .filters, .footer, .notice, .btn, .skip { display: none !important; }
  body { background: #fff; font-size: 10pt; }
  .grid { grid-template-columns: repeat(4, 1fr); gap: 8mm 6mm; }
  .card { break-inside: avoid; }
  .card__blurb { display: none; }
  .section { padding-block: 6mm; }
  .section--well, .section--leaf { background: none; }
  a[href]::after { content: ""; }
}
