/* Ink Cult - site styles */
:root {
  --bg: #07060a;
  --bg-2: #0d0a14;
  --ink: #050408;
  --purple: #7b3fe4;
  --purple-deep: #3d1a7a;
  --purple-glow: #a86bff;
  --bone: #f2ecdc;
  --bone-dim: #b9ae9a;
  --mute: #7a7186;
  --line: rgba(168, 107, 255, 0.18);
  --font-head: "Oswald", "Bahnschrift", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: var(--purple-glow); text-decoration: none; }
img { max-width: 100%; display: block; }

/* smoke backdrop */
.smoke {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background: radial-gradient(1200px 800px at 15% 20%, rgba(123, 63, 228, 0.16), transparent 60%),
              radial-gradient(900px 700px at 85% 70%, rgba(61, 26, 122, 0.22), transparent 60%),
              var(--bg);
}
.smoke::before, .smoke::after {
  content: ""; position: absolute; width: 70vw; height: 70vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(123,63,228,0.12), transparent 70%);
  will-change: transform; animation: drift 30s ease-in-out infinite alternate;
}
.smoke::before { left: -20vw; top: -10vw; }
.smoke::after { right: -25vw; bottom: -20vw; animation-duration: 42s; animation-delay: -15s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(12vw, 8vw) scale(1.2); }
}

