/* style.css: the Verdict of the Moirai site. Black-figure pottery and gold
   thread: near-black, terracotta, bone and gold. */
:root {
  --ink: #f2ead9;
  --dim: #b9ad97;
  --gold: #e8b84a;
  --clay: #c8662e;
  --night: #0a0806;
  --panel: #15110d;
  --edge: #3a2f22;
  --herald: #e8c547;
  --monster: #6cc04a;
  --hero: #d9534f;
  --nymph: #3fa7e0;
  --none: #a9a39a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); font: 17px/1.6 Inter, system-ui, sans-serif; }
img { display: block; max-width: 100%; }
a { color: var(--gold); }
h1, h2, h3 { font-family: Cinzel, Georgia, serif; font-weight: 700; letter-spacing: .02em; line-height: 1.15; }
h2 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 12px; }
h3 { font-size: 21px; margin: 16px 0 6px; }

.top { position: fixed; inset: 0 0 auto 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4vw; background: rgba(10,8,6,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(58,47,34,.6); }
section[id] { scroll-margin-top: 64px; }
.brand { font-family: Cinzel, serif; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 20px; }
.brand span { color: var(--gold); font-weight: 500; }
nav { display: flex; gap: 22px; align-items: center; }
nav a { color: var(--ink); text-decoration: none; font-size: 15px; opacity: .85; }
nav a:hover { opacity: 1; color: var(--gold); }
.pill { border: 1px solid var(--gold); border-radius: 999px; padding: 6px 14px; color: var(--gold) !important; opacity: 1 !important; }

.hero { min-height: 100vh; display: flex; align-items: flex-end; background-size: cover; background-position: center; }
.hero-inner { max-width: 760px; padding: 0 4vw 12vh; animation: rise 1.2s ease-out both; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .2em; font-size: 13px; margin: 0; }
h1 { font-size: clamp(42px, 7vw, 86px); margin: 8px 0 16px; text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.lead { font-size: clamp(17px, 2vw, 21px); color: var(--ink); max-width: 640px; }
.note { color: var(--dim); font-size: 14px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 10px; }
.button { display: inline-block; border-radius: 10px; padding: 14px 26px; font-weight: 600; text-decoration: none; border: 1px solid var(--gold);
  font-size: 16px; cursor: pointer; transition: transform .15s, background .15s; font-family: inherit; }
.button:hover { transform: translateY(-2px); }
.button.gold { background: var(--gold); color: #1a1208; }
.button.gold:hover { background: #f3c95e; }
.button.ghost { color: var(--gold); background: rgba(0,0,0,.25); }
.button:disabled { opacity: .5; cursor: wait; }

.band { padding: 96px 4vw; }
.band.dark { background: linear-gradient(180deg, #0a0806, #120d09 50%, #0a0806); }
.wrap { max-width: 1180px; margin: 0 auto; }
.wrap.narrow { max-width: 620px; }
.sub { color: var(--dim); max-width: 700px; margin: 0 0 36px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; margin-top: 36px; }
.steps article { background: var(--panel); border: 1px solid var(--edge); border-radius: 14px; overflow: hidden; padding-bottom: 18px; }
.steps img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.steps h3, .steps p { padding: 0 20px; }
.steps p { color: var(--dim); margin: 0; }
.steps b { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--clay); color: #1a1208;
  font-family: Inter, sans-serif; font-size: 15px; margin-right: 8px; }

.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding: 40px 4vw 96px; max-width: 1280px; margin: 0 auto; }
.split img { border-radius: 14px; border: 1px solid var(--edge); }
.split p { color: var(--dim); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; }
.ticks li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--edge); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 12px; transform: rotate(45deg); background: var(--gold); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
figure { margin: 0; background: var(--panel); border: 1px solid var(--edge); border-radius: 14px; overflow: hidden; transition: transform .2s, border-color .2s; }
figure:hover { transform: translateY(-4px); border-color: var(--gold); }
figure img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
figcaption { padding: 10px 14px; font-family: Cinzel, serif; font-weight: 700; }
figcaption i { display: block; font-family: Inter, sans-serif; font-style: normal; font-weight: 500; font-size: 13px; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }

.builds { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.builds article { background: var(--panel); border: 1px solid var(--edge); border-left: 5px solid var(--none); border-radius: 12px; padding: 4px 22px 18px; }
.builds article p { color: var(--dim); margin: 0; }
.builds .herald { border-left-color: var(--herald); }
.builds .monster { border-left-color: var(--monster); }
.builds .hero { border-left-color: var(--hero); }
.builds .nymph { border-left-color: var(--nymph); }

.beta { background: radial-gradient(ellipse at top, #2a1b0e 0%, #0a0806 70%); }
form { display: grid; gap: 16px; background: var(--panel); border: 1px solid var(--gold); border-radius: 16px; padding: 28px; }
label { display: grid; gap: 6px; font-size: 15px; color: var(--dim); }
input, select { font: inherit; color: var(--ink); background: #0d0a07; border: 1px solid var(--edge); border-radius: 8px; padding: 12px 14px; }
input:focus, select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
label.check { grid-template-columns: auto 1fr; align-items: start; gap: 10px; color: var(--ink); }
label.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--gold); }
.trap { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.status { margin: 0; min-height: 1.4em; }
.status.good { color: #8fd27a; }
.status.bad { color: #f08a7c; }
.count { text-align: center; color: var(--gold); margin-top: 18px; }

footer { padding: 40px 4vw; text-align: center; color: var(--dim); font-size: 14px; border-top: 1px solid var(--edge); }

@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

@media (max-width: 820px) {
  nav a:not(.pill) { display: none; }
  .split { grid-template-columns: 1fr; }
  .band { padding: 72px 5vw; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
