/* ==== 00-base.css ==== */
/* DIAMOND ANT — base: tokens, fonts, grounds, type (display rule), layout, the kit (plate, entry, slip, VITRINE LABEL, pills,
   rnd, marks, sprite icons), header + drawer chrome, toast, footer frame, .e404. Parts never restyle these. */
:root {
  --paper: #EEF0F1; --paper-hi: #F8F9FA; --paper-lo: #DDE2E5; --ink: #121417; --grey: #565D63;
  --velvet: #060607; --velvet-2: #141518; --earth: #271608; --silver: #A9B0B6;
  --ice: #96D8FA; --rust: #68291B; --lantern: #E79A01; --hat: #F8B803;
  --title: 'Castoro Titling', 'Bona Nova', Georgia, serif;
  --serif: 'Bona Nova', Georgia, 'Times New Roman', serif;
  --sans: 'Hubot Sans', 'Anuphan', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --px: 'Tiny5', ui-monospace, 'Courier New', monospace;
  --m: 16px; --nav: 56px;
  --h1: clamp(39px, 10.4vw, 112px);
  --ring: var(--ink); --em: var(--rust); --lbl-c: var(--rust); --cap-c: var(--grey); --rule: var(--paper-lo);
}
@media (min-width: 700px) { :root { --m: 32px; --nav: 64px; } }
@media (min-width: 900px) { :root { --h1: clamp(64px, 7.2vw, 112px); } }
@media (min-width: 1200px) { :root { --m: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav); overflow-x: clip; }
html.rm { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, figure, ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 8px; top: -80px; z-index: 100; background: var(--paper-hi); color: var(--ink); padding: 12px 18px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 8px; }

/* ---------- grounds ---------- */
.gd-paper, .gd-paper-hi { color: var(--ink); --em: var(--rust); --ring: var(--ink); --lbl-c: var(--rust); --cap-c: var(--grey); --rule: var(--paper-lo); }
.gd-paper { background: var(--paper); }
.gd-paper-hi { background: var(--paper-hi); }
.gd-velvet, .gd-velvet2, .gd-earth, .gd-photo { color: var(--paper); --em: var(--ice); --ring: var(--ice); --lbl-c: var(--lantern); --cap-c: var(--silver); --rule: rgba(169, 176, 182, .3); }
.gd-velvet, .gd-photo { background: var(--velvet); }
.gd-velvet2 { background: var(--velvet-2); }
.gd-earth { background: var(--earth); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(1320px + 2 * var(--m)); margin: 0 auto; padding: 0 var(--m); }
.g12 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 700px) { .g12 { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
.sec { padding: 72px 0; }
@media (min-width: 700px) { .sec { padding: 112px 0; } }

/* ---------- type (display rule: every display size <= the H1 * k, k <= .8) ---------- */
h2 { font: 400 min(clamp(32px, 4.6vw, 62px), calc(var(--h1) * .62))/1.1 var(--serif); letter-spacing: -.005em; margin-bottom: 24px; text-wrap: balance; }
h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--em); }
h3 { font: 700 min(clamp(22px, 2.4vw, 32px), calc(var(--h1) * .5))/1.2 var(--serif); }
.lbl { font: 700 13px/1.35 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--lbl-c); margin-bottom: 14px; }
.lead { font-size: 17px; line-height: 1.6; }
@media (min-width: 700px) { .lead { font-size: 19px; } }
.cap { font-size: 15px; line-height: 1.45; color: var(--cap-c); }
.fine { font-size: 14px; line-height: 1.5; }
.px { font-family: var(--px); font-weight: 400; font-size: 20px; line-height: 1.15; letter-spacing: .04em; text-transform: uppercase; }
.lotno { font: 400 min(clamp(30px, 4.4vw, 60px), calc(var(--h1) * .55))/1 var(--title); letter-spacing: .04em; }

