@charset "UTF-8";

:root {
  color-scheme: dark;
  --ink: #f3efe5;
  --muted: #a9a69c;
  --quiet: #716f68;
  --night: #10100f;
  --panel: #171715;
  --panel-raised: #1d1c18;
  --line: #37342d;
  --ember: #d39a50;
  --ember-bright: #f0bb70;
  --blue: #81a6d7;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--night);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(ellipse at 80% 5%, rgba(146, 77, 33, .13), transparent 32rem),
    radial-gradient(ellipse at 5% 38%, rgba(72, 85, 103, .11), transparent 30rem),
    var(--night);
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--ember-bright); outline-offset: 4px; }
img { display: block; max-width: 100%; }
::selection { color: #15120e; background: var(--ember-bright); }

.site-shell { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ember);
  color: var(--ember-bright);
  font: 700 12px/1 var(--serif);
  letter-spacing: .06em;
  transform: rotate(45deg);
}
.brand-mark > span { transform: rotate(-45deg); }
.brand-name { font: 600 18px/1 var(--serif); letter-spacing: .02em; }
.brand-name strong { color: var(--ember-bright); font-weight: 600; }
.footer-links a { color: var(--muted); font-size: 13px; transition: color .18s ease; }
.footer-links a:hover { color: var(--ember-bright); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  align-items: center;
  gap: clamp(44px, 7vw, 94px);
  padding: clamp(58px, 8vw, 104px) 0 76px;
}
.hero-copy { min-width: 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 19px;
  color: var(--ember);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow-rule { width: 28px; height: 1px; background: var(--ember); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; }
h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(52px, 7vw, 88px);
  letter-spacing: -.055em;
  line-height: .98;
}
h1 em, h2 em { color: var(--ember-bright); font-weight: 500; }
.hero-lead { max-width: 560px; margin-bottom: 12px; color: #e6dfd2; font: 500 clamp(18px, 2vw, 23px)/1.4 var(--serif); }
.hero-description { max-width: 560px; margin-bottom: 28px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.store-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.store-card {
  min-height: 86px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 13px 12px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.008));
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.store-card:hover { transform: translateY(-2px); border-color: var(--ember); background-color: rgba(211,154,80,.06); }
.store-icon {
  width: 32px;
  height: 32px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(211,154,80,.42);
  border-radius: 50%;
  color: var(--ember-bright);
  font-size: 13px;
  font-weight: 800;
}
.play-icon { font-size: 11px; padding-left: 2px; }
.apple-icon { font: 700 18px/1 var(--serif); }
.steam-icon { font: 700 14px/1 var(--serif); }
.store-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.store-copy small { color: var(--quiet); font-size: 8px; font-weight: 700; letter-spacing: .11em; white-space: nowrap; }
.store-copy strong { overflow: hidden; color: var(--ink); font-size: 11px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.store-copy > span { color: var(--muted); font-size: 10px; line-height: 1.2; }
.store-arrow { margin-left: auto; color: var(--ember); font-size: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; color: var(--quiet); font-size: 11px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.meta-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ember); }
.hero-art { width: 100%; max-width: 420px; justify-self: end; margin: 0; }
.art-frame {
  position: relative;
  padding: 13px;
  border: 1px solid rgba(211,154,80,.57);
  background: linear-gradient(145deg, rgba(211,154,80,.16), rgba(211,154,80,.018) 48%, rgba(92,117,151,.14));
  box-shadow: 18px 21px 0 rgba(0,0,0,.28), 0 0 90px rgba(102, 112, 128, .13);
}
.art-frame::before, .art-frame::after { position: absolute; z-index: 1; width: 36%; height: 34%; content: ""; pointer-events: none; }
.art-frame::before { top: 5px; left: 5px; border-top: 1px solid var(--ember-bright); border-left: 1px solid var(--ember-bright); }
.art-frame::after { right: 5px; bottom: 5px; border-right: 1px solid var(--ember-bright); border-bottom: 1px solid var(--ember-bright); }
.art-frame img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; filter: saturate(.82) contrast(1.06); }
.art-corner { position: absolute; z-index: 1; width: 9px; height: 9px; border: 1px solid var(--ember-bright); transform: rotate(45deg); }
.art-corner-top { top: 7px; right: 7px; }
.art-corner-bottom { bottom: 7px; left: 7px; }
.hero-art figcaption { display: flex; align-items: center; justify-content: flex-end; gap: 9px; margin-top: 18px; color: var(--muted); font: italic 15px/1.4 var(--serif); }
.caption-mark { color: var(--ember); font-style: normal; }

