/* Batavia Exotic Leather — the colour card.
   One printed card on a stone desk: index tabs on its top edge, leather swatches as content,
   Archivo for every word (wide uppercase to print, normal width to read). */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}

/* Metric-matched fallback keeps the layout still while Archivo loads. */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 104%;
  ascent-override: 88%;
  descent-override: 21%;
}

/* wider fallback so stretched headings wrap the same way before Archivo arrives */
@font-face {
  font-family: "Archivo Wide Fallback";
  src: local("Arial Black"), local("Arial");
  size-adjust: 98%;
  ascent-override: 92%;
  descent-override: 22%;
}

:root {
  --desk: #cfc7b6;
  --card: #f2f0ea;
  --card-2: #e7e2d6;
  --card-3: #dcd5c5;
  --ink: #1d1b18;
  --ink-2: #47433c;
  --ink-3: #635e55;
  --rule: rgba(29, 27, 24, 0.16);
  --rule-2: rgba(29, 27, 24, 0.34);

  /* the one printed colour panel (CITES), taken from the Bromo's blue */
  --cobalt: #1f3c8e;
  --cobalt-ink: #e9ecf5;

  --font: "Archivo", "Archivo Fallback", system-ui, sans-serif;
  --gutter: clamp(18px, 3.4vw, 56px);
  --edge: 28px;
  --tab-h: 44px;
  --radius: 6px;
  --measure: 66ch;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--desk);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-kerning: normal;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  padding: 0 var(--edge) var(--edge);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p, ul, ol, dl, figure, h1, h2, h3, h4 { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button { font: inherit; color: inherit; }

::selection { background: var(--ink); color: var(--card); }

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

/* scrollbars carry the card, not the OS */
html { scrollbar-color: var(--ink-3) var(--desk); }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  background: var(--ink);
  color: var(--card);
  padding: 10px 16px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 10px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- type ---------- */

.print,
h1, h2, .h2, h3, .h3 {
  font-family: "Archivo", "Archivo Wide Fallback", system-ui, sans-serif;
  font-stretch: 118%;
  text-transform: uppercase;
  text-wrap: balance;
}

h1, .h1 {
  font-weight: 800;
  font-size: clamp(2.15rem, 1.25rem + 3.6vw, 4.6rem);
  line-height: 0.97;
  letter-spacing: -0.012em;
}

h2, .h2 {
  font-weight: 780;
  font-size: clamp(1.65rem, 1.1rem + 2vw, 2.85rem);
  line-height: 1;
  letter-spacing: -0.006em;
}

h3, .h3 {
  font-weight: 720;
  font-size: clamp(1.08rem, 0.98rem + 0.4vw, 1.3rem);
  line-height: 1.12;
  font-stretch: 112%;
  letter-spacing: 0.005em;
}

.lede {
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.28rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 44ch;
  text-wrap: pretty;
}

.prose { max-width: var(--measure); }
.prose p { text-wrap: pretty; }
.prose p + p { margin-top: 1em; }
.prose a { font-weight: 600; }

.label {
  font-size: 0.78rem;
  font-weight: 650;
  font-stretch: 108%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- index tabs on the card's top edge ---------- */

.tabs {
  max-width: 1720px;
  margin: 0 auto;
  height: calc(var(--tab-h) + 16px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 4px;
}

.tabs ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tab {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--tab-h);
  padding: 0 18px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--card-2);
  box-shadow: inset 0 -1px 0 rgba(29, 27, 24, 0.12);
  font-size: 0.8rem;
  font-weight: 650;
  font-stretch: 110%;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), height 0.25s var(--ease);
}
.tab:hover { background: var(--card-3); color: var(--ink); }
.tab[aria-current] {
  background: var(--card);
  box-shadow: none;
  color: var(--ink);
  height: calc(var(--tab-h) + 4px);
}
.tab--wa {
  background: var(--ink);
  color: var(--card);
  box-shadow: none;
  margin-left: 10px;
}
.tab--wa:hover { background: #000; color: var(--card); }
.tab svg { width: 16px; height: 16px; flex: none; }

/* ---------- the card ---------- */

.card {
  position: relative;
  max-width: 1720px;
  margin: 0 auto;
  background: var(--card);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 1px 0 rgba(29, 27, 24, 0.05), 0 22px 44px -30px rgba(52, 40, 20, 0.42);
}
.card::after {
  content: "";
  position: absolute;
  left: calc(var(--gutter) * 0.42);
  bottom: 26px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--desk);
  box-shadow: inset 0 1px 2px rgba(29, 27, 24, 0.35);
}

