@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/golos-text-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/golos-text-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Literata';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/literata-italic-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Literata';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/literata-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/literata-normal-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/literata-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f6f7f8;
  --ink: #15191b;
  --plate: #cdcfd4;
  --green: #0e4a39;
  --ink-2: color-mix(in oklab, var(--ink) 70%, var(--paper));
  --rule: color-mix(in oklab, var(--ink) 22%, var(--paper));
  --on-green: var(--paper);
  --on-green-2: color-mix(in oklab, var(--paper) 78%, var(--green));
  --sans: "Golos Text", "Helvetica Neue", Arial, sans-serif;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --head: 64px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 16px); scrollbar-color: var(--green) var(--paper); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1rem; line-height: 1.5;
  font-feature-settings: "tnum" 0; text-rendering: optimizeLegibility;
  caret-color: var(--green);
}
::selection { background: var(--green); color: var(--paper); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--green); border: 3px solid var(--paper); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--green); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.on-green :focus-visible { outline-color: var(--paper); }
h1, h2, h3, p, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; line-height: 1.04; text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -80px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus, .skip:hover { top: 8px; color: var(--paper); }
.serif { font-family: var(--serif); }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--ink); }
.site-head .wrap { display: flex; align-items: center; gap: 32px; height: var(--head); }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1; }
.mark svg { height: 22px; width: auto; }
.mark small { font-weight: 500; font-size: .8125rem; letter-spacing: 0; color: var(--ink-2); }
.site-nav { display: flex; gap: 28px; margin-right: auto; }
.site-nav a, .tools a, .tools button { text-decoration: none; font-size: .9375rem; font-weight: 500; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .45em; }
.tools { display: flex; align-items: center; gap: 22px; }
.tools a { display: inline-flex; align-items: center; gap: 7px; }
.tools svg { width: 20px; height: 20px; }
.bag-count { min-width: 1.5em; padding: 1px 6px; text-align: center; background: var(--ink); color: var(--paper); font-size: .75rem; font-weight: 700; }
.bag-count[data-n="0"] { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; margin: -8px; cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  font-weight: 700; font-size: .9375rem; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { background: var(--green); border-color: var(--green); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { background: var(--rule); border-color: var(--rule); color: var(--ink-2); cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; }
.btn--line { background: transparent; color: var(--ink); }
.btn--paper { background: var(--paper); border-color: var(--paper); color: var(--green); }
.btn--paper:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn.is-done { background: var(--green); border-color: var(--green); }
.arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; }
.arrow svg { width: 22px; height: 22px; transition: transform .35s var(--ease); }
.arrow:hover svg { transform: translateX(6px); }

/* ---------- cover (home, first viewport) ---------- */
.cover { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); min-height: max(600px, min(calc(100svh - var(--head)), 960px)); border-bottom: 1px solid var(--ink); }
.cover-field { background: var(--green); color: var(--on-green); padding: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.cover-mark { width: clamp(120px, 15vw, 220px); }
.cover-mark svg { width: 100%; height: auto; }
.cover-field h1 { font-size: clamp(2.75rem, 5.4vw, 5.25rem); font-weight: 900; letter-spacing: -.02em; line-height: .92; }
.cover-field p { font-family: var(--serif); font-size: 1.125rem; line-height: 1.5; max-width: 30ch; margin-top: 20px; }
.cover-dates { display: block; margin-top: 12px; font-family: var(--sans); font-size: .9375rem; color: var(--on-green-2); }
.cover-field .arrow { margin-top: 28px; color: var(--on-green); border-bottom: 1px solid var(--on-green-2); padding-bottom: 6px; }
.lead { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; }
.lead-plate { position: relative; background: var(--plate); overflow: hidden; min-height: 280px; }
.lead-plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.lead-entry { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(16px, 2.5vw, 40px); align-items: end; padding: clamp(18px, 2.4vw, 32px) clamp(16px, 3vw, 40px); border-top: 1px solid var(--ink); }
.lot-no { font-weight: 900; font-size: clamp(4.5rem, 8vw, 6rem); line-height: .78; letter-spacing: -.04em; font-variant-numeric: tabular-nums lining-nums; }
.lot-no { display: flex; align-items: flex-end; gap: 10px; }
.lot-no small { font-size: .8125rem; font-weight: 600; letter-spacing: 0; line-height: 1; padding-bottom: .35em; color: var(--ink-2); writing-mode: vertical-rl; transform: rotate(180deg); }
.lead-entry h2 { font-size: clamp(1.25rem, 1.8vw, 1.625rem); }
.lead-entry h2 a { text-decoration: none; }
.lead-entry p { font-family: var(--serif); margin-top: 6px; max-width: 46ch; color: var(--ink-2); }
.lead-buy { display: grid; gap: 10px; justify-items: end; }
.price { font-weight: 800; font-size: 1.375rem; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }

/* ---------- sections ---------- */
.sec { padding-block: clamp(64px, 9vw, 128px) clamp(48px, 7vw, 96px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--gutter); align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; letter-spacing: -.02em; }
.sec-head p { font-family: var(--serif); font-size: 1.125rem; max-width: 52ch; color: var(--ink-2); }

/* ruled catalogue entries */
.entries { border-top: 1px solid var(--ink); }
.entry { display: grid; grid-template-columns: 5.5rem 112px minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: clamp(14px, 2vw, 32px); align-items: center; padding-block: 14px; border-bottom: 1px solid var(--rule); position: relative; }
.entry:last-child { border-bottom-color: var(--ink); }
.entry-no { font-weight: 900; font-size: 2.75rem; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums lining-nums; }
.entry-plate { background: var(--plate); aspect-ratio: 1; overflow: hidden; }
.entry-plate img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.entry:hover .entry-plate img { transform: scale(1.06); }
.entry h3 { font-size: 1.1875rem; letter-spacing: -.015em; }
.entry h3 a { text-decoration: none; }
.entry h3 a::after { content: ""; position: absolute; inset: 0; }
.entry-line { font-family: var(--serif); font-size: .9375rem; color: var(--ink-2); margin-top: 4px; max-width: 48ch; }
.entry-spec { font-size: .875rem; color: var(--ink-2); font-variant-numeric: tabular-nums lining-nums; }
.entry .price { font-size: 1.1875rem; }
.sec-foot { margin-top: 32px; }

/* how it works */
.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.how div { padding: 22px 24px 8px 0; }
.how div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.how dt { font-weight: 800; font-size: 1.1875rem; letter-spacing: -.015em; }
.how dd { font-family: var(--serif); margin-top: 8px; color: var(--ink-2); }

/* marks */
.marks { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--gutter); align-items: start; }
.marks h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; letter-spacing: -.02em; }
.marks > div > p { font-family: var(--serif); font-size: 1.125rem; margin-top: 18px; max-width: 40ch; color: var(--ink-2); }
.marks-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.marks-row li { border-top: 1px solid var(--ink); padding-top: 20px; }
.marks-row svg { width: 84px; height: 84px; margin-bottom: 18px; }
.marks-row h3 { font-size: 1.0625rem; }
.marks-row p { font-family: var(--serif); font-size: .9375rem; margin-top: 6px; color: var(--ink-2); }

