:root {
  --art-size: 480px; /* ARTIFACTS, wherever it is featured: the home card, the drop hero, THE SOURCE */
  --cream: #ECEADF;
  --ink: #141414;
  --ink-2: #2B2B28;
  --ink-3: #3A3A36;
  --blue: #4B5BD6;
  --orange: #E8643A;
  --pink: #D9468F;
  --olive: #C7B85A;
  --lavender: #8E86E0;
  --code-text: #F1EFE6;
  --code-comment: #A5A8F5;
  --code-value: #F49A6E;
  --grid-line: rgba(20, 20, 20, 0.07);
  --display: 'Archivo', 'Arial Black', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --pad: clamp(16px, 3vw, 40px);
  --max: 1440px;
  --glow:
    radial-gradient(70% 60% at 28% 108%, #E8643A 0%, #D9468F 22%, #8E86E0 48%, rgba(142, 134, 224, 0) 72%),
    radial-gradient(60% 55% at 88% 110%, #C7B85A 0%, #8E86E0 38%, rgba(142, 134, 224, 0) 66%),
    linear-gradient(180deg, #F1F0F6 0%, #F4E9EA 100%);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.6;
}
img { max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--cream);
}
.skip:focus { top: 12px; color: var(--cream); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.paper {
  background-color: var(--cream);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 24px 24px;
  padding-bottom: 112px;
}
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.display {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: -0.01em;
}

/* Header */
.site-header { border-bottom: 2px solid var(--ink); background: var(--cream); }
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 14px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand-name {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 32px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav a { text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"] { border-bottom-color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: 600 14px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { color: var(--ink); background: rgba(20, 20, 20, 0.06); }
.btn-solid { background: var(--ink); color: var(--cream); }
.btn-solid:hover { background: #2E2E2C; color: var(--cream); }
.btn-cream { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn-cream:hover { background: #FFFFFF; color: var(--ink); }
.btn-sm { min-height: 46px; font-size: 13px; letter-spacing: 0.14em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { padding-block: 64px 48px; }
.eyebrow {
  margin: 0 0 28px;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.hero-title { margin: 0; font-size: clamp(56px, 10.5vw, 152px); }
.hero-title span { display: block; }


.hero-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 32px 48px;
  margin-top: 56px;
}
.label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.thesis-line {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.lede { margin: 0; color: var(--ink-2); line-height: 1.7; }

/* Sections */
.section { padding-top: 96px; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 40px;
}
.section-num { font-size: 13px; color: var(--ink-2); align-self: flex-end; padding-bottom: 4px; }
.section-title {
  margin: 0;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
}
.section-meta { margin-left: auto; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }

/* How the house works */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 2px;
  border: 2px solid var(--ink);
  background: var(--ink);
}
.pillar { padding: 32px; background: var(--cream); }
.pillar-kicker { margin: 0 0 14px; font-size: 12px; letter-spacing: 0.2em; color: var(--ink-2); text-transform: uppercase; }
.pillar h3 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(20px, 1.9vw, 24px);
  line-height: 1.15;
}
.pillar p:last-child { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.7; }

/* Code blocks */
.code {
  margin: 0;
  padding: 32px;
  overflow-x: auto;
  background: var(--ink);
  color: var(--code-text);
  font: 15px/1.7 var(--mono);
  white-space: pre;
}
.code .c { color: var(--code-comment); }
.code .v { color: var(--code-value); }

/* Submit band */
.submit-band {
  margin-top: 96px;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  background: var(--ink);
  color: var(--cream);
}
.submit-band .eyebrow { color: #C9C7BC; margin-bottom: 8px; }
.submit-title { margin: 0 0 16px; font-size: clamp(34px, 4.6vw, 60px); line-height: 0.95; }
.submit-band p:last-child { margin: 0; max-width: 640px; line-height: 1.7; }

/* Footer */
.footer-bar { background: var(--ink); color: var(--cream); }
.footer-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 28px;
  font-size: 13px;
}
.footer-bar a:hover { color: #C9C7FF; }

/* Piece page */
.piece { padding-top: 32px; }
.crumbs {
  margin: 0 0 40px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.crumbs span { color: var(--ink-2); }
.piece-grid { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 48px 64px; }
.piece-art { flex: 1 1 480px; min-width: 0; max-width: 780px; }
.piece-art .art-card { box-shadow: 12px 12px 0 var(--ink); }
.piece-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 28px 0 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-2);
  text-transform: uppercase;
}
.piece-info { flex: 1 1 340px; min-width: 0; max-width: 420px; }
.kicker { margin: 0 0 10px; font-size: 13px; letter-spacing: 0.18em; color: var(--ink-2); text-transform: uppercase; }
.piece-title { margin: 0 0 8px; font-size: clamp(40px, 4.4vw, 60px); line-height: 0.95; }
.byline { margin: 0 0 24px; }
.statement { margin: 0 0 32px; color: var(--ink-2); line-height: 1.7; }
.facts { margin: 0 0 32px; border-top: 1.5px solid var(--ink); }
.facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1.5px solid var(--ink);
  font-size: 14px;
}
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.mint-actions { display: grid; gap: 10px; }
.mint-btn { width: 100%; min-height: 56px; font-size: 15px; }
/* How many editions: one press, 1 to the wallet's allowance */
.qty { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: -12px 0 16px; }
.qty-label { font-size: 14px; color: var(--ink-2); }
.qty-opts { display: grid; grid-template-columns: repeat(5, 44px); border: 2px solid var(--ink); }
.qty-opts button {
  height: 42px;
  padding: 0;
  border: 0;
  border-left: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.qty-opts button:first-child { border-left: 0; }
.qty-opts button:hover:not(:disabled) { background: rgba(20, 20, 20, 0.06); }
.qty-opts button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.qty-opts button:disabled { color: var(--ink-3); opacity: 0.35; cursor: not-allowed; }
.qty-opts button:focus-visible { outline: 2px solid var(--blue); outline-offset: -4px; }
.mint-note { margin: 2px 0 0; font-size: 12px; color: var(--ink-2); }
.mint-message { min-height: 1.6em; margin: 14px 0 0; font-size: 13px; line-height: 1.6; }
.mint-message[data-tone="error"] { color: #A3271C; }
.mint-message[data-tone="ok"] { font-weight: 600; }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.status.sold::before { background: var(--ink-2); }
.status.pending::before { background: var(--olive); }
[hidden] { display: none !important; }
.broker-note { margin-top: 24px; padding: 18px 20px; border: 2px dashed var(--ink); font-size: 13px; line-height: 1.6; }
.broker-note p { margin: 0; }
.broker-note p:first-child { margin-bottom: 6px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.piece-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: 13px; }

/* Agents page */
.agents-hero { padding-block: 64px 48px; }
.agents-hero .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; }
.agents-hero-text { flex: 1 1 560px; min-width: 0; }
.agents-hero .lede { max-width: 600px; margin-top: 40px; font-size: 16px; }
.steps { border-top: 2px solid var(--ink); }
.step {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px 64px;
  padding-block: 48px;
  border-bottom: 2px solid var(--ink);
}
.step:last-child { border-bottom: 0; }
.step-text { flex: 1 1 300px; min-width: 0; }
.step-num { display: block; margin-bottom: 8px; font-size: 13px; color: var(--ink-2); }
.step-text h2 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.1;
}
.step-text p { margin: 0 0 24px; color: var(--ink-2); line-height: 1.7; }
.step-body { flex: 1.8 1 480px; min-width: 0; }
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 2px;
  border: 2px solid var(--ink);
  background: var(--ink);
}
.stat { min-height: 220px; padding: 28px 24px; background: var(--cream); }
.stat-label { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.18em; color: var(--ink-2); text-transform: uppercase; }
.stat-value {
  margin: 0 0 6px;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(32px, 3.2vw, 44px);
  line-height: 1;
}
.stat-note { margin: 0; font-size: 13px; color: var(--ink-2); }

/* Drop page: the house layout every drop shares (drops/<slug>.html) */
.drop { padding-top: 32px; }
.drop-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px 72px; align-items: start; }
.drop-head { margin-bottom: 40px; }
.drop-title { margin: 0; font-size: clamp(48px, 11.5vw, 156px); overflow-wrap: anywhere; }
.drop-intro .thesis-line { margin-bottom: 14px; }
.drop-intro .lede { max-width: 560px; }
.box-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 2px solid var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.box-body { padding: 4px 18px 20px; }
.box-body .facts { margin: 0 0 18px; border-top: 0; }
.live { display: inline-flex; align-items: center; gap: 8px; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #B8B5A8; }
.live.on::before { background: #2F7D4F; }
.ready { margin: 16px 0 0; padding: 0; list-style: none; font-size: 12px; color: var(--ink-2); }
.ready li { display: flex; gap: 10px; padding: 3px 0; }
.ready li::before { content: "○"; width: 1em; flex: none; }
.ready li.done { color: var(--ink); }
.ready li.done::before { content: "✓"; color: #2F7D4F; }
.drop-art { justify-self: end; width: min(var(--art-size), 100%); margin: 0; }

/* The drop's phases, in sale order (Artifacts: 1 THE SOURCE's auction, 2 the editions) */
.phases { display: grid; gap: 20px; max-width: 520px; margin: 36px 0 0; padding: 0; list-style: none; }
.phase { border: 2px solid var(--ink); background: var(--cream); }
.phase.active { box-shadow: 12px 12px 0 var(--ink); }
.phase.upcoming .box-body, .phase.done .box-body { display: none; }
.phase.upcoming .box-head, .phase.done .box-head { border-bottom: 0; color: var(--ink-2); }
.phase-summary { margin: 0; padding: 0 18px 14px; font-size: 13px; color: var(--ink-2); }
.phase.active .phase-summary, .phase-summary:empty { display: none; }
.phase-actions { margin-top: 14px; }
.phase-next { padding: 0 18px 16px; border-top: 1.5px solid var(--ink); padding-top: 14px; }
.phase-next[hidden] { display: none; }
.phase-next p { margin: 0 0 12px; font-size: 13px; line-height: 1.6; }
.phase-actions:empty { display: none; }
.phase .bid-row { margin: 0 0 8px; }
.bids-title { margin: 32px 0 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.bids { margin: 0; padding: 0; list-style: none; border-top: 1.5px solid var(--ink); }
.bids li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; padding: 10px 0; border-bottom: 1.5px solid var(--ink); font-size: 13px; }
.bids li.top span:first-child { font-weight: 600; }
.bids li.bids-empty { display: block; color: var(--ink-2); }

/* A drop's own art identity inside the house layout. Artifacts: its OS-window frame and the sealed prism. */
.aw { background: #FFFFFF; border: 2px solid var(--ink); box-shadow: 12px 12px 0 var(--ink); font-size: 11px; letter-spacing: 0.06em; }
.aw-tb, .aw-sb { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; }
.aw-tb { border-bottom: 2px solid var(--ink); }
.aw-sb { border-top: 2px solid var(--ink); font-size: 10.5px; color: var(--ink-2); }
.aw-sb b { color: var(--ink); }
.aw-menu { display: flex; gap: 14px; padding: 6px 12px; border-bottom: 1px solid rgba(20, 20, 20, 0.15); }
.aw-sp { flex: 1; }
.aw-mu { color: var(--ink-2); }
.aw-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 1 / 1;
  background: conic-gradient(from 210deg, #E8506E, #F0A53A, #F2E04A, #7EC850, #49C0D8, #4A6FF0, #8A4BE0, #D84BB0, #E8506E);
  color: #FFFFFF;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
  animation: aw-spin 26s linear infinite;
}
.aw-seal.flat { background: #EFEDE4; color: #BDB9AB; text-shadow: none; animation: none; }
.aw-seal svg { width: 44px; height: 44px; }
.aw-seal span { font-size: 11px; letter-spacing: 0.34em; }
@keyframes aw-spin { to { filter: hue-rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .aw-seal { animation: none; } }

/* The drop's collection */
.section-lede { max-width: 640px; margin-bottom: 24px; }
/* The idea: the artist's thesis, set large, with how the work enacts it beside it */
.art-frame-wrap { position: relative; width: 100%; max-width: 1080px; margin: 0 auto; }
.art-img { display: block; width: 100%; height: auto; }
.art-drawing { margin: 0; padding: 48px 0; font-size: 13px; color: var(--ink-2); text-align: center; }
.art-drawing[hidden] { display: none; }
/* the revealed SOURCE in the hero: just the art, with the drop card's shadow */
.hero-art { margin: 0; }
.hero-art img { display: block; width: 100%; height: auto; box-shadow: 12px 12px 0 var(--ink); }
.hero-art figcaption { margin-top: 20px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.caption-acts { display: inline-flex; align-items: center; gap: 14px; }
/* Market: resale through each piece's own escrow */
.market-lede { max-width: 720px; }
.market-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0 0 8px; padding: 0; list-style: none; border: 2px solid var(--ink); background: var(--cream); }
.market-steps li { display: grid; gap: 6px; padding: 16px 18px; border-left: 2px solid var(--ink); font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.market-steps li:first-child { border-left: 0; }
.market-steps b { color: var(--ink); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.market-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 36px 28px; }
.mk-card { display: grid; gap: 16px; align-content: start; }
.aw-mini { box-shadow: 8px 8px 0 var(--ink); }
.aw-mini .aw-seal { aspect-ratio: 4 / 3; }
.mk-art { aspect-ratio: 1; background: #fff; }
.mk-art iframe { display: block; width: 100%; height: 100%; border: 0; }
.mk-strip { height: 8px; border-top: 2px solid var(--ink); }
.mk-body { display: grid; gap: 8px; justify-items: start; }
.mk-price { margin: 0; font-size: 18px; font-weight: 600; }
.mk-state { margin: 0; font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.mk-contract { margin: 4px 0 0; font-size: 12px; color: var(--ink-2); }
.mk-list { display: flex; gap: 8px; width: 100%; }
.mk-list .handover-input { flex: 1 1 auto; min-width: 0; min-height: 38px; }
@media (max-width: 760px) {
  .market-steps { grid-template-columns: minmax(0, 1fr); }
  .market-steps li { border-left: 0; border-top: 2px solid var(--ink); }
  .market-steps li:first-child { border-top: 0; }
}
.market-note { margin-top: 22px; }
.source-note { margin: 0 0 12px; max-width: 520px; line-height: 1.6; }
.source-note:empty { display: none; }
.revealed.private figcaption { align-items: center; }
.idea { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.idea-quote { margin: 0; }
.idea-quote blockquote { margin: 0; padding-left: 24px; border-left: 4px solid var(--ink); }
.idea-quote p {
  margin: 0;
  font-family: var(--display);
  font-stretch: 100%;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.idea-quote figcaption { margin: 18px 0 0 28px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2); }
.idea-quote figcaption::before { content: "— "; }
.idea-body .lede + .lede { margin-top: 14px; }
.docs-quote { margin: 8px 0 24px; }
.docs-quote p { font-size: clamp(22px, 2.4vw, 30px); }
@media (max-width: 760px) {
  .idea { grid-template-columns: minmax(0, 1fr); }
  .idea-quote blockquote { padding-left: 16px; }
  .idea-quote figcaption { margin-left: 20px; }
}
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.filters select {
  min-height: 42px;
  padding: 0 12px;
  border: 2px solid var(--ink);
  background: #F7F6F0;
  color: var(--ink);
  font: 12px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.filter-count { font-size: 12px; letter-spacing: 0.14em; color: var(--ink-2); }
.archive { display: grid; grid-template-columns: repeat(16, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
.archive .cell {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1.5px solid rgba(20, 20, 20, 0.22);
  background: #F4F2E9;
  transition: transform 0.12s, border-color 0.12s;
}
.archive .cell:hover { border-color: var(--ink); transform: translateY(-1px); }
.archive .n { position: absolute; inset: 0 0 6px; display: flex; align-items: center; justify-content: center; font-size: 9px; color: #A9A597; }
.archive .strip { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; }
.archive .master { border: 2px solid var(--ink); background: conic-gradient(from 200deg, #E8506E, #F0A53A, #F2E04A, #7EC850, #49C0D8, #4A6FF0, #8A4BE0, #D84BB0, #E8506E); }
.archive .master a { position: absolute; inset: 0; text-decoration: none; }
.archive .master .n { inset: 0; color: #FFFFFF; font-size: 12px; }
.archive .dim { opacity: 0.18; }
.archive .cell-btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; }
.archive .cell-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
/* one piece, opened from the collection */
.piece-panel { width: min(820px, calc(100vw - 32px)); padding: 0; border: 2px solid var(--ink); background: var(--cream); color: var(--ink); box-shadow: 12px 12px 0 var(--ink); }
.piece-panel::backdrop { background: rgba(20, 20, 20, 0.45); }
.pp-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 2px solid var(--ink); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.pp-close { border: 0; background: none; font: inherit; font-size: 15px; cursor: pointer; color: var(--ink); }
.pp-body { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px; padding: 24px; }
.pp-body .aw { box-shadow: 8px 8px 0 var(--ink); }
.pp-body .aw-seal { aspect-ratio: 1 / 1; }
.pp-strip { height: 8px; border-top: 2px solid var(--ink); }
.pp-facts { margin: 0 0 18px; }
.pp-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (max-width: 700px) { .pp-body { grid-template-columns: minmax(0, 1fr); } }
.archive .mine { border: 2px solid #2F7D4F; box-shadow: inset 0 0 0 1px #2F7D4F; }

/* Yours */
.holds { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; }
.hold .aw { box-shadow: 8px 8px 0 var(--ink); }
.hold-act { margin-top: 16px; }
.hold-act .btn { width: 100%; }
.hold-note { margin: 0; font-size: 12px; color: var(--ink-2); }
.ok { color: #2F7D4F; }

/* A drop's auction (Artifacts: THE SOURCE) */
.source-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px 72px; align-items: start; }
.source-grid > div:first-child { max-width: 760px; }
.source-grid .lede { margin-bottom: 24px; }
.source-facts { margin: 0; }
.bid-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.source-actions { margin-top: 16px; }
.source-art { justify-self: end; width: min(var(--art-size), 100%); }
.source-grid.wide { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
/* drawn, THE SOURCE sits beside its text at the hero card's size, with the same shadow */
.source-grid.wide .source-art { justify-self: end; width: min(var(--art-size), 100%); }
.source-art .art-img { box-shadow: 12px 12px 0 var(--ink); }
.revealed { margin: 0; }
.art-full { display: block; width: 100%; height: auto; border: 2px solid var(--ink); background: #FFFFFF; box-shadow: 12px 12px 0 var(--ink); }

/* Home: the house beside the drop that's on now, then the list of drops */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, var(--art-size));
  align-items: center;
  gap: 40px 64px;
  padding-block: 48px 24px;
}
.home-hero .hero-title { font-size: clamp(52px, 7.6vw, 124px); margin-bottom: 28px; }
.home-hero .eyebrow { margin-bottom: 20px; }
.home-hero .thesis-line { max-width: 560px; margin-bottom: 24px; }
.now { display: block; justify-self: end; width: min(var(--art-size), 100%); color: var(--ink); text-decoration: none; }
.now:hover { color: var(--ink); }
.now-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.now-head > span { white-space: nowrap; }
.now-phase { color: var(--ink-2); }
/* the drop's state at a glance: two figures, phase-aware (home.js) */
.now-stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; border: 2px solid var(--ink); background: var(--cream); }
.now-stat { display: grid; gap: 4px; padding: 10px 14px; min-width: 0; }
.now-stat + .now-stat { border-left: 2px solid var(--ink); }
.now-k { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now-v { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.now-art { display: block; box-shadow: 10px 10px 0 var(--ink); transition: transform 120ms ease, box-shadow 120ms ease; }
.now:hover .now-art { transform: translate(-3px, -3px); box-shadow: 13px 13px 0 var(--ink); }
.now-art .aw-tb, .now-art .aw-seal { display: flex; }
.now-art .aw-seal { aspect-ratio: 5 / 4; }
.now-foot { display: block; margin-top: 22px; }
.now-cta { display: flex; justify-content: center; width: 100%; margin-top: 12px; }
.now-title { display: block; font-size: clamp(30px, 3.2vw, 44px); line-height: 1; }
.now-by { display: block; margin-top: 6px; font-size: 12px; letter-spacing: 0.14em; color: var(--ink-2); text-transform: uppercase; }
.section-tight { padding-top: 64px; }
.drop-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.drop-list a {
  display: grid;
  grid-template-columns: 56px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.2fr) auto;
  align-items: baseline;
  gap: 8px 20px;
  padding: 18px 4px;
  border-bottom: 2px solid var(--ink);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}
.drop-list a:hover { background: rgba(20, 20, 20, 0.04); color: var(--ink); }
.dl-num { color: var(--ink-2); }
.dl-name { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 20px; letter-spacing: 0; }
.dl-artist, .dl-status { color: var(--ink-2); }
.dl-go { font-weight: 600; }
.dl-next a { color: var(--ink-2); }
.dl-next .dl-name { color: var(--ink); }

/* How + proof */
.pillars-4 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.proof-facts { margin: 0; }

@media (max-width: 900px) {
  .home-hero { grid-template-columns: minmax(0, 1fr); }
  .now { justify-self: start; }
  .drop-list a { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .dl-artist, .dl-status { display: none; }
  .drop-hero, .source-grid, .source-grid.wide { grid-template-columns: minmax(0, 1fr); }
  .drop-art, .source-art, .source-grid.wide .source-art { justify-self: start; }
  .archive { grid-template-columns: repeat(8, 1fr); }
}

/* Curator */
.curator { max-width: 1080px; padding-top: 48px; }
.curator-lede { max-width: 640px; }
.curator-h {
  margin: 0 0 10px;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.1;
}
.curator-note { max-width: 640px; margin: 0 0 24px; font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.handover-label { display: block; margin-bottom: 8px; font-size: 12px; letter-spacing: 0.18em; color: var(--ink-2); text-transform: uppercase; }
.handover-row { display: flex; flex-wrap: wrap; gap: 10px; }
.handover-input {
  flex: 1 1 340px;
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  background: #F7F6F0;
  color: var(--ink);
  font: 14px/1 var(--mono);
}
.owners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.owner-row { padding: 24px; border: 2px solid var(--ink); background: var(--cream); }
.owner-head h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.owner-head p { margin: 0 0 16px; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.owner-facts { margin: 0 0 12px; }
.owner-facts dd { overflow-wrap: anywhere; }
.owner-status { margin: 0; font-size: 13px; }
.owner-btn { margin-top: 14px; }
.curator-h-gap { margin-top: 64px; }
.live-steps { margin-bottom: 8px; }
.key-cmd { margin: 6px 0 10px; padding: 14px 16px; font-size: 12px; white-space: pre-wrap; word-break: break-all; }
.k-vk { word-break: break-all; }
.live-inputs { display: flex; flex-wrap: wrap; gap: 12px; margin: 4px 0 2px; }
.live-inputs label { display: grid; gap: 6px; flex: 1 1 160px; font-size: 12px; letter-spacing: 0.12em; color: var(--ink-2); text-transform: uppercase; }
.live-inputs .handover-input { min-height: 42px; }

@media (max-width: 560px) {
  .hero, .agents-hero { padding-top: 40px; }
    .code { padding: 20px; font-size: 13px; }
  .section { padding-top: 72px; }
}
.box-body .mint-message:empty { min-height: 0; margin: 0; }
.claim-gap { margin-top: 20px; }
.claim-box { max-width: 560px; }
.share-text { width: 100%; padding: 12px 14px; border: 2px solid var(--ink); background: #F7F6F0; color: var(--ink); font: 13px/1.6 var(--mono); resize: vertical; }
.share-actions { margin-top: 12px; }

/* Submissions */
.submit-page { padding-top: 48px; }
.submit-lede { max-width: 720px; }
.submit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 40px 72px; align-items: start; margin-top: 32px; }
.submit-step { padding: 20px 0; border-top: 1.5px solid var(--ink); }
.submit-step .step-num { display: block; margin-bottom: 6px; font-size: 12px; color: var(--ink-2); }
.file-input { display: block; width: 100%; padding: 12px; border: 2px dashed var(--ink); background: #F7F6F0; font: 13px var(--mono); cursor: pointer; }
.checks { margin: 12px 0 0; padding: 0; list-style: none; font-size: 13px; }
.checks li { display: flex; gap: 10px; padding: 3px 0; }
.checks li.pass::before { content: "✓"; color: #2F7D4F; }
.checks li.fail { color: #A3271C; }
.checks li.fail::before { content: "✕"; }
.fingerprint { margin: 0; font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
.submit-preview { margin: 0; }
.submit-preview-frame { display: grid; place-items: center; aspect-ratio: 1 / 1; border: 2px solid var(--ink); background: #FFFFFF; box-shadow: 12px 12px 0 var(--ink); color: var(--ink-2); font-size: 13px; }
.submit-preview-frame img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 900px) { .submit-grid { grid-template-columns: minmax(0, 1fr); } }
.sub-row { border-bottom: 2px solid var(--ink); padding: 14px 4px; }
.sub-grid { display: grid; grid-template-columns: 56px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) auto; align-items: baseline; gap: 8px 20px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.sub-grid .sub-hash { font-family: var(--mono); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.sub-actions { margin-top: 10px; }
.drop-list .dl-empty { padding: 18px 4px; border-bottom: 2px solid var(--ink); font-size: 13px; color: var(--ink-2); }
@media (max-width: 900px) { .sub-grid { grid-template-columns: 44px minmax(0, 1fr) auto; } .sub-grid .dl-artist, .sub-grid .dl-status { display: none; } }

/* Docs */
.docs { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 48px 72px; padding-top: 48px; }
.docs-toc { position: sticky; top: 24px; align-self: start; }
.docs-toc ol { margin: 0; padding: 0; list-style: none; border-top: 1.5px solid var(--ink); }
.docs-toc li a { display: block; padding: 9px 0; border-bottom: 1px solid rgba(20, 20, 20, 0.15); font-size: 13px; text-decoration: none; }
.docs-body section { padding-top: 36px; }
.docs-body h2 { margin: 0 0 14px; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
.docs-body p { margin: 0 0 14px; line-height: 1.75; }
.docs-list { margin: 0 0 14px; padding-left: 22px; line-height: 1.75; }
.docs-list li { margin-bottom: 6px; }
.docs-facts { margin: 4px 0 0; }
.docs-table { width: 100%; margin: 6px 0 14px; border-collapse: collapse; font-size: 13px; }
.docs-table th, .docs-table td { padding: 10px 8px; border-bottom: 1.5px solid var(--ink); text-align: left; }
.docs-table thead th { font-size: 11px; letter-spacing: 0.14em; color: var(--ink-2); text-transform: uppercase; font-weight: 600; }
.docs-faq dt { margin-top: 16px; font-weight: 600; }
.docs-faq dd { margin: 6px 0 0; line-height: 1.75; color: var(--ink-2); }
@media (max-width: 900px) { .docs { grid-template-columns: minmax(0, 1fr); } .docs-toc { position: static; } .docs-table { font-size: 12px; } }
.agents-hero { padding-block: 40px 28px; }
.agents-hero .hero-title { font-size: clamp(48px, 7vw, 112px); }
.agents-hero .lede { margin-top: 24px; }
.stat { min-height: 0; padding: 22px 24px; }
.drop-kind { margin: 0; border: 0; border-top: 1.5px solid var(--ink); padding: 20px 0; }
.drop-kind legend { padding: 0; }
.kind-option { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; padding: 14px; border: 2px solid var(--ink); cursor: pointer; font-size: 13px; line-height: 1.6; }
.kind-option input { margin-top: 3px; }
.kind-option b { display: block; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.kind-option:has(input:checked) { background: var(--ink); color: var(--cream); }
.custom-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.custom-grid label { display: grid; gap: 6px; font-size: 12px; letter-spacing: 0.12em; color: var(--ink-2); text-transform: uppercase; }
@media (max-width: 600px) { .custom-grid { grid-template-columns: minmax(0, 1fr); } }
.sub-details { margin-top: 10px; font-size: 13px; }
.sub-details summary { cursor: pointer; color: var(--ink-2); }
.sub-details p { margin: 8px 0 0; line-height: 1.6; white-space: pre-wrap; }
.sub-agent { margin: 10px 0 0; font-size: 13px; }

/* ---------- phones ---------- */
@media (max-width: 640px) {
  .section-meta { margin-left: 0; }
  /* header: the brand and Connect share a row; the four links sit on one row beneath, never wrapping */
  .site-header .wrap { position: relative; gap: 10px 0; padding-block: 12px 8px; }
  .brand { gap: 10px; }
  .brand-mark { width: 30px; height: 30px; font-size: 12px; }
  .brand-name { font-size: 17px; }
  .nav { width: 100%; flex-wrap: nowrap; justify-content: space-between; gap: 0 12px; font-size: 11.5px; letter-spacing: 0.1em; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
  .nav [data-connect] { position: absolute; top: 10px; right: 16px; min-height: 34px; padding: 6px 12px; font-size: 11px; }
  /* the drop's name always fits on one line ("ARTIFACTS" sets at 7.43em in the display face) */
  .drop-title { font-size: 11.5vw; overflow-wrap: normal; }
  /* the mint box: the button's label and "How many" stay on one line */
  .mint-btn { font-size: 13px; letter-spacing: 0.08em; padding-inline: 10px; }
  .qty { gap: 10px; }
  .qty-label { white-space: nowrap; font-size: 13px; }
  .qty-opts { grid-template-columns: repeat(5, 40px); }
  .qty-opts button { height: 40px; }
  .facts div { font-size: 13px; }
  /* box headers: the step on the left, its state on the right, both on one line where they fit */
  .box-head { gap: 10px; font-size: 11px; letter-spacing: 0.12em; }
  .box-head > span:last-child { white-space: nowrap; }
  /* the collection: 7 across, so every square is a 44 px tap target */
  .archive { grid-template-columns: repeat(7, 1fr); }
  /* a piece opened from the collection: art small enough that its facts show without scrolling */
  .pp-body { padding: 18px; gap: 18px; }
  .pp-body > div:first-child { width: min(240px, 100%); justify-self: center; }
  /* full contract addresses: the label above, the address below, wrapping if it must */
  .proof-facts div { flex-direction: column; gap: 4px; }
  .proof-facts dd { text-align: left; }
}

/* Read-only preview (mint.js): a bar under the header; write controls hidden, a note where one stood */
.read-only-bar { margin: 0; padding: 10px 16px; background: var(--ink); color: var(--cream); font-size: 12px; letter-spacing: 0.14em; line-height: 1.5; text-align: center; text-transform: uppercase; }
html[data-read-only] [data-connect], html[data-read-only] [data-ro-hide], html[data-read-only] [data-ro-note] { display: none !important; }
.ro-note { margin: 0; padding: 14px 16px; border: 2px dashed var(--ink); font-size: 13px; line-height: 1.6; color: var(--ink-2); }
