/* ════════════════════════════════════════════════════════════════
   halo.css — Halo Digital shared design system (gallery mode)
   Used by all pages. Page-specific styles stay in each page.
   Tokens here are the single source of truth — simple mode will
   later override them via body.simple.
════════════════════════════════════════════════════════════════ */

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

:root {
  --gold:        #C4A35A;
  --gold-dk:     #9E7E38;
  --gold-border: rgba(196,163,90,0.35);
  --text:        #1A1815;
  --sub:         #6A6255;
  --muted:       #B0A898;
  --border:      rgba(180,170,155,0.35);
  --bg:          #faf9f7;
  --card-bg:     rgba(255,255,255,0.66);
  --input-bg:    rgba(255,255,255,0.8);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Archivo', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ── Museum micro-label (the placard voice) ── */
.mono {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sub);
  line-height: 2.1;
}

/* ── Marble background (LOCKED system — patches injected by JS) ── */
.marble-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.patch { position: absolute; mix-blend-mode: multiply; display: block; }

/* ── Mini orb mark — CSS-only stand-in for the 3D orb on subpages ── */
.orb-mark {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 28px;
  flex-shrink: 0;
}
.orb-mark::before {
  content: '';
  position: absolute;
  left: 50%; top: 58%;
  transform: translate(-50%, -50%);
  width: 21px; height: 21px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #3a3835, #0d0c0b 72%);
}

/* ── Section label row: "01 — THE OFFER ────────" ── */
.section-label {
  display: flex;
  align-items: center;
  gap: 18px;
}
.section-label .mono { color: var(--muted); white-space: nowrap; }
.section-label .rule { flex: 1; height: 1px; background: var(--border); }

/* ── Hairline divider ── */
.gold-rule {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Gold action button ── */
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  text-decoration: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 17px 38px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.btn-gold:hover { background: var(--gold-dk); transform: translateY(-1px); }
.btn-gold:active { transform: translateY(0); }

/* ── Subpage top bar (always visible, sticky) ── */
.topbar-sub {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: linear-gradient(180deg, rgba(250,249,247,0.94), rgba(250,249,247,0.7));
  backdrop-filter: blur(6px);
}
.topbar-sub .brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.topbar-sub a {
  text-decoration: none;
  color: var(--text);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.15s;
}
.topbar-sub a:hover { color: var(--gold); }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 34px 0;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-inner .mono { font-size: 0.56rem; color: var(--muted); }
.footer-logo img { height: 20px; width: auto; filter: brightness(0); opacity: 0.35; display: block; }
.footer-copy {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.footer-email a { font-size: 0.8rem; color: var(--sub); text-decoration: none; }
.footer-email a:hover { color: var(--text); }

@media (max-width: 760px) {
  .topbar-sub { padding: 0 20px; }
  .footer-inner { padding: 0 24px; }
}