.card-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter) 18px calc(var(--gutter) + 26px);
  border-bottom: 1px solid var(--rule);
}

/* two punched holes, like a card pulled from a ring binder */
.card-head::before,
.card-head::after {
  content: "";
  position: absolute;
  left: calc(var(--gutter) * 0.42);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--desk);
  box-shadow: inset 0 1px 2px rgba(29, 27, 24, 0.35);
}
.card-head::before { top: 18px; }
.card-head::after { top: 44px; display: none; }

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
}
.brand img { width: auto; height: 40px; }
.brand span {
  font-size: 0.86rem;
  font-weight: 700;
  font-stretch: 116%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
}

.card-head__meta {
  display: flex;
  gap: 22px;
  font-size: 0.78rem;
  font-weight: 600;
  font-stretch: 108%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-btn svg { width: 18px; height: 18px; }

.menu {
  display: none;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 720;
  font-stretch: 114%;
  letter-spacing: 0.075em;
  line-height: 1.15;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--card); }
.btn--solid { background: var(--ink); color: var(--card); }
.btn--solid:hover { background: #000; border-color: #000; }
.btn--light { border-color: var(--cobalt-ink); color: var(--cobalt-ink); }
.btn--light:hover { background: var(--cobalt-ink); color: var(--cobalt); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-stretch: 112%;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 3px;
}
.text-link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- sections ---------- */

.sheet {
  padding: clamp(56px, 7vw, 112px) var(--gutter);
  border-top: 1px solid var(--rule);
}
.sheet--flush { border-top: 0; }
.sheet__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.sheet__head p { max-width: 52ch; color: var(--ink-2); }

/* heading left, text right: the reading layout for every content page */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px clamp(32px, 5vw, 96px);
  align-items: start;
}
.split > h2 { position: sticky; top: 24px; }
.split .btn-row,
.split .text-link { margin-top: 28px; }

/* ---------- swatches ---------- */

.sw {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: var(--sw-c, var(--card-3));
  background-image: var(--sw);
  background-size: cover;
  background-position: center;
}
.sw__tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  padding: 5px 7px 4px;
  background: var(--card);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* small squares of leather, used as bullets and colour chips */
.chip {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: none;
  background-color: var(--sw-c, var(--card-3));
  background-image: var(--sw);
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(29, 27, 24, 0.18);
}

.ticks { list-style: none; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 14px; align-items: baseline; }
.ticks .chip { width: 11px; height: 11px; transform: translateY(1px); }

/* ---------- home: the cover ---------- */

.cover {
  display: grid;
  grid-template-columns: minmax(440px, 37%) minmax(0, 1fr);
  grid-template-rows: 1fr auto auto;
  grid-template-areas: "intro board" "cta board" "picked board";
  min-height: min(calc(100vh - var(--tab-h) - 16px - 77px - var(--edge)), 900px);
}

.cover__intro {
  grid-area: intro;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(36px, 4vw, 56px) clamp(28px, 3vw, 48px) 28px var(--gutter);
}
.cover__intro h1 { font-size: clamp(2.3rem, 1rem + 2.75vw, 4rem); }
.cover__cta { grid-area: cta; padding: 0 clamp(28px, 3vw, 48px) 18px var(--gutter); }
.cover__cta .btn { flex: 1 1 auto; }
.cover .picked { grid-area: picked; margin: 0 clamp(28px, 3vw, 48px) 32px var(--gutter); }
.cover .board { grid-area: board; }

.picked {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-size: 0.92rem;
  color: var(--ink-2);
  min-height: 56px;
}
.picked .chip { width: 22px; height: 22px; }
.picked a { font-weight: 700; }

