/* Oathtale — dark ground, pixel headlines, one gold accent, red and blue for the two nations. */
/* Silkscreen stand-in while the webfont loads: Courier-metric monospace faces scaled to Silkscreen's advance width
   (caps 0.75em, average headline text 0.69em against 0.6em), so headlines keep their width and the page does not jump. */
@font-face {
  font-family: 'Silkscreen Fallback';
  src: local('Courier New'), local('CourierNew'), local('Liberation Mono'), local('Cousine'), local('Roboto Mono'), local('Droid Sans Mono'), local('Courier');
  size-adjust: 115%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}
:root {
  --bg: #0E0F14;
  --bg-2: #14161D;
  --panel: #191B24;
  --line: #262933;
  --line-2: #343846;
  --text: #F1F1EC;
  --muted: #A6AAB6;
  --dim: #8B909C;
  --gold: #F5C542;
  --gold-2: #FFE08A;
  --tarus: #E5533F;
  --humana: #4C7DF0;
  --tarus-glow: rgba(229, 83, 63, .38);
  --humana-glow: rgba(76, 125, 240, .38);
  --display: 'Silkscreen', 'Silkscreen Fallback', monospace;
  --body: 'Manrope', 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --page: 1180px;
  --gutter: 28px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; background: var(--gold); color: var(--bg); font-family: var(--display); font-size: 12px; text-transform: uppercase; }