/* close + footer (green) */
.close { background: var(--green); color: var(--on-green); }
.close .wrap { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--gutter); align-items: end; padding-block: clamp(56px, 8vw, 112px); }
.close h2 { font-size: clamp(2.25rem, 5vw, 4.5rem); font-weight: 900; letter-spacing: -.02em; }
.close p { font-family: var(--serif); font-size: 1.125rem; max-width: 44ch; margin-bottom: 24px; }
.site-foot { background: var(--green); color: var(--on-green); border-top: 1px solid var(--on-green-2); }
.site-foot a:hover { color: var(--on-green); text-decoration-thickness: 2px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: var(--gutter); padding-block: 48px 40px; }
.foot-grid .mark svg { height: 34px; }
.foot-grid p { font-family: var(--serif); color: var(--on-green-2); margin-top: 12px; max-width: 28ch; }
.foot-grid h2 { font-size: .9375rem; font-weight: 700; letter-spacing: 0; margin-bottom: 12px; }
.foot-grid li + li { margin-top: 8px; }
.foot-grid li a { text-decoration: none; color: var(--on-green-2); }
.foot-grid li a:hover { text-decoration: underline; }
.foot-base { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 18px; border-top: 1px solid color-mix(in oklab, var(--paper) 30%, var(--green)); font-size: .8125rem; color: var(--on-green-2); }