/* ---------- kit: picture plates (all renders are pixel art) ---------- */
.plate { margin: 0; background: var(--paper-hi); padding: 8px; border: 1px solid var(--paper-lo); box-shadow: 0 14px 34px rgba(18, 20, 23, .10); --cap-c: var(--grey); }
.plate img { width: 100%; height: auto; background: var(--velvet); }
.plate .cap { padding: 12px 4px 4px; }
.plate.dark { background: var(--velvet); border-color: rgba(169, 176, 182, .25); --cap-c: var(--silver); }
.plate img, .tp-art img, .ls img, .kt-dl img { image-rendering: pixelated; }

/* ---------- kit: catalogue entry rows ---------- */
.entry { border-top: 1px solid var(--rule); }
.entry-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.entry-row b { font: 700 13px/1.5 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--lbl-c); }
.entry-row span { font: 400 18px/1.45 var(--sans); }
@media (min-width: 700px) { .entry-row { grid-template-columns: 160px minmax(0, 1fr); gap: 16px; align-items: baseline; } }

/* ---------- kit: the WITHDRAWN slip (rotation only via a wrapper class) ---------- */
.slip { display: inline-block; background: var(--paper-hi); color: var(--ink); padding: 10px 16px; border: 1px solid var(--rust);
  box-shadow: 0 0 0 3px var(--paper-hi), 0 0 0 4px var(--rust), 0 12px 26px rgba(0, 0, 0, .45); text-align: left; }
.slip-h { display: block; font: 700 20px/1.1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--rust); }
.slip-s { display: block; font: italic 400 15px/1.3 var(--serif); color: var(--ink); margin-top: 2px; }

/* ---------- kit: THE VITRINE LABEL (the CA object) ---------- */
.vlabel { position: relative; max-width: 560px; background: var(--paper-hi); color: var(--ink); border: 1px solid var(--silver); padding: 16px 18px 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35); --ring: var(--ink); --lbl-c: var(--rust); --cap-c: var(--grey); text-align: left; }
.vlabel::before { content: ""; position: absolute; inset: 4px; border: 1px solid var(--paper-lo); pointer-events: none; }
.vlabel[data-soon] { cursor: pointer; }
.vlabel-hd { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 8px; margin-bottom: 10px; border-bottom: 1px solid var(--paper-lo); }
.vlabel-l { margin: 0; color: var(--rust); }
.vlabel-no { font: 700 14px/1.2 var(--sans); letter-spacing: .04em; color: var(--ink); white-space: nowrap; }
.vlabel-body { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; }
.vlabel .ca { position: relative; flex: 1; min-width: 0; font: 600 16px/1.35 var(--sans); color: var(--ink); overflow-wrap: anywhere; }
.vlabel .ca::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--rust); clip-path: inset(0 100% 0 0); }
.vlabel.is-copied .ca::after { clip-path: inset(0 0 0 0); transition: clip-path .5s ease-out; }
.vlabel-copy { flex: none; }
.vlabel-pre { flex: 1; min-width: 0; font: 600 16px/1.35 var(--sans); color: var(--ink); }
.vlabel-lock { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--paper-lo);
  font: 700 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.vlabel-lock .ic { width: 18px; height: 18px; }
.vlabel-ft { position: relative; margin-top: 10px; color: var(--grey); }
.vlabel.sm { padding: 12px 14px 12px; }
.vlabel.sm .ca, .vlabel.sm .vlabel-pre { font-size: 15px; }
@media (max-width: 699px) { .vlabel { padding: 12px 14px 12px; } .vlabel .ca, .vlabel-pre { font-size: 15px; } .vlabel-hd { margin-bottom: 8px; padding-bottom: 6px; } .vlabel-l { font-size: 12px; letter-spacing: .1em; } .vlabel-no { font-size: 13px; } .vlabel-ft { margin-top: 8px; } }
/* 375-wide phones: the CA column is about 198px; 13.5px keeps each 22-letter half on one line */
@media (max-width: 389px) { .vlabel .ca, .vlabel.sm .ca { font-size: 13.5px; letter-spacing: -.01em; } }
@media (max-width: 369px) { .vlabel .ca, .vlabel.sm .ca { font-size: 12.5px; } }