.board {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(29, 27, 24, 0.16);
  border-left: 2px solid var(--ink);
}
.board .plate--a { grid-column: 1 / 3; grid-row: 1 / 3; }
.board .plate--b { grid-column: 3 / 5; grid-row: 3 / 5; }

.board button.sw {
  appearance: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: filter 0.3s var(--ease);
}
.board button.sw::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 0 var(--card);
  transition: box-shadow 0.3s var(--ease);
}
.board button.sw:hover::after { box-shadow: inset 0 0 0 4px var(--card); }
.board :is(button.sw, .plate):focus-visible {
  z-index: 2;
  outline: 3px solid var(--card);
  outline-offset: -3px;
  box-shadow: inset 0 0 0 5px var(--ink);
}
.board button.sw[aria-pressed="true"]::after { box-shadow: inset 0 0 0 4px var(--card), inset 0 0 0 6px var(--ink); }

.plate {
  position: relative;
  overflow: hidden;
  background: var(--card-3);
  text-decoration: none;
  color: var(--ink);
}
.plate img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.plate:hover img { transform: scale(1.025); }
.sw__piece {
  display: block;
  font-weight: 550;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.plate .sw__tag { font-size: 0.72rem; padding: 6px 9px 5px; left: 10px; bottom: 10px; }
.plate[data-swapping] img { animation: plate-in 0.55s var(--ease) both; }

@keyframes plate-in {
  from { opacity: 0; filter: blur(6px); transform: scale(1.03); }
  to { opacity: 1; filter: blur(0); transform: scale(1); }
}

/* ---------- home: two doors ---------- */

.doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 2px solid var(--ink);
}
.door {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 64px) clamp(32px, 4vw, 56px) 0;
}
.door + .door {
  border-left: 2px solid var(--ink);
  padding-left: clamp(24px, 4vw, 64px);
  padding-right: 0;
}
.door p { color: var(--ink-2); max-width: 46ch; }
.door .btn-row { margin-top: auto; padding-top: 8px; }

/* ---------- pieces ---------- */

.pieces {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 44px) clamp(14px, 1.6vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.pieces--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.piece-card { display: flex; flex-direction: column; gap: 14px; }
.piece-card a { text-decoration: none; }
.piece-card__img {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--card-3);
}
.piece-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.piece-card a:hover .piece-card__img img { transform: scale(1.03); }
.piece-card h2,
.piece-card h3 { font-size: 1.02rem; font-weight: 720; font-stretch: 112%; line-height: 1.15; letter-spacing: 0.005em; overflow-wrap: anywhere; }
.piece-card a:hover :is(h2, h3) { text-decoration: underline; text-underline-offset: 0.2em; }
.piece-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--ink-3);
}
.piece-card__chips { display: flex; gap: 4px; }
.piece-card[hidden] { display: none; }
.piece-card--sq .piece-card__img { aspect-ratio: 1; }
.grid-group { margin-top: clamp(56px, 6vw, 88px); padding-top: 28px; border-top: 2px solid var(--ink); }
[data-grid-group]:first-of-type .grid-group__title { margin-top: 0; }
.grid-group[hidden] { display: none; }
.grid-group__title { margin-bottom: clamp(24px, 3vw, 36px); font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); }

/* ---------- small leather goods: a lead plate and an index card of pieces ---------- */

.goods {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}
.goods__lead {
  position: sticky;
  top: 24px;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--card-3);
  text-decoration: none;
  color: var(--ink);
}
.goods__lead img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.goods__lead[data-swapping] img { animation: plate-in 0.55s var(--ease) both; }
.goods__lead:hover img { transform: scale(1.025); }
.goods__lead .sw__tag { font-size: 0.72rem; padding: 6px 9px 5px; left: 12px; bottom: 12px; }
.goods__body { display: grid; gap: 22px; }
.goods__body > p { color: var(--ink-2); max-width: 58ch; }
.goods__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.goods__list a {
  display: grid;
  grid-template-columns: 52px minmax(0, 1.1fr) minmax(0, 1fr) 84px 18px;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 6px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}
