/* Diagrammatic & Co. — the shop.
   The old grammar-book types (the Fell faces) for everything that is read;
   a quiet modern sans for everything that is used. */

@font-face { font-family: 'IM Fell English'; src: url(../fonts/fell-english.woff2) format('woff2'); font-style: normal; font-display: swap; }
@font-face { font-family: 'IM Fell English'; src: url(../fonts/fell-english-italic.woff2) format('woff2'); font-style: italic; font-display: swap; }
@font-face { font-family: 'IM Fell English SC'; src: url(../fonts/fell-english-sc.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'IM Fell Double Pica'; src: url(../fonts/fell-doublepica.woff2) format('woff2'); font-style: normal; font-display: swap; }
@font-face { font-family: 'IM Fell Double Pica'; src: url(../fonts/fell-doublepica-italic.woff2) format('woff2'); font-style: italic; font-display: swap; }
@font-face { font-family: 'IM Fell Great Primer SC'; src: url(../fonts/fell-greatprimer-sc.woff2) format('woff2'); font-display: swap; }

:root {
  --paper: #f6f2e9;
  --paper-2: #efe9dc;
  --paper-3: #e6ddcb;
  --card: #fffdf9;
  --white: #fffdf9;
  --ink: #1a1713;
  --ink-2: #4d453b;
  --ink-3: #8a8072;
  --line: rgba(26, 23, 19, .1);
  --line-2: rgba(26, 23, 19, .18);
  --gold: #b0945e;
  --oxblood: #7d2419;
  --night: #15120e;

  --body: 'IM Fell English', 'Iowan Old Style', Palatino, Georgia, serif;
  --sc: 'IM Fell English SC', 'IM Fell English', Georgia, serif;
  --display: 'IM Fell Great Primer SC', 'IM Fell English SC', Georgia, serif;
  --dp: 'IM Fell Double Pica', 'IM Fell English', Georgia, serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI Variable Text', 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(26, 23, 19, .05), 0 2px 10px -4px rgba(26, 23, 19, .08);
  --shadow: 0 1px 2px rgba(26, 23, 19, .04), 0 14px 34px -14px rgba(26, 23, 19, .2);
  --shadow-lg: 0 2px 6px rgba(26, 23, 19, .04), 0 34px 70px -26px rgba(26, 23, 19, .32);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --mast-h: 72px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--mast-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 18px; line-height: 1.55;
  font-feature-settings: "liga", "dlig";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* a whisper of paper grain */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0 0.05 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: rgba(125, 36, 25, .15); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line-2); transition: color .2s, text-decoration-color .2s; }
