@font-face { font-family: "Cormorant"; font-weight: 500 600; font-style: normal; font-display: swap; src: url(/assets/fonts/cormorant-latin.woff2) format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 500; font-style: italic; font-display: swap; src: url(/assets/fonts/cormorant-latin-italic.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(/assets/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(/assets/fonts/inter-latin-500-normal.woff2) format("woff2"); }

:root {
  --paper: #f4efe6; --paper-2: #ebe4d7; --card: #fbf8f2; --ink: #1c1916; --muted: #6b6358; --faint: #8f8679;
  --line: #ddd4c5; --seal: #8e2b23; --seal-ink: #fff8f0; --ok: #3f6b4f;
  --serif: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #13110f; --paper-2: #1b1815; --card: #1a1714; --ink: #efe8dd; --muted: #a59a8b; --faint: #7d7366; --line: #2f2a25; --seal: #c5594b; --seal-ink: #1a0f0d; --ok: #7fb08f; color-scheme: dark; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); }
img, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
[hidden] { display: none !important; }

.wrap { max-width: 1140px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* preview strip */
.strip { background: var(--ink); color: var(--paper); font-size: 13px; text-align: center; padding: 8px 16px; }
.strip b { font-weight: 500; }

/* header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.brand span { font: 600 22px/1 var(--serif); letter-spacing: 0.01em; }
.brand small { font: 500 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-left: 2px; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }

/* type */
.kicker { font: 500 12px/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--seal); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(44px, 7vw, 84px); letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; color: var(--seal); }
h2 { font-size: clamp(34px, 4.6vw, 54px); }
h3 { font-size: 26px; line-height: 1.15; }
.lede { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 34em; margin: 22px 0 0; }
p { margin: 0; }
.prose { max-width: 38em; color: var(--muted); }
.prose p + p { margin-top: 12px; }

section { padding: 88px 0; border-bottom: 1px solid var(--line); }
section.tight { padding: 64px 0; }
.head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 46em; }
.head p { color: var(--muted); font-size: 17px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 13px 24px; font: 500 15px/1 var(--sans); border: 1px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; text-decoration: none; transition: transform .15s ease, opacity .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.seal { background: var(--seal); border-color: var(--seal); color: var(--seal-ink); }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* hero */
.hero { padding: 64px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero .row { margin-top: 32px; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; } }

/* the creation frame */
.frame { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 18px; box-shadow: 0 30px 60px -40px rgba(30, 20, 10, .35); }
.frame canvas { width: 100%; aspect-ratio: 4 / 5; border-radius: 2px; background: var(--paper-2); }
.frame .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.frame .label { font-size: 13px; color: var(--muted); }
.voice { min-height: 3.2em; margin-top: 12px; font: italic 500 20px/1.35 var(--serif); color: var(--ink); transition: opacity .4s ease; }
.progress { height: 2px; background: var(--line); margin-top: 12px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--seal); }
.cert { margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 12px; font: 12px/1.7 ui-monospace, "SF Mono", Menlo, monospace; color: var(--muted); overflow-wrap: anywhere; }
.cert b { color: var(--ink); font-weight: 500; }

/* three ideas */
.ideas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.ideas div { border-top: 1px solid var(--ink); padding-top: 18px; }
.ideas p { color: var(--muted); margin-top: 10px; }
@media (max-width: 760px) { .ideas { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; gap: 0; counter-reset: s; }
.step { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; padding: 28px 0; border-top: 1px solid var(--line); align-items: start; }
.step:last-child { border-bottom: 1px solid var(--line); }
.num { width: 52px; height: 52px; border-radius: 50%; background: var(--seal); color: var(--seal-ink); display: grid; place-items: center; font: 600 22px/1 var(--serif); box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--seal-ink) 18%, transparent); }
.step p { color: var(--muted); }
.step .when { font: 500 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-top: 8px; }
@media (max-width: 760px) { .step { grid-template-columns: 52px minmax(0, 1fr); } .step p { grid-column: 2; } }

/* two columns */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 32px; }
.panel h3 { margin-bottom: 16px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { padding-left: 26px; position: relative; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 1px; background: var(--seal); }
.ticks b { color: var(--ink); font-weight: 500; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } .panel { padding: 24px; } }

