:root {
  --ink: #05080b;
  --ink-soft: #0a1015;
  --panel: rgba(12, 18, 23, .78);
  --panel-solid: #0d1419;
  --line: rgba(185, 211, 216, .14);
  --line-gold: rgba(190, 150, 72, .34);
  --paper: #eef5f4;
  --muted: #8fa0a5;
  --cyan: #75e8f5;
  --cyan-soft: #b6f7ff;
  --gold: #c99a46;
  --gold-pale: #f0d49a;
  --danger: #e36a62;
  --success: #54d6a6;
  --radius: 20px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
  --shadow: 0 28px 80px rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--paper);
  background:
    radial-gradient(circle at 80% 10%, rgba(51, 126, 141, .1), transparent 28rem),
    linear-gradient(180deg, #05080b, #070b0e 55%, #040609);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  z-index: 50;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }
::selection { color: #041012; background: var(--cyan); }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(850px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.display {
  margin: 0;
  max-width: 18ch;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5.5vw, 5.6rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.035em;
}
.section-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 4vw, 4.1rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.025em;
}
.section-copy { max-width: 62ch; color: var(--muted); font-size: 1.02rem; }
.section { position: relative; padding: 112px 0; }
.section--tight { padding: 74px 0; }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 46px; }
.section-heading .section-copy { margin: 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled {
  background: rgba(5, 8, 11, .82);
  border-color: var(--line);
  backdrop-filter: blur(20px);
}
.nav { min-height: 82px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand img { width: 44px; height: 52px; object-fit: contain; filter: drop-shadow(0 0 18px rgba(117, 232, 245, .18)); }
.brand-name { font-family: var(--serif); font-size: 1.28rem; letter-spacing: .13em; text-transform: uppercase; }
.brand-name span { color: inherit; }
.brand-name{display:inline-flex;align-items:baseline;gap:.08em;color:#dfe5e3;text-shadow:0 2px 0 #020304,0 8px 16px rgba(0,0,0,.8)}
.brand-aeon{color:transparent!important;background:linear-gradient(180deg,#f4f6f2 8%,#c2c9c6 40%,#667173 61%,#e2e6e0 88%);-webkit-background-clip:text;background-clip:text}
.brand-eclipse{display:inline-block;color:#061014!important;background:none!important;-webkit-text-stroke:1px #8cebf4;text-shadow:0 0 5px rgba(117,232,245,.8),0 0 13px rgba(117,232,245,.38);transform:scale(1.04)}
.brand-mir{color:transparent!important;background:linear-gradient(180deg,#f5dca1,#ba8b3d 52%,#69502c 62%,#dfbb72);-webkit-background-clip:text;background-clip:text;text-shadow:none;filter:drop-shadow(0 3px 1px #020304)}
.aeon-entry{white-space:nowrap}.aeon-online{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 13px;border:1px solid rgba(185,211,216,.13);border-radius:999px;color:#87979b;background:rgba(8,12,15,.72);font-size:.64rem;letter-spacing:.04em;white-space:nowrap;box-shadow:inset 0 0 18px rgba(0,0,0,.28)}.aeon-online i{width:7px;height:7px;border-radius:50%;background:#68757a;box-shadow:0 0 0 4px rgba(104,117,122,.08)}.aeon-online span{color:#aab4b6}.aeon-online b{color:#87979b;font-weight:700}.aeon-online.is-online{border-color:rgba(84,214,166,.2)}.aeon-online.is-online i{background:#54d6a6;box-shadow:0 0 8px rgba(84,214,166,.9),0 0 0 4px rgba(84,214,166,.08)}.aeon-online.is-online b{color:#dce8e4}.aeon-online.is-offline i{background:#925e59}.aeon-online.is-offline b{color:#9f8885}
@media(max-width:1100px){.aeon-online span{display:none}.aeon-online{padding-inline:11px}.aeon-entry{padding-inline:15px}}
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a { color: #b6c1c4; font-size: .78rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; transition: color .2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--paper); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle, .lang-toggle, .icon-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .035);
  border-radius: 999px;
  cursor: pointer;
}
.lang-toggle { width: 42px; height: 42px; font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.nav-toggle { display: none; width: 44px; height: 44px; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; display: block; width: 18px; height: 1px; margin: 5px auto; background: var(--paper); transition: transform .2s ease;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  color: #0c0b08;
  background: linear-gradient(135deg, var(--gold-pale), var(--gold));
  box-shadow: 0 10px 36px rgba(201, 154, 70, .18);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 42px rgba(201, 154, 70, .28); }
.button--ghost { color: var(--paper); background: rgba(255,255,255,.035); border-color: var(--line); box-shadow: none; }
.button--ghost:hover { border-color: rgba(117,232,245,.5); box-shadow: 0 0 30px rgba(117,232,245,.08); }
.button--small { min-height: 40px; padding: 0 17px; font-size: .68rem; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-pale); font-size: .78rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.text-link::after { content: "↗"; color: var(--cyan); }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #05080b;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,8,11,.96) 0%, rgba(5,8,11,.7) 34%, rgba(5,8,11,.08) 70%),
    linear-gradient(0deg, #05080b 0%, transparent 34%),
    url("../brand/aeonmir-hero.png") 62% center / cover no-repeat;
  transform: scale(1.015);
}
.hero::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: 10%;
  top: 8%;
  border: 1px solid rgba(117,232,245,.11);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(117,232,245,.04), 0 0 80px rgba(117,232,245,.03);
}
.hero-content { position: relative; z-index: 2; padding: 170px 0 118px; }
.hero-copy { max-width: 680px; }
.hero-mark { width: 96px; margin-bottom: 22px; filter: drop-shadow(0 0 26px rgba(117,232,245,.18)); }
.hero-wordmark {
  position: relative;
  display: flex;
  width: fit-content;
  align-items: baseline;
  gap: .045em;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.5rem, 9.5vw, 8.8rem);
  font-weight: 500;
  line-height: .82;
  letter-spacing: -.07em;
  text-transform: uppercase;
  filter: drop-shadow(0 15px 35px rgba(0,0,0,.75));
}
.hero-wordmark::before,
.hero-wordmark::after {
  content: "";
  position: absolute;
  left: 0;
  height: 1px;
  pointer-events: none;
}
.hero-wordmark::before { top: -.14em; width: 34%; background: linear-gradient(90deg, var(--cyan), transparent); box-shadow: 0 0 12px rgba(117,232,245,.38); }
.hero-wordmark::after { right: 0; bottom: -.16em; left: auto; width: 45%; background: linear-gradient(90deg, transparent, var(--gold-pale)); box-shadow: 0 0 12px rgba(201,154,70,.3); }
.word-aeon {
  color: transparent;
  background: linear-gradient(180deg, #f2f7f5 0%, #a8b2b2 9%, #495456 27%, #111719 52%, #273235 69%, #0a0e10 78%, #819092 94%, #d7dddd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: .85px rgba(226,240,238,.62);
  filter: drop-shadow(1px 1px 0 #0b0f10) drop-shadow(3px 4px 0 #050708) drop-shadow(7px 10px 0 rgba(0,0,0,.74)) drop-shadow(13px 18px 14px rgba(0,0,0,.92)) drop-shadow(-3px 0 17px rgba(117,232,245,.12));
}
.word-eclipse {
  position: relative;
  display: inline-block;
  width: .72em;
  margin: 0 .015em 0 .01em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(158,229,236,.7);
  text-shadow: -5px 0 24px rgba(117,232,245,.28), 7px 0 23px rgba(161,123,60,.15), 8px 13px 13px rgba(0,0,0,.94);
}
.word-eclipse::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 13% 4% 4% 3%;
  border: 1px solid rgba(198,220,220,.58);
  border-radius: 50%;
  background: radial-gradient(circle at 58% 40%, rgba(117,232,245,.12), transparent 15%), radial-gradient(circle at 45% 46%, #101719, #010203 66%);
  box-shadow: inset -10px 0 14px rgba(117,232,245,.08), inset 4px 0 9px rgba(255,255,255,.035), 0 0 20px rgba(117,232,245,.15), 7px 12px 12px rgba(0,0,0,.9);
}
.word-eclipse::after {
  content: "";
  position: absolute;
  top: 22%;
  right: 4%;
  width: 2px;
  height: 46%;
  border-radius: 99px;
  background: #b4dce0;
  box-shadow: 0 0 10px rgba(117,232,245,.72);
}
.word-mir {
  color: transparent;
  background: linear-gradient(180deg, #f0ddb4 0%, #b58d4e 12%, #5b4424 31%, #171108 53%, #4b3619 70%, #0e0a05 79%, #96713b 94%, #e2c88f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: .75px rgba(231,201,141,.58);
  font-size: .72em;
  font-weight: 400;
  letter-spacing: .015em;
  filter: drop-shadow(1px 1px 0 #100c06) drop-shadow(3px 4px 0 #070503) drop-shadow(7px 10px 0 rgba(0,0,0,.76)) drop-shadow(13px 18px 14px rgba(0,0,0,.92)) drop-shadow(3px 0 17px rgba(201,154,70,.1));
}
.hero-subtitle { margin: 28px 0 0; color: var(--cyan-soft); font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.65rem); letter-spacing: .24em; text-transform: uppercase; }
.hero-lede { max-width: 590px; margin: 22px 0 32px; color: #a9b7ba; font-size: 1.04rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.orbital-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(117,232,245,.3), rgba(201,154,70,.4), transparent); }
.manifesto { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: center; }
.crest-stage { position: relative; min-height: 480px; display: grid; place-items: center; }
.crest-stage::before, .crest-stage::after { content: ""; position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.crest-stage::before { width: 420px; height: 420px; }
.crest-stage::after { width: 300px; height: 300px; border-style: dashed; animation: orbit 24s linear infinite; }
.crest-stage img { position: relative; z-index: 2; width: min(330px, 78%); filter: drop-shadow(0 0 42px rgba(117,232,245,.13)); }
@keyframes orbit { to { transform: rotate(360deg); } }
.manifesto-copy p { color: var(--muted); }
.manifesto-quote { margin: 30px 0; padding-left: 24px; border-left: 1px solid var(--gold); color: var(--paper) !important; font-family: var(--serif); font-size: 1.45rem; line-height: 1.45; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card {
  position: relative;
  min-height: 405px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(117,232,245,.34); background-color: rgba(12, 22, 27, .9); }
.feature-art { position: relative; height: 192px; overflow: hidden; border-bottom: 1px solid var(--line); background: #071015; }
.feature-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,7,9,.04), rgba(4,7,9,.68)); }
.feature-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .35s ease; }
.feature-card:hover .feature-art img { transform: scale(1.045); filter: saturate(1.08); }
.feature-card-copy { position: relative; padding: 25px 26px 27px; }
.feature-index { position: absolute; z-index: 2; left: 20px; bottom: 17px; color: var(--gold-pale); font-family: var(--serif); font-size: .78rem; letter-spacing: .18em; }
.feature-icon { width: 56px; height: 56px; display: grid; place-items: center; margin: 32px 0 24px; border: 1px solid var(--line-gold); border-radius: 50%; color: var(--cyan); background: #081116; font-family: var(--serif); font-size: 1.25rem; box-shadow: inset 0 0 20px rgba(117,232,245,.06); }
.feature-card h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.feature-card p { margin: 0; color: var(--muted); font-size: .91rem; }
.feature-tag { position: absolute; z-index: 2; right: 18px; bottom: 15px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: #d2dcdd; background: rgba(5,8,11,.58); backdrop-filter: blur(8px); font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.class-strip { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.class-card { min-height: 300px; padding: 28px 20px; border-right: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)); transition: background .2s ease; }
.class-card:last-child { border-right: 0; }
.class-card:hover { background: rgba(117,232,245,.05); }
.class-number { color: var(--gold); font-size: .66rem; letter-spacing: .14em; }
.class-card h3 { margin: 90px 0 10px; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; writing-mode: vertical-rl; transform: rotate(180deg); }
.class-card p { margin: 0; color: var(--muted); font-size: .78rem; }

.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.timeline::before { content: ""; position: absolute; top: 18px; left: 8%; right: 8%; height: 1px; background: var(--line-gold); }
.timeline-item { position: relative; padding-top: 54px; }
.timeline-dot { position: absolute; top: 11px; width: 15px; height: 15px; border: 3px solid var(--ink); border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.timeline-item.is-current .timeline-dot { background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.timeline-item h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; }
.timeline-item p { color: var(--muted); font-size: .86rem; }

.callout {
  position: relative;
  padding: 68px;
  border: 1px solid var(--line-gold);
  border-radius: 28px;
  background: linear-gradient(115deg, rgba(201,154,70,.12), rgba(117,232,245,.055) 55%, rgba(255,255,255,.02));
  overflow: hidden;
}
.callout::after { content: ""; position: absolute; width: 330px; height: 330px; right: -100px; top: -140px; border: 1px solid rgba(117,232,245,.16); border-radius: 50%; }
.callout-row { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.callout h2 { max-width: 15ch; }

.page-hero { position: relative; min-height: 520px; display: grid; align-items: end; padding: 170px 0 74px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,8,11,.96), rgba(5,8,11,.68) 50%, rgba(5,8,11,.35)), url("../brand/aeonmir-hero.png") 68% 33%/cover; opacity: .62; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .section-copy { margin-top: 24px; }

.toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.search-field { position: relative; flex: 1 1 330px; }
.search-field input, .form-field input, .form-field select {
  width: 100%; min-height: 50px; padding: 0 17px; border: 1px solid var(--line); border-radius: 12px; color: var(--paper); background: rgba(255,255,255,.035); outline: none;
}
.search-field input:focus, .form-field input:focus, .form-field select:focus { border-color: rgba(117,232,245,.55); box-shadow: 0 0 0 3px rgba(117,232,245,.06); }
.filter-button { min-height: 50px; padding: 0 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); cursor: pointer; }
.filter-button.is-active { color: var(--ink); background: var(--cyan); border-color: var(--cyan); }
.systems-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.system-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; box-shadow: 0 18px 55px rgba(0,0,0,.18); transition: transform .25s ease, border-color .25s ease; }
.system-card:hover { transform: translateY(-4px); border-color: rgba(201,154,70,.3); }
.system-card summary { list-style: none; cursor: pointer; display: block; }
.system-card summary::-webkit-details-marker { display: none; }
.system-card[open] { border-color: rgba(117,232,245,.34); }
.system-card[open] summary { border-bottom: 1px solid var(--line); }
.system-visual { position: relative; height: 246px; overflow: hidden; background: #071015; }
.system-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .3s ease; }
.system-card:hover .system-visual img { transform: scale(1.035); filter: saturate(1.08); }
.system-visual-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,7,9,.03) 45%, rgba(4,7,9,.88)); }
.system-category { position: absolute; right: 18px; bottom: 16px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; color: #e2e9ea; background: rgba(5,8,11,.62); backdrop-filter: blur(9px); font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.system-card-copy { display: grid; grid-template-columns: 1fr auto; gap: 17px; align-items: center; padding: 23px 24px 25px; }
.system-card .feature-icon { margin: 0; width: 52px; height: 52px; }
.system-card h3 { margin: 0 0 4px; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.system-card .summary { margin: 0; color: var(--muted); font-size: .84rem; }
.system-card .chevron { color: var(--gold); transition: transform .2s ease; }
.system-card[open] .chevron { transform: rotate(45deg); }
.system-body { padding: 26px 28px 30px; }
.system-body p { color: #b1bec1; }
.system-body ul { padding-left: 18px; color: var(--muted); }
.system-body li { margin: 8px 0; }
.system-hotkey { display: inline-flex; margin-top: 12px; padding: 6px 10px; border: 1px solid var(--line-gold); border-radius: 8px; color: var(--gold-pale); font-size: .72rem; font-weight: 800; letter-spacing: .08em; }

.community-hero { min-height: 690px; }
.community-hero::before { background: linear-gradient(90deg, rgba(5,8,11,.95), rgba(5,8,11,.64) 48%, rgba(5,8,11,.2)), url("../systems/social.webp") 60% 42%/cover; opacity: .92; }
.community-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 68% 30%, transparent 0 12%, rgba(5,8,11,.08) 32%, rgba(5,8,11,.5) 78%); }
.community-hero .container { max-width: 1180px; }
.community-hero .display { max-width: 11ch; }
.community-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.community-status { display: inline-flex; align-items: center; gap: 9px; color: #b7c2c4; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.gathering-layout { display: grid; grid-template-columns: 1.3fr .7fr; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; background: var(--panel); box-shadow: var(--shadow); }
.gathering-layout--compact { display: block; width: min(820px, calc(100% - 40px)); }
.gathering-layout--compact .hall-invite { padding: 58px 62px; }
.gathering-art { position: relative; min-height: 610px; overflow: hidden; }
.gathering-art img { width: 100%; height: 100%; object-fit: cover; }
.gathering-art-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(4,7,9,.9)); }
.gathering-caption { position: absolute; left: 34px; right: 34px; bottom: 30px; display: flex; align-items: center; gap: 18px; }
.gathering-caption span { color: var(--gold); font-family: var(--serif); font-size: .74rem; letter-spacing: .16em; }
.gathering-caption strong { font-family: var(--serif); font-size: 1.42rem; font-weight: 400; }
.hall-invite { padding: 54px 42px; background: radial-gradient(circle at 100% 0, rgba(117,232,245,.08), transparent 42%), linear-gradient(180deg, rgba(255,255,255,.025), transparent); }
.hall-invite > p:not(.eyebrow) { color: var(--muted); }
.hall-list { display: grid; gap: 0; margin: 34px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.hall-list li { display: grid; grid-template-columns: 58px 1fr; gap: 14px; padding: 17px 0; border-bottom: 1px solid var(--line); color: #bbc6c8; font-size: .86rem; }
.hall-list span { color: var(--gold-pale); font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hall-invite small { display: block; margin-top: 15px; color: #68757a; line-height: 1.5; }
.gateway-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gateway-card { position: relative; min-height: 380px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); transition: transform .25s ease, border-color .25s ease; }
.gateway-card::after { content: ""; position: absolute; width: 230px; height: 230px; right: -90px; bottom: -110px; border: 1px solid currentColor; border-radius: 50%; opacity: .09; }
.gateway-card:hover { transform: translateY(-5px); }
.gateway-card--cyan { color: var(--cyan); background: linear-gradient(145deg, rgba(117,232,245,.08), rgba(8,15,19,.96) 48%); }
.gateway-card--cyan:hover { border-color: rgba(117,232,245,.4); }
.gateway-card--gold { color: var(--gold-pale); background: linear-gradient(145deg, rgba(201,154,70,.11), rgba(14,12,9,.96) 48%); }
.gateway-card--gold:hover { border-color: rgba(201,154,70,.42); }
.gateway-card--ember { color: #d98672; background: linear-gradient(145deg, rgba(154,55,42,.12), rgba(14,9,9,.96) 48%); }
.gateway-card--ember:hover { border-color: rgba(217,134,114,.36); }
.gateway-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 54px; border: 1px solid currentColor; border-radius: 50%; background: rgba(5,8,11,.6); }
.gateway-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.gateway-kicker { font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .72; }
.gateway-card h3 { margin: 8px 0 12px; color: var(--paper); font-family: var(--serif); font-size: 1.72rem; font-weight: 400; }
.gateway-card p { min-height: 66px; color: var(--muted); font-size: .9rem; }
.gateway-button { display: inline-flex; align-items: center; min-height: 40px; margin-top: 18px; padding: 0 15px; border: 1px solid currentColor; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.gateway-button.is-disabled { opacity: .72; cursor: default; }
.community-code { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }
.code-list { border-top: 1px solid var(--line); }
.code-list article { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.code-list article > span { color: var(--gold); font-family: var(--serif); font-size: .72rem; letter-spacing: .14em; }
.code-list h3 { margin: 0 0 7px; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.code-list p { margin: 0; color: var(--muted); font-size: .88rem; }
.community-callout { background: linear-gradient(115deg, rgba(117,232,245,.08), rgba(201,154,70,.1) 60%, rgba(255,255,255,.02)); }

.rank-shell { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.rank-tabs { display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid var(--line); }
.rank-table { width: 100%; border-collapse: collapse; }
.rank-table th, .rank-table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.rank-table th { color: var(--muted); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; }
.rank-table td { color: #cbd4d5; }
.empty-state { padding: 70px 28px; text-align: center; }
.empty-state img { width: 88px; margin: 0 auto 20px; opacity: .76; }
.empty-state p { color: var(--muted); }

.download-layout, .account-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.panel { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.panel h2, .panel h3 { margin-top: 0; font-family: var(--serif); font-weight: 400; }
.spec-list { display: grid; gap: 0; margin: 24px 0; }
.spec-row { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-row span:first-child { color: var(--muted); }
.steps { counter-reset: step; display: grid; gap: 16px; }
.step { counter-increment: step; position: relative; padding: 22px 22px 22px 72px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); }
.step::before { content: counter(step, decimal-leading-zero); position: absolute; left: 22px; top: 21px; color: var(--gold); font-family: var(--serif); }
.form-grid { display: grid; gap: 16px; }
.form-field label { display: block; margin-bottom: 7px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.form-message { min-height: 24px; margin: 12px 0 0; color: var(--muted); font-size: .86rem; }
.form-message.is-error { color: var(--danger); }
.form-message.is-success { color: var(--success); }
.tabs { display: flex; gap: 6px; margin-bottom: 24px; }
.tab { flex: 1; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; }
.tab.is-active { color: var(--ink); background: var(--cyan); }
.tab-panel[hidden] { display: none; }

/* Classic Mythical identity — every surface belongs to the same realm. */
.section {
  border-top: 1px solid rgba(190,150,72,.095);
  background: radial-gradient(circle at 12% 0, rgba(201,154,70,.035), transparent 28rem), radial-gradient(circle at 88% 100%, rgba(117,232,245,.025), transparent 30rem);
}
.section::before {
  content: "✦"; position: absolute; z-index: 3; top: -12px; left: 50%; width: 58px; height: 23px; display: grid; place-items: center;
  color: rgba(240,212,154,.76); background: #05080b; font-family: var(--serif); font-size: .72rem; text-shadow: 0 0 13px rgba(201,154,70,.45); transform: translateX(-50%);
}
.eyebrow { display: flex; align-items: center; gap: 10px; color: #c9ad76; letter-spacing: .26em; text-shadow: 0 2px 12px rgba(0,0,0,.75); }
.eyebrow::before { content: "◇"; color: var(--cyan); font-size: .72rem; text-shadow: 0 0 11px rgba(117,232,245,.55); }
.display, .section-title {
  width: fit-content; color: transparent; background: linear-gradient(180deg, #fbf7ec 0%, #d5c9ad 48%, #8b7b5d 82%, #eee5d1 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: .35px rgba(255,255,255,.18);
  filter: drop-shadow(2px 3px 0 #020304) drop-shadow(8px 12px 13px rgba(0,0,0,.72));
}
.section-heading { position: relative; padding-bottom: 28px; border-bottom: 1px solid rgba(190,150,72,.16); }
.section-heading::after { content: ""; position: absolute; left: 0; bottom: -1px; width: min(220px, 34%); height: 1px; background: linear-gradient(90deg, var(--gold-pale), transparent); box-shadow: 0 0 10px rgba(201,154,70,.25); }
.button {
  border-radius: 3px; background: linear-gradient(180deg, #f1d79e 0%, #c09242 49%, #7d5924 100%);
  box-shadow: inset 0 1px rgba(255,255,255,.34), inset 0 -2px rgba(45,28,8,.55), 0 12px 32px rgba(0,0,0,.36);
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}
.button--ghost { color: #d8d0c0; background: linear-gradient(180deg, rgba(37,45,47,.82), rgba(7,10,12,.92)); border-color: rgba(176,157,118,.32); box-shadow: inset 0 1px rgba(255,255,255,.05), 0 12px 26px rgba(0,0,0,.3); }
.text-link { color: #dfc487; }
.orbital-divider { position: relative; height: 1px; box-shadow: 0 0 18px rgba(201,154,70,.1); }
.manifesto-quote { position: relative; padding: 22px 26px 22px 34px; border: 1px solid rgba(190,150,72,.2); border-left: 2px solid var(--gold); background: linear-gradient(90deg, rgba(201,154,70,.075), rgba(255,255,255,.012)); box-shadow: inset 20px 0 55px rgba(201,154,70,.035), 0 18px 35px rgba(0,0,0,.2); }
.manifesto-quote::before { content: "“"; position: absolute; top: -12px; left: 12px; color: rgba(240,212,154,.3); font-size: 4.7rem; line-height: 1; }
.feature-card, .system-card, .panel, .rank-shell, .gateway-card, .callout, .class-strip {
  border-color: rgba(176,151,101,.24); border-radius: 8px; background-color: rgba(8,12,15,.9);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.018), inset 0 22px 55px rgba(201,154,70,.025), 0 24px 56px rgba(0,0,0,.28);
}
.feature-card, .system-card, .panel, .gateway-card { outline: 1px solid rgba(255,255,255,.018); outline-offset: -8px; }
.feature-card:hover, .system-card:hover, .gateway-card:hover { border-color: rgba(218,184,115,.46); box-shadow: inset 0 0 0 1px rgba(240,212,154,.04), 0 28px 65px rgba(0,0,0,.4), 0 0 24px rgba(201,154,70,.055); }
.feature-card h3, .system-card h3, .gateway-card h3, .panel h2, .panel h3, .timeline-item h3 { color: #e8deca; text-shadow: 2px 3px 0 #020304, 0 10px 20px rgba(0,0,0,.56); }
.feature-icon, .gateway-icon { border-radius: 4px; background: radial-gradient(circle, rgba(117,232,245,.07), transparent 68%), #080d10; box-shadow: inset 0 0 20px rgba(201,154,70,.05), 0 9px 24px rgba(0,0,0,.32); }
.gateway-icon { transform: rotate(45deg); }
.gateway-icon > * { transform: rotate(-45deg); }
.feature-icon { position: relative; border-color: transparent; }
.feature-icon::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--line-gold); transform: rotate(45deg); }
.feature-tag, .system-category { border-radius: 3px; border-color: rgba(218,184,115,.27); color: #d8ccb3; }
.class-card { position: relative; min-height: 280px; display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(201,154,70,.035), transparent 48%), rgba(255,255,255,.008); overflow: hidden; }
.class-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -85px; bottom: -80px; border: 1px solid rgba(201,154,70,.11); transform: rotate(45deg); }
.class-card:hover { background: linear-gradient(180deg, rgba(201,154,70,.085), rgba(117,232,245,.025)); }
.class-number { position: relative; width: 38px; height: 38px; display: grid; place-items: center; border: 0; }
.class-number::before { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(201,154,70,.28); transform: rotate(45deg); }
.class-card h3 { margin: auto 0 12px; writing-mode: horizontal-tb; transform: none; color: #e3d8c2; font-size: 1.55rem; }
.timeline { gap: 14px; }
.timeline::before { top: 23px; left: 4%; right: 4%; background: linear-gradient(90deg, transparent, var(--line-gold), transparent); }
.timeline-item { min-height: 220px; padding: 68px 24px 26px; border: 1px solid rgba(176,151,101,.2); background: linear-gradient(180deg, rgba(201,154,70,.045), rgba(7,11,14,.8)); box-shadow: inset 0 0 0 7px rgba(255,255,255,.012), 0 18px 38px rgba(0,0,0,.22); }
.timeline-dot { top: 16px; left: 24px; width: 17px; height: 17px; border-color: #080b0d; }
.timeline-item.is-current { border-color: rgba(117,232,245,.3); background: linear-gradient(180deg, rgba(117,232,245,.06), rgba(7,11,14,.86)); }
.callout { background: radial-gradient(circle at 90% 10%, rgba(117,232,245,.06), transparent 25rem), linear-gradient(115deg, rgba(201,154,70,.105), rgba(8,12,15,.94) 60%); }
.callout::before { content: "✦"; position: absolute; right: 60px; bottom: 35px; color: rgba(240,212,154,.18); font-size: 4rem; text-shadow: 0 0 35px rgba(201,154,70,.16); }
.page-hero::after { content: ""; position: absolute; width: 440px; height: 440px; right: 7%; top: 7%; border: 1px solid rgba(201,154,70,.12); border-radius: 50%; box-shadow: inset 0 0 0 52px rgba(5,8,11,.035), inset 0 0 0 53px rgba(117,232,245,.055); opacity: .72; }
.page-hero .container { isolation: isolate; }
.page-hero .display { max-width: 14ch; }
.rank-table th { color: #bba778; }
.rank-tabs { background: linear-gradient(180deg, rgba(201,154,70,.05), transparent); }
.form-field input, .form-field select, .search-field input { border-radius: 3px; border-color: rgba(176,151,101,.22); background: rgba(3,6,8,.72); box-shadow: inset 0 4px 16px rgba(0,0,0,.28); }
.tab, .filter-button { border-radius: 3px; }
.site-footer { border-top-color: rgba(190,150,72,.22); background: radial-gradient(circle at 50% 0, rgba(201,154,70,.045), transparent 26rem), #040609; }

.site-footer { padding: 58px 0 30px; border-top: 1px solid var(--line); background: #040609; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; }
.footer-brand p { max-width: 34ch; color: var(--muted); font-size: .88rem; }
.footer-column h3 { margin: 0 0 16px; color: var(--gold-pale); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-column a { display: block; margin: 9px 0; color: var(--muted); font-size: .85rem; }
.footer-column a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: #657176; font-size: .74rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

[dir="rtl"] { font-family: Tahoma, "Segoe UI", Arial, sans-serif; }
[dir="rtl"] .eyebrow, [dir="rtl"] .button, [dir="rtl"] .nav-links a { letter-spacing: .04em; }
[dir="rtl"] .manifesto-quote { padding-left: 0; padding-right: 24px; border-left: 0; border-right: 1px solid var(--gold); }
[dir="rtl"] .system-body { padding: 24px 102px 28px 28px; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-links { position: fixed; inset: 82px 20px auto; display: grid; gap: 0; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(5,8,11,.97); transform: translateY(-140%); opacity: 0; pointer-events: none; transition: .25s ease; }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px; }
  .nav-actions .button { display: none; }
  .hero::after { right: -20%; }
  .manifesto { grid-template-columns: 1fr; gap: 24px; }
  .crest-stage { min-height: 380px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .class-strip { grid-template-columns: repeat(3, 1fr); }
  .class-card:nth-child(3) { border-right: 0; }
  .class-card:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .systems-grid, .download-layout, .account-layout { grid-template-columns: 1fr; }
  .gathering-layout, .community-code { grid-template-columns: 1fr; }
  .gathering-art { min-height: 480px; }
  .gateway-grid { grid-template-columns: repeat(2, 1fr); }
  .gateway-card:last-child { grid-column: 1/-1; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 680px) {
  .container, .narrow { width: min(100% - 28px, 1180px); }
  .section { padding: 82px 0; }
  .section-heading { display: block; }
  .section-heading .section-copy { margin-top: 18px; }
  .brand-name { font-size: 1.08rem; }
  .hero-content { padding-top: 132px; padding-bottom: 40px; }
  .hero::before { background-position: 70% center; }
  .hero-wordmark { gap: .025em; font-size: clamp(3.2rem, 17vw, 5.7rem); }
  .word-mir { font-size: .66em; }
  .hero-subtitle { letter-spacing: .12em; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .crest-stage { min-height: 320px; }
  .crest-stage::before { width: 310px; height: 310px; }
  .crest-stage::after { width: 230px; height: 230px; }
  .class-strip { grid-template-columns: repeat(2, 1fr); }
  .class-card:nth-child(2n) { border-right: 0; }
  .class-card:nth-child(3) { border-right: 1px solid var(--line); }
  .class-card:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .timeline { grid-template-columns: 1fr; }
  .callout { padding: 38px 28px; }
  .callout-row { display: block; }
  .callout-row .button { margin-top: 24px; }
  .page-hero { min-height: 430px; padding-top: 140px; }
  .systems-grid { grid-template-columns: 1fr; }
  .system-visual { height: 210px; }
  .system-card-copy { grid-template-columns: 1fr auto; padding: 18px; gap: 14px; }
  .system-card .feature-icon { width: 46px; height: 46px; }
  .system-body, [dir="rtl"] .system-body { padding: 20px; }
  .community-hero { min-height: 590px; }
  .community-hero::before { background-position: 58% center; }
  .gathering-art { min-height: 360px; }
  .hall-invite { padding: 38px 24px; }
  .gathering-layout--compact .hall-invite { padding: 38px 24px; }
  .gateway-grid { grid-template-columns: 1fr; }
  .gateway-card, .gateway-card:last-child { grid-column: auto; min-height: 330px; padding: 28px; }
  .gateway-icon { margin-bottom: 38px; }
  .community-code { gap: 38px; }
  .rank-table th:nth-child(3), .rank-table td:nth-child(3) { display: none; }
  .rank-table th, .rank-table td { padding: 14px 12px; }
  .panel { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-bottom { display: block; }
}

/* World & Lore */
.lore-page{overflow:hidden;background:#05080b}.lore-hero{position:relative;min-height:100svh;display:flex;align-items:center;overflow:hidden;border-bottom:1px solid rgba(190,150,72,.2);background:#020405 url("../lore/first-eclipse.png") center/cover no-repeat}.lore-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,4,5,.98),rgba(2,4,5,.82) 34%,rgba(2,4,5,.14) 70%),linear-gradient(0deg,#05080b,transparent 36%)}.lore-hero:after{content:"";position:absolute;inset:0;opacity:.2;background:radial-gradient(circle at 82% 20%,transparent 0 10%,rgba(117,232,245,.2) 10.15%,transparent 10.4%)}.lore-hero__copy{position:relative;z-index:2;width:100%;padding-top:96px}.lore-hero__copy h1{max-width:850px;margin:18px 0 28px;font:400 clamp(3.7rem,7.4vw,7.8rem)/.9 var(--serif);letter-spacing:-.055em;color:#ece7dc;text-shadow:0 5px 0 #020304,0 22px 50px #000}.lore-hero__copy h1 em{color:transparent;font-style:normal;-webkit-text-stroke:1px rgba(227,190,116,.82)}.lore-hero__copy>p:not(.eyebrow){max-width:590px;color:#aeb8bb;font-size:1.08rem;line-height:1.9}.lore-scroll{display:inline-flex;align-items:center;gap:18px;margin-top:36px;color:var(--gold-pale);text-transform:uppercase;letter-spacing:.18em;font-size:.7rem;font-weight:800}.lore-scroll i{width:54px;height:1px;background:linear-gradient(90deg,var(--gold),transparent)}.lore-hero__chapter{position:absolute;z-index:2;right:3.5%;bottom:40px;color:rgba(228,220,204,.55);font:400 .9rem var(--serif);letter-spacing:.12em;writing-mode:vertical-rl}
.lore-split{display:grid;grid-template-columns:.78fr 1.22fr;gap:clamp(70px,10vw,160px);align-items:center}.lore-seal{position:relative;min-height:520px;display:grid;place-items:center}.lore-seal:before,.lore-seal:after,.lore-seal span{content:"";position:absolute;border:1px solid rgba(117,232,245,.13);border-radius:50%}.lore-seal:before{width:430px;height:430px}.lore-seal:after{width:320px;height:320px;border-color:rgba(201,154,70,.16)}.lore-seal span{width:500px;height:500px;border-style:dashed;animation:orbit 32s linear infinite}.lore-seal img{position:relative;z-index:2;width:190px;filter:drop-shadow(0 0 35px rgba(117,232,245,.17))}.lore-copy p{max-width:680px;color:#9eaaad;line-height:1.9}.lore-copy strong{color:var(--gold-pale);font:400 1.2em var(--serif)}.lore-copy blockquote{margin:38px 0 0;padding:8px 0 8px 28px;border-left:1px solid var(--gold);color:#e6e1d8;font:400 clamp(1.35rem,2.3vw,2rem) var(--serif)}.lore-heading{margin-bottom:50px}.lore-heading>span{display:inline-block;margin-bottom:30px;color:var(--gold);font-size:.7rem;font-weight:700;letter-spacing:.24em;text-transform:uppercase}.lore-story{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line-gold);border-bottom:1px solid var(--line)}.lore-story p{margin:0;padding:42px 38px;color:#9da8aa;line-height:1.85;border-right:1px solid var(--line)}.lore-story p:last-child{border:0}.lore-dropcap:first-letter{float:left;margin:8px 12px 0 0;color:var(--gold-pale);font:400 4.8rem/.64 var(--serif)}
.lore-powers{background:radial-gradient(circle at 50% 40%,rgba(117,232,245,.035),transparent 35%),#040709}.power-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.power-card{position:relative;min-height:430px;padding:36px;overflow:hidden;border:1px solid rgba(174,151,103,.2);background:linear-gradient(145deg,rgba(18,24,27,.94),rgba(4,7,9,.98))}.power-card:after{content:"";position:absolute;width:240px;height:240px;right:-110px;bottom:-110px;border:1px solid currentColor;border-radius:50%;opacity:.13}.power-card--gold{color:#d8b66a}.power-card--cyan{color:#75e8f5}.power-card--ember{color:#c77c5e}.power-sigil{display:grid;place-items:center;width:58px;height:58px;margin-bottom:70px;border:1px solid currentColor;border-radius:50%;font:400 1.25rem var(--serif)}.power-card h3{margin:10px 0 18px;color:#ebe4d7;font:400 clamp(1.8rem,2.6vw,2.6rem)/1.05 var(--serif)}.power-card>p:not(.eyebrow){color:#9ba6a9;line-height:1.75}.power-card small{position:absolute;left:36px;bottom:34px;color:currentColor;letter-spacing:.13em;text-transform:uppercase}
.realm-panorama{position:relative;margin:0;border:1px solid rgba(174,151,103,.25);background:#030506;box-shadow:0 30px 90px rgba(0,0,0,.55)}.realm-panorama>img{width:100%;min-height:560px;object-fit:cover;display:block;filter:saturate(.78) contrast(1.05)}.realm-panorama:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,rgba(3,5,6,.98),transparent 50%)}.realm-panorama figcaption{position:absolute;z-index:2;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(3,1fr)}.realm-panorama figcaption article{padding:30px 34px;border-right:1px solid rgba(255,255,255,.1)}.realm-panorama b{color:var(--cyan);font-size:.65rem;letter-spacing:.2em}.realm-panorama h3{margin:8px 0;color:#eee7da;font:400 1.9rem var(--serif)}.realm-panorama p{margin:0;color:#9eaaad;font-size:.83rem;line-height:1.6}.tower-chronicle{background:linear-gradient(90deg,#030506,#071014 50%,#030506)}.tower-chronicle__grid{display:grid;grid-template-columns:1.18fr .82fr;gap:clamp(50px,8vw,120px);align-items:center}.tower-chronicle__art{position:relative;min-height:680px;overflow:hidden;border:1px solid rgba(174,151,103,.22)}.tower-chronicle__art:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(3,5,6,.85),transparent 45%)}.tower-chronicle__art img{width:100%;height:680px;object-fit:cover}.tower-chronicle__art span{position:absolute;z-index:2;left:32px;bottom:28px;color:var(--gold-pale);font:400 1.1rem var(--serif);letter-spacing:.08em}.lore-oath{padding:clamp(70px,10vw,130px) 30px;text-align:center;border-top:1px solid var(--line-gold);background:radial-gradient(circle at center,rgba(117,232,245,.05),transparent 42%)}.lore-oath img{width:88px;margin-bottom:28px}.lore-oath h2{margin:16px auto 34px;color:#eee8dc;font:400 clamp(2.4rem,5vw,5.3rem)/1.02 var(--serif)}.lore-oath h2 em{color:var(--gold-pale);font-style:normal}
@media(max-width:980px){.lore-split,.tower-chronicle__grid{grid-template-columns:1fr}.lore-seal{min-height:380px}.lore-story,.power-grid{grid-template-columns:1fr}.lore-story p{border-right:0;border-bottom:1px solid var(--line)}.power-card{min-height:360px}.realm-panorama figcaption{position:relative;background:#06090b}.realm-panorama:after{display:none}.realm-panorama>img{min-height:420px}.tower-chronicle__art,.tower-chronicle__art img{height:570px;min-height:570px}}
@media(max-width:680px){.lore-hero__copy h1{font-size:clamp(3.15rem,15vw,5rem)}.lore-hero{min-height:820px;background-position:66% center}.lore-hero__chapter{display:none}.lore-seal:before{width:310px;height:310px}.lore-seal:after{width:240px;height:240px}.lore-seal span{width:350px;height:350px}.lore-seal img{width:140px}.realm-panorama figcaption{grid-template-columns:1fr}.realm-panorama figcaption article{border-right:0;border-bottom:1px solid rgba(255,255,255,.08)}.realm-panorama>img{min-height:330px}.tower-chronicle__art,.tower-chronicle__art img{height:440px;min-height:440px}.power-sigil{margin-bottom:45px}}

.lore-hero__copy.container{width:min(1180px,calc(100% - 40px));margin-inline:auto}
@media(max-width:1220px){.nav{gap:16px}.nav-links{gap:18px}.nav-links a{font-size:.64rem}}

/* Expanded system dossiers */
.systems-showcase-grid{grid-template-columns:1fr;gap:24px}.system-showcase{border-radius:0;background:linear-gradient(135deg,rgba(12,18,23,.96),rgba(5,8,11,.98));border-color:rgba(190,150,72,.2)}.system-showcase:hover{transform:none}.system-showcase>summary{display:grid;grid-template-columns:minmax(330px,.88fr) 1.12fr;min-height:350px}.system-showcase .system-visual{height:100%;min-height:350px}.system-showcase .system-card-copy{padding:clamp(34px,5vw,72px);border-left:1px solid rgba(190,150,72,.14)}.system-showcase .system-card-copy small{display:block;margin-bottom:22px;color:var(--cyan);font-size:.65rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.system-showcase .system-card-copy h3{margin-bottom:16px;font-size:clamp(2.25rem,4vw,4.8rem);line-height:.96}.system-showcase .system-card-copy .summary{max-width:570px;font-size:1rem;line-height:1.75}.system-showcase .system-card-copy b{display:inline-block;margin-top:36px;color:var(--gold-pale);font-size:.68rem;letter-spacing:.14em;text-transform:uppercase}.system-showcase .system-card-copy b i{color:var(--cyan);font-style:normal}.system-showcase .chevron{align-self:start;display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(201,154,70,.3);border-radius:50%;font-size:1.5rem}.system-dossier{display:grid;grid-template-columns:1.05fr .95fr;gap:0;background:#05080b}.system-dossier__intro{padding:clamp(38px,5vw,70px);border-right:1px solid var(--line)}.system-dossier__intro h4{max-width:720px;margin:14px 0 22px;color:#ebe5da;font:400 clamp(1.65rem,3vw,3rem)/1.16 var(--serif)}.system-dossier__intro>p:not(.eyebrow){color:#99a6a9;line-height:1.85}.system-dossier__intro ul{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:0;margin:34px 0 0;list-style:none}.system-dossier__intro li{padding:17px;border:1px solid rgba(190,150,72,.16);color:#c2cbcc;font-size:.78rem}.system-facts{display:grid;grid-template-columns:repeat(3,1fr);margin-top:34px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.system-facts span{padding:20px 16px;border-right:1px solid var(--line)}.system-facts span:last-child{border:0}.system-facts small,.system-facts b{display:block}.system-facts small{color:#74858a;font-size:.58rem;letter-spacing:.14em;text-transform:uppercase}.system-facts b{margin-top:6px;color:var(--gold-pale);font:400 1rem var(--serif)}.system-dossier__media{position:relative;min-height:560px;margin:0;overflow:hidden}.system-dossier__media img{width:100%;height:100%;object-fit:cover;filter:saturate(.75) contrast(1.08)}.system-dossier__media:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(3,5,6,.96),transparent 65%)}.system-dossier__media figcaption{position:absolute;z-index:2;left:30px;right:30px;bottom:28px}.system-dossier__media figcaption span{color:var(--cyan);font-size:.62rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.system-dossier__media figcaption p{margin:8px 0 14px;color:#b2bdbf;font-size:.8rem}.system-dossier__media figcaption b{color:var(--gold-pale);font-size:.6rem;letter-spacing:.12em;text-transform:uppercase}
/* First-visit eclipse intro */
body.intro-lock{overflow:hidden}.eclipse-intro{position:fixed;z-index:99999;inset:0;display:grid;place-content:center;text-align:center;background:#010203;opacity:1;transition:opacity .55s ease}.eclipse-intro:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at center,rgba(117,232,245,.07),transparent 28%);opacity:0;transition:opacity 1s ease}.eclipse-intro__ring{position:relative;display:grid;place-items:center;width:220px;height:220px;margin:auto;opacity:0;transform:scale(.84);transition:opacity .65s ease,transform 1.25s cubic-bezier(.2,.8,.2,1)}.eclipse-intro__ring:before,.eclipse-intro__ring:after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(117,232,245,.3)}.eclipse-intro__ring:before{width:190px;height:190px;box-shadow:0 0 45px rgba(117,232,245,.08)}.eclipse-intro__ring:after{width:250px;height:250px;border-color:rgba(201,154,70,.16);border-style:dashed;animation:orbit 15s linear infinite}.eclipse-intro__ring img{width:120px;filter:drop-shadow(0 0 28px rgba(117,232,245,.22))}.eclipse-intro p{margin:28px 0 0;color:#e9e2d5;font:400 clamp(1.15rem,2vw,1.6rem) var(--serif);letter-spacing:.25em;text-transform:uppercase;opacity:0;transform:translateY(10px);transition:opacity .6s .35s ease,transform .6s .35s ease}.eclipse-intro.is-awake:before,.eclipse-intro.is-awake .eclipse-intro__ring,.eclipse-intro.is-awake p{opacity:1}.eclipse-intro.is-awake .eclipse-intro__ring{transform:scale(1)}.eclipse-intro.is-awake p{transform:none}.eclipse-intro.is-leaving{opacity:0;pointer-events:none}
@media(max-width:850px){.system-showcase>summary,.system-dossier{grid-template-columns:1fr}.system-showcase .system-card-copy{border-left:0}.system-showcase .system-visual{min-height:300px}.system-dossier__intro{border-right:0}.system-dossier__media{min-height:440px}.system-dossier__intro ul,.system-facts{grid-template-columns:1fr}.system-facts span{border-right:0;border-bottom:1px solid var(--line)}}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
