/* Nobody Home: a print room after hours. Matte ink walls, ivory type, one metal (the gold of the leaf on the prints) used for hairlines and nothing
   else. The title is a Didone, the labels are a geometric sans in tracked capitals (the same hand that letters the foot of every sheet), the reading
   text is a Garamond. Room is the luxury: wide margins, few rules, quiet controls. */
:root { --bg: #0B0D1A; --wall: #10132A; --ink: #EFE9DB; --dim: rgba(239, 233, 219, .6); --faint: rgba(239, 233, 219, .36); --line: rgba(239, 233, 219, .13); --gold: #C8A45C; --gold-hi: #E8D094;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif; --label: "Jost", "Futura", "Century Gothic", sans-serif; --serif: "EB Garamond", "Garamond", Georgia, serif; --mono: "JetBrains Mono", ui-monospace, monospace; }
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: radial-gradient(120% 90% at 30% 0%, var(--wall) 0%, var(--bg) 62%) fixed var(--bg); color: var(--ink); font-family: var(--serif); font-size: 19px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.mono { font-family: var(--mono); }
a { color: inherit; }

.top { display: flex; justify-content: space-between; align-items: baseline; gap: 20px 32px; flex-wrap: wrap; padding: 26px clamp(18px, 5vw, 72px) 22px; border-bottom: 1px solid var(--line); }
.wordmark { color: inherit; text-decoration: none; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.wordmark .name { font-family: var(--display); font-weight: 400; font-size: 25px; letter-spacing: .01em; font-variation-settings: "opsz" 28; }
.wordmark .by, nav a, .eyebrow, .traits dt, .grid figcaption, .filters .count, button, .filters select { font-family: var(--label); text-transform: uppercase; letter-spacing: .2em; font-weight: 400; }
.wordmark .by, nav a { font-size: 10.5px; color: var(--dim); }
nav a { text-decoration: none; padding-bottom: 5px; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
nav a:hover { color: var(--gold-hi); border-bottom-color: var(--gold); }
.top nav a + a { margin-left: 30px; }

.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .78fr); gap: clamp(28px, 6vw, 104px); align-items: start; padding: clamp(28px, 5vw, 76px) clamp(18px, 5vw, 72px) clamp(40px, 6vw, 96px); max-width: 1440px; margin: 0 auto; }
.stage { margin: 0; position: sticky; top: 28px; perspective: 2600px; }
.lift { width: min(100%, calc(86vh * .75)); margin: 0 auto; transform-style: preserve-3d; animation: hang 1.1s cubic-bezier(.2, .7, .2, 1) both; }
.lift.is-turning { animation: lift 1.35s cubic-bezier(.3, .05, .2, 1); }
/* A sheet with two sides and a gilt edge. It is picked up, turned about its upright axis, and laid down again. */
.card { position: relative; aspect-ratio: 3 / 4; transform-style: preserve-3d; transition: transform 1.35s cubic-bezier(.3, .05, .2, 1); cursor: pointer; line-height: 0; outline: none; }
.card.is-flipped { transform: rotateY(180deg); }
.card .face { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border-radius: 1px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .5), 0 12px 24px rgba(0, 0, 0, .38), 0 44px 110px rgba(0, 0, 0, .62); }
.card .front { transform: translateZ(2.5px); }
.card .back { transform: rotateY(180deg) translateZ(2.5px); }
.card .edge { position: absolute; top: 0; width: 5px; height: 100%; transform-origin: 0 50%; transform: translateZ(2.5px) rotateY(90deg); background: linear-gradient(180deg, #F3DC98, #B98A2E 28%, #F6E3A6 52%, #A97C2A 78%, #E8D094); }
.card .edge.left { left: 0; } .card .edge.right { left: 100%; }
.card:focus-visible .face { outline: 1px solid var(--gold-hi); outline-offset: 6px; }
.stage figcaption { line-height: 1; text-align: center; padding-top: 26px; }
.turn { border-color: transparent; color: var(--dim); padding: 8px 14px; }
.turn::before { content: "↻"; font-family: var(--serif); letter-spacing: 0; margin-right: 10px; color: var(--gold); }
.turn:hover { border-color: transparent; }
@keyframes lift { 0% { transform: translateZ(0); } 45% { transform: translateZ(110px); } 100% { transform: translateZ(0); } }
@keyframes hang { from { opacity: .001; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.eyebrow { font-size: 10.5px; color: var(--dim); margin: 0 0 26px; display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(46px, 5.6vw, 88px); line-height: .98; letter-spacing: -.012em; margin: 0 0 26px; font-variation-settings: "opsz" 96; text-wrap: balance; }
.lede { max-width: 44ch; margin: 0 0 34px; color: var(--ink); font-size: 1.04em; text-wrap: pretty; }

.stepper, .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
button { font-size: 10.5px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 1px; padding: 12px 18px 11px; cursor: pointer; transition: border-color .25s, color .25s, background .25s; }
button:hover { border-color: var(--gold); color: var(--gold-hi); }
button.primary { border-color: var(--gold); color: var(--gold-hi); }
button.primary:hover { background: var(--gold); color: var(--bg); }
button:disabled { opacity: .3; cursor: default; }
button:focus-visible, input:focus-visible, a:focus-visible, select:focus-visible { outline: 1px solid var(--gold-hi); outline-offset: 3px; }
#prev, #next { font-family: var(--display); font-size: 20px; line-height: 1; letter-spacing: 0; padding: 7px 14px 9px; }
.stepper label { font-family: var(--display); font-size: 24px; display: flex; align-items: baseline; gap: 4px; border-bottom: 1px solid var(--line); padding: 0 4px 3px; color: var(--dim); }
.stepper input { width: 3.1ch; background: transparent; border: 0; color: var(--ink); font: inherit; text-align: right; appearance: textfield; -moz-appearance: textfield; font-variant-numeric: lining-nums tabular-nums; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.traits { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 6px 0 28px; border-top: 1px solid var(--line); }
.traits dt, .traits dd { padding: 11px 0 10px; border-bottom: 1px solid var(--line); margin: 0; }
.traits dt { font-size: 10px; color: var(--dim); align-self: stretch; display: flex; align-items: center; padding-right: 38px; }
.traits dd { font-family: var(--display); font-size: 20px; font-variation-settings: "opsz" 20; }
.traits dt.detail { font-size: 9px; color: var(--faint); padding: 7px 0 6px; border-bottom-color: transparent; }
.traits dd.detail { font-family: var(--serif); font-size: 16px; color: var(--dim); padding: 5px 0 4px; border-bottom-color: transparent; }
.traits dt.detail:first-of-type, .traits dt.detail:first-of-type + dd { padding-top: 18px; }
.traits dd a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 1px; transition: color .25s, border-color .25s; }
.traits dd a:hover { color: var(--gold-hi); border-bottom-color: var(--gold); }
.seed { font-size: 10.5px; color: var(--faint); word-break: break-all; margin: 4px 0 24px; letter-spacing: .04em; }
.note { font-size: 16px; font-style: italic; color: var(--dim); max-width: 50ch; margin: 0; padding-top: 22px; border-top: 1px solid var(--line); text-wrap: pretty; }

.filters { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filters select { font-size: 10.5px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 1px; padding: 12px 16px 11px; cursor: pointer; max-width: 46vw; transition: border-color .25s; }
.filters select:hover { border-color: var(--gold); }
.filters .count { font-size: 10px; color: var(--dim); min-width: 12ch; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: clamp(22px, 3vw, 44px) clamp(18px, 2.4vw, 36px); padding: clamp(24px, 4vw, 64px) clamp(18px, 5vw, 72px) 96px; max-width: 1680px; margin: 0 auto; }
.grid figure { margin: 0; cursor: pointer; }
.grid canvas { width: 100%; aspect-ratio: 3 / 4; display: block; border-radius: 1px; box-shadow: 0 1px 1px rgba(0, 0, 0, .5), 0 10px 22px rgba(0, 0, 0, .4), 0 26px 60px rgba(0, 0, 0, .5); transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s; }
.grid figure:hover canvas { transform: translateY(-5px); box-shadow: 0 1px 1px rgba(0, 0, 0, .5), 0 18px 30px rgba(0, 0, 0, .42), 0 40px 80px rgba(0, 0, 0, .58); }
.grid figcaption { font-size: 9.5px; color: var(--dim); padding-top: 14px; letter-spacing: .16em; }

@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } .stage { position: static; } .lift { width: 100%; } body { font-size: 18px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Below the piece: three at random, the wall of all thousand, the text. Wide margins, one rule between rooms. */
.section { max-width: 1440px; margin: 0 auto; padding: clamp(56px, 8vw, 120px) clamp(18px, 5vw, 72px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; flex-wrap: wrap; margin-bottom: clamp(26px, 3.4vw, 46px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.section .eyebrow { margin-bottom: 18px; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 3.8vw, 56px); line-height: 1.02; letter-spacing: -.01em; margin: 0; font-variation-settings: "opsz" 72; text-wrap: balance; }
.intro { max-width: 58ch; color: var(--dim); margin: -12px 0 clamp(24px, 3vw, 40px); text-wrap: pretty; }

.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3.4vw, 56px); }
.three figure { margin: 0; }
.three .sheet { display: block; width: 100%; padding: 0; border: 0; border-radius: 1px; line-height: 0; background: none; cursor: pointer; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.three .sheet canvas { width: 100%; aspect-ratio: 3 / 4; display: block; border-radius: 1px; box-shadow: 0 1px 1px rgba(0, 0, 0, .5), 0 10px 22px rgba(0, 0, 0, .4), 0 30px 70px rgba(0, 0, 0, .55); }
.three .sheet:hover { transform: translateY(-6px); }
.three figcaption { font-family: var(--label); text-transform: uppercase; letter-spacing: .18em; font-size: 10px; color: var(--dim); padding-top: 18px; }
.three figcaption span { color: var(--gold-hi); margin-right: 10px; }

.sorts { display: flex; gap: 8px; flex-wrap: wrap; }
.sorts button.is-active { border-color: var(--gold); color: var(--gold-hi); }
.wall { position: relative; margin: 0; line-height: 0; background: var(--bg); box-shadow: 0 1px 1px rgba(0, 0, 0, .5), 0 30px 80px rgba(0, 0, 0, .5); }
.wall canvas#wall { width: 100%; aspect-ratio: 6 / 5; display: block; cursor: pointer; }
.wall-hot { position: absolute; pointer-events: none; outline: 1.5px solid var(--gold-hi); outline-offset: -1px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .6); }
.wall-tip { position: absolute; z-index: 3; width: 190px; pointer-events: none; background: var(--bg); padding: 8px 8px 10px; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0, 0, 0, .7); }
.wall-tip canvas { width: 100%; height: auto; display: block; }
.wall-tip p { margin: 9px 2px 0; line-height: 1.3; font-family: var(--label); text-transform: uppercase; letter-spacing: .14em; font-size: 9px; color: var(--dim); }

.about h2 { padding-top: 0; margin-bottom: clamp(28px, 3.4vw, 48px); }
.about > .eyebrow { padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, .7fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.about-text p { max-width: 64ch; margin: 0 0 1.15em; text-wrap: pretty; }
.about-text .lead { font-size: 1.16em; line-height: 1.5; }
.facts { margin: 0; border-top: 1px solid var(--line); position: sticky; top: 28px; }
.facts dt { font-family: var(--label); text-transform: uppercase; letter-spacing: .2em; font-size: 9.5px; color: var(--dim); padding: 14px 0 4px; }
.facts dd { margin: 0; padding: 0 0 13px; border-bottom: 1px solid var(--line); font-size: 17px; }

.foot { max-width: 1440px; margin: clamp(70px, 9vw, 140px) auto 0; padding: 30px clamp(18px, 5vw, 72px) 56px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px 40px; flex-wrap: wrap; color: var(--dim); font-size: 16px; }
.foot p { margin: 0; } .foot .name { font-family: var(--display); color: var(--ink); font-size: 19px; margin-right: 4px; } .foot .keys { font-style: italic; }
.note a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); } .note a:hover { color: var(--gold-hi); border-bottom-color: var(--gold); }
html { scroll-behavior: smooth; } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .facts { position: static; } }
@media (max-width: 640px) { .three { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } .wall-tip { display: none; } .top nav a + a { margin-left: 18px; } }

.foot .ver { font-family: var(--mono); font-size: 10.5px; color: var(--faint); margin-left: 10px; letter-spacing: .04em; }
.about-text .lead { max-width: 52ch; }

/* The mint. One filled button on the whole site, and it is this one. */
.nav-mint { color: var(--gold-hi) !important; }
.mint-call { margin: -8px 0 30px; }
.mint-link { display: inline-block; font-family: var(--label); text-transform: uppercase; letter-spacing: .2em; font-size: 11px; text-decoration: none; color: var(--bg); background: var(--gold); border: 1px solid var(--gold); padding: 14px 24px 13px; border-radius: 1px; transition: background .25s, color .25s; }
.mint-link:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.mint h2 { font-variant-numeric: lining-nums; }
.mint-count { font-family: var(--label); text-transform: uppercase; letter-spacing: .2em; font-size: 10.5px; color: var(--dim); margin: 0; }
.mint-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: clamp(24px, 5vw, 90px); align-items: start; }
.mint-grid .intro { margin: 0; color: var(--ink); font-size: 1.06em; }
.mint-box { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: stretch; }
.qty { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 1px; }
.qty button { border: 0; font-family: var(--display); font-size: 20px; letter-spacing: 0; padding: 0 16px; }
.qty output { min-width: 3ch; display: grid; place-items: center; font-family: var(--display); font-size: 22px; font-variant-numeric: lining-nums tabular-nums; }
button.big { padding: 18px 22px 17px; font-size: 11.5px; }
button.primary.big:not(:disabled) { background: var(--gold); color: var(--bg); }
button.primary.big:not(:disabled):hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.mint-status, .mint-account { grid-column: 1 / -1; margin: 0; font-size: 16px; color: var(--dim); min-height: 1.4em; }
.mint-status[data-tone="bad"] { color: #E9A39B; } .mint-status[data-tone="good"] { color: var(--gold-hi); } .mint-status[data-tone="warn"] { color: #E6CFA0; }
.mint-status a, .mint-account a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); margin-right: 4px; } .mint-status a:hover, .mint-account a:hover { color: var(--gold-hi); border-bottom-color: var(--gold); }
.mint-account { font-size: 10.5px; letter-spacing: .04em; color: var(--faint); min-height: 0; }
.mint-result:not(:empty) { margin-top: clamp(30px, 4vw, 56px); }
@media (max-width: 760px) { .mint-grid { grid-template-columns: 1fr; } }
/* piece.html: one sheet and nothing else */
.solo { overflow: hidden; } .solo-stage { min-height: 100vh; display: grid; place-items: center; perspective: 2600px; padding: 3vh 3vw; } .solo .lift { margin: 0; }

