/* Patina — exchange stylesheet */

:root {
  --paper: #F4F0E6;
  --paper-2: #ECE6D8;
  --paper-3: #E2DAC8;
  --ink: #1A1916;
  --ink-2: #47433B;
  --ink-3: #686256;
  --rule: #D7CEBB;
  --rule-strong: #B8AD96;
  --verdigris: #36655A;
  --verdigris-2: #5C8B7C;
  --bronze: #8A592A;
  --oxblood: #8C3A2D;
  --night: #111613;
  --night-2: #19211D;
  --night-rule: #2C3832;
  --on-night: #ECE5D5;
  --on-night-2: #A5AFA6;
  --on-night-3: #7D877F;

  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Garamond, Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(64px, 9vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--verdigris); }
button { font: inherit; color: inherit; }
::selection { background: var(--verdigris); color: var(--paper); }

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

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

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 14px; font-size: 13px;
}
.skip-link:focus { top: 12px; color: var(--paper); }

/* ---------- layout ---------- */

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; }
.section { padding: var(--section) 0; }
.section + .section:not(.section-rule):not(.dark) { padding-top: 0; }
.section-rule { border-top: 1px solid var(--rule); }

.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }

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

.display, h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.005em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }

.display {
  font-size: clamp(3.2rem, 9vw, 8rem);
  font-weight: 300;
  line-height: .92;
  letter-spacing: -0.02em;
}
.page-title {
  font-size: clamp(2.8rem, 7vw, 5.75rem);
  font-weight: 300;
  line-height: .95;
  letter-spacing: -0.015em;
}
.h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 300; line-height: 1.02; }
.h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 400; line-height: 1.1; }

.lead {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.4;
  font-weight: 400;
  color: var(--ink-2);
  max-width: 38ch;
}
.lead-wide { max-width: 52ch; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow-rule { display: flex; align-items: center; gap: 14px; }
.eyebrow-rule::after { content: ""; flex: 1; height: 1px; background: var(--rule); }

.prose { max-width: 62ch; }
.prose p { margin: 0 0 1.1em; }
.prose-serif p {
  font-family: var(--serif); font-size: clamp(1.2rem, 1.6vw, 1.38rem); line-height: 1.55; color: var(--ink-2);
}
.prose-serif p:first-of-type::first-letter {
  float: left; font-size: 4.6em; line-height: .82; padding: .06em .08em 0 0; color: var(--ink); font-weight: 300;
}
.muted { color: var(--ink-3); }
.small { font-size: 13.5px; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- human view banner ---------- */

.view-banner {
  background: var(--night);
  color: var(--on-night-2);
  font-size: 12.5px;
  letter-spacing: .01em;
}
.view-banner .wrap {
  display: flex; align-items: center; justify-content: center; gap: 6px 16px;
  min-height: 40px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; text-align: center;
}
.view-banner strong { color: var(--on-night); font-weight: 500; }
.view-banner code { font-family: var(--mono); font-size: 11.5px; color: var(--on-night); }
.view-toggle {
  appearance: none; background: none; border: 0; padding: 2px 0; cursor: pointer;
  color: var(--on-night); font-size: 12.5px; font-weight: 500;
  border-bottom: 1px solid rgba(236, 229, 213, .4);
}
.view-toggle:hover { border-bottom-color: var(--on-night); color: #fff; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(244, 240, 230, .92);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.wordmark {
  font-family: var(--serif); font-weight: 500; font-size: 26px; letter-spacing: .32em;
  text-decoration: none; color: var(--ink); padding-left: .32em; margin-left: -.32em; line-height: 1;
  display: inline-flex; align-items: center; gap: 12px;
}
.wordmark:hover { color: var(--ink); }
.wordmark-mark { width: 26px; height: 26px; flex: none; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav a, .nav button.nav-signin {
  font-size: 13.5px; text-decoration: none; color: var(--ink-2); letter-spacing: .01em; white-space: nowrap;
  padding: 6px 0; border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--rule-strong); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.nav button.nav-signin {
  appearance: none; background: none; cursor: pointer; border: 1px solid var(--ink);
  padding: 8px 16px; color: var(--ink); border-radius: 999px; margin-left: 4px;
}
.nav button.nav-signin:hover { background: var(--ink); color: var(--paper); }

.nav-toggle {
  display: none; appearance: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span + span { margin-top: 6px; }
.nav-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; z-index: 39;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav a { font-family: var(--serif); font-size: 26px; padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--ink); }
  .nav a[aria-current="page"] { border-bottom-color: var(--rule); color: var(--verdigris); }
  .nav button.nav-signin { margin: 20px 0 0; padding: 14px 16px; font-size: 14px; }
}

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  appearance: none; cursor: pointer; text-decoration: none;
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .02em;
  padding: 15px 26px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--verdigris); border-color: var(--verdigris); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-ghost[aria-pressed="true"] { background: var(--paper-2); border-color: var(--rule-strong); }
.btn-ghost[aria-pressed="true"]:hover { background: var(--ink); color: var(--paper); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-on-night { background: var(--on-night); color: var(--night); border-color: var(--on-night); }
.btn-on-night:hover { background: #fff; border-color: #fff; color: var(--night); }

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

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-size: 13.5px; font-weight: 500; letter-spacing: .02em; color: var(--ink);
  border-bottom: 1px solid var(--rule-strong); padding-bottom: 3px;
}
.link-arrow::after { content: "\2192"; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--verdigris); border-bottom-color: var(--verdigris); }
.link-arrow:hover::after { transform: translateX(3px); }

.members-note {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: var(--ink-3); padding: 14px 0;
}
.members-note::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--ink-3); flex: none;
}

