/* ============================================================
   VOLUME — public site. Charcoal-first editorial.
   The cover's palette, not the interior's: near-black warm
   charcoal, cream type, antique gold. Abstract geometry only —
   no paper cosplay, no journal imagery.
   ============================================================ */
:root {
  --bg: #131010;
  --bg-2: #1b1714;
  --edge: #2e2822;
  --cream: #ece3cd;
  --muted: #a99e8a;
  --dim: #6f6555;
  --gold: #c8a86a;
  --gold-deep: #8c7d63;
  --green: #7fa06f;
  --red: #a04a3c;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100dvh;
}
/* cloth weave */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent 0, transparent 3px, rgba(236,227,205,0.008) 3px, rgba(236,227,205,0.008) 4px),
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(200,168,106,0.05) 0%, transparent 60%);
}

.v-display { font-family: "DM Serif Display", serif; font-weight: 400; }
.lbl { font-family: "Inter", sans-serif; font-size: 11px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.lbl-dim { font-family: "Inter", sans-serif; font-size: 9.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--dim); }
.ital { font-style: italic; color: var(--muted); }
.gold { color: var(--gold); }
.hairline { height: 1px; background: var(--edge); }

.btn {
  display: inline-block; font-family: "Inter", sans-serif; font-size: 12px;
  letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
  padding: 16px 32px 15px; cursor: pointer; text-decoration: none;
  background: var(--gold); color: #131010; border: 1px solid var(--gold);
  transition: background .25s, color .25s;
}
.btn:hover { background: transparent; color: var(--gold); }
.btn.ghost { background: transparent; color: var(--cream); border-color: var(--edge); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn.small { padding: 11px 20px 10px; font-size: 11px; }
.btn:disabled { opacity: .55; cursor: default; }

.input {
  width: 100%; font-family: "Cormorant Garamond", serif; font-size: 19px;
  color: var(--cream); background: var(--bg-2); border: 1px solid var(--edge);
  border-radius: 0; padding: 13px 14px; outline: none; margin-top: 8px;
}
.input:focus { border-color: var(--gold); }
.input::placeholder { color: var(--dim); font-style: italic; }

.stamp { display: inline-block; font-family: "Inter", sans-serif; font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-deep); padding: 8px 16px 7px; }
.logged { display: inline-block; font-family: "Inter", sans-serif; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--green); border: 1px solid var(--green); padding: 7px 13px; transform: rotate(-1.6deg); }

