/* MyQRMart — White & Gold
   Light only. Antique gold. Not Inter. Not indigo. Not Claude. Not navy. */

:root {
  --void: #ffffff;
  --base: #ffffff;
  --surface: #fff8eb;
  --border: #e6d4a0;
  --gold: #c9a24e;
  --gold-bright: #b8892e;
  --halo: #5c4a22;
  --halo-bright: #4a3a18;
  --ink: #5a4a28;
  --muted: #8a7344;
  --ring: rgba(201, 162, 78, 0.22);
  --gold-glow: rgba(201, 162, 78, 0.35);
  --radius-card: 12px;
  --radius-btn: 8px;
  --font-display: "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", "P052", "Georgia", serif;
  --font-ui: "Segoe UI", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--base); color: var(--ink); color-scheme: light; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(201, 162, 78, 0.18), transparent 55%),
    radial-gradient(700px 400px at -10% 110%, rgba(201, 162, 78, 0.10), transparent 50%),
    var(--base);
  text-wrap: pretty;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 50;
  background: var(--surface);
  color: var(--halo);
  padding: 8px 12px;
  border-radius: var(--radius-btn);
}

.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

/* chrome */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 0.5px solid var(--border);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--halo);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}
.brand:hover { color: var(--halo-bright); }
.brand .mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-btn);
  object-fit: cover;
  box-shadow:
    0 0 0 1px var(--gold),
    0 0 16px 2px var(--gold-glow);
}
.foot-brand {
  font-size: 0.88rem;
  color: var(--muted);
  font-family: var(--font-ui);
  letter-spacing: 0;
}
.foot-brand .mark {
  width: 28px;
  height: 28px;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  align-items: center;
}
.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 8px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--halo); }
.nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--gold); }

.menu-btn {
  display: none;
  background: transparent;
  border: 0.5px solid var(--border);
  color: var(--halo);
  border-radius: var(--radius-btn);
  padding: 8px 12px;
  min-height: 44px;
  font: inherit;
  cursor: pointer;
}

/* type */
h1, h2, h3, .display {
  font-family: var(--font-display);
  color: var(--halo);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h1, .display { font-size: clamp(2.4rem, 6vw, 4.6rem); color: var(--halo-bright); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; color: var(--halo); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 38rem; }
.kicker {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-btn);
  border: 0.5px solid var(--gold);
  background: transparent;
  color: var(--halo-bright);
  font: inherit;
  cursor: pointer;
}
.btn:hover { color: #fff; background: var(--gold); }
.btn.solid {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 0 20px 2px var(--gold-glow);
}
.btn.solid:hover { background: var(--gold-bright); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* hero — asymmetric, mark on the right */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 48px;
  align-items: center;
  padding: 72px 0 56px;
  min-height: calc(100svh - 64px);
}
.hero .place {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}
.void-well {
  position: relative;
  aspect-ratio: 1;
  max-width: 420px;
  margin-inline: auto;
  background: radial-gradient(circle at 50% 50%, rgba(201, 162, 78, 0.22), transparent 62%);
}
.void-core {
  position: absolute;
  inset: 18%;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--void);
  box-shadow:
    0 0 0 1.5px var(--gold),
    0 0 40px 10px rgba(201, 162, 78, 0.35),
    0 0 110px 36px rgba(201, 162, 78, 0.16);
}
.void-core img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.orbit {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 78, 0.38);
  animation: spin 48s linear infinite;
}
.orbit:nth-child(2) { inset: 14%; animation-duration: 72s; animation-direction: reverse; }
.orbit:nth-child(3) { inset: 0; animation-duration: 96s; }
.spark {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  top: 0;
  left: 50%;
  box-shadow: 0 0 12px 2px var(--gold-glow);
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .orbit { animation: none; }
}

/* index list — not icon tiles */
.index {
  border-top: 0.5px solid var(--border);
  padding: 8px 0 64px;
}
.index a.row, .index .row {
  display: grid;
  grid-template-columns: 8rem 1fr auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 0.5px solid var(--border);
  color: inherit;
  align-items: baseline;
}
.index a.row:hover .name { color: var(--gold-bright); }
.index .kind { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.08em; }
.index .name { font-family: var(--font-display); font-size: 1.35rem; color: var(--halo); }
.index .blurb { color: var(--muted); grid-column: 2; margin-top: -8px; }
.index .go { color: var(--muted); }