/* ---------- view-dependent visibility ---------- */

[data-view="human"] .m-only { display: none !important; }
[data-view="member"] .h-only { display: none !important; }

/* Prices. In Human View the figure is withheld. */
.cc { white-space: nowrap; font-variant-numeric: tabular-nums; }
.cc-unit { font-size: .72em; letter-spacing: .08em; margin-left: .3em; color: var(--ink-3); font-weight: 500; }
.cc.is-hidden { position: relative; cursor: help; }
.cc.is-hidden .cc-fig { filter: blur(5px); opacity: .55; user-select: none; }
.cc.is-hidden .cc-unit { filter: none; }

[data-tip] { position: relative; }
[data-tip]::after {
  content: attr(data-tip);
  position: absolute; left: 50%; bottom: calc(100% + 8px);
  transform: translate(-50%, 4px);
  background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .02em; line-height: 1.3;
  white-space: nowrap; padding: 7px 10px; border-radius: 2px;
  opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s var(--ease); z-index: 30;
  filter: none;
}
[data-tip]:hover::after, [data-tip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }

/* ---------- ticker ---------- */

.ticker {
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
  overflow: hidden; position: relative;
  font-family: var(--mono); font-size: 13px; letter-spacing: .01em;
}
.ticker-label {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 0 22px 0 var(--gutter);
  background: linear-gradient(90deg, var(--paper-2) 75%, rgba(236, 230, 216, 0));
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2);
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--verdigris); flex: none;
  box-shadow: 0 0 0 0 rgba(54, 101, 90, .45); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(54, 101, 90, .45); }
  70% { box-shadow: 0 0 0 8px rgba(54, 101, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(54, 101, 90, 0); }
}
.ticker-track { display: flex; width: max-content; animation: ticker 60s linear infinite; padding-left: 140px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; white-space: nowrap; color: var(--ink); }
.ticker-item + .ticker-item, .ticker-group + .ticker-group .ticker-item:first-child { border-left: 1px solid var(--rule); }
.up { color: var(--verdigris); }
.down { color: var(--oxblood); }
.chg { transition: color .4s; font-variant-numeric: tabular-nums; }
.chg.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { background: rgba(54, 101, 90, .14); } 100% { background: transparent; } }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; overflow-x: auto; width: 100%; max-width: 100%; padding-left: 0; }
  .ticker-label { position: static; padding: 10px var(--gutter); }
  .ticker-group { flex: none; }
  .ticker-group[aria-hidden="true"] { display: none; }
  .live-dot { animation: none; }
}

/* ---------- hero ---------- */

.hero { position: relative; padding: clamp(72px, 12vw, 168px) 0 clamp(64px, 9vw, 120px); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1;
  right: -12vw; top: -10%; width: min(820px, 70vw); aspect-ratio: 1;
  background:
    radial-gradient(closest-side at 38% 42%, rgba(92, 139, 124, .30), transparent 70%),
    radial-gradient(closest-side at 64% 58%, rgba(138, 89, 42, .20), transparent 72%),
    radial-gradient(closest-side at 55% 30%, rgba(54, 101, 90, .18), transparent 70%);
  filter: blur(6px);
}
.hero-inner { max-width: 1040px; }
.hero .display { margin: 28px 0 36px; }
.hero .lead { max-width: 34ch; margin: 0 0 44px; }

/* ---------- plates ---------- */

.plate {
  --pad: clamp(14px, 6%, 26px);
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 4 / 5; padding: var(--pad);
  color: #F5EEDF; text-decoration: none; overflow: hidden; isolation: isolate;
  border-radius: 2px;
  background-color: #7b5430;
  box-shadow:
    inset 0 0 0 1px rgba(255, 244, 225, .10),
    inset 0 0 60px rgba(10, 8, 4, .38),
    0 1px 1px rgba(30, 20, 10, .08),
    0 18px 38px -22px rgba(40, 26, 10, .55);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.plate::before {
  content: ""; position: absolute; inset: calc(var(--pad) * .55); z-index: -1;
  border: 1px solid rgba(245, 238, 223, .32);
  box-shadow: inset 0 0 0 1px rgba(10, 8, 4, .12);
  pointer-events: none;
}
.plate::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay; opacity: .55;
}
a.plate:hover { color: #fff; transform: translateY(-4px); box-shadow:
    inset 0 0 0 1px rgba(255, 244, 225, .14),
    inset 0 0 60px rgba(10, 8, 4, .34),
    0 1px 1px rgba(30, 20, 10, .08),
    0 28px 48px -24px rgba(40, 26, 10, .6); }