.card { background: var(--bg-2); border: 1px solid var(--edge); position: relative; }
.card.pad { padding: 34px 30px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.v-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; } .reveal.d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* layout chrome */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.wrap.narrow { max-width: 800px; }
section.wrap { padding-top: 110px; }
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 30px; }
.brand { font-family: "DM Serif Display", serif; font-size: 19px; letter-spacing: .2em; color: var(--cream); text-decoration: none; }
.brand .num { color: var(--gold); font-style: italic; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.navlink { font-family: "Inter", sans-serif; font-size: 9.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.navlink:hover { color: var(--gold); }

.foot { position: relative; z-index: 1; border-top: 1px solid var(--edge); margin-top: 110px; padding: 48px 28px 60px; text-align: center; }
.foot-links { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin: 22px 0 24px; }
.foot-links a { font-family: "Inter", sans-serif; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--gold); }
.closer { font-style: italic; color: var(--gold-deep); font-size: 15px; }

/* ---------- hero ---------- */
.hero { min-height: 86vh; display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: center; padding-top: 40px; }
.hero-kicker { display: flex; align-items: center; gap: 18px; }
.hero-kicker .hairline { width: 56px; }
.hero-h {
  margin-top: 30px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 1.02; letter-spacing: .01em; color: var(--cream);
}
.hero-h .ital-gold { font-style: italic; color: var(--gold); }
.hero-lede { margin-top: 28px; max-width: 30em; font-size: 20px; line-height: 1.6; color: var(--muted); }
.hero-ctas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-meta { margin-top: 18px; }

/* the artifact: cover on dark gets a cream aura */
.artifact { display: flex; justify-content: center; position: relative; }
.artifact::before {
  content: ""; position: absolute; inset: -12%;
  background: radial-gradient(ellipse at 50% 45%, rgba(236,227,205,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.cover {
  width: 280px; height: 420px; background: #1a1814;
  border: 1px solid #3a332a; border-radius: 2px;
  padding: 32px 24px; display: flex; flex-direction: column; position: relative;
  transform: rotate(-1.6deg);
  box-shadow: 0 0 0 1px rgba(200,168,106,0.12), 0 30px 80px rgba(0,0,0,0.6);
  transition: transform .5s ease;
}
.cover:hover { transform: rotate(-.4deg) translateY(-6px); }
.cover.s78 { width: 218px; height: 328px; padding: 25px 19px; }
.cov-sigil { position: absolute; top: 18px; right: 18px; width: 7px; height: 7px; border: 1px solid var(--gold-deep); border-radius: 50%; opacity: .8; }
.cov-press { font-family: "Inter", sans-serif; font-size: 6.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep); text-align: center; }
.cov-mid { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cov-word { font-size: 37px; letter-spacing: .16em; color: var(--cream); padding-left: .16em; }
.cover.s78 .cov-word { font-size: 29px; }
.cov-tag { font-style: italic; font-size: 12.5px; color: var(--gold); margin-top: 8px; }
.cov-foot { text-align: right; padding-right: 4px; }
.cov-numeral { font-style: italic; font-size: 37px; color: var(--gold); line-height: .9; }
.cover.s78 .cov-numeral { font-size: 29px; }
.cov-numlab { font-family: "Inter", sans-serif; font-size: 6px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-deep); margin-top: 5px; }
.cov-rule { width: 56px; height: 1px; background: var(--gold-deep); opacity: .6; margin: 17px auto 9px; }
.cov-author { font-family: "Inter", sans-serif; font-size: 7px; letter-spacing: .3em; text-transform: uppercase; color: var(--cream); opacity: .85; text-align: center; }

/* ---------- chip motif ---------- */
.chipline { display: flex; align-items: center; gap: 9px; }
.chip {
  width: 38px; height: 26px; display: flex; align-items: center; justify-content: center;
  font-family: "Inter", sans-serif; font-size: 9px; letter-spacing: .08em;
  border: 1px solid var(--edge); color: var(--dim);
}
.chip.inked { background: var(--gold); color: #131010; border-color: var(--gold); }
.chip-earned { border: 1px dashed var(--gold); color: var(--gold); font-family: "Inter", sans-serif; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; padding: 6px 13px; }

/* ---------- systems tiles ---------- */
.systems { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--edge); border: 1px solid var(--edge); }
.sys { background: var(--bg); padding: 40px 36px; position: relative; }
.sys:hover { background: var(--bg-2); }
.sys-num { font-family: "DM Serif Display", serif; font-style: italic; font-size: 15px; color: var(--gold-deep); }
.sys h3 { font-family: "DM Serif Display", serif; font-size: 21px; letter-spacing: .14em; text-transform: uppercase; margin-top: 10px; color: var(--cream); }
.sys .sub { font-style: italic; color: var(--gold); font-size: 15px; margin-top: 4px; }
.sys .body { margin-top: 16px; font-size: 16.5px; color: var(--muted); }
.sys-viz { margin-top: 22px; min-height: 30px; display: flex; align-items: center; }
/* sweep dots */
.sweepdots { display: flex; gap: 10px; align-items: center; }
.sweepdot { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--dim); }
.sweepdot.hit { background: var(--green); border-color: var(--green); }
.sweep-sep { width: 26px; height: 1px; background: var(--edge); }
/* tier bars */
.tierbars { display: flex; gap: 10px; align-items: flex-end; height: 30px; }
.tierbar { width: 34px; }
.tierbar.r { height: 30px; background: var(--red); }
.tierbar.g { height: 22px; background: var(--green); }
.tierbar.s { height: 14px; background: var(--cream); }
/* equipment gauge */
.gauge { display: grid; gap: 7px; width: 100%; max-width: 220px; }
.gauge-row { display: flex; align-items: center; gap: 10px; }
.gauge-k { font-family: "Inter", sans-serif; font-size: 8px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); min-width: 58px; }
.gauge-line { flex: 1; height: 1px; background: var(--edge); position: relative; }
.gauge-line::after { content: ""; position: absolute; left: 0; top: -1px; height: 3px; background: var(--gold-deep); }
.gauge-line.g1::after { width: 34%; } .gauge-line.g2::after { width: 60%; } .gauge-line.g3::after { width: 22%; }

/* ---------- epigraph ---------- */
.epigraph { margin-top: 110px; border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); padding: 76px 28px; text-align: center; position: relative; z-index: 1; background: linear-gradient(180deg, rgba(236,227,205,0.02), transparent); }
.epigraph-lines { font-family: "DM Serif Display", serif; font-size: clamp(24px, 3.2vw, 34px); font-style: italic; line-height: 1.5; color: var(--green); }
.epigraph-attr { margin-top: 22px; }

/* ---------- origin ---------- */
.datefield { max-width: 460px; margin: 44px auto 0; padding: 34px 36px; transform: rotate(-.5deg); }
.datefield-hand { margin-top: 10px; border-bottom: 1px solid var(--gold-deep); padding: 0 4px 6px; font-size: 32px; font-style: italic; color: var(--cream); transform: rotate(-.8deg); }
.story { margin-top: 44px; }
.story p { margin-bottom: 24px; font-size: 19.5px; color: var(--muted); max-width: 38em; }
.story .ink { color: var(--cream); }