/* layout */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 110px 0; position: relative; }
section + section { border-top: 1px solid var(--line); }
.eyebrow {
  font-family: var(--font-head); letter-spacing: 0.35em; font-size: 12px;
  color: var(--purple-glow); text-transform: uppercase; margin: 0 0 14px;
}
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; line-height: 1.05; }
h2 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 22px; }
h3 { font-size: 20px; letter-spacing: 0.12em; }
p { margin: 0 0 18px; color: var(--bone-dim); max-width: 62ch; }
p.lead { color: var(--bone); font-size: 20px; }
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(10px); background: rgba(7, 6, 10, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); letter-spacing: 0.3em; font-size: 15px; color: var(--bone); }
.brand img { width: 34px; height: 34px; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav li a { font-family: var(--font-head); letter-spacing: 0.2em; font-size: 12px; text-transform: uppercase; color: var(--bone-dim); }
.nav li a:hover, .nav li a.hot { color: var(--purple-glow); }
@media (max-width: 1060px) { .nav ul { gap: 18px; } .nav li a { letter-spacing: .14em; font-size: 11px; } }
@media (max-width: 900px) { .nav ul li:not(:nth-last-child(-n+2)) { display: none; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); letter-spacing: 0.22em; text-transform: uppercase; font-size: 13px;
  padding: 16px 28px; border: 1px solid var(--purple-glow); color: var(--bone);
  background: linear-gradient(180deg, rgba(123,63,228,0.28), rgba(123,63,228,0.08));
  box-shadow: 0 0 0 0 rgba(168,107,255,0.0); transition: box-shadow .3s, transform .2s, background .3s;
  cursor: pointer;
}
.btn:hover { box-shadow: 0 0 34px rgba(168,107,255,0.35); transform: translateY(-1px); background: linear-gradient(180deg, rgba(123,63,228,0.45), rgba(123,63,228,0.15)); }
.btn.ghost { background: transparent; border-color: rgba(242,236,220,0.25); }
.btn.ghost:hover { border-color: var(--purple-glow); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* hero */
.hero { min-height: 92vh; display: grid; place-items: center; text-align: center; padding: 80px 0 60px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: url("assets/hero-bg.jpg") center 30% / cover no-repeat; opacity: .55; mask-image: linear-gradient(180deg, #000 30%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); }
.hero .emblem { width: 150px; height: 150px; margin: 0 auto 26px; filter: drop-shadow(0 0 40px rgba(168,107,255,0.45)); animation: pulse 5s ease-in-out infinite; }
@keyframes pulse { 50% { filter: drop-shadow(0 0 60px rgba(168,107,255,0.7)); } }
.hero h1 { font-size: clamp(56px, 11vw, 132px); letter-spacing: 0.18em; }
.hero .mantra { font-family: var(--font-head); font-size: clamp(14px, 2vw, 20px); letter-spacing: 0.3em; color: var(--bone-dim); margin: 22px 0 8px; text-transform: uppercase; }
.hero .sub { font-size: 15px; color: var(--mute); letter-spacing: .1em; margin-bottom: 36px; }
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.moon { position: absolute; top: 12%; right: 10%; width: 150px; height: 150px; border-radius: 50%; z-index: -1; opacity: .85;
  background: url("assets/moon.webp") center / cover no-repeat;
  filter: sepia(1) hue-rotate(225deg) saturate(2.2) brightness(.65) contrast(1.1);
  box-shadow: 0 0 60px rgba(123,63,228,0.45), 0 0 160px rgba(123,63,228,0.25); }
@media (max-width: 720px) { .moon { width: 84px; height: 84px; top: 6%; } }

/* lore */
.lore-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 54px; align-items: center; }
.lore-grid .art { position: relative; }
.lore-grid .art img { border: 1px solid var(--line); }
.lore-grid .art::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 80px rgba(7,6,10,0.9); pointer-events: none; }
@media (max-width: 860px) { .lore-grid { grid-template-columns: 1fr; } }
blockquote { border-left: 2px solid var(--purple); margin: 26px 0; padding: 4px 0 4px 20px; font-family: var(--font-head); letter-spacing: 0.12em; text-transform: uppercase; font-size: 15px; color: var(--bone); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.gallery img { aspect-ratio: 1; object-fit: cover; border: 1px solid transparent; transition: transform .3s, border-color .3s; }
.gallery img:hover { transform: scale(1.04); border-color: var(--purple-glow); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* traits */
.traits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trait { border: 1px solid var(--line); padding: 24px; background: rgba(13,10,20,0.6); }
.trait h3 { color: var(--purple-glow); margin-bottom: 10px; }
.trait p { font-size: 15px; margin: 0; }
.trait .vals { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.trait .vals span { font-family: var(--font-head); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; padding: 4px 8px; border: 1px solid rgba(242,236,220,0.12); color: var(--bone-dim); }
@media (max-width: 860px) { .traits { grid-template-columns: 1fr; } }

/* the twenty */
.twenty { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.twenty figure { margin: 0; position: relative; overflow: hidden; border: 1px solid var(--line); }
.twenty img { aspect-ratio: 1; object-fit: cover; transition: transform .5s; }
.twenty figure:hover img { transform: scale(1.05); }
.twenty figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; background: linear-gradient(180deg, transparent, rgba(5,4,8,0.95)); font-family: var(--font-head); letter-spacing: 0.16em; text-transform: uppercase; font-size: 13px; }
.twenty .unwritten { display: grid; place-items: center; aspect-ratio: 1; background: repeating-linear-gradient(135deg, rgba(123,63,228,0.06) 0 8px, transparent 8px 16px); color: var(--mute); font-family: var(--font-head); letter-spacing: 0.25em; font-size: 12px; text-align: center; padding: 20px; }
@media (max-width: 860px) { .twenty { grid-template-columns: repeat(2, 1fr); } }

/* ritual teaser */
.ritual { background: linear-gradient(180deg, rgba(61,26,122,0.18), transparent 60%); }
.ritual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.compare { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.compare figure { margin: 0; }
.compare figcaption { font-family: var(--font-head); letter-spacing: 0.25em; font-size: 11px; text-transform: uppercase; color: var(--mute); text-align: center; margin-top: 8px; }
.compare .w figcaption { color: #d0525f; }
.rules li { color: var(--bone-dim); margin-bottom: 8px; }
@media (max-width: 860px) { .ritual-grid { grid-template-columns: 1fr; } }

/* the rites */
.rites { list-style: none; margin: 10px auto 0; padding: 0; max-width: 760px; position: relative; }
.rites::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(180deg, var(--purple-glow), rgba(168,107,255,.08)); }
.rite { display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); position: relative; }
.rite:last-child { border-bottom: 0; }
.rite .num { font-family: var(--font-head); font-size: 15px; letter-spacing: .1em; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(242,236,220,.16); background: var(--bg); color: var(--bone-dim); }
.rite h3 { margin-bottom: 6px; color: var(--bone); }
.rite p { margin: 0; font-size: 15px; }
.rite .state { font-family: var(--font-head); letter-spacing: .3em; text-transform: uppercase; font-size: 11px; color: var(--purple-glow); padding-top: 20px; }
.rite.now .num { border-color: var(--purple-glow); color: var(--purple-glow); box-shadow: 0 0 26px rgba(168,107,255,.35); }
.rite:not(.now):not(.done) { opacity: .55; }
.rite.veiled h3, .rite.veiled p { color: var(--mute); }
.rite.done { opacity: .75; }
.rite.done .num { background: var(--purple); border-color: var(--purple); color: var(--bone); }
.rite.done h3 { text-decoration: line-through; text-decoration-color: var(--purple-glow); text-decoration-thickness: 2px; }
@media (max-width: 720px) { .rite { grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; } .rite .num { width: 44px; height: 44px; font-size: 13px; } .rite .state { grid-column: 2; padding-top: 0; } .rites::before { left: 21px; } }

/* WL checker */
.checker { border: 1px solid var(--line); background: rgba(13,10,20,0.75); padding: 36px 40px; max-width: 760px; margin: 0 auto; box-shadow: 0 0 80px rgba(61,26,122,0.25); }
.check-form label { display: block; font-family: var(--font-head); letter-spacing: 0.2em; text-transform: uppercase; font-size: 11px; color: var(--bone-dim); margin-bottom: 10px; }
.check-row { display: flex; gap: 10px; }
.check-row input { flex: 1; min-width: 0; padding: 15px 16px; background: var(--ink); border: 1px solid rgba(242,236,220,0.14); color: var(--bone); font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 15px; }
.check-row input:focus { outline: none; border-color: var(--purple-glow); }
.check-row input:disabled { opacity: .5; }
.verdict { margin: 24px 0 26px; min-height: 64px; }
.v-idle { font-size: 14px; color: var(--mute); margin: 0; text-align: center; max-width: none; padding: 20px 0; }
.v-box { display: flex; align-items: center; gap: 20px; padding: 20px 22px; border: 1px solid; animation: vin .35s ease; }
@keyframes vin { from { opacity: 0; transform: translateY(6px); } }
.v-tag { flex: none; font-family: var(--font-head); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: 22px; padding: 10px 16px; }
.v-text { margin: 0; color: var(--bone); font-size: 15px; }
.v-body { flex: 1; min-width: 0; }
.v-wallet { margin: 6px 0 0; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 13px; color: var(--mute); letter-spacing: .02em; }
.v-share { flex: none; padding: 12px 18px; font-size: 12px; white-space: nowrap; }
.v-share .x-mark { font-family: system-ui, sans-serif; font-weight: 700; font-size: 15px; line-height: 1; margin-right: 2px; }
.verdict.gtd .v-share { border-color: var(--purple-glow); }
.verdict.gtd .v-box { border-color: var(--purple-glow); background: rgba(123,63,228,0.16); box-shadow: 0 0 44px rgba(168,107,255,.25); }
.verdict.gtd .v-tag { background: var(--purple); color: var(--bone); }
.verdict.fcfs .v-box { border-color: rgba(242,236,220,.4); background: rgba(242,236,220,0.05); }
.verdict.fcfs .v-tag { border: 1px solid var(--bone); color: var(--bone); }
.verdict.none .v-box, .verdict.bad .v-box { border-color: rgba(208,82,95,.55); background: rgba(208,82,95,0.08); }
.verdict.none .v-tag, .verdict.bad .v-tag { color: #e0707b; font-size: 15px; letter-spacing: .16em; padding: 10px 0; }
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; border-top: 1px solid var(--line); padding-top: 24px; }
.tier { display: flex; gap: 14px; align-items: flex-start; }
.tier .tag, .reg-list .tag { flex: none; font-family: var(--font-head); letter-spacing: .16em; font-size: 11px; padding: 4px 8px; border: 1px solid; }
.tier.gtd .tag, .reg-list .gtd .tag { background: var(--purple); border-color: var(--purple); color: var(--bone); }
.tier.fcfs .tag, .reg-list .fcfs .tag { border-color: rgba(242,236,220,.4); color: var(--bone); }
.tier h3 { font-size: 14px; margin-bottom: 6px; }
.tier p { font-size: 14px; margin: 0; }

.register { max-width: 760px; margin: 34px auto 0; }
.reg-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.reg-stats { margin: 0; font-family: var(--font-head); letter-spacing: .2em; text-transform: uppercase; font-size: 12px; color: var(--mute); white-space: pre-wrap; }
.reg-stats b { color: var(--bone); font-weight: 600; font-size: 15px; letter-spacing: .08em; }
.reg-stats b.g { color: var(--purple-glow); }
.chips { display: flex; gap: 6px; }
.chip { font-family: var(--font-head); letter-spacing: .18em; text-transform: uppercase; font-size: 11px; padding: 7px 14px; border: 1px solid rgba(242,236,220,.16); background: transparent; color: var(--bone-dim); cursor: pointer; border-radius: 999px; transition: all .2s; }
.chip:hover { border-color: var(--purple-glow); color: var(--bone); }
.chip.on { background: rgba(123,63,228,.25); border-color: var(--purple-glow); color: var(--bone); }
.reg-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); background: rgba(13,10,20,0.6); max-height: 560px; overflow-y: auto; }
.reg-list li { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 9px 16px; border-bottom: 1px solid rgba(168,107,255,.08); cursor: pointer; transition: background .15s; }
.reg-list li:hover { background: rgba(123,63,228,.1); }
.reg-list li:last-child { border-bottom: 0; }
.reg-list .n { font-family: var(--font-head); font-size: 12px; color: var(--mute); letter-spacing: .08em; }
.reg-list code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 13.5px; color: var(--bone-dim); overflow-wrap: anywhere; }
.reg-list mark { background: rgba(168,107,255,.35); color: var(--bone); border-radius: 2px; }
.reg-list li.empty { display: block; text-align: center; color: var(--mute); font-size: 14px; padding: 26px; cursor: default; }
.reg-foot { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 18px; }
.reg-foot .btn { padding: 11px 20px; font-size: 11px; }
.dls { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px; }
.dl-lbl { font-family: var(--font-head); letter-spacing: .18em; text-transform: uppercase; font-size: 11px; color: var(--mute); width: 100%; text-align: center; }
.dl { font-family: var(--font-head); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; color: var(--bone-dim); border: 1px solid rgba(242,236,220,.16); padding: 9px 14px; transition: all .2s; }
.dl:hover { border-color: var(--purple-glow); }
.dl:hover { color: var(--purple-glow); }

/* the binding (mint schedule) */
.mint { background: radial-gradient(900px 500px at 50% 0%, rgba(123,63,228,.16), transparent 70%); }
.stages { list-style: none; margin: 16px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1000px; }
.stage { border: 1px solid var(--line); background: rgba(13,10,20,.72); padding: 24px 24px 22px; position: relative; transition: border-color .3s, box-shadow .3s; }
.stage::before, .stage::after { content: ""; position: absolute; width: 10px; height: 10px; border: 1px solid rgba(168,107,255,.7); }
.stage::before { top: 6px; left: 6px; border-right: 0; border-bottom: 0; }
.stage::after { bottom: 6px; right: 6px; border-left: 0; border-top: 0; }
.stage .st-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.stage .tag { font-family: var(--font-head); letter-spacing: .16em; font-size: 11px; padding: 4px 8px; border: 1px solid rgba(242,236,220,.4); color: var(--bone); }
.stage.gtd .tag { background: var(--purple); border-color: var(--purple); }
.st-state { font-family: var(--font-head); letter-spacing: .22em; text-transform: uppercase; font-size: 11px; color: var(--mute); }
.stage h3 { font-size: 24px; margin-bottom: 8px; }
.stage p { margin: 0; font-size: 14px; }
.st-kind { color: var(--bone-dim); }
.st-kind b { color: var(--bone); font-weight: 500; }
.st-when { margin-top: 16px !important; font-family: var(--font-head); letter-spacing: .08em; text-transform: uppercase; font-size: 16px !important; color: var(--bone) !important; }
.st-when span { color: var(--mute); font-size: 12px; letter-spacing: .12em; white-space: nowrap; }
.st-local { color: var(--mute); font-size: 13px !important; min-height: 1.4em; margin-top: 2px !important; }
.st-terms { margin-top: 14px !important; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px !important; color: var(--bone-dim); }
.stage.live { border-color: var(--purple-glow); box-shadow: 0 0 46px rgba(168,107,255,.28); }
.stage.live .st-state { color: var(--purple-glow); }
.stage.live .st-state::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--purple-glow); box-shadow: 0 0 10px var(--purple-glow); margin-right: 8px; vertical-align: 1px; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.stage.over { opacity: .5; }
.mint-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.mint-note { text-align: center; margin: 22px auto 0; font-size: 13px; color: var(--mute); max-width: none; }

/* the gates */
.gates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.gate { display: block; border: 1px solid var(--line); background: rgba(13,10,20,.6); padding: 26px 24px 22px; color: inherit; transition: border-color .3s, box-shadow .3s, transform .2s; }
.gate:hover { border-color: var(--purple-glow); box-shadow: 0 0 40px rgba(168,107,255,.2); transform: translateY(-2px); }
.g-kicker { display: block; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 12px; color: var(--purple-glow); margin-bottom: 14px; }
.gate h3 { font-size: 22px; margin-bottom: 10px; }
.gate p { font-size: 15px; margin: 0 0 18px; }
.g-state { font-family: var(--font-head); letter-spacing: .22em; text-transform: uppercase; font-size: 11px; color: var(--mute); }
.foot-links a { color: var(--bone-dim); }
.foot-links a:hover { color: var(--purple-glow); }
@media (max-width: 860px) { .stages, .gates { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--mute); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
footer .meta { font-family: var(--font-head); letter-spacing: 0.25em; text-transform: uppercase; font-size: 11px; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.rv.in { opacity: 1; transform: none; }

/* ritual page */
.ritual-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 60px 24px; }
.ritual-page .emblem { width: 110px; margin: 0 auto 30px; filter: drop-shadow(0 0 40px rgba(168,107,255,0.5)); }
.ritual-page h1 { font-size: clamp(40px, 8vw, 96px); letter-spacing: 0.2em; }
.ritual-page .lines { margin: 34px auto; max-width: 560px; }
.ritual-page .lines p { font-family: var(--font-head); letter-spacing: 0.22em; text-transform: uppercase; font-size: clamp(13px, 1.8vw, 17px); color: var(--bone-dim); margin: 0 0 14px; opacity: 0; animation: fadeup 1.2s ease forwards; }
.ritual-page .lines p:nth-child(2) { animation-delay: .9s; } .ritual-page .lines p:nth-child(3) { animation-delay: 1.8s; } .ritual-page .lines p:nth-child(4) { animation-delay: 2.7s; } .ritual-page .lines p:nth-child(5) { animation-delay: 3.6s; color: var(--purple-glow); }
@keyframes fadeup { to { opacity: 1; } }
.countdown { font-family: var(--font-head); letter-spacing: 0.3em; font-size: 13px; color: var(--mute); margin-top: 30px; }
.countdown b { display: block; color: var(--bone); font-size: 34px; letter-spacing: 0.15em; margin-top: 8px; }

/* ---- mobile ---- */
@media (max-width: 720px) {
  body { font-size: 16px; line-height: 1.6; }
  section { padding: 72px 0; }
  .wrap { padding: 0 18px; }
  h2 { font-size: clamp(28px, 8vw, 40px); letter-spacing: .05em; margin-bottom: 16px; }
  p.lead { font-size: 18px; }
  .nav .wrap { height: 56px; }
  .brand { font-size: 13px; letter-spacing: .22em; }
  .brand img { width: 28px; height: 28px; }
  .nav ul { gap: 0; }
  .nav li a { padding: 8px 10px; }
  .hero { min-height: 100svh; padding: 60px 0 50px; }
  .hero .emblem { width: 110px; height: 110px; }
  .hero h1 { font-size: clamp(48px, 15vw, 72px); letter-spacing: .12em; }
  .hero .mantra { letter-spacing: .18em; }
  .hero .cta { flex-direction: column; align-items: stretch; padding: 0 10px; }
  .btn { justify-content: center; padding: 15px 20px; }
  .lore-grid { gap: 28px; }
  .lore-grid .art { order: -1; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .traits { gap: 12px; }
  .trait { padding: 18px; }
  .twenty { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .twenty figcaption { font-size: 11px; padding: 10px; }
  .twenty .unwritten { font-size: 11px; padding: 14px; }
  .ritual-grid { gap: 28px; }
  .compare { max-width: 420px; margin: 0 auto; }
  .checker { padding: 22px 16px; }
  .check-row { flex-direction: column; }
  .check-row input { font-size: 16px; } /* prevents iOS zoom on focus */
  .v-box { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
  .v-share { align-self: stretch; justify-content: center; }
  .tiers { grid-template-columns: 1fr; }
  .reg-head { flex-direction: column; align-items: flex-start; }
  .reg-list li { grid-template-columns: 1fr auto; padding: 9px 12px; gap: 10px; }
  .reg-list .n { display: none; }
  .reg-list code { font-size: 12px; }
  footer .wrap { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .smoke::before, .smoke::after, .hero .emblem { animation: none; }
  .rv { transition: none; opacity: 1; transform: none; }
}

/* =====================================================================
   v3 - the Order's apps up front, the Hunt, the Lots, the Twenty's lore
   ===================================================================== */
:root { --live: #6ddc8a; --gold: #ffd65c; }

/* nav: links on the left, the one thing happening now on the right */
.nav .wrap { gap: 18px; }
.nav-links { flex: 1; justify-content: center; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-live { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); letter-spacing: .18em; text-transform: uppercase; font-size: 12px;
  color: var(--bone); border: 1px solid rgba(109,220,138,.55); background: rgba(109,220,138,.08); padding: 9px 14px; white-space: nowrap; transition: background .2s, box-shadow .2s; }
.nav-live:hover { background: rgba(109,220,138,.16); box-shadow: 0 0 24px rgba(109,220,138,.25); }
.nav-live i, .btn .dot, .d-st.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 10px var(--live); animation: blink 1.6s ease-in-out infinite; flex: none; }
.nav-live.over { border-color: var(--line); background: transparent; }
.nav-live.over i, .d-st.live.over i { background: var(--mute); box-shadow: none; animation: none; }
.burger { display: none; width: 42px; height: 40px; border: 1px solid var(--line); background: transparent; padding: 0; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--bone); transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.menu { border-top: 1px solid var(--line); background: rgba(7,6,10,.97); max-height: calc(100vh - 56px); overflow-y: auto; }
.menu .wrap { display: block; height: auto; padding-top: 14px; padding-bottom: 24px; }
.menu-h { font-family: var(--font-head); letter-spacing: .3em; text-transform: uppercase; font-size: 11px; color: var(--mute); margin: 14px 0 8px; }
.menu > .wrap > a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--bone); }
.menu > .wrap > a b { font-family: var(--font-head); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: 16px; }
.menu > .wrap > a span { grid-column: 1; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: var(--purple-glow); }
.menu .st { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-family: var(--font-head); letter-spacing: .2em; text-transform: uppercase; font-size: 10px; color: var(--mute); border: 1px solid var(--line); padding: 4px 8px; }
.menu .st.live { color: var(--live); border-color: rgba(109,220,138,.5); }
.menu-anchors { display: flex; flex-wrap: wrap; gap: 8px; }
.menu-anchors a { font-family: var(--font-head); letter-spacing: .16em; text-transform: uppercase; font-size: 12px; color: var(--bone-dim); border: 1px solid var(--line); padding: 8px 12px; }
body.menu-open { overflow: hidden; }
@media (max-width: 980px) {
  .nav-links { display: none !important; }
  .burger { display: inline-flex; }
}
@media (max-width: 420px) { .nav-live { font-size: 10.5px; letter-spacing: .12em; padding: 8px 10px; } .brand { letter-spacing: .16em; } }

/* hero: smaller, so the doors are on the first screen */
.hero { min-height: 0; padding: 90px 0 56px; }
.hero .emblem { width: 120px; height: 120px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(52px, 9vw, 112px); }
.hero .sub { margin-bottom: 30px; }
.btn .dot { margin-right: 2px; }

/* the doors - every app of the Order in one row */
.doors { display: grid; grid-template-columns: 1.35fr repeat(4, 1fr); gap: 12px; margin-top: 54px; text-align: left; }
.door { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border: 1px solid var(--line); background: rgba(13,10,20,.78); color: var(--bone);
  backdrop-filter: blur(4px); transition: border-color .25s, box-shadow .25s, transform .2s; }
.door:hover { border-color: var(--purple-glow); box-shadow: 0 0 36px rgba(168,107,255,.22); transform: translateY(-2px); }
.door.main { border-color: rgba(109,220,138,.45); background: linear-gradient(180deg, rgba(109,220,138,.07), rgba(13,10,20,.85)); }
.door.main:hover { border-color: var(--live); box-shadow: 0 0 40px rgba(109,220,138,.18); }
.d-st { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); letter-spacing: .24em; text-transform: uppercase; font-size: 10px; color: var(--mute); }
.d-st i { width: 6px; height: 6px; border-radius: 50%; background: rgba(242,236,220,.25); }
.d-st.live { color: var(--live); }
.d-st.new { color: var(--gold); }
.d-st.new i { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.d-name { font-family: var(--font-head); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 20px; line-height: 1.1; margin-top: 4px; }
.door.main .d-name { font-size: 24px; }
.d-line { font-size: 14px; color: var(--bone-dim); line-height: 1.4; }
.d-line b { color: var(--bone); font-weight: 500; }
.d-go { margin-top: auto; padding-top: 8px; font-family: var(--font-head); letter-spacing: .18em; text-transform: uppercase; font-size: 11px; color: var(--purple-glow); }
.door.main .d-go { color: var(--live); }
@media (max-width: 1060px) { .doors { grid-template-columns: repeat(3, 1fr); } .door.main { grid-column: span 3; } }
@media (max-width: 720px) {
  .hero { padding: 54px 0 40px; }
  .hero .emblem { width: 92px; height: 92px; margin-bottom: 16px; }
  .doors { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 34px; }
  .door.main { grid-column: span 2; }
  .door { padding: 14px 13px 12px; }
  .d-name { font-size: 16px; }
  .door.main .d-name { font-size: 21px; }
  .d-line { font-size: 13px; }
}

/* the hunt */
.huntsec { background: radial-gradient(900px 520px at 85% 30%, rgba(109,220,138,.06), transparent 70%), linear-gradient(180deg, rgba(61,26,122,.16), transparent 70%); }
.hunt-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 54px; align-items: center; }
.eyebrow .now { color: var(--live); }
.odds { list-style: none; padding: 0; margin: 4px 0 22px; display: grid; gap: 8px; }
.odds li { border-left: 2px solid var(--purple); padding: 4px 0 4px 14px; color: var(--bone-dim); font-size: 16px; }
.odds b { color: var(--bone); font-weight: 500; font-family: var(--font-head); letter-spacing: .06em; text-transform: uppercase; }
.hunt-live { color: var(--bone-dim); font-size: 15px; border: 1px solid var(--line); background: rgba(13,10,20,.6); padding: 12px 16px; max-width: none; }
.hunt-live b { color: var(--bone); font-weight: 500; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.center-row { justify-content: center; margin-top: 34px; }
.beasts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.beast { margin: 0; border: 1px solid var(--line); background: rgba(13,10,20,.7); overflow: hidden; }
.beast img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.beast figcaption { padding: 12px 12px 14px; display: grid; gap: 2px; }
.beast b { font-family: var(--font-head); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: 15px; color: var(--bone); }
.beast span { font-family: var(--font-head); letter-spacing: .24em; text-transform: uppercase; font-size: 10px; color: var(--mute); }
.beast em { font-style: normal; font-size: 13px; color: var(--bone-dim); margin-top: 6px; }
.beast.rare { border-color: rgba(120,132,220,.5); box-shadow: 0 0 30px rgba(120,132,220,.15); }
.beast.rare span { color: #8a96ec; }
@media (max-width: 860px) { .hunt-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 720px) { .beasts { gap: 8px; } .beast figcaption { padding: 10px 9px 11px; } .beast b { font-size: 13px; } .beast em { font-size: 12px; } }

/* the twenty - lore cards */
.lore-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.lcard { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; border: 1px solid var(--line); background: rgba(13,10,20,.72); transition: border-color .25s, box-shadow .25s, transform .2s; }
.lcard:hover, .lcard:focus-visible { border-color: var(--purple-glow); box-shadow: 0 0 36px rgba(168,107,255,.22); transform: translateY(-2px); }
.lcard:focus-visible { outline: 2px solid var(--purple-glow); outline-offset: 2px; }
.limg { display: block; overflow: hidden; aspect-ratio: 1; }
.limg img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.lcard:hover .limg img { transform: scale(1.05); }
.lbody { display: flex; flex-direction: column; gap: 6px; padding: 14px 15px 16px; flex: 1; }
.lno { font-family: var(--font-head); letter-spacing: .22em; text-transform: uppercase; font-size: 10px; color: var(--purple-glow); }
.lname { font-family: var(--font-head); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 17px; color: var(--bone); line-height: 1.15; }
.lex { font-size: 13.5px; line-height: 1.5; color: var(--bone-dim); }
.lmore { margin-top: auto; padding-top: 6px; font-family: var(--font-head); letter-spacing: .18em; text-transform: uppercase; font-size: 11px; color: var(--purple-glow); }
@media (max-width: 1000px) { .lore-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .lore-cards { grid-template-columns: 1fr 1fr; gap: 8px; } .lbody { padding: 11px 11px 12px; } .lname { font-size: 14px; } .lex { display: none; } }

.lmodal { position: fixed; inset: 0; z-index: 50; background: rgba(4,3,7,.9); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; }
.lmodal[hidden] { display: none !important; }
.lm-box { position: relative; width: 100%; max-width: 920px; max-height: calc(100vh - 40px); overflow: auto; display: grid; grid-template-columns: 1fr 1.1fr; border: 1px solid var(--purple-glow);
  background: linear-gradient(180deg, #110d1a, #08060c); box-shadow: 0 0 80px rgba(123,63,228,.3); animation: vin .35s ease; }
.lm-img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.lm-body { padding: 30px 30px 26px; display: flex; flex-direction: column; }
.lm-body h3 { font-size: 28px; margin-bottom: 16px; }
.lm-text p { color: var(--bone); font-size: 16px; line-height: 1.75; max-width: none; }
.lm-text em { color: var(--purple-glow); }
.lm-acts { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.lm-acts .btn { padding: 12px 18px; font-size: 11px; }
.lm-nav { display: flex; gap: 6px; }
.lm-nav button, .lm-x { border: 1px solid var(--line); background: transparent; color: var(--bone); width: 40px; height: 40px; cursor: pointer; font-size: 18px; font-family: var(--font-body); }
.lm-nav button:hover, .lm-x:hover { border-color: var(--purple-glow); color: var(--purple-glow); }
.lm-x { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(7,6,10,.7); font-size: 22px; line-height: 1; }
@media (max-width: 760px) { .lm-box { grid-template-columns: 1fr; } .lm-img { aspect-ratio: 16/11; object-position: center 25%; } .lm-body { padding: 20px 18px 18px; } .lm-body h3 { font-size: 23px; } .lm-text p { font-size: 15px; } }

/* the lots */
.lotsec { background: radial-gradient(900px 500px at 15% 40%, rgba(255,214,92,.05), transparent 70%); }
.lots-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 54px; align-items: center; }
.lot-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lot-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; border: 1px solid var(--line); background: rgba(13,10,20,.7); padding: 18px 18px 16px; }
.lot-steps li > span { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--purple-glow); display: grid; place-items: center; font-family: var(--font-head); color: var(--purple-glow); letter-spacing: .08em; }
.lot-steps b { font-family: var(--font-head); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: 15px; color: var(--bone); }
.lot-steps p { margin: 6px 0 0; font-size: 14.5px; }
@media (max-width: 860px) { .lots-grid { grid-template-columns: 1fr; gap: 30px; } }

/* footer */
footer .wrap.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; align-items: start; text-align: left; }
.foot-brand { display: flex; gap: 16px; align-items: flex-start; }
.foot-brand img { width: 46px; height: 46px; flex: none; }
.foot-brand .meta { margin: 4px 0 8px; color: var(--bone-dim); }
.foot-brand .safe { font-size: 13px; color: var(--mute); margin: 0; }
.foot-col { display: grid; gap: 8px; }
.foot-col h4 { margin: 4px 0 4px; font-family: var(--font-head); letter-spacing: .3em; text-transform: uppercase; font-size: 11px; color: var(--mute); font-weight: 500; }
.foot-col a { color: var(--bone-dim); font-size: 14px; }
.foot-col a:hover { color: var(--purple-glow); }
@media (max-width: 720px) { footer .wrap.foot { grid-template-columns: 1fr 1fr; text-align: left; } .foot-brand { grid-column: 1 / -1; } }
.hero p { margin-left: auto; margin-right: auto; }
@media (max-width: 720px) {
  .hero { padding: 40px 0 34px; }
  .hero .emblem { width: 74px; height: 74px; margin-bottom: 12px; }
  .moon { width: 58px; height: 58px; top: 4%; right: 6%; }
  .hero .mantra { font-size: 12.5px; letter-spacing: .14em; margin-top: 14px; }
  .hero .sub { font-size: 13px; letter-spacing: .04em; margin-bottom: 22px; }
  .hero .cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0; }
  .hero .cta .btn { padding: 13px 10px; font-size: 11.5px; letter-spacing: .14em; }
  .hero .cta .btn:first-child { grid-column: span 2; }
  .hero .cta .btn:last-child { display: none; }
  .hero .cta .btn:nth-child(2) { grid-column: span 2; }
  .doors { margin-top: 24px; }
}
/* hero: tekst tacno na sredini (margin auto + pomeraj za razmak posle poslednjeg slova) */
.hero .mantra, .hero .sub { margin-left: auto; margin-right: auto; max-width: none; }
.hero .mantra { padding-left: .3em; }
.hero .sub { padding-left: .1em; }
.hero h1 { padding-left: .18em; }
@media (max-width: 720px) { .hero .mantra { padding-left: .14em; } .hero h1 { padding-left: .12em; } .hero .sub { padding-left: .04em; } }

/* --- The Communion (Rite VI) --- */
:root { --blood: #e0303c; --blood-deep: #6d0a12; }
.btn.blood { border-color: rgba(224,48,60,.7); background: linear-gradient(180deg, rgba(141,16,25,.85), rgba(77,7,13,.9)); color: var(--bone); box-shadow: 0 0 26px rgba(224,48,60,.22); }
.btn.blood:hover { border-color: #ff6b5f; box-shadow: 0 0 36px rgba(255,74,61,.35); background: linear-gradient(180deg, rgba(170,22,33,.9), rgba(96,9,16,.92)); }
.door.main.blood { border-color: rgba(224,48,60,.55); background: linear-gradient(180deg, rgba(224,48,60,.12), rgba(13,10,20,.88)); }
.door.main.blood:hover { border-color: var(--blood); box-shadow: 0 0 42px rgba(224,48,60,.25); }
.door.main.blood .d-go { color: #ff7a70; }
.communion { background: radial-gradient(ellipse at 75% 40%, rgba(109,10,18,.32), transparent 60%), linear-gradient(180deg, rgba(61,10,20,.18), transparent 70%); }
.communion-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; align-items: center; }
.communion .rules { padding-left: 18px; }
.communion .rules li::marker { color: var(--blood); }
.communion .rules b { color: var(--bone); font-weight: 500; }
.mutations { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mutations figure { margin: 0; }
.mutations img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #0d0a14; border: 1px solid var(--line); }
.mutations figcaption { font-family: var(--font-head); letter-spacing: .22em; font-size: 11px; text-transform: uppercase; color: var(--mute); text-align: center; margin-top: 8px; }
.mutations .m1 figcaption { color: #e9e2d0; }
.mutations .m2 figcaption { color: #ff5a5a; }
.mutations .m3 figcaption { color: #b48cff; }
@media (max-width: 860px) { .communion-grid { grid-template-columns: 1fr; gap: 30px; } .mutations { max-width: 460px; margin: 0 auto; } }

/* --- The Descent (Rite VII) --- */
.btn.descend { border-color: rgba(201,169,255,.7); background: linear-gradient(180deg, #5a3f8c, #33204f); color: #fff; box-shadow: 0 0 26px rgba(155,110,230,.35); }
.btn.descend:hover { box-shadow: 0 0 40px rgba(155,110,230,.55); }
.door.main.descend { border-color: rgba(201,169,255,.55); background: linear-gradient(180deg, rgba(155,110,230,.16), rgba(13,10,20,.88)); }
.door.main.descend:hover { border-color: #c9a9ff; box-shadow: 0 0 42px rgba(155,110,230,.3); }
.door.main.descend .d-go { color: #d9c2ff; }
.descent { background: radial-gradient(ellipse at 78% 45%, rgba(90,63,140,.35), transparent 62%), radial-gradient(600px 300px at 80% 92%, rgba(255,214,92,.07), transparent 70%), linear-gradient(180deg, rgba(40,20,70,.25), transparent 75%); }
.descent-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.descent .rules { padding-left: 18px; }
.descent .rules li::marker { color: #c9a9ff; }
.descent .rules b { color: var(--bone); font-weight: 500; }
.descent-map { display: block; border: 1px solid rgba(201,169,255,.35); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 60px rgba(155,110,230,.15); transition: transform .4s, box-shadow .4s; }
.descent-map:hover { transform: translateY(-4px); box-shadow: 0 34px 90px rgba(0,0,0,.6), 0 0 80px rgba(155,110,230,.3); }
.descent-map img { display: block; width: 100%; height: auto; }
.descent-live { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 10px; margin: 22px 0 6px; }
.descent-live > div { border: 1px solid var(--line); background: rgba(13,10,20,.6); border-radius: 10px; padding: 12px 14px; }
.descent-live b { display: block; font-family: var(--font-head); font-size: 24px; letter-spacing: .04em; color: var(--bone); font-weight: 500; }
.descent-live span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.descent-live .wide b { color: #ffd65c; }
@media (max-width: 900px) { .descent-grid { grid-template-columns: 1fr; gap: 34px; } .descent-map { max-width: 520px; margin: 0 auto; } }
@media (max-width: 560px) { .descent-live { grid-template-columns: 1fr 1fr; } .descent-live .wide { grid-column: span 2; } }
