/* Chapters of Ethergia. Layout and interaction polish; hero playback stays in effects.css. */
.rq-ashes { --rq-ember: #bf7564; }
.rq-ashes ::selection { background: #8b303b; color: #fff5e9; }
.rq-ashes .rq-hero h1 { font-size: clamp(60px, 6.1vw, 88px); max-width: 650px; line-height: 1.04; letter-spacing: -.055em; text-wrap: balance; }
.rq-ashes .rq-hero h1 em { color: #e4c9b8; }
.rq-ashes .rq-hero-copy { padding-top: 68px; padding-bottom: 58px; }
.rq-ashes .rq-hero-copy > .rq-eyebrow { display: flex; align-items: center; gap: 14px; }
.rq-ashes .rq-hero-copy > .rq-eyebrow::before { content: ""; width: 34px; height: 1px; background: #bd5457; flex: 0 0 auto; }
.rq-ashes .rq-hero-description { max-width: 390px; font-size: 16px; color: #c3c0bd; }
.rq-ashes .rq-hero-status { color: #aaa5a2; max-width: 390px; }
.rq-ashes .rq-primary { position: relative; background: linear-gradient(125deg, #b92e38, #7e1827); border-color: #bb4a50; box-shadow: inset 0 1px #f3b5a32b, 0 7px 25px #0004; padding-inline: 25px; }
.rq-ashes .rq-primary:hover { background: linear-gradient(125deg, #ca3541, #922331); box-shadow: 0 8px 32px #9f203d40; }
.rq-ashes .rq-primary i, .rq-ashes .rq-story-button i, .rq-ashes .rq-text-link i { transition: transform .2s ease; }
.rq-ashes :is(.rq-primary, .rq-story-button, .rq-text-link):hover i { transform: translateX(4px); }
.rq-ashes .rq-project-strip { background: linear-gradient(90deg, #1d1115, #101214 65%); border-top-color: #442a2c; }
.rq-ashes .rq-section-heading { gap: 20px; margin-bottom: 34px; }
.rq-ashes .rq-section-heading h2, .rq-ashes .rq-world h2 { font-size: clamp(32px, 3.1vw, 44px); text-wrap: balance; }
.rq-ashes .rq-section-heading > .rq-eyebrow { flex-shrink: 0; display: flex; align-items: center; gap: 15px; color: #bd9e91; }
.rq-ashes .rq-section-heading > .rq-eyebrow::before { content: ""; width: 42px; height: 1px; background: #79443e; }

/* The middle chapter is the current stage, not a percentage or launch promise. */
.rq-ashes .rq-progress { padding-top: 65px; padding-bottom: 15px; }
.rq-ashes .rq-progress-grid { border: 0; gap: 30px; margin-top: 36px; }
.rq-ashes .rq-progress-grid li { position: relative; padding: 28px 0 12px; border-top: 1px solid #423332; background: transparent; }
.rq-ashes .rq-progress-grid li + li { border-left: 0; }
.rq-ashes .rq-progress-grid li::before { content: ""; position: absolute; left: 0; top: -3px; width: 5px; height: 5px; background: #a97d6d; transform: rotate(45deg); }
.rq-ashes .rq-progress-grid .rq-progress-current { background: linear-gradient(180deg, #5d212b26, transparent 85%); border-top-color: #ba5359; box-shadow: none; padding-inline: 20px; }
.rq-ashes .rq-progress-current::before { background: #df8c85; box-shadow: 0 0 16px #ba535980; }
.rq-ashes .rq-chapter-number { display: block; position: absolute; right: 8px; top: 19px; font: italic 76px/1 Georgia, serif; letter-spacing: -.06em; color: #c99b7e14; pointer-events: none; }
.rq-ashes .rq-progress-index { color: #d2aea1; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.rq-ashes .rq-progress-grid h3 { position: relative; font-size: 27px; margin-top: 22px; }
.rq-ashes .rq-progress-grid p { position: relative; max-width: 370px; color: #b5b0ad; }

/* Original covers are shown edge to edge at their own ratio, including signatures. */
.rq-ashes .rq-news { padding-top: 65px; padding-bottom: 75px; }
.rq-ashes .rq-news-story { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 65px); }
.rq-ashes .rq-news-visual, .rq-ashes .rq-news-visual--original { min-height: 0; background: #131517; border: 1px solid #54413a; box-shadow: 0 18px 45px #0005; }
.rq-ashes .rq-news-visual img, .rq-ashes .rq-news-visual--original img { position: static; width: 100%; height: auto; max-height: none; object-fit: contain; }
.rq-ashes .rq-news-visual::after { background: none; box-shadow: inset 0 0 0 7px #090b0d22; transition: box-shadow .25s ease; }
.rq-ashes .rq-news-story:hover .rq-news-visual::after { box-shadow: inset 0 0 0 1px #dbb09750; }
.rq-ashes .rq-story-copy h3 { max-width: 450px; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.15; }
.rq-ashes .rq-story-copy > p { max-width: 420px; font-size: 15px; }
.rq-ashes .rq-story-button { gap: 35px; font-size: 13px; border-bottom-color: #7f4a43; }
.rq-ashes .rq-news-more { margin-top: 36px; }
.rq-ashes .rq-news-more article { border-top-color: #4b3333; }
.rq-ashes .rq-all-news { margin-top: 25px; color: #d8bbae; }

/* Race artwork retains its original sprite crop; no regenerated characters. */
.rq-ashes .rq-world { position: relative; padding-block: 72px; border-top-color: #4b3433; background: radial-gradient(ellipse at 20% 65%, #51252b33, transparent 56%), linear-gradient(120deg, #161719, #0c0f11 75%); }
.rq-ashes .rq-world-intro { margin-bottom: 36px; }
.rq-ashes .rq-race-tabs { gap: 8px; border-bottom-color: #473637; }
.rq-ashes .rq-race-tab { min-height: 62px; font: 400 23px/1.2 Georgia, serif; letter-spacing: -.02em; border: 1px solid transparent; border-bottom: 2px solid transparent; }
.rq-ashes .rq-race-tab[aria-pressed="true"] { border-color: #5d3838; border-bottom-color: #c16a63; background: linear-gradient(0deg, #60272c66, #39232611); }
.rq-ashes .rq-race-body { padding-top: 36px; min-height: 375px; gap: 60px; }
.rq-ashes .rq-race-stage { min-height: 335px; }
.rq-ashes .rq-race-portrait { width: 310px; aspect-ratio: 1; }
.rq-ashes .rq-race-copy h3 { font-size: clamp(48px, 5vw, 70px); color: #ecd8c9; }
.rq-ashes .rq-race-copy > p { max-width: 420px; font-size: 15px; line-height: 1.8; }
.rq-ashes .rq-race-subtitle { color: #cba393; }

.rq-ashes .rq-footer { background: #0a0c0e; }
.rq-ashes .rq-interior .rq-page-heading { border-bottom-color: #543939; }
.rq-ashes :is(.rq-race-tab, .rq-primary, .rq-story-button, .rq-text-link):focus-visible { outline: 2px solid #e9bba7; outline-offset: 5px; }

@media (max-width: 900px) {
  .rq-ashes .rq-progress-grid { gap: 22px; }
  .rq-ashes .rq-progress-grid h3 { font-size: 24px; }
  .rq-ashes .rq-race-body { gap: 25px; }
}
@media (max-width: 700px) {
  .rq-ashes .rq-hero-copy { padding-top: 205px; padding-bottom: 40px; }
  .rq-ashes .rq-hero h1 { font-size: clamp(41px, 11.6vw, 65px); max-width: 520px; }
  .rq-ashes .rq-hero-description { font-size: 15px; }
  .rq-ashes .rq-hero-copy > .rq-eyebrow { gap: 10px; }
  .rq-ashes .rq-hero-copy > .rq-eyebrow::before { width: 20px; }
  .rq-ashes .rq-progress { padding-top: 43px; padding-bottom: 0; }
  .rq-ashes .rq-section-heading { flex-direction: column-reverse; align-items: flex-start; gap: 14px; margin-bottom: 26px; }
  .rq-ashes .rq-progress-grid { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
  .rq-ashes .rq-progress-grid li, .rq-ashes .rq-progress-grid li + li, .rq-ashes .rq-progress-grid .rq-progress-current { padding: 25px 18px 27px 24px; border-top: 0; border-left: 1px solid #58403e; background: transparent; }
  .rq-ashes .rq-progress-grid .rq-progress-current { border-left-color: #c76a67; background: linear-gradient(90deg, #60212b28, transparent); }
  .rq-ashes .rq-progress-grid li::before { left: -3px; top: 31px; }
  .rq-ashes .rq-progress-grid h3 { font-size: 27px; margin-top: 14px; }
  .rq-ashes .rq-chapter-number { right: 5px; top: 20px; }
  .rq-ashes .rq-news { padding-top: 48px; padding-bottom: 48px; }
  .rq-ashes .rq-news-story { grid-template-columns: 1fr; gap: 26px; }
  .rq-ashes .rq-story-copy h3 { font-size: 33px; }
  .rq-ashes .rq-world { padding-block: 48px; }
  .rq-ashes .rq-world-intro { grid-template-columns: 1fr; gap: 18px; }
  .rq-ashes .rq-world-intro > .rq-text-link { justify-self: start; }
  .rq-ashes .rq-race-tabs { gap: 2px; }
  .rq-ashes .rq-race-tab { font-family: "Segoe UI", Arial, sans-serif; font-size: 13px; min-height: 52px; padding-inline: 3px; }
  .rq-ashes .rq-race-body { grid-template-columns: 1fr; gap: 16px; padding-top: 22px; }
  .rq-ashes .rq-race-stage { min-height: 290px; }
  .rq-ashes .rq-race-portrait { width: 280px; }
  .rq-ashes .rq-race-copy { padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rq-ashes :is(.rq-primary, .rq-story-button, .rq-text-link) i, .rq-ashes .rq-news-visual::after { transition: none; transform: none; }
}