/* ---------- kit: pills (yellow fill = Buy only), round buttons, marks ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 24px; border: 0; border-radius: 999px;
  background: transparent; color: inherit; font: 600 17px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.pill .mk { width: 20px; height: 20px; flex: none; }
.pill .ic { width: 20px; height: 20px; }
.pill.buy { background: var(--hat); color: var(--ink); box-shadow: inset 0 0 0 2px rgba(18, 20, 23, .2); }
.pill.buy:hover { box-shadow: inset 0 0 0 2px rgba(18, 20, 23, .45); }
.pill.ink { background: var(--ink); color: var(--paper-hi); }
.pill.line { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.pill.line-l { box-shadow: inset 0 0 0 1.5px var(--paper); color: var(--paper); }
.pill.paper { background: var(--paper-hi); color: var(--ink); }
.pill.sm { min-height: 44px; padding: 0 18px; gap: 8px; font-size: 15px; }
html.js:not(.rm) .pill:hover { transform: translateY(-1px); }
.rnd { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit;
  box-shadow: inset 0 0 0 1.5px currentColor; text-decoration: none; cursor: pointer; }
.rnd.lg { width: 56px; height: 56px; }
.rnd.paper { background: var(--paper-hi); color: var(--ink); box-shadow: none; }
.rnd.ink { background: var(--ink); color: var(--paper-hi); box-shadow: none; }
.rnd .mk { width: 20px; height: 20px; }
.mk { display: block; }
.mk.inv { filter: invert(1); }

/* ---------- header ---------- */
.hd { position: sticky; top: 0; z-index: 50; height: var(--nav); background: rgba(6, 6, 7, .92); border-bottom: 1px solid rgba(169, 176, 182, .2); color: var(--paper); --ring: var(--ice); }
.hd-in { height: 100%; max-width: calc(1320px + 2 * var(--m)); margin: 0 auto; padding: 0 var(--m); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hd-brand { display: flex; flex-direction: column; justify-content: center; min-height: 44px; min-width: 0; color: var(--paper); text-decoration: none; }
.hd-name { font: 400 clamp(14px, 3.9vw, 17px)/1.1 var(--title); letter-spacing: .06em; white-space: nowrap; }
.hd-sub { display: none; font: 400 13px/1.3 var(--sans); color: var(--silver); margin-top: 2px; }
@media (min-width: 700px) { .hd-sub { display: block; } }
.hd-r { display: flex; align-items: center; gap: 10px; flex: none; }
.hd-buy { padding: 0 14px; }
@media (max-width: 539px) { .hd-buy { display: none !important; } }
.menu-btn { color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(169, 176, 182, .55); }
.hd-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .62); }
.hd-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(380px, 88vw); display: flex; flex-direction: column; overflow-y: auto;
  padding: 10px var(--m) calc(24px + env(safe-area-inset-bottom)); background: var(--velvet); color: var(--paper); border-left: 1px solid rgba(169, 176, 182, .2);
  --ring: var(--ice); --lbl-c: var(--lantern); --cap-c: var(--silver); }
html.js:not(.rm) .hd-drawer { animation: hd-in .28s ease-out; }
@keyframes hd-in { from { transform: translateX(100%); } to { transform: none; } }
.hd-dhd { display: flex; justify-content: space-between; align-items: center; min-height: 56px; margin-bottom: 8px; }
.hd-dhd .lbl { margin: 0; }
.hd-x { color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(169, 176, 182, .55); }
.hd-dnav a { display: flex; align-items: baseline; gap: 14px; min-height: 54px; padding: 12px 0; border-bottom: 1px solid rgba(169, 176, 182, .2);
  font: 400 24px/1.2 var(--serif); color: var(--paper); text-decoration: none; }
.hd-dnav a b { min-width: 36px; font: 400 15px/1 var(--title); color: var(--lantern); letter-spacing: .06em; }
.hd-dnav a:hover { color: var(--ice); }
.hd-dft { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; justify-items: start; }
.hd-dft .fine { color: var(--silver); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 80; max-width: min(92vw, 460px); padding: 14px 20px;
  background: var(--ink); color: var(--paper-hi); border: 1px solid rgba(169, 176, 182, .35); font: 600 15px/1.35 var(--sans); text-align: center;
  opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
html.rm .toast { transform: translate(-50%, 0); }

/* ---------- footer frame (Part B styles its contents with ft-) ---------- */
.foot { padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); }