.plate-top, .plate-bottom {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(245, 238, 223, .82); padding: calc(var(--pad) * .5); white-space: nowrap;
}
.plate-body { text-align: center; padding: 0 calc(var(--pad) * .4); }
.plate-name {
  display: block; font-family: var(--serif); font-weight: 500; line-height: 1.02;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem); letter-spacing: .005em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .32), 0 0 18px rgba(0, 0, 0, .2);
  text-wrap: balance;
}
.plate-rule { display: block; width: 36px; height: 1px; margin: 14px auto; background: rgba(245, 238, 223, .55); }
.plate-meta {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .28);
}
.plate-tier { font-family: var(--serif); font-style: italic; font-size: 15px; letter-spacing: .02em; text-transform: none; font-weight: 500; }

.plate-lg .plate-name { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.plate-lg .plate-top, .plate-lg .plate-bottom { font-size: 11.5px; }
.plate-lg .plate-meta { font-size: 12px; }
.plate-lg .plate-tier { font-size: 18px; }

.plate-sm { --pad: 12px; }
.plate-sm .plate-name { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
.plate-sm .plate-top, .plate-sm .plate-bottom { font-size: 9.5px; letter-spacing: .16em; }
.plate-sm .plate-meta { font-size: 9.5px; letter-spacing: .18em; }
.plate-sm .plate-rule { margin: 10px auto; width: 24px; }

.swatch {
  display: inline-block; width: 44px; height: 56px; flex: none; border-radius: 1px;
  box-shadow: inset 0 0 0 1px rgba(255, 244, 225, .1), inset 0 0 14px rgba(10, 8, 4, .4);
  position: relative; overflow: hidden;
}
.swatch::before { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(245, 238, 223, .3); }

/* ---------- featured auction ---------- */

.featured { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.featured-plate { max-width: 460px; width: 100%; }
.featured h2 { margin: 16px 0 10px; }
.featured-sub { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--ink-2); margin: 0 0 6px; }
.featured-tier { font-size: 14px; color: var(--ink-3); margin: 0 0 36px; }
@media (max-width: 820px) {
  .featured { grid-template-columns: 1fr; }
  .featured-plate { max-width: 360px; }
}

.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: 32px; }
.stat { padding: 20px clamp(18px, 3vw, 40px) 20px 0; }
.stat + .stat { padding-left: clamp(18px, 3vw, 40px); border-left: 1px solid var(--rule); }
.stat-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.stat-value { display: block; font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.1; font-variant-numeric: tabular-nums lining-nums; }
.stat-value .cc-unit { font-family: var(--sans); font-size: 12px; }
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--rule); }
  .stat:nth-child(2) { border-left: 0; padding-left: 0; }
}

/* ---------- why patina ---------- */

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.pillar { padding: 32px clamp(20px, 3vw, 44px) 8px 0; }
.pillar + .pillar { padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid var(--rule); }
.pillar-num { font-family: var(--serif); font-size: 15px; color: var(--ink-3); font-style: italic; }
.pillar h3 { font-style: italic; font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin: 18px 0 14px; }
.pillar p { margin: 0; color: var(--ink-2); max-width: 34ch; }
@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--rule); }
}

/* ---------- section head ---------- */

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.section-head .h2 { margin-top: 14px; }
.section-head p { margin: 14px 0 0; color: var(--ink-2); max-width: 52ch; }

/* ---------- results list ---------- */

.results { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.results li { border-bottom: 1px solid var(--rule); }
.result {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px;
  padding: 18px 0; text-decoration: none;
}
.result:hover { color: inherit; }
.result:hover .result-name { color: var(--verdigris); }
.result-name { font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.15; transition: color .2s; }
.result-meta { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }
.result-price { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.6rem); text-align: right; }
.result-price .cc-unit { font-family: var(--sans); font-size: 11px; }
.result-label { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; text-align: right; }
@media (max-width: 560px) {
  .result { grid-template-columns: 48px minmax(0, 1fr); gap: 12px 16px; }
  .result .swatch { width: 48px; }
  .result-price { grid-column: 2; text-align: left; }
  .result-label { text-align: left; }
}

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

.closing { text-align: center; padding: clamp(96px, 14vw, 200px) 0; }
.closing p {
  font-family: var(--serif); font-weight: 300; font-style: italic; margin: 0 auto;
  font-size: clamp(2.2rem, 5.6vw, 4.8rem); line-height: 1.04; max-width: 16ch; text-wrap: balance;
}
.closing-ornament { display: block; margin: 0 auto 36px; width: 1px; height: 64px; background: var(--rule-strong); }