.skip:focus { top: 12px; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
b { font-weight: 700; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.eyebrow { font-family: var(--display); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }

[data-state="soon"] .live-only { display: none !important; }
[data-state="live"] .soon-only { display: none !important; }

/* ------------------------------------------------ nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(14, 15, 20, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { font-family: var(--display); font-size: 18px; color: var(--text); letter-spacing: .02em; }
.brand:hover { text-decoration: none; color: var(--gold); }
.nav-links { display: flex; gap: 22px; margin-left: 12px; font-size: 14px; color: var(--muted); }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.chip { text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); padding: 6px 10px; border: 1px solid var(--line-2); }
.chip i { display: inline-block; width: 8px; height: 8px; background: var(--gold); margin-right: 8px; vertical-align: 1px; }
.chip.live i { background: #5ED37A; }
a.chip:hover { color: var(--text); border-color: var(--text); text-decoration: none; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; font-family: var(--display); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--bg); background: var(--gold); border: 2px solid var(--gold); }
.btn:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--bg); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--text); background: transparent; color: var(--text); }
.btn.small { padding: 10px 14px; font-size: 11px; }

/* ------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 32px 32px; background-position: center top; }
.hero::before, .hero::after { content: ""; position: absolute; width: 900px; height: 900px; border-radius: 50%; filter: blur(80px); opacity: .9; pointer-events: none; }
.hero::before { background: radial-gradient(circle, var(--tarus-glow), transparent 60%); left: 32%; top: -10%; }
.hero::after { background: radial-gradient(circle, var(--humana-glow), transparent 60%); left: 62%; top: 10%; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 24px; min-height: 640px; padding-top: 48px; padding-bottom: 32px; }
.hero h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.12; margin: 14px 0 22px; letter-spacing: .01em; text-wrap: balance; }
.hero h1 .r { color: var(--tarus); }
.hero h1 .b { color: var(--humana); }
.hero .sub { max-width: 52ch; font-size: 18px; color: var(--muted); margin: 0 0 30px; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 36px; }
.stage { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; min-height: 560px; }
.stage img { height: 520px; width: auto; image-rendering: pixelated; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.stage .knight { margin-right: -60px; position: relative; z-index: 1; }
.stage .mage { height: 580px; margin-left: -40px; }
.stage .floor { position: absolute; left: 12%; right: 12%; bottom: -14px; height: 56px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .7), transparent 68%); z-index: 0; }
.stage img { position: relative; z-index: 1; }

/* phone anchor row, shown only when the nav links are hidden */
.jump { display: none; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.jump .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.jump .wrap::-webkit-scrollbar { display: none; }
.jump a { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.jump a:hover { color: var(--text); text-decoration: none; border-color: var(--text); }

/* ------------------------------------------------ sections */
.sec { padding: 96px 0 24px; }
.head { display: flex; align-items: baseline; gap: 22px; margin-bottom: 30px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.num { font-family: var(--display); font-size: 14px; color: var(--gold); letter-spacing: .06em; }
h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(22px, 2.8vw, 34px); line-height: 1.15; margin: 0; letter-spacing: .01em; }
.kicker { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.prose { max-width: 64ch; }
.prose p { margin: 0 0 18px; color: var(--muted); }
.prose p.lead { color: var(--text); font-size: 21px; line-height: 1.5; font-weight: 500; }
.prose p:last-child { margin-bottom: 0; }
.note { border-left: 3px solid var(--gold); padding: 6px 0 6px 18px; font-family: var(--mono); font-size: 13px; color: var(--muted); line-height: 1.6; max-width: 46ch; }
.note b { display: block; color: var(--gold); font-family: var(--display); font-weight: 400; font-size: 11px; letter-spacing: .06em; margin-bottom: 8px; }

/* loop */
.loop { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.loop li { background: var(--panel); border: 1px solid var(--line); padding: 22px 20px 24px; min-height: 260px; transition: border-color .15s, transform .15s; }
.loop li:hover, .cls:hover, .zone:hover { border-color: var(--line-2); transform: translateY(-2px); }
.loop .big { font-family: var(--display); font-size: 30px; color: var(--gold); line-height: 1; }
.loop b { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 14px; margin: 18px 0 12px; }
.loop p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }
.loop .mono, .prose .mono { white-space: nowrap; }

/* oath plates */
.plates { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.plate { position: relative; overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); min-height: 420px; padding: 28px; text-align: left; cursor: pointer; font-family: inherit; color: var(--text); display: grid; grid-template-columns: minmax(0, 1fr) 46%; align-items: end; }
.plate::before { content: ""; position: absolute; inset: 0; opacity: .85; pointer-events: none; }
.plate.tarus::before { background: radial-gradient(circle at 75% 60%, var(--tarus-glow), transparent 55%); }
.plate.humana::before { background: radial-gradient(circle at 75% 60%, var(--humana-glow), transparent 55%); }
.plate > * { position: relative; }
.plate .who { align-self: start; display: flex; flex-direction: column; align-items: flex-start; }
.plate .name, .plate .line { display: block; }
.plate .eyebrow { color: var(--muted); }
.plate.tarus .name { color: var(--tarus); }
.plate.humana .name { color: var(--humana); }
.plate .name { font-family: var(--display); font-size: clamp(30px, 3.6vw, 48px); line-height: 1; margin: 12px 0 14px; }
.plate .line { font-size: 15px; color: var(--muted); max-width: 30ch; }
.plate img { height: 360px; width: auto; justify-self: center; image-rendering: pixelated; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .55)); background: radial-gradient(ellipse 70% 8% at 50% 97%, rgba(0, 0, 0, .7), transparent 70%); }
.plate .hint { position: absolute; left: 28px; bottom: 24px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--dim); text-transform: uppercase; }
.plate .stamp { position: absolute; right: 22px; top: 22px; padding: 8px 14px; border: 4px solid var(--gold); color: var(--gold); font-family: var(--display); font-size: 22px; transform: rotate(-8deg); display: none; background: rgba(14, 15, 20, .8); }
.plate[aria-pressed="true"] .stamp { display: block; }
.plate[aria-pressed="true"] { border-color: var(--gold); }
.plate:hover { border-color: var(--line-2); filter: brightness(1.06); }
.under { margin: 14px 0 0; font-family: var(--mono); font-size: 12px; color: var(--dim); }

/* classes */
.classes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cls { background: var(--panel); border: 1px solid var(--line); padding: 18px 16px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; transition: border-color .15s, transform .15s; }
.cls img { height: 240px; width: auto; image-rendering: pixelated; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .5)); margin: 6px 0 14px; background: radial-gradient(ellipse 70% 9% at 50% 97%, rgba(0, 0, 0, .7), transparent 70%); }
.cls h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 15px; margin: 0 0 6px; }
.cls .weapon { margin: 0 0 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.cls .role { font-size: 13px; color: var(--muted); margin: 0 0 14px; min-height: 40px; }
.cls .row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; width: 100%; font-family: var(--mono); font-size: 12px; text-align: left; }
.cls .row span { color: var(--dim); }
.cls .row b { font-weight: 500; color: var(--text); text-align: right; }