a:hover { color: var(--oxblood); text-decoration-color: currentColor; }
button { font: inherit; color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sc { font-family: var(--sc); letter-spacing: .1em; }

/* announcement */
.notice {
  background: var(--night); color: rgba(246, 242, 233, .82);
  font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-align: center;
  padding: 9px var(--gutter);
}
.notice .dot { color: var(--gold); margin: 0 .9em; }

/* header */
.masthead {
  position: sticky; top: 0; z-index: 30;
  background: rgba(246, 242, 233, .78); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s;
}
.masthead.scrolled, .masthead.solid { border-bottom-color: var(--line); box-shadow: 0 8px 30px -22px rgba(26, 23, 19, .35); }
.mast-inner {
  max-width: 1240px; margin: 0 auto; padding: 14px var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.nav { display: flex; gap: 28px; align-items: center; font-family: var(--sans); font-size: 13px; letter-spacing: .01em; }
.nav a { position: relative; text-decoration: none; color: var(--ink-2); padding: 4px 0; white-space: nowrap; }
.nav a:not(.bag-btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:not(.bag-btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--ink); }
@media (max-width: 1100px) { .nav { gap: 20px; } }
@media (max-width: 1000px) { .nav.left a[href$="#collection"] { display: none; } }
.nav.right { justify-content: flex-end; }
.show-m { display: none; }
@media (max-width: 720px) { .nav.right .show-m { display: inline; } }
.wordmark { text-align: center; text-decoration: none; line-height: 1; color: var(--ink); }
.wordmark:hover { color: var(--ink); }
.wordmark .wm { font-family: var(--display); font-size: clamp(21px, 2.6vw, 30px); letter-spacing: .22em; padding-left: .22em; display: block; }
.wordmark .co { font-family: var(--dp); font-style: italic; font-size: clamp(12px, 1.25vw, 15px); color: var(--ink-3); letter-spacing: .01em; display: block; margin-top: 5px; }
.wordmark .co .amp { color: var(--oxblood); }
.bag-btn, .nav a.bag-btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; text-decoration: none;
  font-family: var(--sans); font-size: 13px; color: var(--ink);
  background: rgba(255, 253, 249, .6); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px 7px 12px;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.bag-btn:hover, .nav a.bag-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bag-btn svg { width: 16px; height: 16px; }
.bag-count {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; display: inline-grid; place-items: center;
  background: var(--oxblood); color: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums;
}
.bag-count[data-n="0"] { display: none; }
.bag-btn.bump { animation: bump .55s var(--ease); }
@keyframes bump { 30% { transform: scale(1.08); } 60% { transform: scale(.97); } }

/* sections */
section { scroll-margin-top: calc(var(--mast-h) + 10px); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px;
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3);
}
/* a little Reed–Kellogg figure: base, divider, slant */
.eyebrow::before {
  content: ''; width: 30px; height: 12px; flex: none; background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 12'%3E%3Cpath d='M1 6.5h28M11 1v10.5M19 6.5l4.5 5' stroke='%23000' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 12'%3E%3Cpath d='M1 6.5h28M11 1v10.5M19 6.5l4.5 5' stroke='%23000' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.eyebrow .num { font-family: var(--dp); font-style: italic; font-weight: normal; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--gold); margin-right: -4px; }
.title {
  font-family: var(--dp); font-weight: normal; letter-spacing: -.012em; line-height: 1.04;
  font-size: clamp(34px, 4.6vw, 58px); margin: 0; text-wrap: balance;
}
.title em { font-style: italic; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26em); gap: 18px 56px; align-items: end; }
.sec-head .sub { margin: 0; color: var(--ink-2); font-size: 18px; text-wrap: pretty; }
.sec-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; text-decoration: none;
  font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 999px; padding: 15px 28px;
  transition: background .25s, color .25s, border-color .25s, box-shadow .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn:hover, .btn:focus-visible { background: var(--oxblood); border-color: var(--oxblood); color: #fff; box-shadow: 0 12px 24px -12px rgba(125, 36, 25, .55); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover, .btn.ghost:focus-visible { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: var(--shadow); }
.btn:disabled { background: var(--paper-3); border-color: var(--paper-3); color: var(--ink-3); cursor: not-allowed; box-shadow: none; transform: none; }
.btn.wide { width: 100%; }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* hero */
.hero { position: relative; padding: clamp(44px, 7vw, 104px) 0 clamp(48px, 6vw, 88px); }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 78% 40%, rgba(176, 148, 94, .16), transparent 70%), radial-gradient(40% 50% at 10% 0%, rgba(255, 253, 249, .9), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero .lede {
  font-family: var(--dp); font-weight: normal; font-size: clamp(42px, 5.3vw, 74px); line-height: .98; letter-spacing: -.022em;
  margin: 0; max-width: 12em; text-wrap: balance;
}
.hero .lede em { font-style: italic; color: var(--oxblood); }
.hero .sub { color: var(--ink-2); max-width: 31em; margin: 24px 0 0; font-size: 19px; text-wrap: pretty; }
.compose {
  margin: 34px 0 0; display: flex; align-items: center; gap: 6px; max-width: 640px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 6px 6px 8px;
  box-shadow: var(--shadow); transition: box-shadow .3s var(--ease), border-color .3s;
}
.compose:focus-within { border-color: rgba(176, 148, 94, .9); box-shadow: 0 0 0 5px rgba(176, 148, 94, .18), var(--shadow); }
.compose input {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 14px 11px;
  font-family: var(--body); font-style: italic; font-size: 20px; color: var(--ink); outline: none;
}
.compose input::placeholder { color: var(--ink-3); }
.compose .btn { padding: 14px 24px; }
.compose-error { color: var(--oxblood); font-style: italic; min-height: 1.4em; margin: 10px 0 0 18px; font-size: 16px; }
.compose-error:empty { margin-top: 4px; }
.hint { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 0; }
.hint-l { font-family: var(--sans); font-size: 12px; color: var(--ink-3); margin-right: 4px; }
.chip {
  cursor: pointer; border: 1px solid var(--line); background: rgba(255, 253, 249, .55); border-radius: 999px;
  padding: 6px 13px 5px; font-family: var(--body); font-style: italic; font-size: 15px; color: var(--ink-2);
  transition: background .2s, border-color .2s, color .2s, transform .25s var(--ease);
}
.chip:hover { background: var(--card); border-color: var(--line-2); color: var(--ink); transform: translateY(-1px); }
.hint-more { font-family: var(--sans); font-size: 12.5px; color: var(--ink-2); text-decoration: none; margin-left: 4px; white-space: nowrap; }
.hint-more:hover { color: var(--oxblood); }

/* the specimen plate beside the hero */
.specimen { margin: 0; position: relative; }
.specimen::before {
  content: ''; position: absolute; inset: 6% -3% -4% 5%; border-radius: var(--r-lg);
  background: var(--paper-2); box-shadow: var(--shadow); transform: rotate(3.2deg);
}
.specimen-paper { position: relative; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 26px 28px 22px; }
.specimen-paper::before { content: ''; position: absolute; inset: 11px; border: 1px solid var(--line); border-radius: 15px; pointer-events: none; }
.specimen-paper::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(26, 23, 19, .05); border-radius: 12px; pointer-events: none; }
.specimen-head { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 8px 0; }
.specimen-head .pl { font-family: var(--dp); font-style: italic; font-size: 17px; color: var(--ink-2); }
.specimen-head .af { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.specimen-fig { min-height: clamp(220px, 24vw, 320px); display: grid; place-items: center; padding: 20px 6px; }
.specimen-fig svg { max-width: 100%; max-height: 340px; height: auto; }
.specimen-cap {
  margin: 0 8px; padding: 13px 0 4px; border-top: 1px solid var(--line); text-align: center;
  font-style: italic; font-size: 17px; line-height: 1.4; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-wrap: balance;
}
.specimen-live { position: absolute; top: -12px; right: 26px; z-index: 2; font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px 5px 10px; box-shadow: var(--shadow-sm); display: inline-flex; gap: 7px; align-items: center; }
.specimen-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #5d8a5a; box-shadow: 0 0 0 3px rgba(93, 138, 90, .18); }

/* the atelier */
.atelier { padding: clamp(56px, 7vw, 110px) 0; background: linear-gradient(var(--paper-2), var(--paper) 60%); border-top: 1px solid var(--line); }
.atelier-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr); gap: clamp(28px, 4.5vw, 72px); align-items: start; margin-top: clamp(30px, 4vw, 52px); }
.vitrine { position: sticky; top: calc(var(--mast-h) + 22px); }
.stage { background: var(--card); border-radius: var(--r-lg); aspect-ratio: 1 / 1; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); isolation: isolate; }
.stage svg { width: 100%; height: 100%; }
.stage .loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-3); font-style: italic; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 14px; }
.thumb {
  background: var(--card); border: 0; padding: 0; cursor: pointer; aspect-ratio: 1; overflow: hidden; position: relative; border-radius: 12px;
  box-shadow: 0 0 0 1px var(--line); transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.thumb svg { width: 100%; height: 100%; }
.thumb:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--line-2), var(--shadow-sm); }
.thumb[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }
.toggle-figure { margin-top: 16px; text-align: center; }
.toggle-figure button {
  cursor: pointer; background: transparent; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 16px;
  font-family: var(--sans); font-size: 12px; letter-spacing: .04em; color: var(--ink-2); transition: background .2s, color .2s, border-color .2s;
}
.toggle-figure button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.panel { padding-top: 6px; }
.panel .kicker { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.panel h2 { font-family: var(--dp); font-weight: normal; font-size: clamp(32px, 3.3vw, 44px); letter-spacing: -.012em; margin: 8px 0 6px; line-height: 1.05; }
.panel .price { font-family: var(--sans); font-size: 19px; font-weight: 500; letter-spacing: .01em; margin: 0; font-variant-numeric: tabular-nums; }
.panel .blurb { color: var(--ink-2); margin: 16px 0 0; text-wrap: pretty; }
.sentence-card { margin: 24px 0 0; padding: 16px 18px; border-radius: var(--r); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.sentence-card .lbl { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); display: flex; justify-content: space-between; align-items: center; }
.sentence-card .lbl button {
  cursor: pointer; font: inherit; letter-spacing: .08em; color: var(--ink-2); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px;
  transition: background .2s, color .2s;
}
.sentence-card .lbl button:hover { background: var(--ink); color: var(--paper); }
.sentence-card .s { font-style: italic; font-size: 20px; margin-top: 6px; line-height: 1.35; }
.sentence-card .cite { font-family: var(--sans); font-size: 12px; color: var(--ink-3); margin-top: 8px; }
.opt { margin: 24px 0 0; border: 0; padding: 0; }
.opt legend { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 11px; padding: 0; display: flex; gap: 10px; align-items: baseline; width: 100%; }
.opt legend .val { font-family: var(--body); font-style: italic; font-weight: normal; letter-spacing: 0; text-transform: none; color: var(--ink); font-size: 16px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  border: 1px solid var(--line-2); background: var(--card); cursor: pointer; padding: 9px 16px; min-width: 52px; border-radius: 999px;
  font-family: var(--sans); font-size: 13.5px; color: var(--ink); transition: border-color .2s, background .2s, color .2s, box-shadow .2s;
}
.choice:hover { border-color: var(--ink-2); }
.choice[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); box-shadow: var(--shadow-sm); }
.choice[title]:not([aria-checked="true"]):not(.swatch) { color: var(--ink-3); }
.choice.swatch { width: 38px; height: 38px; min-width: 0; padding: 0; border-radius: 50%; position: relative; background: var(--card); }
.choice.swatch span { position: absolute; inset: 4px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.choice.swatch[aria-checked="true"] { background: var(--card); border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 0; cursor: pointer; font-size: 16px; color: var(--ink-2); }
.check input {
  appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--card);
  margin: 2px 0 0; flex: none; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s;
}
.check input::after {
  content: ''; width: 12px; height: 12px; background: var(--paper); transform: scale(0); transition: transform .2s var(--ease);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.4l2.6 2.6L10 3.4' stroke='%23000' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.4l2.6 2.6L10 3.4' stroke='%23000' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { transform: scale(1); }
.read-note { margin-left: 2px; background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--sans); font-size: 12px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); white-space: nowrap; }
.read-note:hover { color: var(--oxblood); text-decoration-color: currentColor; }
.check-off { margin: 18px 0 0; font-size: 15px; font-style: italic; color: var(--ink-3); text-wrap: pretty; }
.buy { display: flex; gap: 10px; margin: 28px 0 0; }
.qty { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); overflow: hidden; }
.qty button { background: none; border: 0; width: 40px; cursor: pointer; font-family: var(--sans); font-size: 17px; color: var(--ink-2); transition: background .2s, color .2s; }
.qty button:hover { background: var(--paper-2); color: var(--ink); }
.qty output { min-width: 26px; display: grid; place-items: center; font-family: var(--sans); font-size: 15px; font-variant-numeric: tabular-nums; }
.buy .btn { flex: 1; }
.warn { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(125, 36, 25, .06); color: var(--oxblood); font-style: italic; font-size: 15px; }
.assure { margin: 22px 0 0; padding: 0; list-style: none; font-family: var(--sans); font-size: 13.5px; color: var(--ink-2); display: grid; gap: 9px; }
.assure li { display: flex; gap: 10px; align-items: flex-start; }
.assure li::before { content: ''; flex: none; width: 6px; height: 6px; margin: 7px 5px 0 2px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(176, 148, 94, .16); }
details.more { margin-top: 10px; border-top: 1px solid var(--line); }
details.more:first-of-type { margin-top: 24px; }
details.more:last-of-type { border-bottom: 1px solid var(--line); }
details.more summary {
  cursor: pointer; list-style: none; padding: 15px 0; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
details.more summary:hover { color: var(--ink); }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after {
  content: ''; width: 9px; height: 9px; border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor;
  transform: translateY(-3px) rotate(45deg); transition: transform .3s var(--ease);
}
details.more[open] summary::after { transform: translateY(2px) rotate(-135deg); }
details.more .body { padding: 0 0 16px; font-size: 16px; color: var(--ink-2); text-wrap: pretty; animation: drop .35s var(--ease); }
details.more .body p { margin: 0 0 8px; }
@keyframes drop { from { opacity: 0; transform: translateY(-4px); } }

/* the collection */
.collection { padding: clamp(56px, 7vw, 110px) 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 36px) clamp(16px, 2.2vw, 30px); margin-top: clamp(30px, 4vw, 52px); }
.card { text-align: left; cursor: pointer; background: none; border: 0; padding: 0; display: block; }
.card .pic { background: var(--card); border-radius: var(--r); aspect-ratio: 1; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .45s var(--ease), transform .45s var(--ease); isolation: isolate; }
.card .pic svg { width: 100%; height: 100%; transition: transform .8s var(--ease); }
.card:hover .pic { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card:hover .pic svg { transform: scale(1.035); }
.card .k { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin: 18px 0 4px; }
.card .n { font-family: var(--dp); font-size: 23px; letter-spacing: -.005em; line-height: 1.15; margin: 0; }
.card .p { font-family: var(--sans); color: var(--ink-2); margin: 4px 0 0; font-size: 13.5px; }
.card:focus-visible { outline: none; }
.card:focus-visible .pic { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--gold); }