.section { padding: 72px 0; }
.section.tight { padding: 40px 0 72px; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.ph {
  aspect-ratio: 1;
  max-width: 320px;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #fff3d6;
}
.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.catalog article {
  background: var(--surface);
  padding: 0 0 22px;
  min-height: 140px;
}
.catalog .shot {
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff3d6;
  margin-bottom: 14px;
}
.catalog .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.catalog article .kicker,
.catalog article h3,
.catalog article p,
.catalog article .price,
.catalog article .btn {
  margin-left: 18px;
  margin-right: 18px;
}
.catalog article .kicker { padding-top: 16px; }
.catalog article h3 { margin-bottom: 6px; padding-top: 16px; }
.catalog .kicker + h3 { padding-top: 0; }
.catalog p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.price { color: var(--gold); font-variant-numeric: tabular-nums; margin-top: 12px; }

.panel {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px;
}

label { display: block; color: var(--muted); font-size: 0.85rem; margin: 14px 0 6px; }
input, textarea, select {
  width: 100%;
  background: var(--void);
  color: var(--halo);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 10px 12px;
  font: inherit;
}
textarea { min-height: 90px; resize: vertical; }

.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.thumbs label.shot {
  margin: 0;
  aspect-ratio: 1;
  border: 0.5px dashed var(--border);
  border-radius: var(--radius-btn);
  display: grid;
  place-items: center;
  cursor: pointer;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.75rem;
  background: var(--void);
}
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs input { display: none; }

.card-preview {
  background: var(--void);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px;
}
.card-preview .who { font-family: var(--font-display); font-size: 1.8rem; color: var(--halo-bright); }
.card-preview .role { color: var(--gold); margin: 4px 0 12px; }
.qrbox { display: grid; place-items: center; padding: 12px; background: #fff; border-radius: 8px; width: 180px; }

.site-footer {
  border-top: 0.5px solid var(--border);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.88rem;
}
.site-footer .bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.foot-legal a { color: var(--muted); font-size: 0.88rem; min-height: 44px; display: inline-flex; align-items: center; }
.foot-legal a:hover { color: var(--gold-bright); }

.legal { max-width: 44rem; padding: 56px 0 80px; }
.legal .meta { color: var(--muted); margin-bottom: 28px; }
.legal h2 { margin-top: 1.7em; font-size: 1.28rem; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 1.2rem; color: var(--muted); }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 18px 0 28px;
  padding-bottom: 16px;
  border-bottom: 0.5px solid var(--border);
}

.notice {
  border: 0.5px solid var(--border);
  color: var(--muted);
  padding: 12px 14px;
  border-radius: var(--radius-btn);
  font-size: 0.9rem;
}

/* ghost shop window — white gilt */
body {
  background:
    radial-gradient(1200px 700px at 92% -8%, rgba(201, 162, 78, 0.22), transparent 58%),
    radial-gradient(900px 520px at -18% 108%, rgba(201, 162, 78, 0.10), transparent 52%),
    var(--base);
}
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  background:
    radial-gradient(ellipse at center, transparent 62%, rgba(201, 162, 78, 0.08) 100%);
}
body::after {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 71;
  opacity: 0.018;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
}
.orb {
  position: fixed;
  width: 220px;
  height: 220px;
  margin: -110px 0 0 -110px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 5;
  background: radial-gradient(circle, rgba(201,162,78,0.18), transparent 68%);
  transform: translate(-40vw, -20vh);
  transition: transform 0.6s ease-out;
}
.mast {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 162, 78, 0.38);
  box-shadow: 0 1px 0 rgba(201, 162, 78, 0.10);
}
.mast-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 8px;
}
.mast .brand {
  align-items: flex-end;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}
.mast .mark {
  width: 42px;
  height: 42px;
  transform: rotate(-3deg);
}
.mast-place {
  margin: 0 0 4px auto;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.mast-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 22px;
  padding: 0 0 14px;
  border-top: 0.5px dashed rgba(201, 162, 78, 0.35);
}
.mast-nav a {
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  padding: 10px 0 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.mast-nav a:hover,
.mast-nav a[aria-current="page"] { color: var(--halo-bright); }
.mast-nav a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 var(--gold);
}
.mast .menu-btn { margin-bottom: 6px; }

.tomb {
  margin-top: 40px;
  border-top: 1px solid rgba(201, 162, 78, 0.32);
  background: linear-gradient(180deg, #fff8eb, #fff3d6);
  padding: 48px 0 28px;
  color: var(--muted);
  font-size: 0.9rem;
}
.tomb-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.75fr 0.9fr;
  gap: 36px 28px;
  align-items: start;
}
.tomb h3 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}
.tomb a { color: var(--muted); display: block; padding: 5px 0; min-height: 36px; }
.tomb a:hover { color: var(--gold-bright); }
.tomb-brand { display: flex; gap: 12px; align-items: center; color: var(--halo); font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 10px; }
.tomb-brand img { width: 32px; height: 32px; border-radius: 6px; }
.tomb-note {
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 0.5px dashed var(--border);
  font-size: 0.8rem;
  max-width: var(--max);
}

.scrap {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 28rem;
}
.scrap::backdrop { background: rgba(255, 248, 235, 0.72); }
.scrap-card {
  background: #fffdf8;
  color: var(--ink);
  padding: 26px 24px 22px;
  border: 1px solid rgba(201, 162, 78, 0.55);
  border-radius: 10px;
  transform: rotate(-0.6deg);
  box-shadow: 0 0 80px 8px rgba(201, 162, 78, 0.18);
}
.scrap h2 { font-size: 1.7rem; margin-bottom: 8px; }
.scrap p { color: var(--muted); margin: 0 0 18px; }
.scrap .btn-row { margin-top: 0; }

.crumb { font-size: 0.8rem; color: var(--muted); margin: 0 0 18px; }
.crumb a { color: var(--muted); }
.stamp {
  display: inline-block;
  border: 1px solid rgba(201, 162, 78, 0.55);
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 8px;
  transform: rotate(-2deg);
  margin-bottom: 14px;
}

@media (max-width: 820px) {
  .hero, .split, .index a.row, .tomb-grid {
    grid-template-columns: 1fr;
  }
  .index .blurb { grid-column: 1; }
  .void-well { max-width: 280px; margin: 12px auto 0; }
  .menu-btn { display: inline-flex; }
  .mast-nav { display: none; width: 100%; flex-direction: column; }
  .mast.open .mast-nav { display: flex; }
  .mast-place { display: none; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 12px; }
  .site-header.open .nav { display: flex; }
  .site-header .bar { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .orb { display: none; }
}
