/* FateMMO page skin: Loomlight gold on ink night, Cinzel titles, the gold thread.
   Colours follow fatemmo.com (ink #071019, gold #d7ae58, bright gold #f4d991, ivory #f4eedf). */

body.fm {
  --fm-ink: #071019;
  --fm-night: #0b1020;
  --fm-night-2: #121a33;
  --fm-gold: #d7ae58;
  --fm-gold-hi: #f4d991;
  --fm-ivory: #f4eedf;
  --fm-parch: #efe0bd;
  --fm-text: #e9e4d6;
  --fm-muted: #b3ac9c;
  --fm-mint: #9be7c0;
  --fm-line: rgba(215, 174, 88, 0.28);
  --fm-line-soft: rgba(215, 174, 88, 0.14);
  --chrome-bg: rgba(7, 16, 25, 0.82);
  --chrome-line: rgba(215, 174, 88, 0.18);
  --chrome-text: #e9e4d6;
  --chrome-muted: #b3ac9c;
  --chrome-strong: #fff8e8;
  --chrome-accent: #d7ae58;
  --chrome-menu-bg: rgba(10, 18, 30, 0.97);
  --chrome-pill-line: rgba(215, 174, 88, 0.5);
  --chrome-focus: #f4d991;
  --ambience-rgb: 244, 217, 145;
  background-color: var(--fm-ink);
  background-image:
    radial-gradient(ellipse 70% 50% at 80% 0%, rgba(33, 52, 102, 0.45), transparent 65%),
    radial-gradient(ellipse 60% 50% at 0% 40%, rgba(18, 26, 51, 0.8), transparent 70%),
    radial-gradient(1px 1px at 12% 18%, rgba(244, 238, 223, 0.5), transparent 60%),
    radial-gradient(1px 1px at 72% 34%, rgba(244, 238, 223, 0.4), transparent 60%),
    radial-gradient(1.5px 1.5px at 38% 62%, rgba(244, 217, 145, 0.45), transparent 60%),
    radial-gradient(1px 1px at 88% 76%, rgba(244, 238, 223, 0.35), transparent 60%);
  color: var(--fm-text);
}