/* ---------- catalogue ---------- */
.page-head { padding-block: clamp(40px, 6vw, 80px) clamp(20px, 3vw, 36px); }
.page-head h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900; letter-spacing: -.02em; }
.page-head p { font-family: var(--serif); font-size: 1.125rem; margin-top: 14px; max-width: 56ch; color: var(--ink-2); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-block: 14px; border-block: 1px solid var(--ink); position: sticky; top: var(--head); background: var(--paper); z-index: 10; }
.filters fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.chip { background: none; border: 1px solid transparent; padding: 7px 12px; font-size: .9375rem; font-weight: 500; cursor: pointer; }
.chip:hover { border-color: var(--rule); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.filters label { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: .9375rem; color: var(--ink-2); }
select { appearance: none; border: 1px solid var(--ink); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%2315191b' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px; padding: 9px 40px 9px 12px; border-radius: 0; min-height: 42px; color: var(--ink); }
.cat { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: var(--gutter); padding-block: 32px clamp(64px, 8vw, 112px); }
.rail { position: sticky; top: calc(var(--head) + 96px); align-self: start; }
.rail-no { font-weight: 900; font-size: 6rem; line-height: .8; letter-spacing: -.04em; font-variant-numeric: tabular-nums lining-nums; height: .8em; overflow: hidden; }
.rail-no span { display: block; transition: transform .5s var(--ease); }
.rail-no.tick span { animation: tick .5s var(--ease); }
@keyframes tick { from { transform: translateY(55%); clip-path: inset(0 0 60% 0); } to { transform: none; clip-path: inset(0); } }
.rail p { margin-top: 14px; font-size: .875rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rail b { color: var(--ink); font-weight: 700; display: block; font-size: 1rem; margin-top: 2px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.5vw, 56px) clamp(16px, 2.2vw, 32px); }
.card { position: relative; }
.card[hidden] { display: none; }
.card-plate { background: var(--plate); aspect-ratio: 1; overflow: hidden; }
.card-plate img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-plate img { transform: scale(1.05); }
.card-cap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: baseline; padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--ink); }
.card-no { font-weight: 900; font-size: 1.75rem; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums lining-nums; }
.card h2 { font-size: 1.0625rem; letter-spacing: -.01em; line-height: 1.2; }
.card h2 a { text-decoration: none; }
.card h2 a::after { content: ""; position: absolute; inset: 0; }
.card .price { font-size: 1.0625rem; }
.card-spec { grid-column: 2 / -1; font-size: .875rem; color: var(--ink-2); font-variant-numeric: tabular-nums lining-nums; }
.empty { grid-column: 1 / -1; font-family: var(--serif); color: var(--ink-2); padding-block: 48px; }