/* ---------- page header ---------- */

.page-head { padding: clamp(64px, 10vw, 136px) 0 clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--rule); }
.page-head .page-title { margin: 22px 0 30px; max-width: 17ch; }
.page-head .lead { max-width: 44ch; margin: 0; }

.crumbs { font-size: 12.5px; color: var(--ink-3); letter-spacing: .02em; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { color: var(--rule-strong); }

/* ---------- collections ---------- */

.genesis-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.genesis-grid .card-plate:first-child { grid-column: span 2; grid-row: span 2; }
.genesis-grid .card-plate:first-child .plate { aspect-ratio: auto; flex: 1; min-height: 360px; }
.card-plate { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.card-plate:hover { color: inherit; }
.card-plate:hover .plate { transform: translateY(-4px); box-shadow:
    inset 0 0 0 1px rgba(255, 244, 225, .14),
    inset 0 0 60px rgba(10, 8, 4, .34),
    0 1px 1px rgba(30, 20, 10, .08),
    0 28px 48px -24px rgba(40, 26, 10, .6); }
.card-plate:hover .card-designation { color: var(--verdigris); }
.card-caption { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.card-caption .eyebrow { font-size: 10.5px; }
.card-designation { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink-2); line-height: 1.25; }
@media (max-width: 1020px) { .genesis-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .genesis-grid .card-plate:first-child { grid-column: span 3; grid-row: auto; } .genesis-grid .card-plate:first-child .plate { aspect-ratio: 16 / 9; } }
@media (max-width: 640px) { .genesis-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .genesis-grid .card-plate:first-child { grid-column: span 2; } .genesis-grid .card-plate:first-child .plate { aspect-ratio: 4 / 5; } }

.toolbar {
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule);
  padding: 14px 0; margin-bottom: 8px;
}
.toolbar-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.toolbar-row + .toolbar-row { margin-top: 10px; }
.toolbar-spacer { flex: 1; }
.toolbar-label { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }

.control { position: relative; display: inline-flex; align-items: center; }
.select, .input {
  appearance: none; -webkit-appearance: none;
  font: inherit; font-size: 13.5px; color: var(--ink);
  background: transparent; border: 1px solid var(--rule-strong); border-radius: 999px;
  padding: 9px 34px 9px 16px; min-height: 40px; cursor: pointer;
  transition: border-color .2s;
}
.select:hover, .input:hover { border-color: var(--ink); }
.control-select::after {
  content: ""; position: absolute; right: 15px; top: 50%; width: 6px; height: 6px; margin-top: -5px;
  border-right: 1px solid var(--ink-2); border-bottom: 1px solid var(--ink-2); transform: rotate(45deg); pointer-events: none;
}
.input { padding-right: 16px; cursor: text; min-width: 0; }
.input-search { width: 220px; }
.input::placeholder { color: var(--ink-3); }
.select:disabled { opacity: .45; cursor: not-allowed; }
.select option { color: var(--ink); background: var(--paper); }

.chip {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none;
  font-size: 13.5px; color: var(--ink-2);
  border: 1px solid var(--rule-strong); border-radius: 999px; padding: 9px 16px; min-height: 40px;
  transition: background .2s, color .2s, border-color .2s;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip:has(input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip:has(input:focus-visible) { outline: 2px solid var(--verdigris); outline-offset: 2px; }

.seg { display: inline-flex; border: 1px solid var(--rule-strong); border-radius: 999px; padding: 3px; }
.seg button {
  appearance: none; border: 0; background: none; cursor: pointer; border-radius: 999px;
  font-size: 12.5px; letter-spacing: .04em; padding: 7px 14px; color: var(--ink-2);
}
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.result-count { font-size: 13px; color: var(--ink-3); }

@media (max-width: 720px) {
  .input-search { width: 100%; }
  .toolbar-row .control { flex: 1 1 calc(50% - 10px); }
  .toolbar-row .control .select { width: 100%; }
  .toolbar-row .control-search { flex-basis: 100%; }
}

/* catalogue index */
.index { width: 100%; border-collapse: collapse; }
.index th {
  text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
  padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); white-space: nowrap;
}
.index td { padding: 0; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.index td > a, .index td > span.cell { display: block; padding: 16px 16px 16px 0; text-decoration: none; }
.index tr:hover td { background: rgba(226, 218, 200, .35); }
.index tr:hover .index-name { color: var(--verdigris); }
.index .num { text-align: right; }
.index th.num { padding-right: 0; }
.index td.num > a { padding-right: 0; }
.index-lot { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.index-name { font-family: var(--serif); font-size: 1.32rem; line-height: 1.2; transition: color .15s; }
.index-plat { font-size: 14px; color: var(--ink-2); }
.index-year { font-variant-numeric: tabular-nums; font-size: 14px; color: var(--ink-2); }
.index-price { font-family: var(--serif); font-size: 1.2rem; }
.index-price .cc-unit { font-family: var(--sans); font-size: 10.5px; }
.index th.c-status-h, .index td.c-status > span.cell { padding-left: 36px; }

.status-tag {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
}
.status-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rule-strong); flex: none; }
.status-tag.is-available { color: var(--verdigris); }
.status-tag.is-available::before { background: var(--verdigris); }
.status-tag.is-live { color: var(--oxblood); }
.status-tag.is-live::before { background: var(--oxblood); animation: blink 1.6s infinite; }
.status-tag.is-sold::before { background: var(--bronze); }
.status-tag.is-mine { color: var(--bronze); }
.status-tag.is-mine::before { background: var(--bronze); }
@keyframes blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .status-tag.is-live::before { animation: none; } }

@media (max-width: 760px) {
  .index thead { display: none; }
  .index, .index tbody, .index tr { display: block; }
  .index tr { position: relative; border-bottom: 1px solid var(--rule); }
  .index td { display: none; border: 0; }
  .index td.c-name { display: block; }
  .index td.c-name > a { padding: 16px 128px 16px 0; }
  .index td.c-status { display: block; position: absolute; right: 0; top: 14px; }
  .index td.c-status > span.cell { padding: 0; text-align: right; }
  .index td.c-price { display: block; position: absolute; right: 0; bottom: 14px; }
  .index td.c-price > a { padding: 0; }
  .index-sub { display: block !important; }
}
.index-sub { display: none; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }

.plates-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: clamp(14px, 2vw, 24px); padding-top: 24px; }
.plates-grid .card-caption { font-size: 13px; color: var(--ink-3); }

