:root {
  --ink: #0b1a2e;
  --ink-2: #3c4a5e;
  --ink-3: #6e7a8c;
  --paper: #fdf2df;
  --card: #fffaf0;
  --line: #e6d3ad;
  --green: #011e40;
  --green-2: #0b3163;
  --gold: #ad7e2f;
  --gold-2: #d4ac5a;
  --gold-soft: #f7e7c2;
  --red: #b3261e;
  --gold-text: #7a5a1e; /* darker gold for small text: 6.2:1 on the card colour (--gold is only 3.1:1) */
  --amber-text: #1a4f8c; /* "Sale pending" text: blue, distinct from gold (new) and red (sold) */
  --amber: #1f5fa8;
  --wa: #1fa855;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(1, 30, 64, .07), 0 8px 24px rgba(1, 30, 64, .08);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.serif { font-family: var(--serif); }
h1, h2, h3, .serif, .price-big, .hero-stats b, .stat b, .step .num, .card-title { font-variant-numeric: lining-nums; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
.eyebrow { font: 600 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.muted { color: var(--ink-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Top bar + header */
.topbar { background: var(--green); color: #e9e2cf; font-size: .82rem; }
.topbar .wrap { display: flex; gap: 18px; justify-content: space-between; align-items: center; min-height: 36px; flex-wrap: wrap; }
.topbar a { text-decoration: none; color: var(--gold-2); }
header.site { position: sticky; top: 0; z-index: 30; background: rgba(253, 242, 223, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { height: 56px; width: 56px; border-radius: 10px; flex: none; display: block; }
.brand-name { font: 700 1.5rem/1 var(--serif); letter-spacing: .01em; }
.brand-name small { display: block; font: 600 .6rem/1.6 var(--sans); letter-spacing: .26em; color: var(--gold); text-transform: uppercase; }
nav.main { display: flex; gap: 4px; margin-left: auto; }
nav.main a { text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: .92rem; font-weight: 500; color: var(--ink-2); }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--ink); background: rgba(180, 138, 53, .12); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
@media (max-width: 860px) {
  nav.main { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 20px 16px; }
  nav.main.open { display: flex; }
  .menu-btn { display: block; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 999px; padding: 12px 22px; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #a07a2b; }
.btn-green { background: var(--green); color: #f4ecd6; }
.btn-green:hover { background: var(--green-2); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #188f47; }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(217, 182, 100, .28), transparent 60%), linear-gradient(180deg, #011630 0%, #011e40 100%); color: #f4ecd6; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero h1 em { color: var(--gold-2); font-style: italic; }
.hero p.lead { font-size: 1.15rem; color: #d6d1bf; max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero .btn-ghost { color: #f4ecd6; border-color: rgba(244, 236, 214, .35); }
.hero-coins { position: relative; height: 420px; }
.hero-coins img { position: absolute; width: 300px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); transition: transform .6s; }
.hero-coins img:nth-child(1) { left: 0; top: 30px; transform: rotate(-8deg); }
.hero-coins img:nth-child(2) { right: 0; top: 100px; width: 260px; transform: rotate(10deg); }
.hero-coins:hover img:nth-child(1) { transform: rotate(-4deg) translateY(-6px); }
.hero-coins:hover img:nth-child(2) { transform: rotate(6deg) translateY(-6px); }
.hero-stats { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats b { display: block; font: 600 1.9rem/1 var(--serif); color: var(--gold-2); }
.hero-stats span { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #b9b4a2; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; }
  .hero-coins { height: 260px; order: -1; }
  .hero-coins img { width: 190px; }
  .hero-coins img:nth-child(2) { width: 165px; top: 60px; }
}

section.block { padding: 72px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { margin: 0; max-width: 36em; }

/* Category tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { position: relative; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); padding: 22px; text-decoration: none; overflow: hidden; min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; transition: border-color .2s, transform .2s; }
.tile:hover { border-color: var(--gold); transform: translateY(-2px); }
.tile img { position: absolute; width: 150px; right: -26px; top: -22px; opacity: .95; transition: transform .4s; }
.tile:hover img { transform: rotate(12deg); }
.tile h3 { margin: 0; }
.tile span { font-size: .85rem; color: var(--ink-2); }
@media (max-width: 860px) { .tiles { grid-template-columns: repeat(2, 1fr); } .tile img { width: 110px; } }

/* Coin grid + cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #d6c9a6; }
.card-img { position: relative; aspect-ratio: 3 / 4; background: #fff; display: grid; place-items: center; padding: 0; }
.card-img img { width: 100%; height: 100%; object-fit: contain; transition: opacity .35s; }
.card-img img.back { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.card:hover .card-img img.back { opacity: 1; }
.card:hover .card-img img.front.has-back { opacity: 0; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font: 600 1.12rem/1.2 var(--serif); margin: 0; }
.card-sku { font-size: .78rem; letter-spacing: .06em; color: var(--muted, #6b6b6b); font-variant-numeric: tabular-nums; margin-bottom: 2px; }
.card-meta { font-size: .8rem; color: var(--ink-3); }
/* Price slot: its own line, set apart from title and meta. Same height on every card so grids stay even. */
.card-price { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); min-height: 4.1rem; display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.card-body .card-meta { margin-bottom: 8px; }
.price-amt { font: 700 1.75rem/1.05 var(--serif); font-variant-numeric: lining-nums; color: var(--ink); letter-spacing: -.01em; }
.price-sub { font: 600 .82rem/1.3 var(--sans); }
.price-none { font: 600 .95rem/1.3 var(--sans); }
.price-sub.inq, .price-none.inq { color: var(--gold-text); }
.price-sub.sold, .price-none.sold { color: var(--red); }
.price-sub.hold, .price-none.hold { color: var(--amber-text); }
.card-price .price-sub.inq::after { content: " \2192"; }
.card:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.btn:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.badge { font: 700 .66rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; background: var(--green); color: #f4ecd6; }
.badge.gold { background: var(--gold); color: #fff; }
.badge.cac { background: #2f7a3b; color: #fff; }
.badge.hold { background: var(--amber); color: #fff; }
.badge.sold { background: var(--red); color: #fff; }
.card.is-sold .card-img img { filter: grayscale(.4); opacity: .8; }

/* Inventory page */
.inv { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 32px 0 72px; }
.filters { position: sticky; top: 92px; align-self: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; max-height: calc(100vh - 110px); overflow: auto; }
.filters h4 { margin: 18px 0 8px; font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.filters h4:first-child { margin-top: 0; }
.chk { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: .92rem; cursor: pointer; }
.chk input { accent-color: var(--green); width: 16px; height: 16px; }
.chk .n { margin-left: auto; color: var(--ink-3); font-size: .78rem; }
.field { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.field:focus { outline: 2px solid var(--gold-2); outline-offset: 1px; border-color: var(--gold); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar .search { flex: 1; min-width: 220px; position: relative; }
.toolbar .search input { padding-left: 38px; }
.toolbar .search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; color: var(--ink-3); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { background: var(--gold-soft); border: 0; border-radius: 999px; padding: 5px 10px; font-size: .8rem; cursor: pointer; }
.filter-toggle { display: none; }
.empty { padding: 60px 20px; text-align: center; color: var(--ink-2); border: 1px dashed var(--line); border-radius: var(--radius); }
@media (max-width: 900px) {
  .inv { grid-template-columns: 1fr; }
  .filters { display: none; position: fixed; inset: 0; z-index: 50; max-height: none; border-radius: 0; top: 0; padding-bottom: 130px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  .filters.open { display: block; }
  .filters .close-filters { display: flex !important; }
  .filter-toggle { display: inline-flex; }
}
.close-filters { display: none !important; position: fixed; bottom: 16px; left: 16px; right: 16px; }

/* Detail page */
.detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; padding: 36px 0 72px; }
.gallery-main { background: #fff; border: 1px solid var(--line); border-radius: 18px; aspect-ratio: 3 / 4; max-height: 82vh; margin: 0 auto; display: grid; place-items: center; overflow: hidden; cursor: zoom-in; position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.gallery-main.zoomed { cursor: zoom-out; }
.gallery-main.zoomed img { transform: scale(2.1); }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumbs button { width: 84px; height: 84px; border-radius: 12px; border: 2px solid var(--line); background: #fff; padding: 0; overflow: hidden; cursor: pointer; }
.thumbs button[aria-pressed="true"] { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.thumbs small { display: block; text-align: center; font-size: .7rem; color: var(--ink-3); margin-top: 2px; }
.detail h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
/* Detail page price block: price alone on its line, framed by space and hairlines, button right under it */
.price-big { margin: 24px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.price-big .price-amt { font-size: clamp(2.4rem, 5vw, 3rem); font-weight: 700; }
.price-big .price-sub, .price-big .price-none { font-size: 1rem; }
.price-big .btn { margin-top: 12px; width: 100%; padding: 15px 22px; }
.price-big .btn-wa { background: #12803d; } /* 5:1 with white text (the brighter WhatsApp green is 3:1) */
.price-big .btn-wa:hover { background: #0e6a32; }
.specs { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .95rem; }
.specs th { text-align: left; color: var(--ink-3); font-weight: 500; width: 40%; padding: 9px 0; border-bottom: 1px solid var(--line); }
.specs td { padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.cta-stack { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.cta-stack .btn { width: 100%; padding: 15px 22px; }
.assure { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.assure div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: .84rem; color: var(--ink-2); }
.assure b { display: block; color: var(--ink); font-size: .9rem; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; gap: 24px; } }

/* Steps / about */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step .num { font: 600 2.4rem/1 var(--serif); color: var(--gold); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.band { background: var(--green); color: #f4ecd6; border-radius: 22px; padding: 44px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; }
.band p { color: #cfcab8; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; padding: 30px; } }

footer.site { background: #0d241b; color: #b9b4a2; padding: 52px 0 30px; margin-top: 40px; font-size: .9rem; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
footer.site h4 { color: #f4ecd6; font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
footer.site a { color: #d8cfb3; text-decoration: none; display: block; padding: 3px 0; }
footer.site a:hover { color: var(--gold-2); }
footer.site .legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 34px; padding-top: 20px; font-size: .8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { footer.site .cols { grid-template-columns: 1fr; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(31, 168, 85, .45); }
.wa-float svg { width: 30px; height: 30px; }
.skeleton { background: linear-gradient(90deg, #eee8d9, #f7f2e6, #eee8d9); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); min-height: 320px; }
@keyframes sk { to { background-position: -200% 0; } }
.breadcrumb { font-size: .85rem; color: var(--ink-3); padding-top: 24px; }
.breadcrumb a { text-decoration: none; color: var(--ink-2); }

/* Sell to us */
.sell { padding-bottom: 72px; }
.sell-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; margin-top: 12px; }
.sell-intro h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 10px 0 12px; }
.sell-steps { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: s; display: grid; gap: 18px; }
.sell-steps li { counter-increment: s; position: relative; padding-left: 44px; color: var(--ink-2); }
.sell-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: var(--gold-2); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.sell-steps b { display: block; color: var(--ink); }
.sell-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; display: grid; gap: 16px; }
.sell-form label { display: grid; gap: 6px; font-size: .92rem; font-weight: 500; }
.sell-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sell-form .photos { border: 1px dashed var(--line); border-radius: 10px; padding: 14px 16px; display: grid; gap: 12px; margin: 0; }
.sell-form .photos legend { font-weight: 600; padding: 0 6px; }
.sell-form input[type="file"] { font-size: .9rem; }
.sell-form .hp { position: absolute; left: -9999px; }
.sell-form .btn { width: 100%; padding: 14px; font-size: 1rem; }
.size-error { margin: 0; color: var(--red); font-size: .92rem; }
.hold-note { background: #e8f0fa; border-left: 3px solid var(--amber); padding: 10px 14px; border-radius: 6px; font-size: .95rem; color: var(--ink-2); }
@media (max-width: 860px) { .sell-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 480px) { .sell-form { padding: 20px 16px; } .sell-form .row2 { grid-template-columns: 1fr; } }

/* Sister gallery strip under the header (cross-promotion with AntiqueFl) */
.sister-strip { background: var(--gold-soft); color: var(--ink); border-bottom: 1px solid var(--line); font-size: .88rem; }
.sister-strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 8px; min-height: 40px; padding-block: 4px; text-align: center; }
.sister-strip a { display: inline-block; padding: 8px 0; color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sister-strip a:hover { color: var(--green-2); text-decoration-thickness: 2px; }
.sister-strip a:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 480px) { .sister-strip .wrap { min-height: 44px; } }

/* Sister gallery band (cross-promotion with AntiqueFl) */
.sister { background: #13233F; color: #ECE2C9; border-top: 4px solid #D4A73C; }
.sister .wrap { display: flex; align-items: center; gap: 24px; padding-block: 28px; flex-wrap: wrap; }
.sister-mark { font-family: "Noto Sans Egyptian Hieroglyphs", serif; font-size: 3rem; line-height: 1; color: #D4A73C; }
.sister-copy { flex: 1 1 320px; min-width: 0; }
.sister-kicker { font-size: .82rem; color: #D4A73C; }
.sister h3 { font-family: var(--serif); font-size: 1.6rem; margin: 2px 0 4px; color: #ECE2C9; }
.sister p { margin: 0; opacity: .8; max-width: 46em; }
.sell-form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; line-height: 1.5; }
.sell-form .consent input { margin-top: 4px; flex: none; width: 18px; height: 18px; }

.quick { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.quick .btn { padding: 6px 10px; font-size: .78rem; }

@media (max-width: 520px) { .brand-name small { display: none; } .brand-name { font-size: 1.25rem; } }