/* ---------- headers & shared ---------- */
.sec-h { margin-top: 18px; font-family: "DM Serif Display", serif; font-size: clamp(28px, 3.8vw, 44px); line-height: 1.12; max-width: 17em; color: var(--cream); }
.sec-body { margin-top: 20px; max-width: 33em; font-size: 18.5px; color: var(--muted); }
.page-h { margin-top: 18px; font-family: "DM Serif Display", serif; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.08; max-width: 16em; color: var(--cream); }
.denser { font-family: "DM Serif Display", serif; font-size: clamp(26px, 3.4vw, 38px); font-style: italic; line-height: 1.3; max-width: 23em; color: var(--cream); }
.denser-sub { margin-top: 30px; max-width: 38em; font-size: 17px; }
.cta-row { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* faq */
.faq { margin-top: 36px; }
.faq details { border-bottom: 1px solid var(--edge); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; font-family: "DM Serif Display", serif; font-size: 21px; color: var(--cream); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; color: var(--gold); margin-right: 14px; }
.faq details[open] summary::before { content: "·"; }
.faq p { margin-top: 12px; max-width: 36em; font-size: 17.5px; color: var(--muted); }

/* ledger form (public style: framed panel) */
.ledger { margin-top: 36px; background: var(--bg-2); border: 1px solid var(--edge); padding: 30px; }
.ledger-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px; }
.ledger-field { flex: 1 1 180px; }
.ledger-field.wide { flex: 2 1 230px; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.success-line { margin-top: 14px; font-size: 16px; }
.ledger-error { margin-top: 12px; font-size: 15px; color: var(--red); }

/* order page */
.featured { margin-top: 52px; display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: center; padding: 48px 52px; }
.featured-h { margin-top: 12px; font-family: "DM Serif Display", serif; font-size: clamp(28px, 3.2vw, 38px); color: var(--cream); }
.featured-sub { margin-top: 6px; font-style: italic; color: var(--gold); font-size: 17px; }
.featured-body { margin-top: 20px; max-width: 32em; font-size: 18px; color: var(--muted); }
.buy-row { margin-top: 28px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.price { font-family: "DM Serif Display", serif; font-size: 27px; color: var(--cream); }
.price-s { font-family: "DM Serif Display", serif; font-size: 21px; color: var(--cream); }
.packs { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.pack-h { margin-top: 12px; font-family: "DM Serif Display", serif; font-size: 23px; color: var(--cream); }
.packs-note { margin: 56px auto 0; max-width: 36em; text-align: center; font-size: 15.5px; display: block; }
.card-sub { margin-top: 4px; font-style: italic; color: var(--gold); font-size: 15px; }
.card-body { margin-top: 16px; font-size: 16.5px; color: var(--muted); }

/* checkout / thanks */
.line-item { margin-top: 44px; display: flex; align-items: baseline; justify-content: space-between; gap: 24px; background: var(--bg-2); border: 1px solid var(--edge); padding: 26px 30px; }
.li-title { font-family: "DM Serif Display", serif; font-size: 23px; color: var(--cream); }
.li-sub { margin-top: 4px; font-style: italic; color: var(--muted); font-size: 15px; }
.li-price { font-family: "DM Serif Display", serif; font-size: 25px; color: var(--gold); white-space: nowrap; }
.change-item { margin-top: 12px; text-align: right; }
.change-item a { font-family: "Inter", sans-serif; font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--dim); text-decoration: none; }
.change-item a:hover { color: var(--gold); }
.co-form { margin-top: 36px; }
.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sweep-opt { margin-top: 30px; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.sweep-opt input { margin-top: 7px; width: 15px; height: 15px; accent-color: #c8a86a; }
.sweep-opt span { font-size: 16px; color: var(--muted); }
.co-actions { margin-top: 38px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.co-note { font-style: italic; color: var(--muted); font-size: 15px; }
.privacy-note { margin-top: 52px; max-width: 36em; font-size: 14.5px; color: var(--dim); font-style: italic; }
.center-block { text-align: center; padding-top: 48px; }
.thanks-body { margin-top: 36px; max-width: 34em; font-size: 18.5px; color: var(--muted); }
.thanks-cta { margin-top: 28px; }
.sp { margin-top: 52px; }
.while-wait { margin-top: 24px; max-width: 34em; font-size: 16px; }
.back-link { align-self: center; font-family: "Inter", sans-serif; font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--dim); text-decoration: none; }
.back-link:hover { color: var(--gold); }

/* start / legend */
.start-links { margin-top: 44px; display: grid; gap: 18px; max-width: 580px; }
.start-link { display: block; padding: 24px 26px; text-decoration: none; transition: transform .25s, border-color .25s; }
.start-link:hover { transform: translateX(6px); border-color: var(--gold-deep); }
.start-link .t { font-family: "DM Serif Display", serif; font-size: 22px; color: var(--cream); margin-top: 5px; }
.start-link .d { font-style: italic; color: var(--muted); font-size: 15.5px; margin-top: 4px; }
.legend-block h2 { margin-top: 58px; font-family: "DM Serif Display", serif; font-size: 25px; letter-spacing: .05em; color: var(--cream); }
.legend-block p { margin-top: 16px; font-size: 18.5px; color: var(--muted); max-width: 36em; }

@media (max-width: 900px) {
  body { font-size: 17px; }
  .hero { grid-template-columns: 1fr; min-height: unset; gap: 48px; padding-top: 56px; }
  .artifact { order: -1; }
  .cover { width: 240px; height: 360px; }
  .systems, .co-grid, .packs, .featured { grid-template-columns: 1fr; }
  section.wrap { padding-top: 72px; }
  .hero-h { font-size: clamp(40px, 11vw, 56px); }
}