body.fm ::selection { background: var(--fm-gold); color: #1d1304; }
body.fm .bz-eyebrow { color: var(--fm-gold); }
body.fm main a:not([class]) { color: var(--fm-gold-hi); }
body.fm h1, body.fm h2, body.fm h3 { color: var(--fm-ivory); }

.fm-cinzel { font-family: "Cinzel", Georgia, "Times New Roman", serif; }

/* Buttons in gold, ghost and the jade Play button */
body.fm .bz-btn { background: linear-gradient(120deg, #f4d991, #d7ae58 55%, #b98a33); color: #1d1304; box-shadow: 0 10px 34px rgba(215, 174, 88, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
body.fm .bz-btn:hover { color: #1d1304; box-shadow: 0 14px 44px rgba(215, 174, 88, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
body.fm .bz-btn--ghost { background: rgba(7, 16, 25, 0.55); color: var(--fm-ivory); border-color: rgba(215, 174, 88, 0.45); box-shadow: none; }
body.fm .bz-btn--ghost:hover { background: rgba(215, 174, 88, 0.1); color: #fff; }
body.fm .bz-btn--play { background: rgba(9, 32, 26, 0.78); color: #c9f5dc; border: 1px solid rgba(155, 231, 192, 0.55); box-shadow: 0 0 30px rgba(155, 231, 192, 0.14); }
body.fm .bz-btn--play:hover { background: rgba(12, 46, 37, 0.9); color: #fff; box-shadow: 0 0 40px rgba(155, 231, 192, 0.25); }
body.fm .bz-link { color: var(--fm-ivory); border-color: rgba(215, 174, 88, 0.5); }
body.fm .bz-chip.is-testing::before { background: var(--fm-gold-hi); }

/* Product bar under the site header */
.fm-bar {
  position: sticky;
  top: var(--bz-header-h);
  z-index: 30;
  border-bottom: 1px solid var(--fm-line-soft);
  background: rgba(7, 16, 25, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.fm-bar__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 56px;
}

.fm-bar__name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--fm-gold-hi);
  font-family: "Cinzel", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.fm-bar__name img { width: 28px; height: 28px; border-radius: 8px; image-rendering: pixelated; }

.fm-bar__links {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

.fm-bar__links::-webkit-scrollbar { display: none; }

.fm-bar__links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--fm-text);
  font-size: 0.8125rem;
  font-weight: 550;
  text-decoration: none;
  white-space: nowrap;
}

.fm-bar__links a:hover { color: #fff; background: rgba(215, 174, 88, 0.1); }
.fm-bar .bz-btn { margin-left: auto; flex-shrink: 0; min-height: 40px; padding: 8px 16px; font-size: 0.8125rem; }

/* Hero */
.fm-hero {
  position: relative;
  min-height: min(100svh, 980px);
  display: flex;
  align-items: flex-end;
  overflow: clip;
  isolation: isolate;
  padding: 120px 0 clamp(48px, 7vw, 92px);
}

.fm-hero__media { position: absolute; inset: 0; z-index: -2; }
.fm-hero__media video, .fm-hero__media img, .fm-hero__media picture { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }

.fm-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 16, 25, 0.92) 0%, rgba(7, 16, 25, 0.72) 36%, rgba(7, 16, 25, 0.08) 70%),
    linear-gradient(180deg, rgba(7, 16, 25, 0.6) 0%, transparent 26%, transparent 64%, var(--fm-ink) 100%);
}

.fm-hero__copy { max-width: 780px; }

.fm-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 7px 14px;
  border: 1px solid rgba(155, 231, 192, 0.35);
  border-radius: 999px;
  background: rgba(7, 16, 25, 0.66);
  color: #d6f5e4;
  font-size: 0.8125rem;
  font-weight: 550;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.fm-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--fm-mint); box-shadow: 0 0 12px rgba(155, 231, 192, 0.9); }

.fm-hero h1 { font-family: "Cinzel", Georgia, serif; line-height: 1; }

.fm-hero__wordmark {
  display: block;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #fff3cf 0%, #f4d991 42%, #c99a44 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(3.25rem, 1.5rem + 6.4vw, 7.25rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
  filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.55));
}

.fm-hero__line { display: block; color: var(--fm-ivory); font-size: clamp(1.5rem, 1rem + 2.2vw, 2.75rem); font-weight: 700; letter-spacing: 0.01em; text-shadow: 0 3px 24px rgba(0, 0, 0, 0.6); }
.fm-hero__line em { font-style: normal; color: var(--fm-gold-hi); }
.fm-hero__deck { margin: 20px 0 0; max-width: 560px; color: var(--fm-text); font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.6; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6); }

.fm-hero__facts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--fm-muted); font-size: 0.875rem; }
.fm-hero__facts li::before { content: "✦"; margin-right: 8px; color: var(--fm-gold); }

.fm-hero__credit { position: absolute; right: var(--bz-gutter); bottom: 22px; margin: 0; color: rgba(244, 238, 223, 0.6); font-size: 0.75rem; }

/* The gold thread that draws under section titles */
.fm-thread { display: block; width: min(360px, 80%); height: 20px; margin: 18px 0 0; overflow: visible; }
.fm-thread path { fill: none; stroke: var(--fm-gold); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 0; }
.fm-thread .knot { fill: var(--fm-gold-hi); stroke: none; transform-origin: 341px 10px; }
.bz-section-head--center .fm-thread { margin-inline: auto; }
.bz-reveal-ready [data-reveal] .fm-thread path:not(.knot) { stroke-dashoffset: 420; transition: stroke-dashoffset 1.6s cubic-bezier(0.3, 0.6, 0.2, 1) 0.2s; }
.bz-reveal-ready [data-reveal].is-in .fm-thread path:not(.knot) { stroke-dashoffset: 0; }
.bz-reveal-ready [data-reveal] .fm-thread .knot { opacity: 0; transform: scale(0.2); transition: opacity 0.4s 1.5s, transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) 1.5s; }
.bz-reveal-ready [data-reveal].is-in .fm-thread .knot { opacity: 1; transform: none; }