.empty {
  padding: clamp(64px, 10vw, 120px) 0; text-align: center;
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 300; color: var(--ink-2);
}
.empty small { display: block; margin-top: 18px; font-family: var(--sans); font-size: 13px; }

/* ---------- listing ---------- */

.lot-head { padding: clamp(32px, 5vw, 56px) 0 clamp(40px, 5vw, 64px); }
.lot-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; margin-top: clamp(28px, 4vw, 48px); }
.lot-plate { position: sticky; top: 104px; }
.lot-title { font-size: clamp(3rem, 6.4vw, 5.6rem); font-weight: 300; line-height: .95; letter-spacing: -0.015em; margin: 0 0 14px; }
.lot-sub { font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.8rem); color: var(--ink-2); margin: 0; }
.lot-series { margin: 10px 0 0; font-size: 13.5px; letter-spacing: .04em; color: var(--ink-3); }

.status-line {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  margin: 32px 0 0; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  font-size: 13.5px; color: var(--ink-2);
}
.status-line > span + span::before { content: "\00b7"; margin-right: 14px; color: var(--rule-strong); }
.status-line .status-tag { font-size: 11.5px; }

.panel { margin-top: 28px; }
.panel dl { margin: 0 0 28px; display: grid; grid-template-columns: 1fr auto; }
.panel dt, .panel dd { padding: 14px 0; border-bottom: 1px solid var(--rule); margin: 0; display: flex; align-items: center; }
.panel dt { font-size: 13.5px; color: var(--ink-2); }
.panel dd { justify-content: flex-end; text-align: right; font-variant-numeric: tabular-nums; font-size: 14.5px; }
.panel dd.big { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; }
.panel dd.big .cc-unit { font-family: var(--sans); font-size: 12px; }
.panel .btn-row .btn { flex: 1 1 200px; }
.panel-note { margin: 18px 0 0; font-size: 13.5px; color: var(--ink-3); }

.lot-body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); }
.lot-body > * { min-width: 0; }
.lot-essay p {
  font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.45; color: var(--ink-2); margin: 18px 0 0; max-width: 34ch;
}
.block + .block { margin-top: clamp(48px, 6vw, 80px); }
.block-title { margin-bottom: 18px; }