/* ---------- lot page ---------- */
.crumbs { padding-block: 18px; font-size: .875rem; color: var(--ink-2); display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.lot { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--gutter); padding-bottom: clamp(56px, 7vw, 96px); align-items: start; }
.plate-col { position: sticky; top: calc(var(--head) + 20px); }
.plate { position: relative; background: var(--plate); aspect-ratio: 1; overflow: hidden; cursor: crosshair; }
.plate img { width: 100%; height: 100%; object-fit: cover; }
.loupe { position: absolute; width: 190px; height: 190px; border-radius: 50%; pointer-events: none; opacity: 0; transform: scale(.6); background-repeat: no-repeat; background-color: var(--plate); box-shadow: 0 0 0 1px var(--ink), 0 0 0 7px var(--paper), 0 0 0 8px var(--ink), 0 18px 40px -12px color-mix(in oklab, var(--ink) 55%, transparent); transition: opacity .25s var(--ease), transform .35s var(--ease); }
.plate.is-loupe .loupe { opacity: 1; transform: none; }
.plate-note { margin-top: 10px; font-size: .8125rem; color: var(--ink-2); }
@media (hover: none) { .plate-note { display: none; } .plate { cursor: default; } }
.card-plate, .lead-plate { position: relative; }
.card-plate .loupe, .lead-plate .loupe { width: 150px; height: 150px; z-index: 2; }
.card-plate.is-loupe .loupe, .lead-plate.is-loupe .loupe { opacity: 1; transform: none; }
.card:hover .card-plate.is-loupe img { transform: none; }
.lot-info .lot-no { font-size: clamp(4rem, 8vw, 6rem); }
.lot-info h1 { font-size: clamp(1.875rem, 3.2vw, 2.75rem); margin-top: 22px; }
.lot-line { font-family: var(--serif); font-size: 1.1875rem; margin-top: 12px; color: var(--ink-2); max-width: 40ch; }
.buy { margin-top: 28px; padding-block: 24px; border-block: 1px solid var(--ink); display: grid; gap: 18px; }
.buy-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.buy .price { font-size: 2rem; }
.buy .btn { min-width: 220px; }
.buy-status { font-size: .875rem; min-height: 1.4em; }
.essay { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.65; margin-top: 28px; max-width: 62ch; }
.specs { margin-top: 28px; border-top: 1px solid var(--ink); }
.specs div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 16px; padding-block: 11px; border-bottom: 1px solid var(--rule); }
.specs dt { font-size: .9375rem; color: var(--ink-2); }
.specs dd { font-weight: 500; font-variant-numeric: tabular-nums lining-nums; }
.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.pager a { display: grid; gap: 4px; padding-block: 24px 40px; text-decoration: none; }
.pager a + a { text-align: right; border-left: 1px solid var(--rule); padding-left: 24px; }
.pager small { font-size: .875rem; color: var(--ink-2); }
.pager b { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field label { font-size: .9375rem; font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--ink); background-color: var(--paper); padding: 12px 14px; border-radius: 0; min-height: 48px; }
.field textarea { min-height: 120px; resize: vertical; font-family: var(--serif); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-2); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline-offset: 0; box-shadow: inset 0 0 0 1px var(--green); }
.field .hint { font-size: .8125rem; color: var(--ink-2); }
.field .err { display: none; font-size: .875rem; font-weight: 700; }
.field.bad input, .field.bad textarea { box-shadow: inset 0 0 0 2px var(--ink); }
.field.bad .err { display: block; }
.form { display: grid; gap: 18px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.notice { display: none; gap: 12px; align-items: start; border: 2px solid var(--ink); padding: 14px 16px; font-weight: 600; }
.notice.show { display: flex; }
.notice svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.notice.ok { border-color: var(--green); color: var(--green); }
.small { font-size: .875rem; color: var(--ink-2); }
.hp { position: absolute; left: -9999px; }

/* ---------- bag / checkout / account ---------- */
.two { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--gutter); padding-bottom: clamp(64px, 8vw, 112px); align-items: start; }
.lines { border-top: 1px solid var(--ink); }
.line { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto auto; gap: 18px; align-items: center; padding-block: 14px; border-bottom: 1px solid var(--rule); }
.line-plate { background: var(--plate); aspect-ratio: 1; }
.line-plate img { width: 100%; height: 100%; object-fit: cover; }
.line h2 { font-size: 1.0625rem; letter-spacing: -.01em; }
.line h2 a { text-decoration: none; }
.line small { display: block; font-size: .875rem; color: var(--ink-2); font-weight: 400; letter-spacing: 0; margin-top: 3px; }
.line .rm { background: none; border: 0; padding: 0; margin-top: 6px; font-size: .875rem; text-decoration: underline; text-underline-offset: .22em; cursor: pointer; color: var(--ink-2); }
.line .rm:hover { color: var(--ink); }
.step { display: inline-grid; grid-template-columns: 40px 44px 40px; border: 1px solid var(--ink); }
.step button { background: none; border: 0; height: 40px; cursor: pointer; display: grid; place-items: center; }
.step button:hover { background: var(--ink); color: var(--paper); }
.step button svg { width: 14px; height: 14px; }
.step output { display: grid; place-items: center; font-weight: 700; font-variant-numeric: tabular-nums; border-inline: 1px solid var(--ink); }
.sum { border: 1px solid var(--ink); padding: 24px; position: sticky; top: calc(var(--head) + 20px); display: grid; gap: 16px; }
.sum h2 { font-size: 1.25rem; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.sum-lines li { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; border-bottom: 1px solid var(--rule); font-size: .9375rem; }
.sum-lines li span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum .price { font-size: 1.625rem; }
.sum .btn { width: 100%; }
.blank { padding-block: 24px 96px; max-width: 46ch; }
.blank h2 { font-size: 1.5rem; }
.blank p { font-family: var(--serif); margin: 10px 0 24px; color: var(--ink-2); }
.done { padding-block: 8px 112px; max-width: 54ch; }
.done .ref { font-weight: 900; font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-block: 8px 18px; }
.done p { font-family: var(--serif); font-size: 1.125rem; }
.done .btn { margin-top: 28px; }
.acct { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--ink); margin-bottom: clamp(64px, 8vw, 112px); }
.acct section { padding: 32px var(--gutter) 40px 0; }
.acct section + section { padding-left: var(--gutter); padding-right: 0; border-left: 1px solid var(--rule); }
.acct h2 { font-size: 1.625rem; }
.acct section > p { font-family: var(--serif); color: var(--ink-2); margin: 8px 0 24px; }
.me { padding-bottom: clamp(64px, 8vw, 112px); }
.me-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-block: 20px; border-block: 1px solid var(--ink); }
.me-head b { display: block; font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; }
.me h2 { font-size: 1.625rem; margin-block: 40px 16px; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
th { text-align: left; font-size: .875rem; font-weight: 600; color: var(--ink-2); padding: 10px 16px 10px 0; border-bottom: 1px solid var(--ink); }
td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
td:last-child, th:last-child { text-align: right; padding-right: 0; }

/* ---------- prose ---------- */
.prose { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--gutter); padding-bottom: clamp(64px, 8vw, 112px); }
.prose-body { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.7; max-width: 66ch; grid-column: 2; }
.prose-body h2 { font-family: var(--sans); font-size: 1.375rem; margin: 2.4em 0 .5em; padding-top: 18px; border-top: 1px solid var(--ink); }
.prose-body p + p { margin-top: 1em; }
.prose-body > p:first-child { font-size: 1.25rem; line-height: 1.55; }
.contact { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--gutter); padding-bottom: clamp(64px, 8vw, 112px); }
.contact aside p { font-family: var(--serif); color: var(--ink-2); max-width: 36ch; }
.contact aside p + p { margin-top: 1em; }
.nf { min-height: 60svh; display: grid; align-content: center; padding-block: 64px; }
.nf .lot-no { font-size: clamp(5rem, 16vw, 6rem); color: var(--green); }
.nf h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-top: 24px; }
.nf p { font-family: var(--serif); font-size: 1.125rem; margin: 14px 0 28px; color: var(--ink-2); }

