/* Postal paper and ink: warm off-white page, post-office red, stamp-ink blue. The pictures are loud, the frame stays quiet. */
:root {
  --paper: oklch(95.5% 0.016 85);
  --paper-2: oklch(92.5% 0.02 80);
  --card: #fff;
  --ink: oklch(24% 0.03 260);
  --muted: oklch(46% 0.025 260);
  --red: oklch(50% 0.17 27);
  --red-2: oklch(42% 0.15 27);
  --blue: oklch(42% 0.12 255);
  --line: oklch(85% 0.02 80);
  --ok: oklch(55% 0.13 150);
  --hole: var(--paper);
  --radius: 4px;
  --wrap: 1240px;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.eyebrow { font: 600 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: .8em; }
.eyebrow a { color: inherit; text-decoration: none; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in oklch, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.logo { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.1; }
.logo-name { font: 500 1.35rem/1.1 var(--serif); margin: 0; }
.logo-tag { font: 600 .68rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-color: var(--red); }
.nav .lang { border: 1px solid var(--ink); border-radius: 99px; padding: 3px 10px; font-size: .8rem; font-weight: 600; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .menu-btn { display: block; font: 600 .9rem var(--sans); background: none; border: 1px solid var(--ink); border-radius: 99px; padding: 8px 16px; color: var(--ink); min-height: 44px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); flex-direction: column; align-items: flex-start; padding: 12px clamp(16px, 4vw, 40px) 24px; border-bottom: 1px solid var(--line); gap: 6px; }
  .nav.open { display: flex; }
  .nav a { font-size: 1.1rem; padding: 8px 0; }
}

/* buttons */
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.5em; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 99px; background: var(--red); color: #fff; font: 600 .95rem var(--sans); text-decoration: none; border: 2px solid var(--red); cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--red-2); border-color: var(--red-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--red-2); border-color: var(--paper); }
.btn-light:hover { background: #fff; color: var(--red-2); border-color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--red-2); border-color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; }
.more { font-weight: 600; text-decoration: none; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 1.4em; }
.chip { border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 7px 16px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .92rem; }
.chip[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* sections */
.sec { padding-block: clamp(56px, 8vw, 104px); }
.sec-tight { padding-block: 8px clamp(56px, 8vw, 96px); }
.sec-head { margin-bottom: 36px; max-width: 760px; }
.page-head { padding-block: clamp(48px, 7vw, 88px) 32px; }
.band { background: var(--paper-2); --hole: var(--paper-2); padding-block: clamp(56px, 8vw, 96px); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.two-pic { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.prose { max-width: 68ch; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; height: auto; }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--radius); margin: 1.5em 0; }
.prose h2 { font-size: 1.7rem; margin-top: 1.4em; }
.prose h3 { margin-top: 1.3em; }
.narrow { margin-inline: auto; }

/* hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 96px); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.hero-pic { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/2; background: var(--card); }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.hero-pic:hover img { transform: scale(1.02); }
.hero-cap { position: absolute; left: 12px; bottom: 12px; background: var(--card); color: var(--ink); padding: 6px 12px; border-radius: 99px; font-size: .85rem; font-weight: 500; }
@media (max-width: 860px) { .hero-in { grid-template-columns: 1fr; } }

/* stamp cards: white paper with perforated edges painted in the section's background colour */
.stamps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 28px 24px; }
.stamp { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); }
.stamp-pic {
  --r: 4px; --s: 13px;
  display: block; padding: 13px;
  background:
    radial-gradient(circle at 50% 0, var(--hole) var(--r), transparent calc(var(--r) + .5px)) 0 0 / var(--s) 50% repeat-x,
    radial-gradient(circle at 50% 100%, var(--hole) var(--r), transparent calc(var(--r) + .5px)) 0 100% / var(--s) 50% repeat-x,
    radial-gradient(circle at 0 50%, var(--hole) var(--r), transparent calc(var(--r) + .5px)) 0 0 / 50% var(--s) repeat-y,
    radial-gradient(circle at 100% 50%, var(--hole) var(--r), transparent calc(var(--r) + .5px)) 100% 0 / 50% var(--s) repeat-y,
    var(--card);
  filter: drop-shadow(0 1px 1.5px oklch(30% 0.03 60 / .18));
  transition: transform .25s ease, filter .25s;
}
.stamp:hover .stamp-pic { transform: rotate(-1.2deg) translateY(-3px); filter: drop-shadow(0 8px 14px oklch(30% 0.03 60 / .2)); }
.stamp-pic img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.stamp-cap { display: flex; flex-direction: column; gap: 2px; }
.stamp-title { font: 500 1.1rem/1.25 var(--serif); }
.stamp-meta { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--muted); flex: none; }
.dot-available { background: var(--ok); }
.dot-owned { background: var(--red); }