/* ---------- 404 ---------- */
.e404 { min-height: 100vh; display: grid; place-items: center; align-content: center; gap: 20px; padding: 48px var(--m); text-align: center; background: var(--velvet); color: var(--paper); --ring: var(--ice); --lbl-c: var(--lantern); }
.e404 h1 { font: 400 clamp(36px, 8vw, 88px)/1.05 var(--title); letter-spacing: .04em; }
.e404 p { color: var(--silver); max-width: 34ch; }

/* ---------- reduced motion: everything final, visible, still ---------- */
html.rm *, html.rm *::before, html.rm *::after { animation-duration: 0s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; transition-delay: 0s !important; }

/* ==== 10-hero.css ==== */
/* #top — the catalogue cover: one jewel on black velvet. Phones: eyebrow, picture, name, punchline, lot line, vitrine label, Buy,
   Chart + X. >= 900px: copy cols 1-6, picture cols 7-12. Motion: H1 rise, slip slaps on, pixel sparkles twinkle (paused off screen). */
.tp { position: relative; padding: 16px 0 56px; overflow: hidden; }
.tp-in { display: flex; flex-direction: column; align-items: center; gap: 0; text-align: center; }
.tp-copy { display: contents; }
.tp-eye { order: 1; margin: 0 0 12px; }
.tp-more { display: none; }
.tp-art { order: 2; width: 100%; display: flex; justify-content: center; margin-bottom: 12px; }
.tp-h1, .tp-punch, .tp-lot, .tp-vl, .tp-row { order: 3; }
.tp-h1 { font: 400 var(--h1)/1 var(--title); letter-spacing: .03em; color: var(--paper); margin: 0 0 10px; white-space: nowrap; }
.tp-h1 span { display: inline-block; }
.tp-punch { font: 400 22px/1.25 var(--serif); color: var(--paper); margin: 0 0 8px; text-wrap: balance; }
.tp-punch em { font-style: italic; color: var(--ice); }
.tp-lot { font: 600 15px/1.4 var(--sans); color: var(--silver); margin: 0 0 14px; }
.tp-vl { width: 100%; max-width: 560px; }
.tp-vl .vlabel { margin: 0 auto; }
.tp-row { width: 100%; max-width: 560px; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tp-buy { flex: 1 1 100%; }
.tp-row .line-l { flex: 1 1 auto; }

/* the picture: square frame, edges fade into velvet (mask, no blur) */
.tp-frame { position: relative; width: 230px; aspect-ratio: 1 / 1; --k: .62; }
.tp-img { width: 100%; height: 100%; object-fit: cover; background: var(--velvet);
  -webkit-mask-image: radial-gradient(closest-side, #000 80%, transparent 100%); mask-image: radial-gradient(closest-side, #000 80%, transparent 100%);
  -webkit-mask-size: 118% 118%; mask-size: 118% 118%; -webkit-mask-position: center; mask-position: center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.tp-slip { position: absolute; left: -8%; top: 2%; transform: rotate(-5deg) scale(var(--k)); transform-origin: 0 0; z-index: 2; }
.tp-tag { position: absolute; right: -30%; bottom: -5%; z-index: 2; margin: 0; padding: 6px 9px 5px; font-size: 20px; color: var(--paper); background: var(--velvet); border: 2px solid var(--paper); white-space: nowrap; }
.tp-spk { position: absolute; z-index: 1; width: 4px; height: 4px; background: var(--paper);
  box-shadow: 4px 0 var(--paper), -4px 0 var(--paper), 0 4px var(--paper), 0 -4px var(--paper); }
.tp-spk.s1 { left: 86%; top: 34%; }
.tp-spk.s2 { left: 96%; top: 62%; }
.tp-spk.s3 { left: 70%; top: 37%; }

/* short phones (375x667): shrink the picture first, never hide the label or the Buy */
@media (max-width: 699px) and (max-height: 700px) {
  .tp { padding-top: 10px; }
  .tp-eye { margin-bottom: 8px; }
  .tp-art { margin-bottom: 8px; }
  .tp-frame { width: 150px; --k: .5; }
  .tp-tag { right: -58%; bottom: 3%; }
  .tp-slip { left: -58%; top: 0; }
  .tp-h1 { margin-bottom: 8px; }
  .tp-punch { font-size: 19px; margin-bottom: 6px; }
  .tp-lot { margin-bottom: 10px; }
  .tp-row { margin-top: 10px; gap: 8px; }
}
/* very narrow phones (320): keep the NOT SELLING. tag inside the screen */
@media (max-width: 359px) {
  .tp-tag { right: -12%; font-size: 18px; }
  .tp-slip { left: -8%; top: 2%; }
}
@media (min-width: 700px) {
  .tp { padding: 32px 0 72px; }
  .tp-more { display: inline; }
  .tp-frame { width: min(440px, 62vw); --k: .85; }
  .tp-tag { right: -4%; bottom: 3%; font-size: 22px; }
  .tp-lot { font-size: 17px; }
  .tp-buy { flex: 0 0 auto; }
  .tp-row { justify-content: center; }
  .tp-row .line-l { flex: 0 0 auto; }
}

/* desktop: copy left (cols 1-6), picture right (cols 7-12), vertically centred */
@media (min-width: 900px) {
  .tp { padding: 48px 0 64px; }
  .tp-in { display: grid; align-items: center; text-align: left; gap: 24px; }
  .tp-copy { display: block; grid-column: 1 / 7; }
  .tp-art { grid-column: 7 / 13; margin: 0; }
  .tp-eye { margin-bottom: 16px; }
  .tp-h1 { margin-bottom: 18px; line-height: .95; white-space: normal; }
  .tp-h1 span { display: block; }
  .tp-punch { font-size: min(clamp(24px, 2.5vw, 36px), calc(var(--h1) * .4)); margin-bottom: 12px; }
  .tp-lot { margin-bottom: 24px; }
  .tp-vl .vlabel { margin: 0; }
  .tp-row { margin-top: 22px; gap: 12px; justify-content: flex-start; }
  .tp-frame { width: min(620px, 46vw, calc(100svh - 64px - 56px)); --k: 1; }
  .tp-slip { left: -3%; top: 3%; }
  .tp-tag { right: 1%; bottom: 3%; font-size: 24px; padding: 7px 11px 6px; }
  .tp-spk { width: 5px; height: 5px; box-shadow: 5px 0 var(--paper), -5px 0 var(--paper), 0 5px var(--paper), 0 -5px var(--paper); }
}

/* motion (only under html.js:not(.rm)) */
html.js:not(.rm) .tp-h1 span { animation: tp-rise .5s ease-out both; }
html.js:not(.rm) .tp-h1 span + span { animation-delay: .08s; }
html.js:not(.rm) .tp-slip .slip { animation: tp-slap .6s .6s cubic-bezier(.2, .8, .2, 1) both; }
html.js:not(.rm) .tp-spk { animation: tp-tw 1.6s steps(2) infinite; }
html.js:not(.rm) .tp-spk.s2 { animation-delay: .5s; }
html.js:not(.rm) .tp-spk.s3 { animation-delay: 1s; }
.tp.off .tp-spk { animation-play-state: paused; }
@keyframes tp-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes tp-slap { from { opacity: 0; transform: rotate(-4deg) scale(1.08); } to { opacity: 1; transform: none; } }
@keyframes tp-tw { 0% { opacity: 1; } 100% { opacity: .15; } }

/* ==== s01-02.css ==== */
/* Part A: #lot (lt-), #provenance (pv-), #bids (bd-). Kit classes are used as they are; only prefixed classes here. */

/* ---------- #lot: a catalogue entry page ---------- */
.lt-grid { margin-top: 16px; row-gap: 32px; align-items: center; }
.lt-plate, .lt-copy { grid-column: 1 / -1; }
.lt-plate { width: 100%; max-width: 560px; }
.lt-no { margin-bottom: 20px; }
.lt-lead { margin-top: 28px; max-width: 60ch; }
@media (min-width: 900px) {
  .lt-grid { column-gap: 48px; }
  .lt-plate { grid-column: 1 / span 6; max-width: none; }
  .lt-copy { grid-column: 7 / -1; }
}

/* ---------- #provenance: four numbered plates ---------- */
.pv-lead { max-width: 60ch; }
.pv-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 40px; }
@media (min-width: 900px) { .pv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
.pv-cap { display: flex; align-items: baseline; gap: 12px; color: var(--paper); }
.pv-no { flex: none; min-width: 52px; padding: 12px 0 4px 6px; font: 400 min(28px, calc(var(--h1) * .7))/1 var(--title); letter-spacing: .04em; color: var(--paper); }
/* plate II: the banner files were cropped (black bars removed, 2026-10-07); cover keeps the same 3:2 frame as plates I, III, IV */
.pv-mine img { aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 50%; }
.pv-foot { margin-top: 32px; color: var(--grey); }

/* ---------- #bids: every offer, every no ---------- */
.bd-plate { margin-top: 8px; }
.bd-foot { margin-top: 48px; row-gap: 40px; align-items: center; }
.bd-rows, .bd-end { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .bd-rows { grid-column: 1 / span 7; }
  .bd-end { grid-column: 9 / -1; }
}
.bd-rows { border-top: 1px solid var(--rule); }
.bd-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l n" "o n"; column-gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.bd-lbl { grid-area: l; margin: 0 0 4px; }
.bd-offer { grid-area: o; font: 400 min(clamp(22px, 2.2vw, 26px), calc(var(--h1) * .64))/1.3 var(--serif); }
.bd-no { grid-area: n; justify-self: end; font-size: min(28px, calc(var(--h1) * .72)); color: var(--ice); transform-origin: 50% 50%; }
@media (min-width: 700px) {
  .bd-row { grid-template-columns: 88px minmax(0, 1fr) auto; grid-template-areas: "l o n"; align-items: baseline; padding: 22px 0; }
  .bd-lbl { margin: 0; }
}
.bd-h3 { margin-bottom: 16px; }

/* ---------- motion (only under html.js:not(.rm); all once, no loops) ---------- */
html.js:not(.rm) .lt-row { transition: opacity .45s ease-out, transform .45s ease-out; }
html.js:not(.rm) .lt-entry:not(.lt-in) .lt-row { opacity: 0; transform: translateY(8px); }
html.js:not(.rm) .lt-row:nth-child(2) { transition-delay: .06s; }
html.js:not(.rm) .lt-row:nth-child(3) { transition-delay: .12s; }
html.js:not(.rm) .lt-row:nth-child(4) { transition-delay: .18s; }
html.js:not(.rm) .lt-row:nth-child(5) { transition-delay: .24s; }
html.js:not(.rm) .lt-row:nth-child(6) { transition-delay: .3s; }

html.js:not(.rm) .pv-plate { transition: opacity .6s ease-out, transform .6s ease-out; }
html.js:not(.rm) .pv-grid:not(.pv-in) .pv-plate { opacity: 0; transform: translateY(16px); }
html.js:not(.rm) .pv-plate:nth-child(2) { transition-delay: .09s; }
html.js:not(.rm) .pv-plate:nth-child(3) { transition-delay: .18s; }
html.js:not(.rm) .pv-plate:nth-child(4) { transition-delay: .27s; }

html.js:not(.rm) .bd-rows:not(.bd-in) .bd-no { opacity: 0; transform: scale(.6); }
html.js:not(.rm) .bd-in .bd-no { animation: bd-pop .3s steps(2, end) both; }
html.js:not(.rm) .bd-in .bd-row:nth-child(2) .bd-no { animation-delay: .3s; }
html.js:not(.rm) .bd-in .bd-row:nth-child(3) .bd-no { animation-delay: .6s; }
@keyframes bd-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }

/* ==== s03-04.css ==== */
/* Part B: #care (cr-), #last (ls-), #kit (kt-), footer contents (ft-). Kit classes are used, never restyled. */

/* ---------- #care: the condition report ---------- */
.cr-hd { max-width: 760px; margin-bottom: 40px; }
.cr-g { row-gap: 32px; }
.cr-wide, .cr-half { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .cr-half:nth-child(2) { grid-column: 1 / 7; }
  .cr-half:nth-child(3) { grid-column: 7 / 13; }
}
.cr-entry { max-width: 760px; margin-top: 56px; }
html.js:not(.rm) .cr-rv { opacity: 0; transform: translateY(16px); transition: opacity .7s ease-out, transform .7s ease-out; }
html.js:not(.rm) .cr-rv.cr-in { opacity: 1; transform: none; }
html.js:not(.rm) .cr-half.cr-rv:nth-child(3) { transition-delay: .12s; }

/* ---------- #last: the final notice (full bleed picture, text block on a velvet fade) ---------- */
.ls { position: relative; overflow: hidden; }
.ls-pic { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--velvet); }
.ls-img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.ls-pic::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28%; background: linear-gradient(180deg, rgba(6, 6, 7, 0), var(--velvet)); pointer-events: none; }
.ls-wrap { position: relative; }
.ls-block { max-width: 580px; padding: 8px 0 72px; }
.ls-say { font-size: 22px; color: var(--paper); margin: 0 0 20px; padding-left: 14px; border-left: 3px solid var(--ice); }
.ls-lead { margin-bottom: 28px; }
.ls-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
@media (min-width: 900px) {
  .ls { min-height: 760px; display: flex; align-items: center; }
  .ls-pic { position: absolute; inset: 0; aspect-ratio: auto; }
  .ls-img { object-position: 62% 4%; transform-origin: 62% 12%; }
  .ls-pic::after { top: 0; height: auto; right: auto; width: 72%; background: linear-gradient(90deg, rgba(6, 6, 7, .94) 0%, rgba(6, 6, 7, .86) 42%, rgba(6, 6, 7, .5) 66%, rgba(6, 6, 7, 0) 100%); }
  .ls-block { padding: 112px 0; }
  .ls-say { font-size: 24px; }
}
html.js:not(.rm) .ls-img { transform: scale(1.06); transition: transform 2.4s ease-out; }
html.js:not(.rm) .ls.ls-in .ls-img { transform: none; }

