/* Landing page. The hero composition is the original one: blossom split, two figures, logo on the left. */
.hero-bg { position: fixed; inset: 0; height: 100lvh; z-index: -1; overflow: hidden; background: var(--ink-deep); }
.hero-bg > div { position: absolute; inset: 0; }
.hero-art { background: url("/bg2.webp") center / cover no-repeat; filter: grayscale(1) contrast(1.05); opacity: .85; }
.hero-scrim { background:
    linear-gradient(100deg, rgba(5,5,5,.92) 0%, rgba(5,5,5,.6) 38%, rgba(5,5,5,.15) 60%, transparent 80%),
    linear-gradient(180deg, rgba(5,5,5,.5) 0%, transparent 30%, transparent 65%, rgba(5,5,5,.95) 100%); }
.hero-characters { background: url("/bg1.webp") bottom right / contain no-repeat; filter: grayscale(1) contrast(1.05); opacity: .92; animation: figures-in 1.6s var(--ease) both; }
.hero-vignette { pointer-events: none; background:
    radial-gradient(ellipse 90% 70% at 50% 40%, transparent 45%, var(--ink) 100%),
    linear-gradient(180deg, rgba(5,5,5,.78) 0%, rgba(5,5,5,.35) 11%, transparent 22%, transparent 68%, var(--ink) 100%); }
@keyframes figures-in { from { opacity: 0; transform: translateX(34px); } }

.particles { pointer-events: none; }
.mote { --mote: var(--gilt-soft); position: absolute; top: -5%; width: var(--size, 3px); height: var(--size, 3px); border-radius: 50%; background: var(--mote); box-shadow: 0 0 6px 1px var(--mote); opacity: 0; animation: drift var(--dur, 14s) linear var(--delay, 0s) infinite; }
.mote-light { --mote: var(--light); }
.mote-ash { --mote: #8a8a8a; }
@keyframes drift {
    0% { transform: translate3d(0, -5vh, 0); opacity: 0; }
    8% { opacity: .8; }
    92% { opacity: .5; }
    100% { transform: translate3d(var(--drift-x, 40px), 108vh, 0); opacity: 0; }
}

.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 28px) clamp(20px, 6vw, 90px) 96px; }
.hero-inner { max-width: 640px; }
.hero-inner > * { animation: hero-in .9s var(--ease) both; }
.hero-inner > :nth-child(2) { animation-delay: .1s; }
.hero-inner > :nth-child(3) { animation-delay: .22s; }
.hero-inner > :nth-child(4) { animation-delay: .32s; }
.hero-inner > :nth-child(5) { animation-delay: .42s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } }
.hero .eyebrow { margin-bottom: 14px; }
.hero h1 { margin: 0 0 22px -6px; line-height: 0; }
.hero-logo { width: min(100%, 540px, 66svh); height: auto; filter: drop-shadow(0 0 46px rgba(242,242,240,.16)) drop-shadow(0 22px 40px rgba(0,0,0,.7)) drop-shadow(0 0 70px rgba(201,160,92,.22)); }
.hero-tagline { max-width: 480px; margin: 0 0 34px; font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--parchment-dim); text-shadow: 0 1px 12px rgba(0,0,0,.8); }
.hero-tagline span { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions .btn-outline { background: rgba(8,8,8,.45); }
/* the line reserves its height, so nothing jumps when the number arrives */
.hero-stat { display: flex; align-items: center; gap: 10px; min-height: 28px; margin: 22px 0 0; font-size: .86rem; color: var(--parchment-faint); visibility: hidden; }
.hero-stat.is-known { visibility: visible; }
.hero-stat b { font-size: 1.1rem; color: var(--parchment); font-variant-numeric: tabular-nums; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(124,207,138,.6); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(124,207,138,0); } 100% { box-shadow: 0 0 0 0 rgba(124,207,138,0); } }

.scroll-cue { position: absolute; bottom: 24px; left: 50%; translate: -50% 0; width: 22px; height: 36px; display: flex; justify-content: center; padding-top: 6px; border: 1px solid var(--hairline-strong); border-radius: 12px; }
.scroll-cue span { width: 3px; height: 8px; border-radius: 2px; background: var(--gilt-soft); animation: scrollcue 1.8s ease-in-out infinite; }
@keyframes scrollcue { 50% { transform: translateY(8px); opacity: .3; } }

main > section:not(.hero) { position: relative; background: var(--ink); }
.band { padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(64px, 9vw, 112px); scroll-margin-top: var(--nav-h); }
.band-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.band-head-center { display: block; text-align: center; }
.band-head-center .lede { margin-left: auto; margin-right: auto; }