.goods__list img { width: 52px; height: 52px; object-fit: cover; background: var(--card-3); }
.goods__name { font-weight: 720; font-stretch: 112%; text-transform: uppercase; letter-spacing: 0.02em; font-size: 0.92rem; }
.goods__type { font-size: 0.9rem; color: var(--ink-3); }
.goods__chips { display: flex; flex-wrap: wrap; gap: 3px; }
.goods__chips .chip { width: 11px; height: 11px; }
.goods__list svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.goods__list a:hover .goods__name { text-decoration: underline; text-underline-offset: 0.2em; }
.goods__list a:hover svg { transform: translateX(3px); }
.goods .btn-row { margin-top: 6px; align-items: center; gap: 12px 24px; }

/* ---------- process ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr));
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  border-top: 2px solid var(--ink);
}
.steps li {
  counter-increment: step;
  padding: 26px clamp(16px, 2vw, 28px) 8px 0;
}
.steps li + li { border-left: 1px solid var(--rule); padding-left: clamp(16px, 2vw, 28px); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 28px;
  font-size: clamp(2.2rem, 1.6rem + 1.6vw, 3.4rem);
  font-weight: 800;
  font-stretch: 122%;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--ink-2); font-size: 0.97rem; }

/* three services side by side, ruled like columns on a price card */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
}
.services li { padding: 26px clamp(16px, 2.4vw, 36px) 8px 0; }
.services li + li { border-left: 1px solid var(--rule); padding-left: clamp(16px, 2.4vw, 36px); }
.services h3 { margin-bottom: 12px; }
.services p { color: var(--ink-2); }

.services--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ticks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; }
.small { font-size: 0.9rem; color: var(--ink-3); }
.small a { font-weight: 600; color: var(--ink); }

/* ---------- printed colour panel ---------- */

.panel {
  margin: 0 var(--gutter);
  padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 80px);
  background: var(--cobalt);
  color: var(--cobalt-ink);
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 32px clamp(32px, 5vw, 96px);
  align-items: start;
}
.panel p { color: #d3d9ea; max-width: 54ch; }
.panel p + p { margin-top: 1em; }
.panel .btn-row { margin-top: 30px; }
.panel ::selection { background: var(--cobalt-ink); color: var(--cobalt); }
.panel :focus-visible { outline-color: var(--cobalt-ink); }

/* ---------- questions ---------- */

.qa { border-top: 2px solid var(--ink); }
.qa details { border-bottom: 1px solid var(--rule-2); }
.qa summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  font-weight: 650;
  font-size: 1.06rem;
  line-height: 1.35;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { width: 20px; height: 20px; flex: none; transition: transform 0.3s var(--ease); }
.qa details[open] summary svg { transform: rotate(45deg); }
.qa summary:hover { text-decoration: underline; text-underline-offset: 0.22em; }
.qa .answer { padding: 0 0 26px; max-width: var(--measure); color: var(--ink-2); }
.qa-group + .qa-group { margin-top: clamp(48px, 6vw, 80px); }
.qa-group h2 { margin-bottom: 20px; }

/* ---------- closing ---------- */

.close {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px clamp(32px, 5vw, 96px);
  align-items: end;
}
.close h2 { font-size: clamp(2rem, 1.2rem + 3vw, 4rem); }
.close__side { display: grid; gap: 22px; }
.close__side p { color: var(--ink-2); }
.contact-lines { display: grid; gap: 6px; font-size: 0.95rem; }
.contact-lines a { font-weight: 600; }

/* ---------- page head (inner pages) ---------- */

.page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  border-bottom: 2px solid var(--ink);
}
.page-head__text {
  display: grid;
  gap: 22px;
  align-content: start;
  padding: clamp(32px, 4vw, 60px) clamp(24px, 4vw, 64px) clamp(32px, 4vw, 60px) var(--gutter);
}
.page-head h1 { font-size: clamp(2.05rem, 1.15rem + 2.7vw, 3.7rem); max-width: 18ch; }
.page-head__strip {
  display: grid;
  grid-template-rows: repeat(3, minmax(90px, 1fr));
  border-left: 2px solid var(--ink);
}
.page-head__strip .sw { border-bottom: 1px solid rgba(29, 27, 24, 0.14); }
.page-head__strip .sw:last-child { border-bottom: 0; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 600;
  font-stretch: 108%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.crumbs li { white-space: nowrap; }
.crumbs li:last-child { white-space: normal; }
.crumbs li:not(:last-child)::after { content: "/" / ""; margin-left: 10px; color: var(--rule-2); }
.crumbs a { display: inline-block; padding-block: 10px; margin-block: -10px; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- collection filters ---------- */

.filters {
  display: none;
  gap: 18px;
  margin-bottom: clamp(28px, 3vw, 44px);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rule);
}
.js .filters { display: grid; }
.filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filters__row[hidden] { display: none; }
.filters__row > .label { min-width: 74px; }

.filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--rule-2);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 650;
  font-stretch: 110%;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.filter:hover { border-color: var(--ink); }
