html {
  scroll-behavior: smooth;
}

body.rf-online-page {
  min-height: 100vh;
  background: #070b11;
  color: #eae7df;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

.rf-portal-main {
  flex: 1 0 auto;
  width: 100%;
  overflow: hidden;
}

.rf-portal-main a:focus-visible {
  outline: 2px solid #f0c777;
  outline-offset: 4px;
}

.rf-hero {
  position: relative;
  display: flex;
  min-height: clamp(650px, calc(100svh - 80px), 900px);
  align-items: center;
  overflow: hidden;
  background-color: #070b11;
  background-image: var(--rf-hero-art);
  background-position: center center;
  background-size: cover;
  isolation: isolate;
}

.rf-hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 14, .98) 0%, rgba(5, 8, 14, .91) 28%, rgba(5, 8, 14, .66) 48%, rgba(5, 8, 14, .08) 78%),
    linear-gradient(0deg, rgba(4, 7, 12, .96) 0%, rgba(4, 7, 12, .34) 25%, transparent 61%);
}

.rf-hero::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(210, 165, 87, .7), transparent);
  content: "";
}

.rf-hero-inner {
  width: min(1380px, calc(100% - 112px));
  margin: 0 auto;
  padding: 88px 0 112px;
}

.rf-eyebrow {
  margin: 0;
  color: #d4ad68;
  font: 600 11px/1.5 Georgia, "Times New Roman", serif;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.rf-eyebrow span {
  margin-right: 9px;
  color: #808991;
  letter-spacing: .12em;
}

.rf-availability {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 9px;
  margin: 29px 0 20px;
  padding: 5px 12px;
  border: 1px solid rgba(212, 173, 104, .48);
  background: rgba(7, 10, 15, .72);
  color: #f1d7a2;
  font: 600 10px/1.3 Georgia, "Times New Roman", serif;
  letter-spacing: .13em;
}

.rf-status-light {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #dda94e;
  box-shadow: 0 0 9px rgba(221, 169, 78, .58);
}

.rf-hero h1 {
  margin: 0;
  color: #f2eee5;
  font: 700 clamp(4.5rem, 10vw, 9.2rem)/.83 Georgia, "Times New Roman", serif;
  letter-spacing: -.055em;
  text-shadow: 0 5px 26px rgba(0, 0, 0, .55);
}

.rf-hero h1 span {
  display: block;
  margin-top: 17px;
  color: #d5ad65;
  font-size: .51em;
  letter-spacing: .27em;
}

.rf-hero-deck {
  max-width: 650px;
  margin: 35px 0 11px;
  color: #f2eee5;
  font: 400 clamp(1.2rem, 2.1vw, 1.8rem)/1.35 Georgia, "Times New Roman", serif;
}

.rf-hero-copy {
  max-width: 600px;
  margin: 0;
  color: #bec5cb;
  font-size: 15px;
  line-height: 1.8;
}

.rf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px;
  margin-top: 28px;
}

.rf-hero-actions .rf-primary-action {
  --button-width: 288px;
  --button-height: 96px;
  --button-font-size: 11px;
  max-width: 100%;
  color: #f5e5b9;
  font-size: 11px;
  text-decoration: none;
}

.rf-text-link,
.rf-status-action,
.rf-status-return {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  color: #e6d7b9;
  font: 600 11px/1.35 Georgia, "Times New Roman", serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rf-text-link span,
.rf-status-action span {
  color: #d9a84e;
  font-size: 17px;
  transition: transform .18s ease;
}

.rf-text-link:hover span,
.rf-status-action:hover span {
  transform: translateY(3px);
}

.rf-account-note {
  max-width: 450px;
  margin: 9px 0 0;
  color: #9ba4ac;
  font-size: 12px;
  line-height: 1.55;
}

.rf-hero-caption {
  position: absolute;
  right: max(34px, calc((100vw - 1380px) / 2));
  bottom: 29px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(223, 226, 229, .76);
  font: 10px/1.4 Georgia, "Times New Roman", serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rf-hero-caption span {
  width: 26px;
  height: 1px;
  background: #d5ad65;
}

.rf-section-nav {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 5vw, 76px);
  padding: 8px 28px;
  border-bottom: 1px solid #28303a;
  background: linear-gradient(90deg, #0a0e14, #10151b 48%, #0a0e14);
}

.rf-section-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #b8bec2;
  font: 600 10px/1.3 Georgia, "Times New Roman", serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .18s ease;
}

.rf-section-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: #d1a251;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.rf-section-nav a:hover {
  color: #f0d3a0;
}

