/* ---------- tokens ---------- */
:root {
  --bg: #0a0a0c;
  --bg-raise: #101014;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f2f4;
  --muted: #a3a3ad;
  --faint: #6d6d78;
  --gold: #d9a94e;
  --gold-bright: #e8c274;
  --gold-dim: rgba(217, 169, 78, 0.12);
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "JetBrains Mono", "SF Mono", Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }

section { padding: 104px 0; border-top: 1px solid var(--line); }
section.raise { background: var(--bg-raise); }

/* ---------- shared atoms ---------- */
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid rgba(217, 169, 78, 0.25);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 16px;
}

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head p + p { margin-top: 14px; }

.btn {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
  font-family: var(--sans);
}
.btn-lg { padding: 13px 26px; font-size: 1rem; }
.btn-gold { background: var(--gold); color: #14100a; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.btn-gold:disabled { opacity: 0.5; cursor: default; }
.btn-outline { border-color: var(--line-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--text); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.wordmark { display: flex; align-items: center; gap: 10px; }
.wordmark .mark { width: 26px; height: 26px; color: var(--gold); }
.wordmark .name { font-weight: 650; letter-spacing: -0.01em; font-size: 1.05rem; }
.wordmark .name span { color: var(--muted); font-weight: 400; }

.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { color: var(--muted); font-size: 0.92rem; transition: color 0.15s ease; }
.main-nav a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  border-top: none;
  padding: 0;
  overflow: hidden;
}

#field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 42%, transparent 30%, var(--bg) 100%),
    linear-gradient(to bottom, rgba(10, 10, 12, 0.25), transparent 40%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding-top: 96px;
  padding-bottom: 88px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 26px;
}

.hero .lede {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.15rem;
  margin-bottom: 40px;
}

.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- data types ---------- */
.type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.type-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.type-card:hover { border-color: rgba(217, 169, 78, 0.35); background: rgba(255, 255, 255, 0.015); }
.type-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.type-card p { color: var(--muted); font-size: 0.94rem; }

/* ---------- difference cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px 26px;
  background: var(--bg);
  transition: border-color 0.2s ease;
}
.card:hover { border-color: rgba(217, 169, 78, 0.35); }
.card .num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 20px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- delivery ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.split .section-head { margin-bottom: 0; }

.delivery-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.delivery-list li {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 24px;
  transition: border-color 0.2s ease;
}
.delivery-list li:hover { border-color: rgba(217, 169, 78, 0.35); }
.delivery-list .tag { margin-bottom: 8px; }
.delivery-list p { color: var(--muted); font-size: 0.94rem; }

/* ---------- provenance ---------- */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.check-list li {
  position: relative;
  padding: 18px 0 18px 34px;
  color: var(--muted);
  font-size: 0.97rem;
  border-bottom: 1px solid var(--line);
}
.check-list li:first-child { border-top: 1px solid var(--line); }
.check-list li strong { color: var(--text); font-weight: 600; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 26px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.quiet-note {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
  border: 1px dashed rgba(217, 169, 78, 0.35);
  border-radius: 8px;
  padding: 14px 18px;
  display: inline-block;
}

/* ---------- stats ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 48px;
}

.stat .value {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--gold);
  margin-bottom: 10px;
}
.stat .label { color: var(--muted); font-size: 0.94rem; max-width: 280px; }

/* ---------- contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); margin-bottom: 18px; }
.contact-info p { color: var(--muted); }
.contact-info .line { margin-top: 14px; color: var(--muted); }
.contact-info .line strong { color: var(--text); }

.inquiry {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  background: var(--bg);
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 7px;
}
.field input,
.field textarea {
  width: 100%;
  background: var(--bg-raise);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 10px 12px;
  transition: border-color 0.15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { resize: vertical; }
.field ::placeholder { color: var(--faint); }

.form-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--faint);
}

.form-confirm {
  display: none;
  margin-top: 16px;
  border: 1px solid rgba(217, 169, 78, 0.4);
  background: var(--gold-dim);
  color: var(--gold-bright);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.92rem;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
}

.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.footer-mark .mark { width: 24px; height: 24px; color: var(--gold); }
.footer-mark span { color: var(--muted); font-weight: 400; }

.footer-cols h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 14px;
  font-weight: 500;
}
.footer-cols a {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 9px;
  transition: color 0.15s ease;
}
.footer-cols a:hover { color: var(--text); }

.legal { border-top: 1px solid var(--line); padding-top: 28px; }
.legal p { color: var(--faint); font-size: 0.8rem; max-width: 820px; }

/* ---------- portal (login.html) ---------- */
.portal-main {
  min-height: calc(100vh - 64px);
  padding: 88px 0 104px;
}

.portal-head { max-width: 560px; margin-bottom: 48px; }
.portal-head h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 14px; }
.portal-head p { color: var(--muted); }

.portal-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

.signin {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
  background: var(--bg-raise);
}
.signin h2 { font-size: 1.1rem; margin-bottom: 20px; }

.signin-error {
  display: none;
  margin-bottom: 16px;
  border: 1px solid rgba(214, 92, 92, 0.4);
  background: rgba(214, 92, 92, 0.1);
  color: #e8a0a0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
}

.signin .aux {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--faint);
}
.signin .aux a { color: var(--gold); }
.signin .aux a:hover { color: var(--gold-bright); }

.lots { min-width: 0; }
.lots h2 { font-size: 1.1rem; margin-bottom: 6px; }
.lots .sub { color: var(--faint); font-size: 0.88rem; margin-bottom: 20px; }

.lots-wrap { overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.lots-wrap::-webkit-scrollbar { height: 6px; }
.lots-wrap::-webkit-scrollbar-track { background: transparent; }
.lots-wrap::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.lots-table { width: 100%; border-collapse: collapse; }
.lots-table th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid var(--line-strong);
}
.lots-table td {
  padding: 15px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
  white-space: nowrap;
}
.lots-table td.wrap { white-space: normal; min-width: 110px; }
.lots-table .lot-id { font-family: var(--mono); font-size: 0.85rem; color: var(--text); }

.redacted {
  filter: blur(5px);
  user-select: none;
  color: var(--text);
}

.pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}
.pill.open { color: var(--gold-bright); background: var(--gold-dim); border: 1px solid rgba(217, 169, 78, 0.35); }
.pill.closing { color: #e8b08a; background: rgba(222, 138, 77, 0.12); border: 1px solid rgba(222, 138, 77, 0.35); }
.pill.review { color: #a8bce0; background: rgba(122, 154, 214, 0.12); border: 1px solid rgba(122, 154, 214, 0.3); }
.pill.closed { color: var(--faint); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }

.lots-note {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--faint);
}

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  #field { display: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .type-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .portal-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
}

@media (max-width: 640px) {
  section { padding: 72px 0; }
  .type-grid, .card-grid, .stats-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .nav-actions .btn-gold { display: none; }
}