.filter[hidden] { display: none; }
.filter .num { font-weight: 500; color: inherit; opacity: 0.7; margin-left: 2px; }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--card); }
.filter .chip { width: 14px; height: 14px; }
.count { font-size: 0.9rem; color: var(--ink-3); }

.empty {
  display: none;
  padding: 48px 0;
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
}
.empty.is-on { display: block; }

/* ---------- product sheet ---------- */

.piece {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  border-bottom: 2px solid var(--ink);
}
.piece__media {
  padding: clamp(20px, 2.6vw, 40px) clamp(20px, 2.6vw, 40px) clamp(20px, 2.6vw, 40px) var(--gutter);
  border-right: 2px solid var(--ink);
}
.piece__main {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--card-3);
}
.piece__main img { width: 100%; height: 100%; object-fit: cover; }
.piece__main--square { aspect-ratio: 1; }
.thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
  list-style: none;
  padding: 0;
}
.thumbs--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.thumbs button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--card-3);
  cursor: pointer;
}
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 0 var(--ink);
  transition: box-shadow 0.25s var(--ease);
}
.thumbs button[aria-pressed="true"]::after { box-shadow: inset 0 0 0 3px var(--card), inset 0 0 0 5px var(--ink); }
.thumbs .sw__tag { font-size: 0.72rem; }

.piece__info {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: clamp(28px, 3.4vw, 56px) var(--gutter) clamp(28px, 3.4vw, 56px) clamp(24px, 3.4vw, 56px);
}
.piece__info h1 { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.9rem); }
.piece__type {
  margin-top: 12px;
  font-size: 0.86rem;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.piece__intro { color: var(--ink-2); max-width: 54ch; }

.spec { border-top: 2px solid var(--ink); }
.spec div {
  display: grid;
  grid-template-columns: minmax(120px, 34%) 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.97rem;
}
.spec dt {
  font-size: 0.74rem;
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 3px;
}
.spec dd { margin: 0; }
.spec .shown { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.spec .shown span { display: inline-flex; align-items: center; gap: 7px; }
.spec .muted { color: var(--ink-3); }

.note {
  font-size: 0.9rem;
  color: var(--ink-3);
  padding-left: 14px;
  box-shadow: inset 1px 0 0 var(--rule-2);
}

.ask-bar { display: none; }

/* ---------- footer ---------- */

.card-foot {
  border-top: 2px solid var(--ink);
  background: var(--card-2);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: clamp(40px, 5vw, 72px) var(--gutter) 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) repeat(4, minmax(0, 1fr));
  gap: 36px clamp(24px, 3vw, 56px);
}
.foot-brand img { width: 132px; height: auto; }
.foot-brand p { margin-top: 18px; max-width: 34ch; color: var(--ink-2); font-size: 0.94rem; }
.foot-h {
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 750;
  font-stretch: 112%;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-size: 0.94rem; }
.foot-col a { display: inline-block; padding-block: 5px; text-decoration: none; }
.foot-col a:hover { text-decoration: underline; }
.foot-col address { font-style: normal; display: grid; gap: 0; justify-items: start; font-size: 0.94rem; }
.foot-col address > * { padding-block: 5px; }
.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 20px;
  border-top: 1px solid var(--rule-2);
  font-size: 0.84rem;
  color: var(--ink-3);
}