/* news: a lead story and an editorial list, divided by hairlines rather than boxed into equal cards */
.home-news { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0 clamp(28px, 5vw, 64px); border-top: 1px solid var(--gilt-line); }
.home-news.is-single { grid-template-columns: minmax(0, 1fr); }
.home-news > .post { padding-top: 28px; }
.home-news .post-lead .post-title { font-size: clamp(1.4rem, 2.8vw, 2rem); }
.home-news .post-lead .post-body { -webkit-line-clamp: 8; line-clamp: 8; }
.home-news-side .post { padding: 24px 0; border-bottom: 1px solid var(--hairline); }
.home-news-side .post:last-child { border-bottom: 0; }
.home-news-side .post-title { margin: 0; font-size: 1.04rem; }
.home-news-side .event-window { margin: 10px 0 0; }
.home-news .news-skeleton > .post { padding-top: 28px; }

/* factions: the hero art's diagonal split, carried down into the page */
.duel { position: relative; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--ink-deep); }
.duel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(150deg, #efede8, #bdbab3); clip-path: polygon(0 0, 57% 0, 43% 100%, 0 100%); }
.side { position: relative; padding: clamp(36px, 6vw, 76px) clamp(24px, 4.5vw, 60px); transition: transform .5s var(--ease); }
.side h3 { margin: 0 0 12px; font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.side p { max-width: 26ch; margin: 0; }
.side-light { color: #141414; }
.side-light p { color: #262626; }
.side-fury { text-align: right; }
.side-fury p { margin-left: auto; color: var(--parchment-dim); }
.side-fury h3 { text-shadow: 0 0 34px rgba(201,160,92,.35); }
@media (hover: hover) { .side:hover { transform: scale(1.025); } }

.balance { margin-top: 26px; }
.balance-labels { display: flex; justify-content: space-between; margin-bottom: 8px; font-family: var(--font-display); font-size: .86rem; font-weight: 700; letter-spacing: .05em; }
.balance-bar { position: relative; height: 4px; background: #2c2c2c; }
.balance-bar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--light-pct, 50%); background: var(--light); transition: width 1s var(--ease); }
.balance-bar::after { content: ""; position: absolute; top: 50%; left: var(--light-pct, 50%); width: 10px; height: 10px; margin: -5px 0 0 -5px; background: var(--gilt-soft); transform: rotate(45deg); box-shadow: 0 0 14px rgba(201,160,92,.8); }

/* getting started: three numbered steps along one blade line */
.path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.path li { counter-increment: step; position: relative; padding-top: 58px; }
.path li::before { content: counter(step, upper-roman); position: absolute; top: 0; left: 0; z-index: 1; width: 36px; height: 36px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: var(--gilt-soft); }
.path li::after { content: ""; position: absolute; top: 5px; left: 5px; width: 26px; height: 26px; border: 1px solid var(--gilt); transform: rotate(45deg); background: var(--ink); }
.path .rule { position: absolute; top: 18px; left: 44px; right: -24px; height: 1px; background: linear-gradient(90deg, var(--gilt-line), transparent); }
.path li:last-child .rule { right: 0; }
.path h3 { margin: 0 0 8px; font-size: 1.08rem; }
.path p { margin: 0 0 12px; font-size: .92rem; color: var(--parchment-dim); }
.path .more { margin-top: 0; background: none; border: 0; cursor: pointer; }

@media (max-width: 900px) {
    .home-news { grid-template-columns: 1fr; }
    .home-news-side { border-top: 1px solid var(--hairline); }
    .path { grid-template-columns: 1fr; gap: 28px; }
    .path li { padding: 4px 0 0 58px; }
    .path .rule { display: none; }
}
@media (max-width: 760px) {
    /* figures sit behind the copy on narrow screens: push them back, strengthen the scrim */
    .hero-characters { opacity: .4; background-position: bottom center; }
    .hero-scrim { background: linear-gradient(180deg, rgba(5,5,5,.75) 0%, rgba(5,5,5,.55) 50%, rgba(5,5,5,.95) 100%); }
    .hero { padding-left: var(--gutter); padding-right: var(--gutter); text-align: center; align-items: center; }
    .hero h1 { margin-left: 0; display: flex; justify-content: center; }
    .hero-tagline { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-stat { justify-content: center; }
}
@media (max-width: 620px) {
    .hero-actions .btn { width: 100%; }
    .hero-actions { width: min(100%, 380px); margin: 0 auto; }
    .duel { grid-template-columns: 1fr; }
    .duel::before { clip-path: polygon(0 0, 100% 0, 100% 46%, 0 54%); }
    .side { text-align: center; padding-top: 44px; padding-bottom: 44px; }
    .side p, .side-fury p { margin-left: auto; margin-right: auto; }
    .scroll-cue { display: none; }
}
@media (max-height: 560px) { .scroll-cue { display: none; } }