.spec { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec th, .spec td { padding: 14px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.spec thead th { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); border-bottom-color: var(--ink); }
.spec tbody th { font-weight: 400; color: var(--ink-2); width: 44%; padding-right: 20px; }
.spec td.r { text-align: right; }
.spec .mono { font-family: var(--mono); font-size: 13px; }

@media (max-width: 900px) {
  .lot-grid, .lot-body { grid-template-columns: 1fr; }
  .lot-plate { position: static; max-width: 420px; }
}

.code {
  font-family: var(--mono); font-size: 13.5px; line-height: 1.75;
  background: var(--night); color: var(--on-night);
  padding: 22px 24px; border-radius: 2px; overflow-x: auto; white-space: pre; margin: 0;
}
.code .k { color: var(--on-night-3); }
.code .h { color: #D9A86C; }
.code .ph { color: var(--verdigris-2); }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.related .plate-top span:last-child { display: none; }
@media (max-width: 560px) { .related { grid-template-columns: repeat(2, minmax(0, 1fr)); } .related > :nth-child(3) { display: none; } }

.fine-print { font-size: 13.5px; color: var(--ink-3); max-width: 62ch; border-top: 1px solid var(--rule); padding-top: 20px; margin: 0; }

/* ---------- auctions ---------- */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ledger { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 600px; }
.ledger th {
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
  text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--ink); white-space: nowrap;
}
.ledger td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.ledger .num { text-align: right; padding-right: 0; padding-left: 16px; }
.ledger td.num { font-variant-numeric: tabular-nums; }
.ledger .lot-link { text-decoration: none; }
.ledger .lot-link:hover .ledger-name { color: var(--verdigris); }
.ledger-name { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; transition: color .15s; }
.ledger-meta { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-left: 6px; }
.ledger .big { font-family: var(--serif); font-size: 1.35rem; }
.ledger .big .cc-unit { font-family: var(--sans); font-size: 10.5px; }
.ledger tr.is-urgent .countdown { color: var(--oxblood); }

.ledger-cards { display: none; }
@media (max-width: 680px) {
  .ledger-wide { display: none; }
  .ledger-cards { display: block; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
  .ledger-cards li { border-bottom: 1px solid var(--rule); }
  .ledger-cards a { display: block; padding: 18px 0; text-decoration: none; }
  .ledger-cards .ledger-name { display: block; }
  .ledger-cards .ledger-meta { margin: 4px 0 12px; display: block; }
  .ledger-cards .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13.5px; color: var(--ink-2); }
  .ledger-cards .row .big { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
}

.coming { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.coming article { padding: 28px clamp(20px, 3vw, 40px) 8px 0; }
.coming article + article { border-left: 1px solid var(--rule); padding-left: clamp(20px, 3vw, 40px); }
.coming h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); line-height: 1.15; margin: 14px 0 12px; }
.coming p { margin: 0; color: var(--ink-2); }
.coming .link-arrow { margin-top: 18px; }
@media (max-width: 860px) {
  .coming { grid-template-columns: 1fr; }
  .coming article, .coming article + article { border-left: 0; padding: 28px 0; }
  .coming article + article { border-top: 1px solid var(--rule); }
}

.note-box {
  background: var(--paper-2); border-left: 2px solid var(--verdigris); padding: clamp(24px, 3vw, 40px);
}
.note-box p { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.4; margin: 14px 0 0; max-width: 46ch; }

.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); }
.split > * { min-width: 0; }
.split-even { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
@media (max-width: 900px) { .split, .split-even { grid-template-columns: 1fr; } }

/* ---------- context exchange ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); counter-reset: s; }
.steps li { padding: 28px clamp(16px, 2.4vw, 32px) 8px 0; counter-increment: s; }
.steps li + li { border-left: 1px solid var(--rule); padding-left: clamp(16px, 2.4vw, 32px); }
.steps li::before {
  content: counter(s, upper-roman) "."; display: block; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink-3); margin-bottom: 18px;
}
.steps p { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.3; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { border-left: 0; padding-left: 0; }
  .steps li + li { border-top: 1px solid var(--rule); }
}

.dark { background: var(--night); color: var(--on-night); }
.dark .eyebrow { color: var(--on-night-3); }
.dark .h2 { color: var(--on-night); }
.dark .muted, .dark p.muted { color: var(--on-night-2); }
.dark a:hover { color: #fff; }

.scenes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 860px) { .scenes { grid-template-columns: 1fr; } }
.scene { border-top: 1px solid var(--night-rule); padding-top: 22px; }
.scene-title { font-family: var(--serif); font-size: 1.6rem; font-style: italic; margin: 0 0 18px; color: var(--on-night); }
.exchange-msg {
  font-family: var(--mono); font-size: 13px; line-height: 1.75; white-space: pre-wrap; word-break: break-word;
  background: var(--night-2); border: 1px solid var(--night-rule); border-radius: 2px;
  padding: 16px 18px; margin: 0;
  color: var(--on-night);
}
.exchange-msg + .exchange-msg { margin-top: 10px; }
.exchange-msg .k { color: var(--on-night-3); }
.exchange-msg .h { color: #D9A86C; }
.exchange-msg .n { color: #B9D3C8; }
.exchange-msg::before {
  content: "CONTEXT EXCHANGE"; display: block; font-size: 10px; letter-spacing: .2em; color: var(--on-night-3); margin-bottom: 6px;
}

.etiquette { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.etiquette li {
  display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--rule);
  font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.3;
}
.etiquette li span { font-size: 1rem; font-style: italic; color: var(--ink-3); padding-top: .3em; }

/* ---------- provenance ---------- */

.review { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.review li { display: grid; grid-template-columns: 80px minmax(0, 4fr) minmax(0, 7fr); gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.review .n { font-family: var(--serif); font-size: 2.6rem; font-weight: 300; line-height: 1; color: var(--ink-3); }
.review h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.review p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) {
  .review li { grid-template-columns: 52px 1fr; }
  .review li p { grid-column: 2; }
  .review .n { font-size: 2rem; }
}

.look-for { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: clamp(28px, 5vw, 64px); }
.look-for li {
  break-inside: avoid; font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.3;
  padding: 16px 0; border-bottom: 1px solid var(--rule);
}
@media (max-width: 640px) { .look-for { columns: 1; } }

.counter-figure { font-family: var(--serif); font-weight: 300; font-size: clamp(4rem, 12vw, 9.5rem); line-height: .9; letter-spacing: -0.02em; font-variant-numeric: tabular-nums lining-nums; }
.counter-cap { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-2); margin-top: 18px; }

.notice {
  border: 1px solid var(--ink); padding: clamp(24px, 3vw, 36px); position: relative;
}
.notice .eyebrow { position: absolute; top: -9px; left: 22px; background: var(--paper); padding: 0 10px; color: var(--ink); }
.notice p { margin: 0; max-width: 62ch; }
.notice p + p { margin-top: 12px; font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-style: italic; line-height: 1.35; }

.certificate {
  position: relative; background: #FBF8F1; color: var(--ink); padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 30px 60px -36px rgba(40, 26, 10, .45), 0 1px 2px rgba(40, 26, 10, .08);
  border: 1px solid var(--rule);
}
.certificate::before {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  border: 1px solid var(--rule-strong);
  outline: 1px solid var(--rule); outline-offset: -6px;
}
.cert-head { text-align: center; }
.cert-head .eyebrow { color: var(--bronze); }
.cert-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.05; margin: 14px 0 6px; }
.cert-sub { font-family: var(--serif); font-style: italic; color: var(--ink-3); font-size: 1.15rem; }
.cert-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 36px 0 28px; }
.cert-fields div { border-bottom: 1px solid var(--rule); padding: 12px 0; }
.cert-fields dt { font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.cert-fields dd { margin: 4px 0 0; font-family: var(--serif); font-size: 1.35rem; }
.cert-foot { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.cert-sign { font-size: 12px; color: var(--ink-3); border-top: 1px solid var(--ink-2); padding-top: 8px; min-width: 180px; }
.seal { width: 112px; height: 112px; flex: none; color: var(--verdigris); }
@media (max-width: 520px) { .cert-fields { grid-template-columns: 1fr; } .seal { width: 84px; height: 84px; } }

.form-card { border-top: 1px solid var(--ink); padding-top: 28px; }
.form-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.field .input, .field .select { border-radius: 2px; width: 100%; padding: 12px 14px; min-height: 48px; font-size: 15px; }
.field .control { width: 100%; }
.field .select { padding-right: 34px; }
@media (max-width: 760px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .field:first-child { grid-column: 1 / -1; } .form-grid .btn { grid-column: 1 / -1; } }
.form-result {
  margin-top: 18px; min-height: 1.6em; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.5rem); font-style: italic;
}
.form-result.is-reject { color: var(--oxblood); }

/* ---------- about ---------- */

.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.principles div { padding: 28px clamp(20px, 3vw, 40px) 0 0; }
.principles div + div { border-left: 1px solid var(--rule); padding-left: clamp(20px, 3vw, 40px); }
.principles h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-style: italic; margin: 0 0 12px; }
.principles p { margin: 0; color: var(--ink-2); }
@media (max-width: 820px) {
  .principles { grid-template-columns: 1fr; }
  .principles div, .principles div + div { border-left: 0; padding: 24px 0; }
  .principles div + div { border-top: 1px solid var(--rule); }
}