/* ---------- reserved photograph slot (honest absence) ---------- */

.reserved {
  display: grid;
  place-content: center;
  gap: 10px;
  min-height: 150px;
  padding: 28px;
  border: 1.5px dashed var(--rule-2);
  text-align: center;
  color: var(--ink-3);
  font-size: 0.92rem;
}
.reserved strong {
  font-stretch: 112%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--ink-2);
}

/* a printed row of labelled leathers, linking to the pieces they are cut from */
.strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  background: rgba(29, 27, 24, 0.16);
  border-top: 2px solid var(--ink);
  list-style: none;
  padding: 0;
}
.strip li { aspect-ratio: 1; }
.strip a { display: block; height: 100%; text-decoration: none; }
.strip a:hover .sw__tag { background: var(--ink); color: var(--card); }
.strip a:hover .sw__piece { color: var(--card-3); }
.strip .sw { height: 100%; }
.strip .sw__tag { white-space: normal; right: 8px; }

/* a printed document label: the facts that travel with a shipment */
.doc-label {
  position: relative;
  margin-top: 32px;
  padding: 26px 26px 14px 54px;
  border: 2px solid var(--ink);
  background: var(--card);
  max-width: 560px;
}
.doc-label::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 26px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--desk);
  box-shadow: inset 0 1px 2px rgba(29, 27, 24, 0.35);
}
.doc-label__title {
  font-size: 0.86rem;
  font-weight: 750;
  font-stretch: 116%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}
.doc-label dl { margin: 0; }
.doc-label div {
  display: grid;
  grid-template-columns: minmax(110px, 38%) 1fr;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
}
.doc-label div:last-child { border-bottom: 0; }
.doc-label dt {
  font-size: 0.74rem;
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 2px;
}
.doc-label dd { margin: 0; }
.chips-row { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }

/* ---------- names list (heritage) ---------- */