/* stats */
.stats { padding-block: 48px; background: var(--ink); color: var(--paper); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats strong { display: block; font: 500 clamp(2.2rem, 4vw, 3.2rem)/1 var(--serif); color: oklch(78% 0.1 40); }
.stats span { font-size: .92rem; opacity: .85; }
@media (max-width: 700px) { .stats-in { grid-template-columns: 1fr 1fr; } }

/* news cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.card-pic img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.25rem; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { color: var(--red); }
.card-body p { color: var(--muted); font-size: .95rem; }
.card-body .more { margin-top: auto; }
.card-date { font-size: .82rem; color: var(--muted); margin-bottom: .5em; }
.tag { background: var(--red); color: #fff; padding: 1px 8px; border-radius: 99px; font-size: .75rem; font-weight: 600; }
.cards [hidden] { display: none; }
.show-more { margin-top: 28px; }

/* artwork page */
.work { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 72px); padding-block: clamp(32px, 5vw, 64px); align-items: start; }
.work-stage { background: var(--card); border-radius: var(--radius); display: grid; place-items: center; min-height: 320px; overflow: hidden; }
.work-stage img { max-height: 78vh; width: auto; transition: opacity .25s; }
.views { display: flex; gap: 10px; margin: 14px 0 8px; overflow-x: auto; padding-bottom: 4px; }
.views button { flex: none; width: 108px; background: none; border: 2px solid transparent; border-radius: var(--radius); padding: 0; cursor: pointer; font: 500 .78rem var(--sans); color: var(--ink); text-align: left; }
.views button img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 2px; }
.views button span { display: block; padding: 4px 2px; }
.views button[aria-selected="true"] { border-color: var(--red); }
.work-info h1 { font-size: clamp(2rem, 4vw, 3rem); }
.facts { display: grid; gap: 0; margin: 0 0 1.6em; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: .9rem; }
.facts dd { margin: 0; font-weight: 500; }
.facts dd .dot { margin-right: 4px; }
.qr-box { display: flex; gap: 16px; align-items: center; margin-top: 28px; padding: 16px; background: var(--card); border-radius: var(--radius); border: 1px dashed var(--line); }
.qr { width: 104px; flex: none; }
.qr svg { width: 100%; height: auto; display: block; }
.qr-box p { margin: 0 0 .3em; }
@media (max-width: 900px) { .work { grid-template-columns: 1fr; } }

/* forms */
.form { display: grid; gap: 14px; background: var(--card); padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); border: 1px solid var(--line); }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .92rem; }
.form input, .form textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 13px; min-height: 46px; width: 100%; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; font-weight: 500; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--red); }
.form-wrap { align-items: start; }
.nl-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (max-width: 860px) { .nl-in { grid-template-columns: 1fr; } }

/* collections */
.owners { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.owner { display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; text-decoration: none; color: var(--ink); }
.owner img { width: 76px; height: 76px; object-fit: cover; border-radius: 2px; flex: none; }
.owner strong { display: block; font: 500 1.05rem/1.3 var(--serif); }
.owner .muted { font-size: .88rem; }
.owner:hover { border-color: var(--red); }

/* article */
.article { max-width: 820px; padding-block: clamp(40px, 6vw, 80px); }
.article h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.article-pic { width: 100%; border-radius: var(--radius); margin: 1.5em 0 2em; }

/* CTA + footer */
.cta { background: var(--red); color: #fff; padding-block: clamp(56px, 8vw, 96px); }
.cta-in { max-width: 860px; text-align: center; }
.cta .btns { justify-content: center; }
.cta p { opacity: .92; font-size: 1.1rem; }
.foot { border-top: 1px solid var(--line); padding-block: 48px calc(32px + env(safe-area-inset-bottom, 0px)); }
.foot-in { display: grid; gap: 20px; }
.foot-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-nav a { color: var(--ink); text-decoration: none; font-size: .92rem; }
.foot-nav .lang { display: none; }
.demo-badge { background: var(--ink); color: var(--paper); padding: 1px 8px; border-radius: 99px; font-size: .75rem; }

/* offer */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.tier { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.tier-pick { border: 2px solid var(--red); }
.price { font: 500 2.4rem/1.1 var(--serif); }
.price span { font: 400 .95rem var(--sans); color: var(--muted); }
.tier ul { padding-left: 1.1em; margin: 0; }
.tier li { margin-bottom: .45em; }
.table-wrap { overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; background: var(--card); min-width: 560px; }
.cmp th, .cmp td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp thead th { font: 600 .8rem var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.cmp td:last-child { font-weight: 500; }

/* printable QR label */
.print-page { background: #fff; padding: 32px 16px; }
.label { width: 148mm; max-width: 100%; margin: 0 auto 24px; display: flex; gap: 8mm; align-items: center; border: 1px solid #ccc; padding: 8mm; border-radius: 3mm; }
.label-qr { width: 46mm; flex: none; }
.label-qr svg { width: 100%; height: auto; display: block; }
.label h1 { font-size: 1.6rem; margin: .1em 0 .3em; }
.label p { margin: 0 0 .3em; }
.label .url { color: #666; word-break: break-all; }
@media print { .no-print { display: none; } .print-page { padding: 0; } .label { border-color: #999; } }