body.fm .bz-h2 { font-family: "Cinzel", Georgia, serif; font-weight: 700; letter-spacing: 0.005em; line-height: 1.08; font-size: clamp(2rem, 1.25rem + 3vw, 3.75rem); }
body.fm .bz-section-head p:not(.bz-eyebrow) { color: var(--fm-muted); }

/* Goldthread clips */
.fm-moves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.fm-move {
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--fm-line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(18, 26, 51, 0.7), rgba(7, 16, 25, 0.9));
  transition: border-color 0.25s, transform 0.25s;
}

.fm-move:hover { border-color: rgba(244, 217, 145, 0.6); transform: translateY(-3px); }
.fm-move video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #04080e; }
.fm-move--contain video { object-fit: contain; background: radial-gradient(ellipse at 30% 50%, #2a8a5c, #145238 75%); }
.fm-move figcaption { padding: 14px 16px 18px; color: var(--fm-text); font-size: 0.9rem; line-height: 1.55; }
.fm-move figcaption strong { display: block; margin-bottom: 4px; color: var(--fm-gold-hi); font-family: "Cinzel", Georgia, serif; font-size: 1.0625rem; letter-spacing: 0.04em; }
.fm-note { margin-top: 18px; color: var(--fm-muted); font-size: 0.8125rem; }

/* Classes */
.fm-classes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.fm-class {
  position: relative;
  display: grid;
  grid-template-rows: 300px auto;
  overflow: hidden;
  border: 1px solid var(--fm-line);
  border-radius: 24px;
  background: radial-gradient(ellipse 70% 60% at 50% 30%, var(--class-glow), transparent 70%), linear-gradient(180deg, #101a33, #071019 70%);
}

.fm-class__art { display: flex; align-items: flex-end; justify-content: center; padding-top: 22px; }
.fm-class__art img { max-height: 280px; width: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.6)); transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.fm-class:hover .fm-class__art img { transform: translateY(-6px) scale(1.03); }
.fm-class__body { padding: 20px 24px 26px; border-top: 1px solid var(--fm-line-soft); }
.fm-class h3 { font-family: "Cinzel", Georgia, serif; font-size: 1.75rem; font-weight: 700; letter-spacing: 0.04em; }
.fm-class__role { margin: 4px 0 12px; color: var(--class-accent); font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; }
.fm-class p { color: var(--fm-text); font-size: 0.9875rem; line-height: 1.6; }
.fm-class dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 14px 0 0; font-size: 0.875rem; }
.fm-class dt { color: var(--fm-muted); }
.fm-class dd { margin: 0; color: var(--fm-ivory); }
.fm-class.is-warrior { --class-glow: rgba(233, 69, 96, 0.28); --class-accent: #ff8a9c; }
.fm-class.is-mage { --class-glow: rgba(123, 104, 238, 0.3); --class-accent: #b3a7ff; }
.fm-class.is-archer { --class-glow: rgba(46, 213, 115, 0.24); --class-accent: #7ff0ae; }

/* Factions */
.fm-factions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.fm-faction {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--faction) 45%, transparent);
  border-radius: 22px;
  background:
    radial-gradient(ellipse 80% 55% at 50% 28%, color-mix(in srgb, var(--faction) 34%, transparent), transparent 72%),
    linear-gradient(180deg, #0e1730, #071019 75%);
  isolation: isolate;
}

.fm-faction__art { display: flex; align-items: flex-end; justify-content: center; height: 300px; padding: 18px 10px 0; }
.fm-faction__art img { max-height: 290px; width: auto; filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.55)); transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.fm-faction:hover .fm-faction__art img { transform: translateY(-6px) scale(1.04); }
.fm-faction__body { padding: 18px 20px 22px; border-top: 1px solid color-mix(in srgb, var(--faction) 30%, transparent); }
.fm-faction h3 { font-family: "Cinzel", Georgia, serif; font-size: 1.625rem; font-weight: 700; letter-spacing: 0.06em; color: #fff; }
.fm-faction__focus { display: inline-block; margin: 6px 0 10px; color: color-mix(in srgb, var(--faction) 70%, white); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.fm-faction p { color: var(--fm-text); font-size: 0.9375rem; line-height: 1.55; margin: 0; }
.fm-faction.is-xyros { --faction: #d94040; }
.fm-faction.is-fenor { --faction: #408cd9; }
.fm-faction.is-zethos { --faction: #40cc66; }
.fm-faction.is-solis { --faction: #f2bf33; }

/* Regions: a horizontal journey */
.fm-journey {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(290px, 40%, 540px);
  gap: 16px;
  margin: 0 calc(var(--bz-gutter) * -1);
  padding: 4px var(--bz-gutter) 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--bz-gutter);
  list-style: none;
  scrollbar-color: rgba(215, 174, 88, 0.5) transparent;
}

.fm-region {
  position: relative;
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid var(--fm-line);
  border-radius: 20px;
  background: #050b12;
  aspect-ratio: 16 / 10;
}

.fm-region img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.fm-region:hover img { transform: scale(1.05); }
.fm-region::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4, 8, 14, 0.92)); }
.fm-region__text { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; }
.fm-region__num { color: var(--fm-gold); font-family: "Cinzel", Georgia, serif; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; }
.fm-region h3 { margin: 2px 0 2px; font-family: "Cinzel", Georgia, serif; font-size: 1.375rem; font-weight: 700; letter-spacing: 0.03em; }
.fm-region__levels { color: var(--fm-text); font-size: 0.8125rem; }

/* Fate Maker */
.fm-boss {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(155, 120, 255, 0.28);
  border-radius: 30px;
  isolation: isolate;
}

.fm-boss > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.fm-boss::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 4, 14, 0.94) 0%, rgba(5, 4, 14, 0.6) 45%, transparent 75%), linear-gradient(0deg, rgba(5, 4, 14, 0.85), transparent 50%); }
.fm-boss__copy { max-width: 600px; padding: clamp(28px, 5vw, 60px); }
.fm-boss .bz-eyebrow { color: #c3a8ff; }
.fm-boss h2 { font-family: "Cinzel", Georgia, serif; font-size: clamp(2.25rem, 1.4rem + 3vw, 4rem); font-weight: 800; letter-spacing: 0.02em; line-height: 1.02; }
.fm-boss p { color: #ded7ee; }

/* Crossroads Codex */
.fm-codex { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fm-codex figure { margin: 0; overflow: hidden; border: 1px solid rgba(239, 224, 189, 0.3); border-radius: 18px; background: #1a120a; }
.fm-codex img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.fm-codex figcaption { padding: 14px 16px 16px; color: var(--fm-text); font-size: 0.9rem; line-height: 1.5; }
.fm-codex figcaption strong { display: block; color: var(--fm-parch); font-family: "Cinzel", Georgia, serif; font-size: 1.0625rem; letter-spacing: 0.04em; }

/* Fair play + engine two-up */
.fm-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fm-pillar { padding: 26px 24px 28px; border: 1px solid var(--fm-line); border-radius: 20px; background: rgba(12, 20, 40, 0.65); }
.fm-pillar h3 { margin: 0 0 8px; font-family: "Cinzel", Georgia, serif; font-size: 1.3125rem; font-weight: 700; letter-spacing: 0.03em; color: var(--fm-gold-hi); }
.fm-pillar p { margin: 0; color: var(--fm-text); font-size: 0.9875rem; line-height: 1.6; }

/* Awaken */
.fm-awaken {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(26px, 4vw, 52px);
  border: 1px solid rgba(155, 231, 192, 0.3);
  border-radius: 30px;
  background: radial-gradient(ellipse 70% 80% at 100% 0%, rgba(155, 231, 192, 0.12), transparent 60%), linear-gradient(160deg, #0d1a2c, #071019);
}

.fm-awaken figure { margin: 0; overflow: hidden; border-radius: 18px; border: 1px solid rgba(155, 231, 192, 0.25); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.fm-awaken .bz-eyebrow { color: var(--fm-mint); }
.fm-awaken h2 { font-family: "Cinzel", Georgia, serif; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); font-weight: 700; line-height: 1.05; }
.fm-awaken ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.fm-awaken li { color: var(--fm-text); }
.fm-awaken li::before { content: "◆"; margin-right: 10px; color: var(--fm-mint); font-size: 0.7em; vertical-align: 2px; }

/* FAQ */
.fm-faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--fm-line); }
.fm-faq details { border-bottom: 1px solid var(--fm-line); }

.fm-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 18px 4px;
  color: var(--fm-ivory);
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.fm-faq summary::-webkit-details-marker { display: none; }
.fm-faq summary::after { content: "+"; color: var(--fm-gold); font-size: 1.5rem; font-weight: 300; transition: transform 0.25s; }
.fm-faq details[open] summary::after { transform: rotate(45deg); }
.fm-faq details p { margin: 0 0 22px; padding: 0 4px; color: var(--fm-text); line-height: 1.7; }

/* Closing */
.fm-closing {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 140px) 0;
  text-align: center;
  isolation: isolate;
}

.fm-closing > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.fm-closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(7, 16, 25, 0.5), var(--fm-ink) 75%); }
.fm-closing h2 { font-family: "Cinzel", Georgia, serif; font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4.25rem); font-weight: 700; line-height: 1.05; }
.fm-closing p { max-width: 560px; margin: 18px auto 0; color: var(--fm-text); }
.fm-closing .bz-actions { justify-content: center; }