.free-row { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; gap: 12px; padding: 0 0 18px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.free-note { margin: 0; color: var(--gold-hi); font-size: 17px; }

.sound { border: 0; padding: 0 0 5px; border-bottom: 1px solid transparent; border-radius: 0; font-size: 10.5px; color: var(--dim); margin-left: 30px; letter-spacing: .2em; }
.sound:hover { color: var(--gold-hi); border-bottom-color: var(--gold); }
.sound.is-on { color: var(--gold-hi); }
.sound.is-on::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-hi); margin-right: 9px; vertical-align: 1px; box-shadow: 0 0 8px var(--gold-hi); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@media (max-width: 640px) { .sound { margin-left: 18px; } }

/* The wallet: a button in the header, and the window that offers every wallet the page has found. */
.wallet { margin-left: 30px; padding: 9px 16px 8px; font-size: 10.5px; display: inline-flex; align-items: center; gap: 9px; vertical-align: middle; }
.wallet.is-on { border-color: var(--gold); color: var(--gold-hi); }
.wallet img { width: 16px; height: 16px; border-radius: 3px; display: block; }
.wallet-panel { position: fixed; inset: 0; z-index: 50; background: rgba(6, 7, 18, .72); display: grid; place-items: center; padding: 20px; backdrop-filter: blur(6px); animation: fade .25s ease-out; }
.wallet-sheet { width: min(100%, 400px); max-height: 92vh; overflow: auto; background: var(--wall); border: 1px solid var(--line); box-shadow: 0 1px 1px rgba(0, 0, 0, .5), 0 40px 100px rgba(0, 0, 0, .7); padding: 22px 22px 18px; animation: hang .4s cubic-bezier(.2, .7, .2, 1); }
.wallet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.wallet-head h3 { font-family: var(--display); font-weight: 400; font-size: 24px; margin: 0; }
.wallet-close { border: 0; padding: 4px 8px; font-family: var(--display); font-size: 22px; letter-spacing: 0; color: var(--dim); }
.wallet-list { display: grid; gap: 6px; }
.wallet-item { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; text-transform: none; letter-spacing: .02em; font-family: var(--serif); font-size: 17px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 1px; padding: 12px 14px; cursor: pointer; text-decoration: none; transition: border-color .2s, background .2s; }
.wallet-item:hover, .wallet-item:focus-visible { border-color: var(--gold); background: rgba(200, 164, 92, .06); }
.wallet-item.is-current { border-color: var(--gold); }
.wallet-item img { width: 28px; height: 28px; border-radius: 6px; display: block; flex: none; }
.wallet-item .wallet-dot { width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--line); flex: none; display: grid; place-items: center; }
.wallet-item .wallet-dot::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.wallet-item em { margin-left: auto; font-style: normal; font-family: var(--label); text-transform: uppercase; letter-spacing: .16em; font-size: 9.5px; color: var(--dim); }
.wallet-item.wallet-off { color: var(--dim); }
.wallet-note { margin: 16px 2px 0; font-size: 14px; color: var(--dim); text-wrap: pretty; }
body.has-wallet-panel { overflow: hidden; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) { .wallet { margin-left: 18px; } .wallet-sheet { padding: 18px 16px 14px; } }