.names { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.names li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.names .sw { width: 56px; height: 56px; }
.names b { font-stretch: 112%; text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root),
  ::view-transition-new(root) { animation-duration: 0.28s; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  .tabs .tab__more { display: none; }
  .services--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services--4 li:nth-child(3) { border-left: 0; padding-left: 0; }
  .services--4 li:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .goods__list a { grid-template-columns: 52px minmax(0, 1fr) 84px 18px; }
  .goods__type { display: none; }
  .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tab { padding: 0 13px; letter-spacing: 0.06em; }
  .card-head__meta span + span { display: none; }
  .cover { grid-template-columns: minmax(380px, 440px) minmax(0, 1fr); }
  .pieces { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps li:nth-child(n + 4) { border-top: 1px solid var(--rule); }
  .steps li:nth-child(4) { border-left: 0; padding-left: 0; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --edge: 10px; --gutter: 20px; }
  html { scroll-padding-bottom: 88px; }
  body { font-size: 16.5px; }

  .tabs { height: var(--edge); }
  .tabs nav,
  .tabs .tab--wa { display: none; }
  .card { border-radius: var(--radius); }
  .card-head { padding-left: calc(var(--gutter) + 22px); }
  .card-head::before { left: 12px; top: 50%; transform: translateY(-50%); width: 13px; height: 13px; }
  .card-head__meta { display: none; }
  .menu-btn { display: inline-flex; }
  .brand img { height: 34px; }
  .brand span { font-size: 0.74rem; letter-spacing: 0.13em; }

  .menu {
    display: block;
    border-bottom: 2px solid var(--ink);
    background: var(--card);
  }
  .menu[hidden] { display: none; }
  .menu ul { list-style: none; margin: 0; padding: 8px var(--gutter) 20px; display: grid; }
  .menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--rule);
    font-size: 1.1rem;
    font-weight: 750;
    font-stretch: 116%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none;
  }
  .menu li a[aria-current] { text-decoration: underline; text-underline-offset: 0.25em; }
  .menu li a svg { width: 20px; height: 20px; flex: none; }
  .menu .btn { width: 100%; margin-top: 18px; }

  .cover { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "intro" "cta" "board" "picked"; min-height: 0; }
  .cover__intro { padding: 28px var(--gutter) 22px; gap: 16px; }
  .cover__cta { padding: 0 var(--gutter) 22px; }
  .cover .picked { margin: 0 var(--gutter); padding: 16px 0 22px; border-top: 0; }
  .card::after { display: none; }
  .filters__row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); scroll-padding-inline: var(--gutter); }
  .filters__row { padding-top: 6px; padding-bottom: 8px; }
  .filters__row > * { flex: none; }
  .filters__row > .label { min-width: 0; margin-right: 4px; }
  .board {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: none;
    border-left: 0;
    border-top: 2px solid var(--ink);
  }
  .board > * { aspect-ratio: 1; }
  .board .plate--a { grid-column: 1 / 3; grid-row: 1 / 3; }
  .board .plate--b { grid-column: 3 / 5; grid-row: 1 / 3; }
  .board .sw--extra { display: none; }
  .sw__tag .sw__piece { display: none; }

  .doors { grid-template-columns: 1fr; }
  .door { padding: 32px 0; }
  .door + .door { border-left: 0; border-top: 2px solid var(--ink); padding-left: 0; }

  .split { grid-template-columns: 1fr; }
  .split > h2 { position: static; }

  .panel { grid-template-columns: 1fr; margin: 0 12px; }
  .close { grid-template-columns: 1fr; }

  .page-head { grid-template-columns: 1fr; }
  .page-head__strip {
    grid-template-rows: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: 96px;
    border-left: 0;
    border-top: 2px solid var(--ink);
  }
  .page-head__strip .sw { border-bottom: 0; border-right: 1px solid rgba(29, 27, 24, 0.14); }

  .piece { grid-template-columns: 1fr; }
  .piece__media { border-right: 0; padding: 12px; border-bottom: 2px solid var(--ink); }
  .piece__info { padding: 28px var(--gutter) 40px; }

  .ask-bar {
    position: sticky;
    bottom: 0;
    z-index: 20;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--card);
    border-top: 2px solid var(--ink);
  }
  .ask-bar .btn { flex: 1; min-height: 48px; }

  .pieces,
  .pieces--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .goods { grid-template-columns: 1fr; }
  .goods__lead { position: relative; top: 0; aspect-ratio: 1; }
  .services,
  .services--4 { grid-template-columns: 1fr; }
  .services--4 li:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .services li,
  .services li + li { border-left: 0; padding: 22px 0; border-top: 1px solid var(--rule); }
  .services li:first-child { border-top: 0; }
  .ticks--2 { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .doc-label div { grid-template-columns: 1fr; gap: 2px; }
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .steps li,
  .steps li + li,
  .steps li:nth-child(4) { border-left: 0; padding: 24px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 64px 1fr; gap: 0 16px; }
  .steps li:first-child { border-top: 2px solid var(--ink); }
  .steps li::before { margin: 0; grid-row: span 2; font-size: 2rem; }

  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .sw__tag { white-space: normal; text-overflow: clip; }
  h1, .h1 { font-stretch: 106%; }
  .piece__info h1 { font-size: clamp(1.9rem, 1rem + 6vw, 2.6rem); }
  h2, .h2 { font-stretch: 108%; }
  .brand span { display: none; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .pieces { gap: 28px 12px; }
  .piece-card :is(h2, h3) { font-size: 0.92rem; }
  .piece-card__meta { font-size: 0.82rem; }
  .spec div { grid-template-columns: 1fr; gap: 4px; }
  .foot-grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .page-head h1 { font-size: clamp(1.7rem, 1rem + 6vw, 2.05rem); }
  h1, h2 { overflow-wrap: anywhere; hyphens: auto; }
}

@media print {
  body { background: none; padding: 0; }
  .tabs, .menu, .menu-btn, .ask-bar, .board button, .filters { display: none !important; }
  .card { box-shadow: none; }
}
