:root {
  color-scheme: dark;
  --graphite: #111214;
  --gold: #c8a96b;
  --ivory: #f0e6d3;
  --muted: #c8bdab;
  --rule: #59482f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--graphite); color: var(--ivory); font: 1rem/1.6 system-ui, sans-serif; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.wrap { width: min(1120px, 100% - 3rem); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: .5rem; left: .5rem; padding: .6rem 1rem; background: var(--graphite); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner { min-height: 70px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand, h1, h2, h3, h4 { font-family: Georgia, 'Times New Roman', serif; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-size: 1.28rem; }
.seal { display: grid; place-items: center; aspect-ratio: 1; width: 2.35rem; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: .88rem; }
nav { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .92rem; color: var(--muted); }
nav a { text-decoration: none; }
nav a:hover, summary:hover { color: var(--ivory); }
.hero { position: relative; isolation: isolate; min-height: 550px; display: grid; align-items: center; border-bottom: 1px solid var(--rule); }
.hero img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero img { object-fit: cover; object-position: center 45%; }
.hero::after { content: ''; background: linear-gradient(90deg, #111214 0%, #111214e8 30%, #1112145e 78%), linear-gradient(0deg, #111214 0%, transparent 44%); }
.hero-inner { padding-block: 4rem; }
.kicker { margin: 0; color: var(--gold); font-size: .74rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.08; }
h1 { margin: 1rem 0; font-size: clamp(2.6rem, 7vw, 6.2rem); letter-spacing: -.055em; }
h1 em { color: var(--gold); }
.intro { margin: 1.5rem 0 2rem; max-width: 48ch; color: var(--ivory); font-size: clamp(1rem, 2vw, 1.2rem); }
.button { display: inline-flex; align-items: center; min-height: 48px; gap: 1rem; padding: .7rem 1.15rem; border: 1px solid var(--gold); background: var(--gold); color: #1a1510; text-decoration: none; font-weight: 680; }
.button:hover { background: #e0c78e; }
.collection { padding-block: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin: 0 0 1.5rem; letter-spacing: -.035em; }
.shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 1.25rem; }
article { border: 1px solid var(--rule); background: #1a1917; }
.cover { display: block; width: 100%; aspect-ratio: 8 / 5; object-fit: cover; object-position: center 39%; }
.entry { padding: 1.25rem; }
h3 { font-size: 1.8rem; margin: .38rem 0 .55rem; }
.entry p:not(.kicker), .about p { color: var(--muted); margin: .6rem 0 1rem; }
details { margin-top: 1.1rem; border-top: 1px solid var(--rule); padding-top: .65rem; }
summary { color: var(--gold); cursor: pointer; padding: .35rem 0; }
details h4 { font-size: 1.4rem; margin: .8rem 0 .4rem; }
details a { color: var(--gold); text-underline-offset: .2em; }
.about { padding: 2rem 0 3.5rem; border-top: 1px solid var(--rule); }
.about p { max-width: 67ch; }
.site-footer { border-top: 1px solid var(--rule); padding-block: 1.25rem; color: var(--muted); }
.site-footer a { float: right; }
.demo-box { border-block: 1px solid var(--rule); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; }
.demo-box h2 { margin-bottom: .6rem; }
.demo-box p, .offer p { color: var(--muted); }
.form-row { display: flex; gap: .55rem; align-items: stretch; }
input { min-width: 0; width: 100%; background: #171719; color: var(--ivory); border: 1px solid var(--rule); padding: .7rem; font: inherit; }
label { display: block; margin-bottom: .3rem; }
.button { cursor: pointer; font-size: .95rem; white-space: normal; }
.button:disabled { opacity: .48; cursor: not-allowed; }
[hidden] { display: none !important; }
.status { color: var(--muted); }
.status:empty { display: none; }
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.offer { padding: 1.5rem; background: linear-gradient(135deg,#221f1a,#151517); }
.offer .price { margin: 1rem 0 .15rem; font: 400 2.6rem/1 Georgia,serif; color: var(--gold); }
.catalog-preview { margin-top: 2.2rem; }
.catalog-table, .stats-table { border-collapse: collapse; width: 100%; }
.catalog-table th, .catalog-table td, .stats-table th, .stats-table td { padding: .6rem .7rem; text-align: left; border-bottom: 1px solid var(--rule); }
.table-wrap { overflow-x: auto; }
.catalog-more { margin-top: .9rem; }
.catalog-more, .dialog-head .close { background: transparent; border: 1px solid var(--rule); color: var(--gold); padding: .4rem .8rem; cursor: pointer; font-size: 1rem; }
.private-page { padding-block: 3rem; }
.private-page h1 { font-size: clamp(2.4rem,5vw,4rem); }
dialog { width: min(560px, calc(100% - 1.5rem)); max-height: calc(100% - 1.5rem); color: var(--ivory); padding: 1.35rem; background: #18181a; border: 1px solid var(--rule); }
dialog::backdrop { background: #080709bb; }
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.dialog-head h2 { font-size: 2rem; margin: .35rem 0 .5rem; }
.dialog-head .close { font-size: 1.3rem; line-height: 1.1; }
#payment-element { margin-block: 1rem; }
.wallet-separator { color: var(--muted); margin: 1rem 0; }
.stats-table { min-width: 740px; }
.stats-section { margin-top: 2rem; }
.stats-table th { font-size: .89rem; }

@media (max-width: 760px) {
  .shelf, .offers, .demo-box { grid-template-columns: 1fr; }
  .cover { aspect-ratio: 16 / 7; object-position: center 33%; }
  .hero { min-height: 490px; }
  .hero::after { background: linear-gradient(90deg, #111214f5, #11121490), linear-gradient(0deg, #111214, transparent 50%); }
}

@media (max-width: 500px) {
  .form-row { display: grid; gap: .5rem; }
}

@media (max-width: 410px) {
  .wrap { width: calc(100% - 2rem); }
  .brand { font-size: 1.04rem; }
  nav { gap: .6rem; font-size: .8rem; }
  .seal { width: 1.9rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