/* ---------- second catalogue ---------- */
.cover--b { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); min-height: min(820px, 92svh); border-top: 1px solid var(--ink); }
.cover--b .cover-field h2 { font-size: clamp(2.75rem, 5.4vw, 5.25rem); font-weight: 900; letter-spacing: -.02em; line-height: .92; }
.cover--b .lead-plate img { object-position: 50% 45%; }
.cover--b .lead-entry h3 { font-size: clamp(1.25rem, 1.8vw, 1.625rem); }
.cover--b .lead-entry h3 a { text-decoration: none; }
.cover-letter { font-family: var(--serif); font-weight: 700; font-size: clamp(3rem, 6vw, 5rem); line-height: 1; width: 1.5em; height: 1.5em; display: grid; place-items: center; border: 1.5px solid var(--on-green); }
.col-head { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; padding-top: 8px; scroll-margin-top: calc(var(--head) + 80px); }
.col-head ~ .col-head { margin-top: clamp(24px, 4vw, 56px); padding-top: clamp(28px, 4vw, 56px); border-top: 1px solid var(--ink); }
.col-head[hidden] { display: none; }
.col-letter { font-family: var(--serif); font-weight: 700; font-size: 1.75rem; width: 1.9em; height: 1.9em; display: grid; place-items: center; background: var(--green); color: var(--paper); }
.col-head h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 900; letter-spacing: -.02em; }
.col-head p { font-family: var(--serif); color: var(--ink-2); margin-top: 4px; max-width: 60ch; }
@media (max-width: 820px) {
  .cover--b { grid-template-columns: 1fr; min-height: 0; }
  .cover--b .lead { order: 2; }
  .cover--b .lead-plate { aspect-ratio: 1; }
}