@media (max-width: 1000px) {
  .fm-moves, .fm-codex, .fm-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fm-factions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fm-classes { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .fm-class { grid-template-rows: auto auto; grid-template-columns: 200px 1fr; }
  .fm-class__art { padding: 18px 0 0; }
  .fm-class__art img { max-height: 240px; }
  .fm-class__body { border-top: 0; border-left: 1px solid var(--fm-line-soft); }
  .fm-awaken { grid-template-columns: minmax(0, 1fr); }
  .fm-journey { grid-auto-columns: minmax(280px, 60%); }
}

@media (max-width: 800px) {
  .fm-bar .bz-btn { display: none; }
  .fm-bar__inner { gap: 10px; }
  .fm-hero { display: block; min-height: 0; padding-top: 58vw; }
  .fm-hero__media { bottom: auto; height: 82vw; }
  .fm-hero__veil { background: linear-gradient(180deg, rgba(7, 16, 25, 0.2) 0%, rgba(7, 16, 25, 0.35) 45%, var(--fm-ink) 82vw); }
  .fm-hero__credit { position: static; margin: 18px var(--bz-gutter) 0; }
  .fm-hero .bz-crumbs { display: none; }
  .fm-moves, .fm-codex, .fm-pillars { grid-template-columns: minmax(0, 1fr); }
  .fm-faction__art { height: 230px; }
  .fm-faction__art img { max-height: 220px; }
  .fm-class { grid-template-columns: minmax(0, 1fr); grid-template-rows: 240px auto; }
  .fm-class__body { border-left: 0; border-top: 1px solid var(--fm-line-soft); }
  .fm-journey { grid-auto-columns: 82%; }
  .fm-boss { min-height: 0; padding-top: 46vw; }
  .fm-boss > img { height: 62vw; bottom: auto; object-position: 66% 30%; }
  .fm-boss::before { background: linear-gradient(180deg, transparent 0%, rgba(5, 4, 14, 0.4) 30%, rgba(5, 4, 14, 0.96) 60vw); }
}

@media (max-width: 480px) {
  .fm-factions { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fm-faction__art { height: 190px; padding: 12px 6px 0; }
  .fm-faction__art img { max-height: 180px; }
  .fm-faction__body { padding: 14px 14px 16px; }
  .fm-faction h3 { font-size: 1.25rem; }
  .fm-faction p { font-size: 0.8125rem; }
  .fm-hero__wordmark { font-size: clamp(2.75rem, 13.4vw, 3.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  .fm-class__art img, .fm-faction__art img, .fm-region img, .fm-move { transition: none; }
  .bz-reveal-ready [data-reveal] .fm-thread path:not(.knot) { stroke-dashoffset: 0; transition: none; }
  .bz-reveal-ready [data-reveal] .fm-thread .knot { opacity: 1; transform: none; transition: none; }
}
