:root {
  --bg: #0a0a0a;
  --panel: #14120d;
  --panel-2: #1d1910;
  --gold: #c9a84c;
  --gold-2: #f0d77b;
  --text: #f8f4e8;
  --muted: #b8ad91;
  --line: rgba(201, 168, 76, 0.24);
  --danger: #d66a4a;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  background: #080806;
  color: var(--text);
  padding: 0.75rem;
  border-radius: 6px;
}
textarea { min-height: 88px; resize: vertical; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(10, 10, 10, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 0.75rem; font-weight: 700; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border: 1px solid var(--gold);
  color: var(--gold-2);
  font-family: Georgia, serif;
}
.nav { display: flex; gap: 1rem; justify-content: center; color: var(--muted); }
.nav a:hover { color: var(--gold-2); }
.session-form { display: flex; gap: 0.5rem; align-items: center; }
.session-form input { min-width: 180px; }
.session-email { color: var(--muted); font-size: 0.9rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1rem;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: var(--gold);
  color: #080806;
  font-weight: 700;
  cursor: pointer;
}
.button.ghost { background: transparent; color: var(--gold-2); }
.button.small { min-height: 34px; padding: 0 0.75rem; font-size: 0.9rem; }

.flash-stack { padding: 1rem clamp(1rem, 4vw, 3rem) 0; }
.flash { border: 1px solid var(--line); background: var(--panel); padding: 0.8rem 1rem; border-radius: 6px; color: var(--gold-2); }

.hero {
  min-height: 64vh;
  display: grid;
  align-items: end;
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
  background:
    linear-gradient(180deg, rgba(10,10,10,0.08), var(--bg)),
    url("https://images.unsplash.com/photo-1496062031456-07b8f162a322?auto=format&fit=crop&w=1800&q=80") center/cover;
}
.hero > div { max-width: 760px; }
.eyebrow { color: var(--gold-2); text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0; font-weight: 700; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; margin: 0; }
h1 { font-size: clamp(2.5rem, 6vw, 5.4rem); line-height: 0.96; }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }
.lede { color: var(--text); max-width: 620px; font-size: 1.2rem; line-height: 1.55; }
.actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }

.notice-band {
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-block: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--gold-2);
}
.section { padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem); }
.section.narrow { max-width: 900px; margin: 0 auto; }
.section-head { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1.5rem; }
.status-pill { border: 1px solid var(--line); padding: 0.5rem 0.75rem; border-radius: 999px; color: var(--muted); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.art-card, .handoff-card, .checkout-panel, .admin-card, .data-panel, .panel, .release-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.art-image-wrap { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px 8px 0 0; }
.art-image-wrap img, .detail-media img, .checkout-art img { width: 100%; height: 100%; object-fit: cover; }
.blurred { filter: blur(12px); transform: scale(1.02); }
.gate {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  background: rgba(10,10,10,0.8);
  border: 1px solid var(--gold);
  color: var(--gold-2);
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
}
.card-body { padding: 1rem; }
.card-meta, .release-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; color: var(--muted); font-size: 0.85rem; }
.card-body p, .muted { color: var(--muted); line-height: 1.5; }
.card-actions { display: flex; gap: 0.5rem; margin-top: 1rem; }

.detail-layout, .checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(1rem, 4vw, 3rem);
  padding: clamp(1rem, 4vw, 3rem);
}
.detail-media { position: relative; min-height: 520px; border: 1px solid var(--line); overflow: hidden; border-radius: 8px; }
.media-gate {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  background: rgba(10, 10, 10, 0.86);
  border: 1px solid var(--line);
  padding: 1rem;
  border-radius: 8px;
}
.detail-copy { align-self: center; }
.facts { display: grid; gap: 0.75rem; margin: 1.5rem 0; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 0.5rem; }
dt { color: var(--muted); }
dd { margin: 0; color: var(--gold-2); }
.panel { padding: 1rem; margin-top: 1.5rem; }
audio { width: 100%; margin-top: 0.75rem; }

.handoff-grid, .plan-grid, .admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.handoff-card, .checkout-panel, .admin-card, .data-panel { padding: 1rem; }
.checkout-panel { display: grid; gap: 1rem; }
.plan-card { border: 1px solid var(--line); border-radius: 8px; padding: 1rem; display: grid; gap: 0.5rem; cursor: pointer; }
.plan-card span { color: var(--gold-2); font-size: 1.35rem; }
.provider-row { display: flex; gap: 1rem; flex-wrap: wrap; color: var(--muted); }
.provider-row input, .plan-card input, .check input { width: auto; }
.trusted-frame-placeholder { border: 1px dashed var(--gold); border-radius: 8px; padding: 1rem; background: #0d0b07; color: var(--muted); }
.trusted-frame-placeholder span { color: var(--gold-2); font-weight: 700; }
.inline-form { margin-top: 1rem; }
.checkout-art { align-self: start; }
.checkout-art img { aspect-ratio: 4 / 3; border-radius: 8px; border: 1px solid var(--line); }

.release-list { display: grid; gap: 0.75rem; }
.release-row { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem; }
.table-grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { border-bottom: 1px solid var(--line); padding: 0.55rem; text-align: left; vertical-align: top; }
th { color: var(--gold-2); }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 4vw, 3rem);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.preview-stop { color: var(--danger); }
.empty { color: var(--muted); }

@media (max-width: 820px) {
  .site-header, .detail-layout, .checkout-layout { grid-template-columns: 1fr; }
  .nav { justify-content: flex-start; overflow-x: auto; }
  .section-head, .release-row, .footer { flex-direction: column; align-items: flex-start; }
  h1 { font-size: 2.7rem; }
}