.section-rule { display: flex; align-items: center; gap: 14px; color: var(--ember); }
.section-rule span { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--line)); }
.section-rule span:last-child { background: linear-gradient(90deg, var(--line), transparent); }
.section-rule i { font-size: 12px; font-style: normal; }
.game-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9%; padding: 83px 0 35px; }
.section-heading .eyebrow, .more-heading .eyebrow, .community-intro .eyebrow, .developer-note .eyebrow { margin-bottom: 14px; }
h2 { margin-bottom: 0; font-size: clamp(35px, 4.4vw, 53px); letter-spacing: -.035em; line-height: 1.05; }
.game-copy { align-self: end; max-width: 660px; padding-bottom: 4px; }
.game-copy p { margin-bottom: 13px; color: #c0bcb2; font-size: 15px; line-height: 1.8; }
.game-copy p:last-child { margin-bottom: 0; }
.class-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 26px 0 86px; }
.class-card { min-height: 157px; padding: 20px 22px; border-top: 1px solid var(--ember); background: linear-gradient(155deg, rgba(255,255,255,.04), rgba(255,255,255,.008)); }
.class-number { color: var(--ember); font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.class-card h3 { margin: 13px 0 7px; color: var(--ink); font: 500 23px/1.1 var(--serif); }
.class-card p { max-width: 300px; margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.community-section { display: grid; grid-template-columns: 1fr .86fr; gap: 10%; align-items: center; padding: 51px clamp(24px, 5vw, 62px); border: 1px solid var(--line); background: radial-gradient(ellipse at 20% 10%, rgba(111,77,42,.14), transparent 55%), #151513; }
.community-intro h2 { margin-bottom: 13px; }
.community-intro > p:not(.eyebrow) { max-width: 430px; margin-bottom: 22px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.discord-link { min-height: 60px; display: flex; align-items: center; gap: 13px; padding: 12px 15px; border: 1px solid rgba(129,166,215,.43); background: rgba(129,166,215,.07); transition: background .18s ease, border-color .18s ease; }
.discord-link:hover { border-color: var(--blue); background: rgba(129,166,215,.13); }
.discord-symbol { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #5865f2; color: white; font-weight: 800; }
.discord-link small, .discord-link strong { display: block; }
.discord-link small { margin-bottom: 3px; color: #b9c7db; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.discord-link strong { font-size: 12px; }
.social-panel { display: grid; border-top: 1px solid var(--line); }
.social-link { min-height: 58px; display: flex; align-items: center; gap: 13px; border-bottom: 1px solid var(--line); color: #ddd8cd; font-size: 13px; transition: color .18s ease; }
.social-link:hover { color: var(--ember-bright); }
.social-mark { width: 27px; color: var(--ember); font-size: 17px; font-weight: 700; text-align: center; }
.social-arrow { margin-left: auto; color: var(--quiet); }

.more-section { padding: 86px 0 75px; }
.more-heading { margin-bottom: 25px; }
.more-heading h2 { font-size: clamp(32px, 4vw, 45px); }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.resource-link { min-height: 78px; display: flex; align-items: center; gap: 13px; padding: 15px; border: 1px solid var(--line); background: rgba(255,255,255,.018); transition: border-color .18s ease, background .18s ease; }
.resource-link:hover { border-color: var(--ember); background: rgba(211,154,80,.05); }
.resource-icon { width: 31px; height: 31px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid rgba(211,154,80,.42); color: var(--ember-bright); font: 600 14px/1 var(--serif); }
.resource-link strong, .resource-link small { display: block; }
.resource-link strong { margin-bottom: 4px; font-size: 12px; }
.resource-link small { color: var(--muted); font-size: 10px; }

.developer-note { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9%; padding: 32px 0 65px; border-top: 1px solid var(--line); }
.developer-note h2 { font-size: clamp(29px, 3vw, 39px); }
.developer-copy p { margin-bottom: 11px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.developer-copy p:last-child { margin-bottom: 0; }
.site-footer { min-height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); }
.footer-brand .brand-mark { width: 27px; height: 27px; font-size: 9px; }
.footer-brand .brand-name { font-size: 14px; }
.site-footer > p { margin: 0; color: var(--quiet); font-size: 11px; }
.site-footer > p span { padding: 0 4px; color: var(--ember); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 11px; }

@media (max-width: 900px) {
  .site-shell { width: min(100% - 44px, 720px); }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(245px, .78fr); gap: 34px; padding: 62px 0; }
  .store-links { grid-template-columns: 1fr; max-width: 380px; }
  .store-card { min-height: 70px; padding: 10px 12px; }
  .store-copy strong { font-size: 12px; }
  .hero-art { max-width: 340px; }
  .game-section, .developer-note { gap: 6%; }
  .community-section { gap: 7%; padding: 38px 30px; }
  .resource-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-shell { width: calc(100% - 36px); }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 30px; padding: 48px 0 45px; }
  .hero-copy { order: 1; }
  .hero-art { order: 2; width: min(100%, 360px); align-self: center; }
  .eyebrow { gap: 8px; margin-bottom: 15px; font-size: 9px; letter-spacing: .15em; }
  .eyebrow-rule { width: 20px; }
  h1 { margin-bottom: 12px; font-size: clamp(48px, 15vw, 69px); }
  .hero-lead { max-width: 420px; margin-bottom: 10px; font-size: 20px; }
  .hero-description { margin-bottom: 22px; font-size: 14px; line-height: 1.65; }
  .store-links { max-width: none; gap: 8px; }
  .store-card { min-height: 68px; }
  .hero-meta { gap: 9px 15px; margin-top: 18px; font-size: 10px; }
  .hero-art figcaption { justify-content: center; margin-top: 13px; font-size: 14px; }
  .game-section { grid-template-columns: 1fr; gap: 20px; padding: 60px 0 25px; }
  h2 { font-size: clamp(35px, 10vw, 46px); }
  .game-copy p { font-size: 14px; line-height: 1.75; }
  .class-grid { grid-template-columns: 1fr; gap: 9px; padding: 24px 0 60px; }
  .class-card { min-height: 0; padding: 17px 19px; }
  .class-card h3 { margin-top: 9px; font-size: 21px; }
  .community-section { grid-template-columns: 1fr; gap: 28px; padding: 29px 20px; }
  .community-intro h2 { font-size: clamp(35px, 10vw, 45px); }
  .community-intro > p:not(.eyebrow) { font-size: 13px; }
  .more-section { padding: 62px 0 57px; }
  .more-heading h2 { font-size: 35px; }
  .resource-link { min-height: 72px; }
  .developer-note { grid-template-columns: 1fr; gap: 20px; padding: 27px 0 42px; }
  .developer-note h2 { font-size: 34px; }
  .developer-copy p { font-size: 12px; }
  .site-footer { align-items: flex-start; flex-wrap: wrap; padding: 20px 0; }
  .site-footer > p { order: 3; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
