@font-face {
  font-family: "Marcellus";
  src: url("../assets/fonts/Marcellus-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-latin.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #0b0910;
  --ink-soft: #100d15;
  --surface: #15111b;
  --surface-raised: #1a1521;
  --surface-soft: #201925;
  --paper: #f5f0e8;
  --muted: #b8b0bb;
  --muted-strong: #d4cbd4;
  --line: rgba(240, 229, 217, 0.13);
  --line-strong: rgba(240, 229, 217, 0.23);
  --ember: #dc6747;
  --ember-light: #f08a64;
  --gold: #c8a76d;
  --violet: #8f77bd;
  --teal: #58b8ad;
  --display: "Marcellus", Georgia, serif;
  --body: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content: min(1180px, calc(100% - 40px));
  --radius-small: 10px;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 10% 0%, rgba(143, 119, 189, 0.13), transparent 29rem),
    radial-gradient(circle at 100% 26%, rgba(220, 103, 71, 0.09), transparent 32rem),
    var(--ink);
  font-family: var(--body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button,
video {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 50;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  font-size: 13px;
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.guide-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  min-height: 70px;
  padding: 11px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(11, 9, 16, 0.9);
  backdrop-filter: blur(18px);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.guide-brand {
  display: inline-flex;
  min-width: max-content;
  font-family: var(--display);
  font-size: 27px;
  line-height: 1;
  letter-spacing: 0.025em;
  align-items: center;
  gap: 12px;
}

.guide-brand > span,
.guide-brand:not(:has(> span)) {
  color: var(--paper);
}

.guide-brand small {
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
  color: var(--gold);
  font-family: var(--body);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.guide-nav {
  display: flex;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
  align-items: center;
  gap: 25px;
}

.guide-nav a {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.guide-nav a:hover,
.guide-nav a:focus-visible {
  color: var(--paper);
}

.guide-nav-cta {
  padding: 8px 13px;
  border: 1px solid rgba(200, 167, 109, 0.42);
  border-radius: 999px;
  color: var(--paper);
  background: rgba(200, 167, 109, 0.08);
}

.guide-nav-cta:hover,
.guide-nav-cta:focus-visible {
  border-color: var(--gold);
  background: rgba(200, 167, 109, 0.14);
}

.guide-hero,
.hub-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 510px;
  padding: clamp(84px, 11vw, 140px) max(20px, calc((100vw - 1180px) / 2)) clamp(72px, 9vw, 112px);
  overflow: hidden;
  align-items: center;
}

.guide-hero::before,
.hub-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background:
    radial-gradient(ellipse at 82% 48%, rgba(143, 119, 189, 0.25), transparent 32%),
    radial-gradient(ellipse at 67% 20%, rgba(220, 103, 71, 0.15), transparent 27%),
    linear-gradient(118deg, #0b0910 15%, #15101b 58%, #0b0910 100%);
}

.guide-hero::after,
.hub-hero::after {
  position: absolute;
  z-index: -1;
  top: -23%;
  right: clamp(-190px, -11vw, -80px);
  width: min(61vw, 780px);
  aspect-ratio: 1;
  border: 1px solid rgba(200, 167, 109, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(143, 119, 189, 0.025),
    0 0 0 112px rgba(220, 103, 71, 0.018);
  content: "";
}

.guide-hero--illustrated::before,
.hub-hero--atlas::before {
  background-position: center;
  background-size: cover;
}

.guide-hero--illustrated::before {
  background-image:
    linear-gradient(90deg, rgba(11, 9, 16, 0.97) 0%, rgba(11, 9, 16, 0.87) 39%, rgba(11, 9, 16, 0.18) 72%),
    url("../assets/editorial/aoi-class-paths-desktop-v1.webp");
}

.hub-hero--atlas::before {
  background-image:
    linear-gradient(90deg, rgba(11, 9, 16, 0.96) 0%, rgba(11, 9, 16, 0.83) 43%, rgba(11, 9, 16, 0.22) 76%),
    url("../assets/editorial/aoi-guide-atlas-desktop-v1.webp");
}

.guide-hero--illustrated::after,
.hub-hero--atlas::after {
  display: none;
}

.hub-hero {
  min-height: 450px;
}

.hero-copy {
  width: min(790px, 100%);
}

.hero-kicker {
  display: flex;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-copy h1 {
  max-width: 850px;
  margin: 22px 0 20px;
  font-family: var(--display);
  font-size: clamp(49px, 7.5vw, 92px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hub-hero .hero-copy h1 {
  max-width: 780px;
  font-size: clamp(48px, 7vw, 84px);
}

.hero-copy h1 span {
  color: var(--gold);
}

.hero-copy > p {
  max-width: 710px;
  margin: 0;
  color: var(--muted-strong);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.7;
}

.hero-facts {
  display: flex;
  margin-top: 29px;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-facts span {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #ded5dd;
  background: rgba(255, 255, 255, 0.025);
  font-size: 11px;
  font-weight: 700;
}

.guide-main {
  width: var(--content);
  margin: 0 auto;
}

.guide-intro,
.section-heading {
  display: grid;
  padding: clamp(68px, 9vw, 105px) 0 36px;
  grid-template-columns: minmax(0, 0.9fr) minmax(310px, 0.7fr);
  align-items: end;
  gap: clamp(30px, 6vw, 72px);
}

.guide-intro--hub {
  display: block;
  padding-bottom: 34px;
}

.guide-intro--hub > p {
  max-width: 68ch;
  margin-top: 19px;
  color: var(--muted-strong);
  line-height: 1.75;
}

.guide-intro h2,
.section-heading h2,
.guide-cta h2 {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: clamp(35px, 5vw, 58px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.guide-intro > p,
.section-heading > p,
.lede {
  margin: 0;
  color: var(--muted);
}

.class-preview-page .guide-intro--paths {
  display: flex;
  max-width: 840px;
  padding: clamp(72px, 9vw, 104px) 0 clamp(36px, 5vw, 52px);
  margin-inline: auto;
  text-align: center;
  align-items: center;
  flex-direction: column;
  gap: 0;
}

.guide-intro--paths h2 {
  max-width: 14ch;
}

.guide-intro--paths > p {
  max-width: 68ch;
  margin-top: 22px;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.75;
}

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status--available {
  border-color: rgba(88, 184, 173, 0.42);
  color: #a9e2db;
  background: rgba(88, 184, 173, 0.09);
}

.status--testing {
  border-color: rgba(200, 167, 109, 0.44);
  color: #e6c995;
  background: rgba(200, 167, 109, 0.09);
}

.status--planned {
  border-color: rgba(143, 119, 189, 0.45);
  color: #cbb9ed;
  background: rgba(143, 119, 189, 0.1);
}

.path-jump-shell {
  position: sticky;
  z-index: 15;
  top: 70px;
  padding: 10px 10px 14px;
  margin-inline: -10px;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink) 78%, rgba(11, 9, 16, 0));
}

.path-jump {
  isolation: isolate;
  display: grid;
  padding: 6px;
  border: 1px solid rgba(240, 229, 217, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(26, 21, 33, 0.98), rgba(16, 13, 21, 0.98));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.path-jump-shell.is-docked .path-jump {
  border-color: rgba(200, 167, 109, 0.23);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.42);
}

.path-jump a {
  display: flex;
  min-width: 0;
  min-height: 48px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.path-jump a span {
  display: grid;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(240, 229, 217, 0.13);
  border-radius: 50%;
  color: rgba(212, 203, 212, 0.66);
  background: rgba(255, 255, 255, 0.025);
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  place-items: center;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.path-jump a strong {
  min-width: 0;
  font-weight: 750;
}

.path-jump a:hover,
.path-jump a:focus-visible {
  color: var(--paper);
  border-color: rgba(240, 229, 217, 0.11);
  background: rgba(255, 255, 255, 0.045);
}

.path-jump a:focus-visible {
  outline-offset: -2px;
}

.path-jump a.is-active,
.path-jump a[aria-current="location"] {
  border-color: rgba(200, 167, 109, 0.3);
  color: var(--paper);
  background: linear-gradient(135deg, rgba(143, 119, 189, 0.2), rgba(220, 103, 71, 0.11));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.045), 0 7px 18px rgba(0, 0, 0, 0.16);
}

.path-jump a.is-active span,
.path-jump a[aria-current="location"] span {
  border-color: rgba(200, 167, 109, 0.48);
  color: #f0d8aa;
  background: rgba(200, 167, 109, 0.1);
}

.path-stack {
  display: grid;
  padding: clamp(42px, 7vw, 76px) 0;
  gap: 28px;
}

.path-post {
  position: relative;
  padding: clamp(25px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 34%),
    var(--surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  overflow: clip;
  scroll-margin-top: var(--class-anchor-offset, 158px);
}

.path-post__head {
  display: block;
  padding-bottom: 27px;
}

.path-post__head > div {
  max-width: 760px;
}

.path-post__head h2 {
  margin: 8px 0 6px;
  font-family: var(--display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.path-post__head > p {
  max-width: 68ch;
  margin: 18px 0 0;
  color: var(--muted-strong);
  line-height: 1.75;
}

.path-route {
  margin: 0;
  color: var(--gold);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.role-grid,
.skill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.role-grid {
  padding-top: 14px;
}

.role-grid--single,
.skill-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.role-grid--single .role-card,
.skill-grid--single .skill-preview {
  width: min(760px, 100%);
}

.role-card {
  padding: clamp(21px, 3vw, 30px);
  border: 1px solid rgba(240, 229, 217, 0.1);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.025);
}

.role-card--with-preview {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.role-card__title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.role-card h3,
.skill-caption h3,
.skill-preview figcaption h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.08;
}

.role-lead {
  min-height: 2.8em;
  margin: 15px 0 0;
  color: var(--paper);
  font-size: 14px;
  font-weight: 650;
}

.role-points,
.skill-list,
.clean-list {
  display: grid;
  padding: 0;
  margin: 15px 0 0;
  list-style: none;
  gap: 10px;
}

.role-points li,
.skill-list li,
.clean-list li {
  position: relative;
  padding: 4px 0 4px 17px;
  color: var(--muted);
  font-size: 12px;
}

.role-points li::before,
.skill-list li::before,
.clean-list li::before {
  position: absolute;
  top: 12px;
  left: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: "";
  background: var(--ember-light);
}

.skill-grid {
  padding-top: 14px;
}

.role-card__preview {
  margin-top: clamp(24px, 3vw, 32px);
}

.skill-preview.role-card__preview {
  border: 0;
  border-radius: 18px;
  background: rgba(9, 7, 12, 0.74);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.skill-switcher {
  min-width: 0;
  padding: 6px;
  border-radius: 18px;
  background: rgba(9, 7, 12, 0.74);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(240, 229, 217, 0.07);
  overflow: hidden;
}

.skill-switcher__header {
  display: grid;
  padding: 13px 12px 11px;
  gap: 13px;
}

.skill-switcher__title {
  display: block;
  margin-top: 5px;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 400;
  line-height: 1.05;
}

.skill-tabs {
  display: none;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.class-guide-js .skill-tabs {
  display: grid;
}

.skill-tab {
  display: grid;
  min-width: 0;
  min-height: 52px;
  padding: 8px 11px;
  border: 0;
  border-radius: 11px;
  color: var(--muted-strong);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  gap: 2px;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.skill-tab span {
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.skill-tab small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skill-tab:hover,
.skill-tab:focus-visible {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.045);
}

.skill-tab.is-active,
.skill-tab[aria-selected="true"] {
  color: var(--paper);
  background: linear-gradient(135deg, rgba(143, 119, 189, 0.32), rgba(220, 103, 71, 0.15));
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.07);
}

.skill-tab.is-active small,
.skill-tab[aria-selected="true"] small {
  color: #efd7aa;
}

.skill-switcher__stage {
  min-width: 0;
  border-radius: 14px;
  background: #07060a;
  overflow: hidden;
}

.skill-switcher__panel {
  border: 0;
  border-radius: 0;
}

.skill-switcher__panel + .skill-switcher__panel {
  margin-top: 8px;
}

.class-guide-js .skill-switcher__panel + .skill-switcher__panel {
  margin-top: 0;
}

.class-guide-js .skill-switcher__panel[hidden] {
  display: none;
}

.skill-preview {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--ink-soft);
  overflow: hidden;
}

.skill-preview video,
.placeholder-visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #07060a;
}

.skill-preview video {
  object-fit: cover;
}

.skill-preview .media-player-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #07060a;
}

.media-player-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.media-player-frame::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background-image: linear-gradient(0deg, rgba(5, 4, 8, 0.82), transparent 57%), var(--media-poster);
  background-position: center;
  background-size: cover;
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 260ms ease;
}

.media-player-frame > video {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.media-player-trigger {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  padding: 22px;
  border: 0;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.media-player-trigger__icon {
  display: grid;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(11, 9, 16, 0.64);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(8px);
  place-items: center;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.media-player-trigger__icon i {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid var(--paper);
}

.media-player-trigger__copy {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
}

.media-player-trigger__copy small {
  color: var(--gold);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-player-trigger__copy strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 400;
}

.media-player-trigger:hover .media-player-trigger__icon {
  border-color: var(--gold);
  background: rgba(143, 119, 189, 0.42);
  transform: scale(1.08);
}

.media-player-frame:has(.media-player-trigger:hover)::before {
  filter: brightness(1.08) saturate(1.05);
  transform: scale(1.025);
}

.media-player-frame.is-playing::before,
.media-player-frame.is-playing .media-player-trigger {
  display: none;
}

.media-lightbox {
  width: min(1120px, calc(100% - 30px));
  max-width: none;
  padding: 0;
  overflow: visible;
  border: 1px solid rgba(143, 119, 189, 0.45);
  border-radius: 14px;
  color: var(--paper);
  background: #0b0910;
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.68);
}

.media-lightbox::backdrop {
  background: rgba(5, 4, 8, 0.8);
  backdrop-filter: blur(12px);
}

.media-lightbox__shell {
  overflow: hidden;
  border-radius: inherit;
}

.media-lightbox__bar {
  min-height: 64px;
  display: flex;
  padding: 11px 14px 11px 20px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #15101b;
}

.media-lightbox__bar div { display: grid; gap: 2px; }
.media-lightbox__bar small { color: var(--gold); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.media-lightbox__bar strong { font-size: 13px; }
.media-lightbox__close { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--paper); background: rgba(255,255,255,.03); font-size: 22px; cursor: pointer; }
.media-lightbox__stage { aspect-ratio: 16 / 9; background: #050407; }
.media-lightbox__stage video { display: block; width: 100%; height: 100%; object-fit: contain; }

.skill-preview figcaption,
.skill-caption {
  padding: 20px 22px 22px;
}

.skill-preview figcaption h3,
.skill-caption h3 {
  margin-top: 10px;
}

.skill-preview figcaption p,
.skill-caption p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.placeholder-visual {
  position: relative;
  display: grid;
  padding: 25px;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(143, 119, 189, 0.13), rgba(220, 103, 71, 0.08)),
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(255, 255, 255, 0.025) 22px 23px),
    #0d0b11;
  place-content: center;
  text-align: center;
}

.placeholder-visual span,
.placeholder-visual strong {
  position: relative;
  z-index: 1;
}

.placeholder-visual span {
  color: var(--gold);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.placeholder-visual strong {
  max-width: 360px;
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(23px, 3.6vw, 36px);
  font-weight: 400;
  line-height: 1.08;
}

.guide-section {
  padding: clamp(62px, 8vw, 94px) 0;
  border-top: 1px solid var(--line);
}

.guide-section .section-heading {
  display: block;
  padding: 0 0 34px;
}

.guide-section .section-heading > p {
  max-width: 68ch;
  margin-top: 19px;
  color: var(--muted-strong);
  line-height: 1.75;
}

.section-heading--compact {
  grid-template-columns: 1fr;
}

.status-section {
  padding-top: clamp(55px, 8vw, 82px);
}

.status-key {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.status-key > div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.025);
}

.status-key p,
.status-key small {
  display: block;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.status-key strong {
  display: block;
  color: var(--paper);
  font-size: 13px;
}

.guide-cta {
  display: flex;
  margin: 18px 0 clamp(72px, 10vw, 118px);
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 86% 16%, rgba(143, 119, 189, 0.19), transparent 30%),
    linear-gradient(120deg, rgba(220, 103, 71, 0.09), transparent 50%),
    var(--surface);
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.guide-cta h2 {
  font-size: clamp(31px, 4vw, 48px);
}

.guide-cta p {
  max-width: 620px;
  margin: 11px 0 0;
  color: var(--muted);
}

.guide-button {
  display: inline-flex;
  min-height: 44px;
  padding: 11px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.guide-button:hover,
.guide-button:focus-visible {
  transform: translateY(-1px);
}

.guide-button--primary {
  border-color: rgba(220, 103, 71, 0.65);
  color: #fff8f2;
  background: #b84e35;
}

.guide-button--primary:hover,
.guide-button--primary:focus-visible {
  border-color: var(--ember-light);
  background: #c8583d;
}

.hub-grid {
  display: grid;
  padding-bottom: clamp(70px, 10vw, 118px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hub-card {
  position: relative;
  display: flex;
  min-height: 285px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 43%),
    var(--surface);
  flex-direction: column;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.hub-card--live:hover,
.hub-card--live:focus-visible {
  border-color: rgba(200, 167, 109, 0.48);
  background:
    linear-gradient(145deg, rgba(200, 167, 109, 0.08), transparent 43%),
    var(--surface-raised);
  transform: translateY(-2px);
}

.hub-card--planned {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.02), transparent 43%),
    rgba(21, 17, 27, 0.72);
}

.hub-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hub-card__index {
  color: var(--gold);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.hub-card h2 {
  margin: auto 0 10px;
  font-family: var(--display);
  font-size: clamp(31px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.04;
}

.hub-card p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hub-card__action {
  display: inline-flex;
  margin-top: 20px;
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 750;
  align-items: center;
  gap: 7px;
}

.hub-card--live .hub-card__action {
  color: var(--gold);
}

.guide-cta--hub {
  margin-top: 0;
}

.guide-footer {
  display: flex;
  width: var(--content);
  margin: 0 auto;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  justify-content: space-between;
  gap: 24px;
}

.guide-footer a {
  color: var(--gold);
}

.guide-footer a:hover,
.guide-footer a:focus-visible {
  color: var(--paper);
}

/* Shared styles kept for the existing progression draft until it is replaced. */
.class-grid,
.system-grid,
.drop-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.class-card,
.system-card,
.drop-card,
.fact-panel {
  padding: clamp(23px, 4vw, 37px);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
}

.class-card header {
  display: flex;
  margin-bottom: 17px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.class-card h3,
.system-card h3,
.drop-card h3,
.fact-panel h3 {
  margin: 7px 0 0;
  font-family: var(--display);
  font-size: 29px;
  font-weight: 400;
  line-height: 1.08;
}

.class-card p {
  color: var(--muted);
}

.class-path {
  color: var(--gold);
  font-size: 11px;
  font-weight: 750;
}

.tag,
.class-card header span {
  display: inline-flex;
  padding: 5px 8px;
  border: 1px solid rgba(143, 119, 189, 0.35);
  border-radius: 999px;
  color: #cbb9ed;
  background: rgba(143, 119, 189, 0.08);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--line);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
}

.timeline article {
  min-height: 210px;
  padding: 23px;
  background: var(--surface);
}

.timeline span {
  color: var(--ember-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.timeline h3 {
  margin: 13px 0 9px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.05;
}

.progression-guide-route {
  position: relative;
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.progression-guide-route li {
  display: grid;
  min-height: 150px;
  padding: clamp(23px, 4vw, 36px);
  background: var(--surface);
  grid-template-columns: 62px 1fr;
  align-items: start;
  gap: 24px;
}

.progression-guide-route li > span {
  width: 52px;
  height: 52px;
  display: grid;
  color: var(--gold);
  border: 1px solid rgba(200, 167, 109, .42);
  border-radius: 50%;
  place-items: center;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.progression-guide-route small {
  color: var(--ember-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.progression-guide-route h3 {
  margin: 7px 0 8px;
  font-family: var(--display);
  font-size: clamp(26px, 3.3vw, 38px);
  font-weight: 400;
  line-height: 1.06;
}

.progression-guide-route p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.progression-guide-route__final {
  background: linear-gradient(120deg, rgba(220, 103, 71, .12), rgba(143, 119, 189, .08)), var(--surface-raised) !important;
}

.progression-final {
  display: grid;
  padding-top: 0;
  border-top: 0;
  grid-template-columns: minmax(0, 1fr);
}

.progression-final__media {
  overflow: hidden;
  background: #050407;
  border-radius: var(--radius) var(--radius) 0 0;
}

.progression-final__media .media-player-frame,
.progression-final__media video {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.progression-final__media .media-player-frame::before {
  background-color: #050407;
  background-repeat: no-repeat;
  background-size: 100% 100%, contain;
}

.progression-final__media video {
  object-fit: contain;
}

.progression-final__copy {
  display: flex;
  padding: clamp(28px, 5vw, 52px);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  flex-direction: column;
  justify-content: center;
}

.progression-final__copy h2 {
  margin: 12px 0 18px;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 55px);
  font-weight: 400;
  line-height: 1.02;
}

.progression-final__copy p {
  color: var(--muted);
}

.progression-final__copy .guide-button {
  width: fit-content;
  margin-top: 18px;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.callout {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(200, 167, 109, 0.25);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
  color: var(--muted-strong);
  background: rgba(200, 167, 109, 0.06);
  font-size: 13px;
}

.callout strong {
  color: var(--paper);
}

.recipe {
  display: grid;
  margin: 19px 0;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 0.8fr);
  align-items: center;
  gap: 12px;
}

.recipe span,
.recipe strong {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
  text-align: center;
}

.recipe b {
  color: var(--ember-light);
}

.drop-metric {
  display: grid;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
}

.drop-metric span {
  padding: 15px 11px;
  background: var(--ink-soft);
}

.drop-metric strong,
.drop-metric small {
  display: block;
}

.drop-metric strong {
  color: var(--gold);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.drop-metric small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
  text-transform: uppercase;
}

.balance-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
  overflow-x: auto;
}

.balance-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.balance-table th,
.balance-table td {
  padding: 16px 19px;
  border-bottom: 1px solid rgba(240, 229, 217, 0.08);
  text-align: left;
}

.balance-table th {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.025);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.balance-table td {
  color: var(--muted-strong);
  font-size: 13px;
}

.balance-table td:first-child {
  color: var(--paper);
  font-weight: 800;
}

.video-slot {
  position: relative;
  display: grid;
  min-height: 320px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background:
    radial-gradient(circle at 70% 25%, rgba(143, 119, 189, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(220, 103, 71, 0.1), var(--surface));
  align-content: end;
  overflow: hidden;
}

.video-slot::before {
  position: absolute;
  top: 48%;
  left: 50%;
  width: 60px;
  height: 60px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  content: "▶";
  color: var(--paper);
  background: rgba(11, 9, 16, 0.56);
  font-size: 18px;
  line-height: 60px;
  text-align: center;
  transform: translate(-50%, -68%);
}

.video-slot small {
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.video-slot strong {
  margin-top: 5px;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 400;
}

.video-slot p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 920px) {
  .guide-intro,
  .section-heading,
  .path-post__head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 22px;
  }

  .role-grid,
  .skill-grid,
  .class-grid,
  .system-grid,
  .drop-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .role-grid--single .role-card,
  .skill-grid--single .skill-preview {
    width: 100%;
  }

  .hub-grid {
    grid-template-columns: 1fr;
  }

  .hub-card {
    min-height: 250px;
  }

  .timeline {
    grid-template-columns: 1fr 1fr;
  }

  .guide-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .progression-final {
    grid-template-columns: 1fr;
  }

  .progression-final__media {
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .progression-final__media video {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .progression-final__copy {
    border-top: 0;
    border-left: 1px solid var(--line);
    border-radius: 0 0 var(--radius) var(--radius);
  }
}

@media (max-width: 680px) {
  :root {
    --content: calc(100% - 28px);
  }

  html {
    scroll-padding-top: 76px;
  }

  .guide-header {
    min-height: 62px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .guide-brand {
    font-size: 23px;
  }

  .guide-brand small {
    display: none;
  }

  .guide-nav {
    gap: 12px;
  }

  .guide-nav a:not(.guide-nav-cta):not(:first-child) {
    display: none;
  }

  .guide-nav-cta {
    padding: 7px 11px;
  }

  .guide-hero,
  .hub-hero {
    min-height: 460px;
    padding: 78px 17px 66px;
  }

  .guide-hero--illustrated::before {
    background-image:
      linear-gradient(0deg, rgba(11, 9, 16, 0.97), rgba(11, 9, 16, 0.71) 62%, rgba(11, 9, 16, 0.2)),
      url("../assets/editorial/aoi-class-paths-mobile-v1.webp");
    background-position: center top;
  }

  .hub-hero--atlas::before {
    background-image:
      linear-gradient(0deg, rgba(11, 9, 16, 0.97), rgba(11, 9, 16, 0.68) 63%, rgba(11, 9, 16, 0.18)),
      url("../assets/editorial/aoi-guide-atlas-mobile-v1.webp");
    background-position: center;
  }

  .hub-hero {
    min-height: 420px;
  }

  .hero-copy h1 {
    font-size: clamp(43px, 13vw, 66px);
  }

  .hero-copy > p {
    font-size: 15px;
  }

  .progression-guide-route li {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  .progression-guide-route li > span {
    width: 44px;
    height: 44px;
  }

  .guide-intro {
    padding-top: 60px;
  }

  .path-jump-shell {
    top: 62px;
    padding: 8px 7px 11px;
    margin-inline: -7px;
  }

  .path-jump {
    display: flex;
    padding: 5px;
    border-radius: 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-snap-type: inline proximity;
  }

  .path-jump::-webkit-scrollbar {
    display: none;
  }

  .path-jump a {
    min-width: 124px;
    flex: 0 0 124px;
    scroll-snap-align: center;
  }

  .path-post {
    padding: 20px;
    scroll-margin-top: var(--class-anchor-offset, 146px);
  }

  .role-card__title {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .role-card h3,
  .skill-caption h3,
  .skill-preview figcaption h3 {
    font-size: 25px;
  }

  .role-lead {
    min-height: 0;
  }

  .skill-preview figcaption,
  .skill-caption {
    padding: 17px;
  }

  .placeholder-visual {
    padding: 18px;
  }

  .media-player-trigger__copy { display: none; }

  .skill-switcher__header {
    padding: 12px 10px 10px;
  }

  .skill-tab {
    min-height: 49px;
    padding-inline: 9px;
  }

  .status-key,
  .timeline,
  .drop-metric {
    grid-template-columns: 1fr;
  }

  .recipe {
    grid-template-columns: 1fr;
  }

  .recipe b {
    text-align: center;
    transform: rotate(90deg);
  }

  .guide-button {
    width: 100%;
  }

  .guide-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