/* money example */
.bill { width: 100%; border-collapse: collapse; font-size: 15px; }
.bill td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.bill td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.bill tr.total td { font-weight: 500; color: var(--ink); border-bottom: 0; }
.bill td small { display: block; color: var(--faint); font-size: 13px; }

/* faq */
.faq { display: grid; gap: 0; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 500 23px/1.3 var(--serif); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 400; color: var(--seal); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin-top: 10px; max-width: 42em; }

/* cards (marketplace) */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card { display: grid; gap: 14px; text-decoration: none; }
.card canvas { width: 100%; aspect-ratio: 4 / 5; border: 1px solid var(--line); border-radius: 4px; background: var(--paper-2); transition: transform .2s ease; }
.card:hover canvas { transform: translateY(-3px); }
.card .meta { display: flex; justify-content: space-between; gap: 8px 12px; align-items: baseline; flex-wrap: wrap; }
.card h3 { font-size: 26px; }
.card .sub { color: var(--muted); font-size: 14px; }
.card .lot { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 10px; font-size: 14px; }
.card .lot b { font-weight: 500; font-variant-numeric: tabular-nums; }
.tag { display: inline-block; font: 500 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); white-space: nowrap; }
.tag.live { border-color: var(--seal); color: var(--seal); }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.chip { font: 500 13px/1 var(--sans); padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.notice { border: 1px solid var(--line); border-left: 3px solid var(--seal); background: var(--card); padding: 14px 18px; border-radius: 4px; color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.notice b { color: var(--ink); font-weight: 500; }

/* artist page */
.artist-top { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 880px) { .artist-top { grid-template-columns: 1fr; gap: 36px; } }
.quote { font: italic 500 clamp(24px, 3vw, 32px)/1.3 var(--serif); margin-top: 22px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.facts div { border-top: 1px solid var(--line); padding-top: 10px; }
.facts b { display: block; font: 500 30px/1.1 var(--serif); }
.facts span { font-size: 13px; color: var(--muted); }
.rules { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 0; margin-top: 28px; font-size: 15px; }
.rules dt, .rules dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.rules dt { color: var(--faint); font-size: 13px; letter-spacing: .04em; }
.rules dd { color: var(--ink); }
@media (max-width: 600px) { .rules { grid-template-columns: 1fr; } .rules dd { border-top: 0; padding-top: 0; } }

.seals { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 12px; }
.slot { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; border: 1px dashed var(--line); background: transparent; color: var(--faint); font: 500 12px/1.25 var(--sans); cursor: default; padding: 6px; }
.slot b { display: block; font: 600 22px/1 var(--serif); }
.slot.sold { background: var(--seal); border: 0; color: var(--seal-ink); box-shadow: inset 0 0 0 5px color-mix(in srgb, var(--seal-ink) 16%, transparent); }
.slot.live { border: 2px solid var(--seal); color: var(--seal); cursor: pointer; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--seal) 14%, transparent); } }
@media (prefers-reduced-motion: reduce) { .slot.live { animation: none; } html { scroll-behavior: auto; } }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 16px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }

.auction { position: sticky; top: 20px; }
.auction .price { font: 500 46px/1 var(--serif); margin: 8px 0 4px; font-variant-numeric: tabular-nums; }
.auction .clock { font-variant-numeric: tabular-nums; }
.auction label { display: block; font-size: 13px; color: var(--muted); margin: 18px 0 8px; }
.auction input { width: 100%; font: 500 18px/1 var(--sans); padding: 14px 16px; border-radius: 6px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.auction .small { font-size: 13px; color: var(--faint); margin-top: 12px; }

footer { padding: 48px 0 64px; color: var(--muted); font-size: 14px; }
footer .wrap { display: grid; gap: 14px; }
footer .row { gap: 20px; }

.mt { margin-top: 24px; }
.prose.note { margin-top: 16px; font-size: 14px; }
.small-link { font-size: 14px; margin: 0 0 28px; }
.small-link a { color: var(--muted); text-decoration: none; }
.meta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.legend .lg-sold { background: var(--seal); }
.legend .lg-live { border: 2px solid var(--seal); }
.legend .lg-later { border: 1px dashed var(--faint); }
a.slot { text-decoration: none; }
.auction .sub { color: var(--muted); font-size: 14px; }
.auction .clock { margin-top: 6px; font-size: 15px; }