.pull {
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.15;
  border-left: 1px solid var(--ink); padding-left: clamp(20px, 3vw, 36px); margin: 0; max-width: 24ch;
}

/* ---------- faq ---------- */

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 20px; align-items: center;
  padding: 24px 0; font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--verdigris); }
.faq summary::after {
  content: ""; width: 14px; height: 14px; justify-self: end;
  background: linear-gradient(currentColor, currentColor) center / 14px 1px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1px 14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 48px 28px 0; max-width: 64ch; color: var(--ink-2); font-size: 16.5px; }
.faq .answer p { margin: 0; }

/* ---------- simple pages ---------- */

.clauses { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); counter-reset: c; }
.clauses li { counter-increment: c; display: grid; grid-template-columns: 64px minmax(0, 3fr) minmax(0, 6fr); gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.clauses li::before { content: counter(c, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--ink-3); padding-top: .5em; }
.clauses h2 { font-size: clamp(1.4rem, 2vw, 1.7rem); }
.clauses p { margin: 0; color: var(--ink-2); }
.clauses p + p { margin-top: 10px; }
@media (max-width: 760px) { .clauses li { grid-template-columns: 40px 1fr; } .clauses li p, .clauses li .clause-body { grid-column: 2; } }

.status-board { width: 100%; border-collapse: collapse; }
.status-board th, .status-board td { padding: 20px 0; border-bottom: 1px solid var(--rule); text-align: left; }
.status-board th { font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 2vw, 1.5rem); }
.status-board td { text-align: right; }