/* ---------- entrance (one authored moment: the cover) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .cover:not(.cover--b) .lot-no span { display: inline-block; animation: strike .9s var(--ease) both .15s; }
  .cover:not(.cover--b) .lead-plate img { animation: settle 1.4s var(--ease) both; }
  @keyframes strike { from { clip-path: inset(0 0 100% 0); transform: translateY(30%); } to { clip-path: inset(0); transform: none; } }
  @keyframes settle { from { transform: scale(1.08); filter: blur(6px); } to { transform: none; filter: none; } }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .site-nav { gap: 20px; }
  .mark small { display: none; }
  .entry { grid-template-columns: 4rem 88px minmax(0, 1fr) auto; }
  .entry-spec { grid-column: 3; grid-row: 2; margin-top: -10px; }
  .entry .price { grid-row: 1 / span 2; grid-column: 4; }
  .entry-no, .entry-plate { grid-row: 1 / span 2; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat { grid-template-columns: 8rem minmax(0, 1fr); }
  .rail-no { font-size: 4.5rem; }
  .how { grid-template-columns: 1fr 1fr; }
  .how div:nth-child(3) { padding-left: 0; border-left: 0; }
  .how div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .site-head .wrap { gap: 16px; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: var(--head); background: var(--paper); border-bottom: 1px solid var(--ink); flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding-block: 12px; font-size: 1.125rem; border-bottom: 1px solid var(--rule); }
  .mark { margin-right: auto; }
  .tools { gap: 16px; }
  .tools .t-label { display: none; }
  .cover { grid-template-columns: 1fr; min-height: 0; }
  .cover-field { gap: 28px; }
  .cover-mark { width: 96px; }
  .lead-plate { aspect-ratio: 3 / 2; min-height: 0; }
  .lead-entry { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .lead-buy { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; justify-items: stretch; }
  .sec-head, .marks, .close .wrap, .prose, .contact, .lot, .two { grid-template-columns: 1fr; }
  .prose-body { grid-column: 1; }
  .marks-row { margin-top: 28px; }
  .plate-col, .sum { position: static; }
  .cat { grid-template-columns: 1fr; }
  .rail { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .acct { grid-template-columns: 1fr; }
  .acct section + section { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .acct section { padding-right: 0; }
  .filters label { margin-left: 0; }
  .filters { position: static; }
}
@media (max-width: 560px) {
  .entry { grid-template-columns: 2.6rem 72px minmax(0, 1fr); row-gap: 4px; }
  .entry-no { font-size: 1.875rem; }
  .entry .price { grid-column: 3; grid-row: 3; }
  .entry-spec { margin-top: 0; }
  .entry-no, .entry-plate { grid-row: 1 / span 3; align-self: start; }
  .entry-line { display: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .card-cap { grid-template-columns: auto minmax(0, 1fr); gap: 6px 10px; }
  .card .price { grid-column: 2; }
  .card-spec { grid-column: 2; font-size: .8125rem; }
  .how { grid-template-columns: 1fr; }
  .how div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .marks-row { grid-template-columns: 1fr; }
  .marks-row li { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; }
  .marks-row svg { width: 64px; height: 64px; grid-row: span 2; margin: 0; }
  .form-2 { grid-template-columns: 1fr; }
  .line { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .line .price { grid-column: 2 / -1; }
  .specs div { grid-template-columns: 8rem minmax(0, 1fr); }
  .buy .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .pager b { font-size: 1.0625rem; }
  table, tbody, tr, td { display: block; }
  thead { display: none; }
  tr { padding-block: 12px; border-bottom: 1px solid var(--rule); }
  td { border: 0; padding: 2px 0; }
  td:last-child { text-align: left; }
}

.cover-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.cover-top .cover-letter { font-size: clamp(2rem, 3.4vw, 3rem); }