/* the Catalogue on the front page */
.from-cat { padding: clamp(56px, 7vw, 110px) 0; background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.from-cat .entries { margin-top: clamp(30px, 4vw, 52px); grid-template-columns: repeat(3, 1fr); }
.sec-foot { margin: clamp(30px, 4vw, 48px) 0 0; text-align: center; }

/* entries (front page and the Catalogue) */
.entries { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.entry { min-width: 0; }
.entry-link {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: var(--card);
  border-radius: var(--r); padding: 14px 14px 18px; box-shadow: var(--shadow-sm);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.entry-link:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.entry-fig {
  height: 168px; display: grid; place-items: center; border-radius: 11px; margin-bottom: 16px; padding: 12px;
  background: linear-gradient(180deg, #fbf8f1, var(--paper-2)); box-shadow: inset 0 0 0 1px rgba(26, 23, 19, .05); overflow: hidden;
}
.entry-fig svg { max-width: 100%; max-height: 144px; width: auto; height: auto; transition: transform .6s var(--ease); }
.entry-link:hover .entry-fig svg { transform: scale(1.04); }
.entry-fig:empty::after { content: ''; width: 46%; height: 1px; background: var(--line-2); }
.entry-text { font-style: italic; font-size: 19px; line-height: 1.38; margin: 0 6px; text-wrap: pretty; }
.entry-cite { font-family: var(--sans); font-size: 12px; color: var(--ink-3); margin: 12px 6px 0; line-height: 1.45; }
.entry-cite .excerpt { font-style: italic; }
.entry-cta {
  margin: auto 6px 0; padding-top: 16px; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); transition: color .25s;
}
.entry-cta span { transition: transform .3s var(--ease); }
.entry-link:hover .entry-cta { color: var(--oxblood); }
.entry-link:hover .entry-cta span { transform: translateX(4px); }

/* method */
.method {
  position: relative; overflow: hidden; padding: clamp(64px, 8vw, 124px) 0; color: var(--paper);
  background: radial-gradient(70% 90% at 85% 0%, rgba(176, 148, 94, .2), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(125, 36, 25, .22), transparent 60%), var(--night);
}
.method .eyebrow { color: rgba(246, 242, 233, .55); }
.method .title { color: var(--paper); }
.method .sec-head .sub { color: rgba(246, 242, 233, .7); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); margin-top: clamp(34px, 4vw, 56px); }
.step {
  padding: 30px 28px 30px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: background .4s var(--ease), transform .4s var(--ease);
}
.step:hover { background: rgba(255, 255, 255, .06); transform: translateY(-3px); }
.step .num { font-family: var(--dp); font-style: italic; font-size: 46px; color: var(--gold); line-height: 1; }
.step h3 { font-family: var(--dp); font-weight: normal; font-size: 28px; letter-spacing: -.01em; margin: 22px 0 8px; color: var(--paper); }
.step p { color: rgba(246, 242, 233, .72); margin: 0; font-size: 17px; text-wrap: pretty; }
.method .quote { max-width: 34em; margin: clamp(48px, 6vw, 80px) auto 0; text-align: center; font-family: var(--dp); font-style: italic; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.38; color: rgba(246, 242, 233, .9); text-wrap: balance; }
.method .quote cite { display: block; font-style: normal; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(246, 242, 233, .5); margin-top: 18px; }

/* footer */
footer.foot { padding: clamp(48px, 6vw, 80px) 0 34px; color: var(--ink-2); font-size: 15px; }
.foot-inner { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, .5fr)); gap: 32px 48px; }
.foot .wordmark { display: inline-block; text-align: left; }
.foot .wordmark .wm { padding-left: 0; }
.foot-brand p { margin: 16px 0 0; max-width: 24em; color: var(--ink-3); font-style: italic; font-size: 16px; }
.foot-col h4 { margin: 4px 0 14px; font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.foot-col a { display: block; width: fit-content; padding: 4px 0; font-family: var(--sans); font-size: 13.5px; text-decoration: none; color: var(--ink-2); }
.foot-col a:hover { color: var(--ink); }
.foot .small { max-width: 1240px; margin: clamp(36px, 5vw, 56px) auto 0; padding: 22px var(--gutter) 0; border-top: 1px solid var(--line); font-family: var(--sans); color: var(--ink-3); font-size: 12px; line-height: 1.6; text-wrap: pretty; }
.foot .small span { display: block; max-width: 60em; }
@media (min-width: 1240px) { .foot .small { padding-left: 0; padding-right: 0; max-width: calc(1240px - 2 * var(--gutter)); } }

/* the bag */
.scrim { position: fixed; inset: 0; background: rgba(21, 18, 14, .32); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .35s; z-index: 40; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 10px; right: 10px; bottom: 10px; width: min(450px, calc(100vw - 20px)); background: var(--paper); z-index: 41;
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
  transform: translateX(calc(100% + 24px)); transition: transform .5s var(--ease); display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.drawer header h2 { font-family: var(--dp); font-weight: normal; letter-spacing: -.01em; font-size: 28px; margin: 0; line-height: 1; }
.close {
  cursor: pointer; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--card);
  font-family: var(--sans); font-size: 20px; line-height: 1; color: var(--ink-2); display: grid; place-items: center; transition: background .2s, color .2s, transform .3s var(--ease);
}
.close:hover { background: var(--ink); color: var(--paper); transform: rotate(90deg); }
.lines { flex: 1; overflow-y: auto; padding: 6px 24px; }
.empty { text-align: center; color: var(--ink-3); font-style: italic; padding: 60px 10px; }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line .pic { width: 84px; height: 84px; background: var(--card); border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.line .pic svg { width: 100%; height: 100%; }
.line .nm { font-family: var(--dp); font-size: 18px; margin: 0; line-height: 1.2; }
.line .op { font-family: var(--sans); font-size: 12px; color: var(--ink-3); margin: 3px 0 0; }
.line .se { font-style: italic; font-size: 15px; color: var(--ink-2); margin: 5px 0 0; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line .ctl { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.line .qty button { width: 30px; font-size: 15px; }
.line .qty output { min-width: 22px; font-size: 13px; }
.line .rm { background: none; border: 0; cursor: pointer; font-family: var(--sans); font-size: 12px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); padding: 0; }
.line .rm:hover { color: var(--oxblood); }
.line .amt { font-family: var(--sans); font-size: 14px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.drawer footer { border-top: 1px solid var(--line); padding: 18px 24px 22px; background: var(--paper-2); }
.ship { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.ship label { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); display: block; margin-bottom: 5px; }
.ship select {
  width: 100%; font-family: var(--sans); font-size: 14px; padding: 9px 30px 9px 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--ink);
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%234d453b' stroke-width='1.3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center / 10px 6px;
}
.ship .full { grid-column: 1 / -1; }
.sum { display: flex; justify-content: space-between; font-family: var(--sans); font-size: 14px; margin: 5px 0; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sum.total { font-size: 16px; font-weight: 600; color: var(--ink); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.sum .note { color: var(--ink-3); font-size: 13px; }
.drawer .btn { margin-top: 16px; }
.fine { font-family: var(--sans); font-size: 11.5px; color: var(--ink-3); text-align: center; margin: 12px 0 0; line-height: 1.5; }
.err { color: var(--oxblood); font-size: 14px; font-style: italic; margin: 10px 0 0; text-align: center; }
.err:empty { display: none; }

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); z-index: 50; pointer-events: none; opacity: 0;
  background: var(--night); color: var(--paper); padding: 11px 20px; border-radius: 999px; box-shadow: var(--shadow-lg);
  font-family: var(--sans); font-size: 13px; transition: opacity .3s, transform .4s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* figure overlay */
.figure-view { position: absolute; inset: 0; background: var(--card); display: grid; place-items: center; padding: 7%; animation: fade .35s var(--ease); }
.figure-view svg { width: 100%; height: auto; max-height: 100%; }
@keyframes fade { from { opacity: 0; } }

/* pages: thanks & policies */
.page { max-width: 1240px; margin: 0 auto; padding: clamp(44px, 6vw, 88px) var(--gutter) clamp(56px, 7vw, 100px); }
.page-head { max-width: 760px; }
.page-head.center { margin: 0 auto; text-align: center; }
.page h1 { font-family: var(--dp); font-weight: normal; letter-spacing: -.015em; line-height: 1.02; font-size: clamp(40px, 5.4vw, 68px); margin: 0; }
.page-head .sub { color: var(--ink-2); font-size: 19px; margin: 20px 0 0; text-wrap: pretty; }
.policy-grid { display: grid; grid-template-columns: 210px minmax(0, 720px); gap: clamp(32px, 6vw, 96px); margin-top: clamp(36px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: calc(var(--mast-h) + 28px); display: grid; gap: 2px; padding-left: 14px; border-left: 1px solid var(--line); }
.toc a { font-family: var(--sans); font-size: 13.5px; color: var(--ink-3); text-decoration: none; padding: 5px 0; position: relative; }
.toc a:hover, .toc a.on { color: var(--ink); }
.toc a.on::before { content: ''; position: absolute; left: -15px; top: 6px; bottom: 6px; width: 1px; background: var(--ink); }
.prose section { padding-bottom: 18px; }
.prose section + section { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 18px; }
.prose h2 { font-family: var(--dp); font-weight: normal; font-size: 30px; letter-spacing: -.01em; margin: 0 0 12px; }
.prose p, .prose li { color: var(--ink-2); text-wrap: pretty; }
.prose b { font-weight: normal; font-family: var(--sc); letter-spacing: .04em; color: var(--ink); }

.thanks-card { max-width: 680px; margin: clamp(34px, 4vw, 48px) auto 0; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px); }
#lede { text-align: center; margin: 0 auto; max-width: 32em; color: var(--ink-2); text-wrap: pretty; }
.status { margin: 26px 0 0; }
.status .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.status .row:last-child { border-bottom: 0; }
.status .row span:first-child { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; white-space: nowrap; }
.timeline { display: flex; justify-content: space-between; margin: 30px 0 4px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 16.6%; right: 16.6%; top: 7px; height: 2px; border-radius: 1px; background: var(--paper-3); }
.timeline .st { position: relative; text-align: center; flex: 1; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.timeline .st::before { content: ''; display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 2px var(--paper-3); margin: 0 auto 10px; position: relative; transition: background .4s, box-shadow .4s; }
.timeline .st.done { color: var(--ink); }
.timeline .st.done::before { background: var(--ink); box-shadow: 0 0 0 4px rgba(26, 23, 19, .08); }
.page-actions { text-align: center; margin-top: 30px; }

/* the Catalogue page */
.cat-head { padding: clamp(44px, 6vw, 88px) 0 clamp(26px, 3vw, 36px); }
.cat-head .sub { color: var(--ink-2); max-width: 34em; margin: 0; font-size: 18px; text-wrap: pretty; }
.cat-bar {
  position: sticky; top: var(--mast-h); z-index: 20;
  background: rgba(246, 242, 233, .82); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cat-controls { display: flex; gap: 14px 24px; justify-content: space-between; align-items: center; padding-top: 12px; padding-bottom: 12px; }
.cat-tabs {
  display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line);
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs button {
  flex: none; cursor: pointer; border: 0; background: transparent; border-radius: 999px; padding: 8px 15px;
  font-family: var(--sans); font-size: 13px; color: var(--ink-2); white-space: nowrap; transition: background .25s, color .25s, box-shadow .25s;
}
.cat-tabs button:hover { color: var(--ink); }
.cat-tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.cat-search { flex: none; }
.cat-search input {
  font-family: var(--sans); font-size: 14px; padding: 10px 16px 10px 38px; width: min(300px, 80vw); border-radius: 999px; color: var(--ink);
  border: 1px solid var(--line-2); outline: none; transition: border-color .25s, box-shadow .25s;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='7' cy='7' r='4.8' stroke='%238a8072' stroke-width='1.4' fill='none'/%3E%3Cpath d='M10.6 10.6L14 14' stroke='%238a8072' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 14px center / 15px;
}
.cat-search input::placeholder { color: var(--ink-3); }
.cat-search input:focus { border-color: rgba(176, 148, 94, .9); box-shadow: 0 0 0 4px rgba(176, 148, 94, .18); }
.cat-list { padding-bottom: clamp(48px, 6vw, 96px); }
.cat-group { margin-top: clamp(40px, 5vw, 64px); }
.cat-group header { display: flex; align-items: baseline; gap: 6px 20px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 24px; }
.cat-group h2 { font-family: var(--dp); font-weight: normal; letter-spacing: -.01em; font-size: clamp(26px, 2.6vw, 34px); margin: 0; line-height: 1.1; }
.cat-group header p { margin: 0; color: var(--ink-3); font-style: italic; font-size: 16px; flex: 1; }
.cat-group header .n { font-family: var(--sans); font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .cat-group header p { order: 3; flex-basis: 100%; } .cat-group header .n { margin-left: auto; } }

/* gentle arrivals */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .stagger:not(.in) > * { opacity: 0; transform: translateY(16px); }
.js .stagger:not(.done) > * { transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.stagger > :nth-child(2) { --i: 1; } .stagger > :nth-child(3) { --i: 2; } .stagger > :nth-child(4) { --i: 3; }
.stagger > :nth-child(5) { --i: 4; } .stagger > :nth-child(6) { --i: 5; } .stagger > :nth-child(n+7) { --i: 6; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal, .js .stagger:not(.in) > * { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .lede { max-width: 12em; }
  .specimen { max-width: 640px; }
}
@media (max-width: 960px) {
  .atelier-grid { grid-template-columns: 1fr; }
  .vitrine { position: static; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .from-cat .entries { grid-template-columns: repeat(2, 1fr); }
  .sec-head { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .policy-grid { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 4px 18px; border-left: 0; padding-left: 0; }
  .toc a.on::before { display: none; }
  .cat-controls { flex-direction: column; align-items: stretch; }
  .cat-tabs { align-self: flex-start; }
  .cat-search input { width: 100%; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  :root { --mast-h: 60px; }
  .mast-inner { grid-template-columns: auto 1fr auto; padding-top: 11px; padding-bottom: 11px; }
  .nav.left { display: none; }
  .wordmark { text-align: left; }
  .wordmark .wm { letter-spacing: .16em; padding-left: 0; }
  .wordmark .co { display: none; }
  .nav.right .hide-m { display: none; }
  .nav.right { gap: 16px; }
  .notice .extra { display: none; }
  .notice { font-size: 10px; letter-spacing: .12em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .notice .dot { margin: 0 .6em; }
  .compose { flex-direction: column; align-items: stretch; border-radius: 22px; padding: 6px; }
  .compose input { padding: 12px 12px 10px; }
  .compose .btn { width: 100%; }
  .thumbs { gap: 6px; }
  .thumb { border-radius: 9px; }
  .step { padding: 24px 22px; }
  .specimen::before { inset: 5% -2% -3% 4%; }
}
@media (max-width: 600px) {
  .from-cat .entries, .entries { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .card .n { font-size: 18px; }
  .line { grid-template-columns: 68px 1fr auto; }
  .line .pic { width: 68px; height: 68px; }
  .specimen-paper { padding: 20px 18px 16px; }
  .specimen-fig { min-height: 150px; padding: 18px 0; }
  .foot-inner { grid-template-columns: 1fr 1fr; }
}

/* the engine's own figures (the specimen, the Catalogue, the figure view) */
svg.rk line, svg.rk path { stroke: var(--ink); stroke-width: 1.3px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
svg.rk .dash { stroke-dasharray: 4.5 4; stroke-linecap: butt; }
svg.rk text { font-family: 'IM Fell English', Georgia, serif; font-style: italic; fill: var(--ink); }
svg.rk text.lbl, svg.rk text.und { fill: var(--ink-2); }
svg.rk rect.knock { fill: var(--card); }
.entry-fig svg.rk rect.knock { fill: #f6f1e6; }
svg.rk .loose { opacity: .45; }