.not-found { min-height: 60vh; display: flex; align-items: center; padding: var(--section) 0; }
.not-found .page-title { max-width: 16ch; margin: 22px 0 36px; }

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

.site-footer { background: var(--night); color: var(--on-night-2); padding: clamp(64px, 8vw, 104px) 0 36px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--night-rule); }
.footer-mark { font-family: var(--serif); font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 300; line-height: 1; color: var(--on-night); margin: 0; }
.footer-mark em { font-style: italic; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; align-content: start; list-style: none; margin: 0; padding: 0; }
.footer-nav a { color: var(--on-night); text-decoration: none; font-size: 15px; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-status { display: flex; align-items: center; gap: 10px; padding: 24px 0; border-bottom: 1px solid var(--night-rule); flex-wrap: wrap; }
.footer-status a { color: var(--on-night); text-decoration: none; }
.footer-status a:hover { text-decoration: underline; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #6FA592; box-shadow: 0 0 0 3px rgba(111, 165, 146, .18); flex: none; }
.disclaimer { margin: 24px 0 0; font-size: 12px; line-height: 1.6; color: var(--on-night-3); max-width: 90ch; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }
@media (min-width: 1020px) { .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- dialogs & toasts ---------- */

dialog.modal {
  border: 0; padding: 0; background: var(--paper); color: var(--ink);
  width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px);
  box-shadow: 0 40px 80px -30px rgba(10, 10, 8, .55);
  border-radius: 2px;
}
dialog.modal::backdrop { background: rgba(17, 22, 19, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
dialog.modal[open] { animation: modal-in .32s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } }
.modal-inner { padding: clamp(28px, 5vw, 44px); }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; appearance: none; border: 0; background: none; cursor: pointer;
  border-radius: 50%;
}
.modal-close::before, .modal-close::after { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 1px; background: var(--ink); }
.modal-close::before { transform: rotate(45deg); }
.modal-close::after { transform: rotate(-45deg); }
.modal-close:hover { background: var(--paper-2); }
.modal h2 { font-size: clamp(1.9rem, 4vw, 2.4rem); font-weight: 300; margin: 14px 0 8px; }
.modal .modal-sub { font-family: var(--serif); font-size: 1.2rem; color: var(--ink-2); margin: 0 0 24px; }
.modal .panel { margin-top: 0; }
.modal .panel dl { margin-bottom: 22px; }
.modal .field + .field { margin-top: 14px; }
.modal-msg { font-family: var(--serif); font-size: clamp(1.35rem, 3vw, 1.65rem); line-height: 1.35; margin: 22px 0 0; }
.modal-msg.is-error { color: var(--oxblood); font-size: 1.25rem; }
.modal-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.modal-actions .btn { flex: 1 1 160px; }
.field-error { font-size: 13px; color: var(--oxblood); min-height: 1.4em; margin-top: 6px; }
.input-cc { font-family: var(--mono); font-size: 16px !important; letter-spacing: .02em; }

.progress { height: 1px; background: var(--rule); margin: 26px 0 8px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--ink); transition: width 1.6s var(--ease); }

.toasts { position: fixed; z-index: 60; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 10px; width: min(400px, calc(100vw - 32px)); pointer-events: none; }
.toast {
  pointer-events: auto; background: var(--night); color: var(--on-night);
  padding: 18px 20px; border-radius: 2px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
  display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: start;
  animation: toast-in .4s var(--ease);
}
.toast p { margin: 0; font-family: var(--serif); font-size: 1.2rem; line-height: 1.35; }
.toast .eyebrow { color: var(--on-night-3); display: block; margin-bottom: 6px; font-size: 10.5px; }
.toast button { appearance: none; background: none; border: 0; color: var(--on-night-2); cursor: pointer; font-size: 12px; padding: 2px 0; text-decoration: underline; text-underline-offset: 3px; }
.toast.is-leaving { animation: toast-out .3s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(6px); } }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

.mt-0 { margin-top: 0; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: clamp(40px, 5vw, 72px); }

.measure { max-width: 860px; }
.section.dark + .section.section { padding-top: var(--section); }
.split > .code { align-self: center; }

/* hero vitrine */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-vitrine { position: relative; width: 100%; max-width: 480px; justify-self: end; aspect-ratio: 1 / 1.05; }
.hero-vitrine .plate { position: absolute; width: 74%; }
.hero-vitrine .plate:nth-child(1) { left: 22%; top: 0; z-index: 1; }
.hero-vitrine .plate:nth-child(2) { left: 11%; top: 8%; z-index: 2; }
.hero-vitrine .plate:nth-child(3) { left: 0; top: 16%; z-index: 3; }
.hero-vitrine .plate:nth-child(-n+2) > span { visibility: hidden; }
.hero-vitrine .plate .plate-name { font-size: clamp(1.8rem, 2.8vw, 2.6rem); }
@media (max-width: 1020px) { .hero .wrap { grid-template-columns: 1fr; } .hero-vitrine { display: none; } }