/* zones */
.zones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.zone { background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--c); padding: 20px 18px 22px; transition: border-color .15s, transform .15s; }
.zone .lvl { font-family: var(--display); font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.zone h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 20px; margin: 10px 0 8px; }
.zone .meta { font-family: var(--mono); font-size: 12px; color: var(--dim); margin: 0 0 14px; line-height: 1.7; text-transform: uppercase; letter-spacing: .04em; }
.zone .meta .war { color: var(--tarus); }
.zone .meta .peace { color: #5ED37A; }
.zone p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* tables */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); background: var(--panel); margin: 0 0 22px; }
table { border-collapse: collapse; width: 100%; font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: 11px; letter-spacing: .1em; color: var(--dim); text-transform: uppercase; background: var(--bg-2); }
tbody tr:last-child td { border-bottom: 0; }
.r { text-align: right; }
.odds .destroys { color: var(--tarus); letter-spacing: .06em; }
.odds .share i { display: inline-block; height: 8px; background: var(--gold); margin-right: 10px; vertical-align: 1px; width: calc(var(--v) * 140px); min-width: 2px; }
.odds tr.d td { background: rgba(229, 83, 63, .06); }


/* store */
.store { margin-top: 96px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.store .wrap { padding-top: 72px; padding-bottom: 72px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.store .head { border: 0; padding: 0; margin-bottom: 18px; }
.notforsale { border: 2px solid var(--gold); padding: 18px 20px; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; line-height: 1.9; color: var(--text); }
.notforsale b { display: block; color: var(--gold); font-family: var(--display); font-weight: 400; font-size: 12px; margin-bottom: 8px; }

/* join */
.joinlist { border: 1px solid var(--line-2); background: var(--panel); font-family: var(--mono); font-size: 14px; margin: 0 0 22px; }
.joinlist > div { display: grid; grid-template-columns: 14ch 1fr; padding: 12px 18px; border-bottom: 1px solid var(--line); align-items: center; }
.joinlist > div:last-child { border-bottom: 0; }
.joinlist dt { color: var(--dim); letter-spacing: .1em; font-size: 11px; text-transform: uppercase; }
.joinlist dd { margin: 0; color: var(--text); }
.copy { margin-left: 12px; padding: 7px 12px; min-height: 30px; border: 1px solid var(--gold); background: transparent; color: var(--gold); font: inherit; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.copy:hover { background: var(--gold); color: var(--bg); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* footer */
.foot { margin-top: 96px; border-top: 1px solid var(--line); padding: 40px 0 36px; }
.foot .wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
.foot .brand { font-size: 20px; }
.foot p { margin: 0 0 10px; font-family: var(--mono); font-size: 12px; color: var(--dim); max-width: 78ch; }
.foot .links { font-size: 13px; letter-spacing: .08em; margin-bottom: 16px; }
.foot .links a { display: inline-block; padding: 6px 2px; }
.foot .legal { margin-top: 18px; color: var(--muted); }

/* phones and tablets */
@media (max-width: 960px) {
  .loop, .classes, .zones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 40px; }
  .stage { min-height: 0; margin-top: 8px; }
  .stage img { height: 380px; }
  .stage .mage { height: 420px; }
  .hero::before { left: 5%; top: 30%; }
  .hero::after { left: 40%; top: 45%; }
  .cols, .store .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .nav-links { display: none; }
  .jump { display: block; }
}
@media (max-width: 620px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .loop, .classes, .zones { grid-template-columns: minmax(0, 1fr); }
  .loop li { min-height: 0; }
  .plates { grid-template-columns: minmax(0, 1fr); }
  .plate { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-bottom: 60px; }
  .plate img { height: 260px; margin-top: 12px; }
  .stage img { height: 300px; }
  .stage .mage { height: 336px; }
  .stage .knight { margin-right: -36px; }
  .stage .floor { bottom: -10px; height: 36px; }
  .kicker { display: none; }
  .foot .wrap { grid-template-columns: minmax(0, 1fr); }
  .joinlist > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .cls img { height: 200px; }
  .nav .wrap { height: 56px; gap: 14px; }
  .chip { display: none; }
}