/* ---------- #kit: the press kit ---------- */
.kt-g { row-gap: 48px; align-items: start; }
.kt-hd, .kt-list { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .kt-hd { grid-column: 1 / 6; }
  .kt-list { grid-column: 7 / 13; }
}
.kt-post { margin-top: 4px; }
.kt-ca { margin-top: 32px; }
.kt-list { list-style: none; display: grid; gap: 14px; }
.kt-dl { display: flex; align-items: center; gap: 18px; min-height: 96px; padding: 12px 18px 12px 12px; color: var(--paper); text-decoration: none;
  border: 1px solid rgba(169, 176, 182, .3); background: var(--velvet); transition: border-color .2s; }
.kt-dl:hover { border-color: var(--ice); }
.kt-th { flex: none; width: 112px; height: 72px; overflow: hidden; background: var(--velvet); border: 1px solid rgba(169, 176, 182, .25); }
.kt-th img { width: 100%; height: 100%; object-fit: cover; }
.kt-t { flex: 1; min-width: 0; display: grid; gap: 4px; }
.kt-t b { font: 700 18px/1.25 var(--sans); }
.kt-t span { font-size: 15px; line-height: 1.4; color: var(--silver); }
.kt-ic { color: var(--ice); }
@media (max-width: 459px) { .kt-dl { gap: 14px; } .kt-th { width: 84px; height: 56px; } }

/* ---------- footer contents ---------- */
.ft-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(169, 176, 182, .3); }
.ft-house { font: 400 22px/1.2 var(--title); letter-spacing: .08em; color: var(--paper); }
.ft-sub { margin-top: 6px; font-size: 15px; color: var(--silver); }
.ft-act { display: flex; align-items: center; gap: 12px; }
.ft-links { display: flex; flex-wrap: wrap; gap: 10px; padding: 28px 0; }
.ft-dis { max-width: 760px; color: var(--silver); }
.ft-dis strong { font-weight: 600; color: var(--paper); }