.rf-section-nav a:hover::after {
  transform: scaleX(1);
}

.rf-section {
  position: relative;
  background:
    radial-gradient(ellipse at 12% 6%, rgba(41, 55, 70, .17), transparent 34%),
    linear-gradient(180deg, #0a0f15, #0c1118 56%, #0a0f15);
}

.rf-section-inner {
  width: min(1260px, calc(100% - 96px));
  margin: 0 auto;
  padding: 110px 0 120px;
}

.rf-section-heading {
  max-width: 710px;
  margin-bottom: 56px;
}

.rf-section-heading h2,
.rf-war-copy h2,
.rf-identity-inner h2,
.rf-status-copy h2 {
  margin: 15px 0 17px;
  color: #f0ece2;
  font: 500 clamp(2.2rem, 4.5vw, 4rem)/1.12 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}

.rf-section-heading > p:last-child,
.rf-war-copy > p:not(.rf-eyebrow):not(.rf-war-lead),
.rf-identity-inner > div > p:last-child,
.rf-status-copy > p:last-child {
  margin: 0;
  color: #adb5bc;
  font-size: 15px;
  line-height: 1.85;
}

.rf-faction-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #41464a;
}

.rf-faction {
  position: relative;
  min-height: 313px;
  padding: 27px 34px 34px 0;
  border-right: 1px solid #313940;
}

.rf-faction + .rf-faction {
  padding-left: 34px;
}

.rf-faction:last-child {
  border-right: 0;
}

.rf-faction-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 31px;
}

.rf-faction-index {
  color: #79848c;
  font: 12px/1 Georgia, "Times New Roman", serif;
  letter-spacing: .13em;
}

.rf-faction-sigil {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .04), transparent 72%);
  font: 600 23px/1 Georgia, "Times New Roman", serif;
}

.rf-faction-accretia .rf-faction-sigil,
.rf-faction-accretia h3 { color: #d17f6a; }
.rf-faction-bellato .rf-faction-sigil,
.rf-faction-bellato h3 { color: #d6b36e; }
.rf-faction-cora .rf-faction-sigil,
.rf-faction-cora h3 { color: #8d9ece; }

.rf-faction-kind {
  margin: 0 0 8px;
  color: #87919a;
  font: 600 10px/1.4 Georgia, "Times New Roman", serif;
  letter-spacing: .17em;
}

.rf-faction h3 {
  margin: 0 0 13px;
  font: 500 28px/1.1 Georgia, "Times New Roman", serif;
}

.rf-faction > p:last-of-type {
  max-width: 340px;
  margin: 0;
  color: #bac0c5;
  font-size: 14px;
  line-height: 1.8;
}

.rf-faction-rule {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 38px;
  height: 2px;
  background: currentColor;
}

.rf-faction-accretia .rf-faction-rule { color: #d17f6a; }
.rf-faction-bellato .rf-faction-rule { color: #d6b36e; }
.rf-faction-cora .rf-faction-rule { color: #8d9ece; }

.rf-war-section {
  position: relative;
  border-top: 1px solid rgba(211, 164, 85, .45);
  border-bottom: 1px solid rgba(211, 164, 85, .3);
  background:
    radial-gradient(ellipse at 82% 45%, rgba(73, 40, 28, .32), transparent 48%),
    linear-gradient(115deg, #100f10, #11151a 60%, #0b0e13);
}

.rf-war-inner {
  display: grid;
  width: min(1260px, calc(100% - 96px));
  grid-template-columns: minmax(0, .93fr) minmax(400px, 1.07fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
  margin: 0 auto;
  padding: 108px 0 118px;
}

.rf-war-copy h2 {
  margin-top: 17px;
  font-size: clamp(3rem, 6vw, 5rem);
}

.rf-war-lead {
  max-width: 520px;
  margin: 0 0 14px;
  color: #eee5d5;
  font: 400 20px/1.5 Georgia, "Times New Roman", serif;
}

.rf-war-facts {
  display: grid;
  gap: 0;
  margin-top: 29px;
}

.rf-war-facts > div {
  display: flex;
  min-height: 47px;
  align-items: center;
  gap: 15px;
  border-top: 1px solid rgba(160, 168, 174, .2);
}

.rf-war-facts > div > span {
  color: #c7954a;
  font: 11px/1 Georgia, "Times New Roman", serif;
}

.rf-war-facts strong {
  color: #d1d5d8;
  font: 500 12px/1.4 Georgia, "Times New Roman", serif;
  letter-spacing: .035em;
}

.rf-war-art {
  min-width: 0;
  margin: 0;
}

.rf-war-art img {
  display: block;
  width: 100%;
  aspect-ratio: 1.9 / 1;
  object-fit: cover;
  object-position: 89% center;
  border: 1px solid rgba(199, 159, 95, .42);
  background: #090c11;
}

.rf-war-art figcaption,
.rf-identity-art figcaption {
  margin-top: 11px;
  color: #8d969c;
  font: 10px/1.5 Georgia, "Times New Roman", serif;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.rf-identity-band {
  background:
    radial-gradient(ellipse at 0% 50%, rgba(30, 55, 83, .2), transparent 53%),
    linear-gradient(110deg, #0c1119, #0a0d13 72%);
}

.rf-identity-inner {
  display: grid;
  width: min(1130px, calc(100% - 96px));
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: center;
  gap: clamp(48px, 9vw, 132px);
  margin: 0 auto;
  padding: 100px 0 106px;
}

.rf-identity-inner > div {
  max-width: 680px;
}

.rf-identity-art {
  width: 250px;
  margin: 0;
}

.rf-identity-art img {
  display: block;
  width: 250px;
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(199, 159, 95, .48);
}

.rf-status-section {
  border-top: 1px solid #282f37;
  background:
    linear-gradient(90deg, rgba(11, 15, 21, .98), rgba(12, 16, 23, .94)),
    radial-gradient(ellipse at 86% 20%, rgba(140, 73, 38, .13), transparent 39%);
}

.rf-status-inner {
  display: grid;
  width: min(1260px, calc(100% - 96px));
  grid-template-columns: 86px minmax(0, 1fr) minmax(220px, 290px);
  align-items: center;
  gap: 34px;
  margin: 0 auto;
  padding: 76px 0 82px;
}

.rf-status-mark {
  position: relative;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 1px solid #9e7741;
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px rgba(158, 119, 65, .12);
  color: #dfbc7c;
  font: 600 20px/1 Georgia, "Times New Roman", serif;
}

.rf-status-mark::before,
.rf-status-mark::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 98px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(177, 139, 76, .6), transparent);
  content: "";
  transform: translate(-50%, -50%);
}

.rf-status-mark::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.rf-status-mark span {
  z-index: 1;
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid #6f5431;
  border-radius: 50%;
  background: #0c1118;
}

.rf-status-copy h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
}

.rf-status-copy > p:last-child {
  max-width: 680px;
  font-size: 14px;
}

.rf-status-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.rf-status-action {
  min-height: 44px;
  color: #e5bd75;
  letter-spacing: .04em;
  text-transform: none;
}

.rf-status-action span {
  transition: transform .18s ease;
}

.rf-status-action:hover span {
  transform: translateX(4px);
}

.rf-status-actions p {
  margin: 0;
  color: #87919b;
  font-size: 11px;
  line-height: 1.55;
}

.rf-status-return {
  min-height: 38px;
  margin-top: 8px;
  color: #c6cbd0;
  font-size: 10px;
  letter-spacing: .1em;
}

@media (max-width: 960px) {
  .rf-hero {
    min-height: min(810px, max(690px, calc(100svh - 68px)));
    background-position: 58% center;
  }

  .rf-hero-inner,
  .rf-section-inner,
  .rf-war-inner,
  .rf-status-inner {
    width: min(100% - 64px, 760px);
  }

  .rf-hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 8, 14, .97) 0%, rgba(5, 8, 14, .87) 37%, rgba(5, 8, 14, .5) 71%, rgba(5, 8, 14, .2) 100%),
      linear-gradient(0deg, rgba(4, 7, 12, .95) 0%, rgba(4, 7, 12, .3) 31%, transparent 72%);
  }

  .rf-section-nav {
    gap: clamp(16px, 4vw, 42px);
  }

  .rf-war-inner {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr);
    gap: 36px;
  }

  .rf-status-inner {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 25px;
  }

  .rf-status-mark {
    width: 62px;
    height: 62px;
  }

  .rf-status-mark::before,
  .rf-status-mark::after {
    width: 80px;
  }

  .rf-status-mark span {
    width: 39px;
    height: 39px;
    font-size: 17px;
  }

  .rf-status-actions {
    grid-column: 2;
    padding-top: 8px;
  }
}

@media (max-width: 680px) {
  html {
    scroll-behavior: auto;
  }

  .rf-hero {
    min-height: 0;
    align-items: flex-start;
    background-position: 63% center;
  }

  .rf-hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 8, 14, .97) 0%, rgba(5, 8, 14, .86) 48%, rgba(5, 8, 14, .4) 100%),
      linear-gradient(0deg, rgba(4, 7, 12, .98) 0%, rgba(4, 7, 12, .52) 34%, rgba(4, 7, 12, .18) 75%);
  }

  .rf-hero-inner,
  .rf-section-inner,
  .rf-war-inner,
  .rf-identity-inner,
  .rf-status-inner {
    width: calc(100% - 40px);
  }

  .rf-hero-inner {
    padding: 64px 0 95px;
  }

  .rf-hero h1 {
    font-size: clamp(4rem, 20vw, 6rem);
  }

  .rf-hero h1 span {
    margin-top: 13px;
    font-size: .47em;
    letter-spacing: .2em;
  }

  .rf-availability {
    margin: 24px 0 19px;
    font-size: 9px;
  }

  .rf-hero-deck {
    margin-top: 29px;
    font-size: 21px;
  }

  .rf-hero-copy {
    font-size: 14px;
  }

  .rf-hero-actions {
    align-items: flex-start;
    gap: 7px;
    margin-top: 22px;
  }

  .rf-hero-actions .rf-primary-action {
    --button-width: 240px;
    --button-height: 80px;
    --button-font-size: 10px;
    width: 240px;
    height: 80px;
    font-size: 10px;
  }

  .rf-text-link {
    min-height: 42px;
  }

  .rf-account-note {
    max-width: 350px;
    margin-top: 0;
  }

  .rf-hero-caption {
    right: 20px;
    bottom: 22px;
    left: 20px;
    justify-content: flex-start;
    font-size: 9px;
  }

  .rf-section-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
    padding: 7px 20px;
  }

  .rf-section-nav a {
    min-height: 44px;
    justify-content: center;
    font-size: 9px;
    text-align: center;
  }

  .rf-section-nav a::after {
    bottom: 2px;
  }

  .rf-section-inner {
    padding: 77px 0 84px;
  }

  .rf-section-heading {
    margin-bottom: 36px;
  }

  .rf-section-heading h2,
  .rf-war-copy h2,
  .rf-identity-inner h2 {
    font-size: clamp(2.15rem, 10vw, 3.4rem);
  }

  .rf-faction-list {
    grid-template-columns: 1fr;
  }

  .rf-faction,
  .rf-faction + .rf-faction {
    min-height: 0;
    padding: 25px 0 29px;
    border-right: 0;
    border-bottom: 1px solid #313940;
  }

  .rf-faction:last-child {
    border-bottom: 0;
  }

  .rf-faction-heading {
    margin-bottom: 22px;
  }

  .rf-faction-sigil {
    width: 50px;
    height: 50px;
  }

  .rf-faction-rule {
    bottom: -1px;
  }

  .rf-war-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 77px 0 82px;
  }

  .rf-war-copy > p:not(.rf-eyebrow):not(.rf-war-lead) {
    font-size: 14px;
  }

  .rf-war-art img {
    aspect-ratio: 1.65 / 1;
    object-position: 87% center;
  }

  .rf-identity-inner {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 77px 0 83px;
  }

  .rf-identity-art,
  .rf-identity-art img {
    width: min(250px, 100%);
  }

  .rf-status-inner {
    grid-template-columns: 1fr;
    gap: 21px;
    padding: 61px 0 66px;
  }

  .rf-status-mark {
    width: 58px;
    height: 58px;
  }

  .rf-status-mark::before,
  .rf-status-mark::after {
    width: 76px;
  }

  .rf-status-mark span {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .rf-status-actions {
    grid-column: 1;
    padding-top: 0;
  }
}

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

  .rf-online-page *,
  .rf-online-page *::before,
  .rf-online-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
