/* Ragnar 2.0 — an illustrated, layered homepage with deliberately varied compositions. */
.rg2-hero {
  min-height: 800px;
  position: relative;
  isolation: isolate;
  background: #0b2340;
  overflow: hidden;
}
.rg2-hero-scene,
.rg2-hero-shade,
.rg2-hero-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
}
.rg2-hero-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--rg-position, center) 58%;
  display: block;
}
.rg2-hero-shade {
  z-index: -2;
  background:
    linear-gradient(
      0deg,
      var(--rg-night) 1%,
      #061a3055 28%,
      #07182b18 65%,
      #07121f60
    ),
    radial-gradient(
      ellipse at 50% 34%,
      #06162caa 0%,
      #06152d30 56%,
      transparent 85%
    );
}
.rg2-hero-grid {
  z-index: -1;
  opacity: 0.12;
  background-image:
    linear-gradient(#89e3ff22 1px, transparent 1px),
    linear-gradient(90deg, #89e3ff22 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 65%);
}
.rg2-hero-content {
  text-align: center;
  padding-top: 48px;
  padding-bottom: 150px;
  position: relative;
  max-width: 1020px;
}
.rg2-badge {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 7px 14px;
  border: 1px solid #a7dcff48;
  border-radius: 3px;
  background: #071c3280;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e0f4ff !important;
  line-height: 1.6;
  margin: 0 0 26px;
}
.rg2-wordmark {
  display: block;
  width: min(660px, 80%);
  height: 235px !important;
  object-fit: contain;
  margin: 0 auto 8px;
  filter: drop-shadow(0 10px 14px #030e1c88);
}
.rg2-wordmark-text {
  font:
    800 110px/1 Sora,
    sans-serif;
  color: var(--rg-text) !important;
  letter-spacing: -0.04em;
  margin-bottom: 30px;
}
.ragnar .rg2-hero-kicker {
  color: #c6e4f6;
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.rg2-hero h1 {
  font-size: 36px;
  line-height: 1.3;
  max-width: 850px;
  margin: 0 auto 18px;
  letter-spacing: -0.04em;
  text-shadow: 0 3px 15px #061326;
}
.rg2-hero h1 span {
  color: var(--rg-accent);
}
.rg2-hero-description {
  max-width: 570px;
  margin: 0 auto 27px;
  font-size: 14px;
  line-height: 1.9;
  color: #d3e6f2 !important;
  text-shadow: 0 2px 12px #04101d;
}
.rg2-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.rg2-hero-actions .rg-button {
  min-width: 200px;
}
.rg2-scroll {
  position: absolute;
  bottom: 85px;
  left: 50%;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  letter-spacing: 0.07em;
  color: #c1daec !important;
  min-height: 44px;
}
.rg2-scroll > span {
  width: 23px;
  height: 30px;
  border: 1px solid #abcfe15a;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.rg2-shard {
  position: absolute;
  pointer-events: none;
  background: linear-gradient(135deg, #c0f4ff88, #3b9ec950);
  box-shadow: 3px 4px 0 #0b355a77;
  rotate: 35deg;
  z-index: -1;
}
.rg2-shard-a {
  width: 16px;
  height: 24px;
  left: 16%;
  top: 40%;
}
.rg2-shard-b {
  width: 10px;
  height: 16px;
  right: 15%;
  top: 32%;
  rotate: -25deg;
}
.rg2-terrain-edge {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 18px;
  background: var(--rg-night);
  clip-path: polygon(
    0 50%,
    4% 50%,
    4% 0,
    9% 0,
    9% 50%,
    15% 50%,
    15% 20%,
    19% 20%,
    19% 60%,
    30% 60%,
    30% 25%,
    40% 25%,
    40% 70%,
    55% 70%,
    55% 20%,
    70% 20%,
    70% 50%,
    82% 50%,
    82% 0,
    90% 0,
    90% 55%,
    100% 55%,
    100% 100%,
    0 100%
  );
}
body[data-rg-float="on"] .rg2-shard {
  animation: rg-drift 7s ease-in-out infinite alternate;
}
body[data-rg-float="on"] .rg2-shard-b {
  animation-delay: -3s;
}
@keyframes rg-drift {
  to {
    translate: 0 -12px;
    rotate: 42deg;
  }
}
.rg2-discovery {
  position: relative;
  padding-top: 110px;
}
.rg2-discovery:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 0 50%, #245d7620, transparent 60%);
}
.rg2-world-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 55px;
  align-items: center;
}
.rg2-world-image {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.35;
  border-radius: 8px;
  box-shadow: 0 20px 50px #0003;
}
.rg2-world-image > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 35% center;
  border-radius: 8px;
}
.rg2-world-image:before {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 1px solid #507b8f55;
  border-radius: 8px;
  z-index: -1;
}
.rg2-world-image:after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(0deg, #071421dd, transparent);
  border-radius: 8px;
}
.rg2-world-caption {
  position: absolute;
  left: 28px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e3f0f8;
  font-size: 11px;
  z-index: 1;
}
.rg2-corner {
  width: 18px;
  height: 18px;
  position: absolute;
  top: 20px;
  right: 20px;
  border-top: 1px solid #d0f3ffbb;
  border-right: 1px solid #d0f3ffbb;
}
.rg2-field-notes > .rg-label {
  margin-bottom: 18px;
  font-size: 9px;
  color: var(--rg-accent);
}
.rg2-note {
  border-top: 1px solid #36536a;
  padding: 22px 0;
}
.rg2-note:last-child {
  border-bottom: 1px solid #36536a;
}
.rg2-note summary {
  list-style: none;
  display: flex;
  gap: 16px;
  align-items: center;
  cursor: pointer;
  min-height: 44px;
  font:
    650 19px/1.5 var(--rg-heading),
    sans-serif;
  letter-spacing: -0.035em;
}
.rg2-note summary::-webkit-details-marker {
  display: none;
}
.rg2-note-index {
  font:
    400 10px/1 ui-monospace,
    monospace;
  color: #92abc0;
  align-self: center;
}
.rg2-note summary > .rg-icon {
  color: var(--rg-accent);
  width: 22px;
  height: 22px;
}
.rg2-note-toggle {
  margin-left: auto;
  color: #b9d9ec;
  font: 300 24px/1 Inter;
  transition: rotate 0.2s;
}
.rg2-note[open] .rg2-note-toggle {
  rotate: 45deg;
}
.rg2-note[open] summary {
  color: var(--rg-accent);
}
.rg2-note p {
  font-size: 14px;
  max-width: 345px;
  margin: 14px 0 0 50px;
  line-height: 1.9;
}
.rg2-progression {
  position: relative;
  overflow: hidden;
  padding-block: 30px 65px;
  background: linear-gradient(90deg, #0c1c2b88, transparent 70%);
}
.rg2-progression-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 70px;
}
.rg2-progress-art {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}
.rg2-progress-art img {
  width: 100%;
  max-width: 530px;
  position: relative;
}
.rg2-orbit {
  position: absolute;
  width: 330px;
  height: 330px;
  border: 1px solid #89e3ff16;
  rotate: 45deg;
  box-shadow:
    0 0 0 32px #89e3ff02,
    0 0 0 64px #89e3ff02;
}
.rg2-art-label {
  position: absolute;
  bottom: 15px;
  font-size: 8px;
  letter-spacing: 0.15em;
  color: #9eb9cd;
}
.rg2-progress-copy {
  padding-block: 40px;
}
.rg2-progress-copy h2 {
  font-size: 48px;
  margin-bottom: 25px;
  max-width: 480px;
}
.rg2-progress-copy > p:not(.rg-eyebrow) {
  font-size: 15px;
  max-width: 440px;
  line-height: 1.9;
  margin-bottom: 26px;
}
.rg2-progress-track {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}
.rg2-progress-track span {
  font-size: 10px;
  color: var(--rg-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rg2-progress-track b {
  font:
    500 12px/1 ui-monospace,
    monospace;
  color: var(--rg-accent);
}
.rg2-progress-track i {
  width: 28px;
  height: 1px;
  background: var(--rg-line);
}
.rg2-economy {
  border-left: 2px solid var(--rg-accent);
  padding-left: 20px;
  margin-bottom: 25px;
}
.rg2-economy h3 {
  font-size: 20px;
}
.rg2-economy p {
  font-size: 14px;
}
.rg2-editorial-wrap {
  margin-top: 40px;
}
.rg2-editorial {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr 280px;
  gap: 25px;
  align-items: center;
  border: 1px solid #3b5065;
  border-left: 3px solid var(--rg-warm);
  border-radius: 6px;
  padding: 40px;
  background: linear-gradient(115deg, #1b2b3a, var(--rg-surface));
  overflow: hidden;
}
.rg2-editorial-number {
  font:
    800 40px/1 Sora,
    sans-serif;
  color: #89e3ff20;
}
.rg2-editorial .rg-eyebrow {
  color: var(--rg-warm) !important;
}
.rg2-editorial h2 {
  font-size: 31px;
  max-width: 570px;
  margin-bottom: 17px;
}
.rg2-editorial p:not(.rg-eyebrow) {
  max-width: 510px;
  font-size: 13px;
  margin: 0;
}
.rg2-editorial .rg-text-link {
  margin-top: 14px;
}
.rg2-editorial > img {
  width: 100%;
  max-height: 230px;
  object-fit: contain;
}
.rg2-section-tag {
  font-size: 10px;
  color: var(--rg-muted);
  padding: 7px 12px;
  border: 1px solid var(--rg-line);
  border-radius: 20px;
  white-space: nowrap;
}
.rg2-events {
  padding-bottom: 0;
}
.rg2-event {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 32px;
  background:
    repeating-linear-gradient(-45deg, transparent 0 35px, #89e3ff03 35px 36px),
    #10223555;
  border-block: 1px solid #3c5368;
}
.rg2-event-glyph {
  width: 70px;
  height: 70px;
  border: 1px solid #6c667155;
  border-radius: 8px;
  background: #e6c69206;
  display: grid;
  place-items: center;
  color: var(--rg-warm);
  flex-shrink: 0;
}
.rg2-event-glyph .rg-icon {
  width: 32px;
  height: 32px;
}
.rg2-event h3 {
  font-size: 24px;
  margin-bottom: 10px;
}
.rg2-event p {
  font-size: 14px;
  max-width: 650px;
  margin: 0;
}
.rg2-event .rg-button {
  margin-left: auto;
  flex-shrink: 0;
}
.rg2-event > img {
  width: 190px;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 5px;
}
.rg2-event .rg-label {
  margin-bottom: 10px;
  color: var(--rg-warm);
}
.rg2-empty-index {
  margin-left: auto;
  white-space: nowrap;
  font:
    10px/1 ui-monospace,
    monospace;
  color: #8aa6bb;
}
.rg2-community {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-block: 1px solid #3c5a76;
  background: linear-gradient(120deg, #1b3651, #102b44 60%, #173c58);
  padding-block: 65px;
}
.rg2-community-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.25;
  background-image: linear-gradient(
    45deg,
    transparent 42%,
    #89e3ff22 42% 43%,
    transparent 43% 57%,
    #89e3ff22 57% 58%,
    transparent 58%
  );
  background-size: 90px 90px;
  mask-image: linear-gradient(90deg, transparent, #000);
}
.rg2-community-inner {
  display: flex;
  align-items: center;
  gap: 35px;
}
.rg2-community-emblem {
  flex-shrink: 0;
  width: 95px;
  height: 95px;
  display: grid;
  place-items: center;
  border: 1px solid #8cb4d250;
  background: #07121f50;
  border-radius: 18px;
  box-shadow: 6px 6px 0 #07121f40;
  rotate: -7deg;
}
.rg2-community-emblem .rg-icon {
  width: 47px;
  height: 47px;
  color: var(--rg-accent);
  rotate: 7deg;
}
.rg2-community-inner > div:not(.rg2-community-emblem) {
  max-width: 640px;
}
.rg2-community h2 {
  font-size: 34px;
  max-width: 550px;
  margin-bottom: 18px;
}
.rg2-community p:not(.rg-eyebrow) {
  font-size: 14px;
  margin: 0;
  max-width: 540px;
}
.rg2-community .rg-button {
  margin-left: auto;
  flex-shrink: 0;
}
.rg2-community .rg-eyebrow {
  font-size: 9px;
}
.rg-join {
  position: relative;
  background: radial-gradient(ellipse at 80% 80%, #25557020, transparent 70%);
}
.rg2-join-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.rg2-join-layout h2 {
  font-size: 37px;
  max-width: 500px;
  margin-bottom: 22px;
}
.rg2-join-layout p:not(.rg-eyebrow) {
  font-size: 14px;
  max-width: 480px;
}
.rg2-join-panel {
  padding: 30px;
  border: 1px solid #45657d;
  border-radius: 8px;
  background: var(--rg-surface);
  box-shadow: 0 12px 30px #0002;
  position: relative;
}
.rg2-join-panel:before {
  content: "";
  position: absolute;
  top: -1px;
  left: 30px;
  width: 45px;
  height: 3px;
  background: var(--rg-accent);
}
.rg-join-address {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 17px;
}
.rg-join-address code {
  font:
    500 23px/1.5 ui-monospace,
    monospace;
  color: var(--rg-text);
  user-select: all;
  overflow-wrap: anywhere;
}
.rg-join-address .rg-button {
  width: 100%;
  margin-top: 5px;
}
.rg2-join-hint {
  display: block;
  margin-top: 22px;
  font-size: 10px;
  color: var(--rg-muted);
}
body[data-rg-ambient="off"]
  :is(
    .rg2-hero-grid,
    .rg2-discovery:before,
    .rg2-orbit,
    .rg2-community-pattern
  ) {
  display: none;
}
@media (max-width: 1199.98px) {
  .rg2-hero {
    min-height: 780px;
  }
  .rg2-wordmark {
    height: 210px !important;
    width: 600px;
    max-width: 85%;
  }
  .rg2-hero h1 {
    font-size: 33px;
  }
  .rg2-world-layout {
    gap: 35px;
  }
  .rg2-note summary {
    font-size: 17px;
    gap: 12px;
  }
  .rg2-note p {
    margin-left: 44px;
  }
  .rg2-progression-inner {
    gap: 35px;
  }
  .rg2-progress-copy h2 {
    font-size: 40px;
  }
  .rg2-editorial {
    grid-template-columns: 1fr 240px;
    gap: 20px;
    padding: 35px;
  }
  .rg2-editorial-number {
    display: none;
  }
  .rg2-community-emblem {
    display: none;
  }
  .rg2-community h2 {
    font-size: 30px;
  }
  .rg2-community-inner > div:not(.rg2-community-emblem) {
    max-width: 60%;
  }
  .rg2-join-layout {
    gap: 45px;
  }
  .rg2-join-layout h2 {
    font-size: 32px;
  }
}
@media (max-width: 767.98px) {
  .rg2-hero {
    min-height: 760px;
  }
  .rg2-hero-content {
    padding-top: 45px;
    padding-bottom: 150px;
  }
  .rg2-badge {
    font-size: 8px;
    letter-spacing: 0.08em;
    padding: 7px 10px;
    gap: 9px;
    margin-bottom: 25px;
  }
  .rg2-wordmark {
    width: 100%;
    max-width: 100%;
    height: 140px !important;
    margin-bottom: 21px;
  }
  .rg2-wordmark-text {
    font-size: 58px;
  }
  .rg2-hero-kicker {
    font-size: 8px !important;
    margin-bottom: 17px !important;
    letter-spacing: 0.15em !important;
  }
  .rg2-hero h1 {
    font-size: 28px;
    line-height: 1.32;
    margin-bottom: 20px;
  }
  .rg2-hero h1 span {
    display: block;
    margin-top: 3px;
  }
  .rg2-hero-description {
    font-size: 14px;
    max-width: 420px;
    line-height: 1.85;
    margin-bottom: 27px;
  }
  .rg2-hero-actions {
    gap: 12px;
    flex-wrap: wrap;
  }
  .rg2-hero-actions .rg-button {
    min-width: 0;
    padding-inline: 16px;
    font-size: 10px !important;
    gap: 9px;
  }
  .rg2-hero-actions .rg-icon {
    width: 16px;
    height: 16px;
  }
  .rg2-scroll {
    bottom: 90px;
    font-size: 8px;
    white-space: nowrap;
  }
  .rg2-hero-scene img {
    object-position: var(--rg-position) 60%;
  }
  .rg2-hero-shade {
    background:
      linear-gradient(0deg, var(--rg-night), #07182b44 35%, #07182b22 80%),
      radial-gradient(ellipse at 50% 35%, #06162cbb, #06152d33);
  }
  .rg2-shard-a {
    left: 5%;
    top: 22%;
    width: 9px;
    height: 14px;
  }
  .rg2-shard-b {
    right: 6%;
    top: 35%;
    width: 7px;
    height: 10px;
  }
  .rg2-discovery {
    padding-top: 68px;
  }
  .rg2-world-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .rg2-world-image {
    aspect-ratio: 1.25;
    margin-right: 9px;
  }
  .rg2-world-caption {
    left: 20px;
    bottom: 20px;
    font-size: 10px;
    max-width: 85%;
  }
  .rg2-note {
    padding: 17px 0;
  }
  .rg2-note summary {
    font-size: 18px;
    gap: 14px;
  }
  .rg2-note p {
    font-size: 14px;
    margin-left: 45px;
  }
  .rg2-progression {
    padding-block: 20px 40px;
  }
  .rg2-progression-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .rg2-progress-art {
    min-height: 290px;
    max-height: 330px;
    grid-row: 2;
    overflow: hidden;
  }
  .rg2-progress-art img {
    width: 390px;
    max-width: 115%;
    margin-top: -25px;
  }
  .rg2-orbit {
    width: 240px;
    height: 240px;
  }
  .rg2-art-label {
    font-size: 7px;
    bottom: 0;
  }
  .rg2-progress-copy {
    padding-block: 20px 25px;
  }
  .rg2-progress-copy h2 {
    font-size: 37px;
    margin-bottom: 23px;
  }
  .rg2-progress-copy > p:not(.rg-eyebrow) {
    font-size: 14px;
  }
  .rg2-progress-track {
    gap: 17px;
  }
  .rg2-progress-track i {
    width: 20px;
  }
  .rg2-editorial-wrap {
    margin-top: 30px;
  }
  .rg2-editorial {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 25px;
    gap: 20px;
  }
  .rg2-editorial h2 {
    font-size: 27px;
  }
  .rg2-editorial p:not(.rg-eyebrow) {
    font-size: 14px;
  }
  .rg2-editorial > img {
    width: 270px;
    max-height: 185px;
    align-self: flex-end;
    margin-block: -20px -20px;
    object-fit: contain;
  }
  .rg2-section-tag {
    font-size: 9px;
  }
  .rg2-event {
    padding: 25px 0;
    align-items: flex-start;
    gap: 18px;
    flex-wrap: wrap;
  }
  .rg2-event-glyph {
    width: 44px;
    height: 44px;
  }
  .rg2-event-glyph .rg-icon {
    width: 24px;
    height: 24px;
  }
  .rg2-event-copy {
    flex: 1;
    min-width: 200px;
  }
  .rg2-event h3 {
    font-size: 21px;
  }
  .rg2-event p {
    font-size: 14px;
  }
  .rg2-event > img {
    width: 100%;
    max-height: 200px;
  }
  .rg2-event .rg-button {
    margin-left: 62px;
  }
  .rg2-empty-index {
    display: none;
  }
  .rg2-community {
    padding-block: 45px;
  }
  .rg2-community-inner {
    display: block;
  }
  .rg2-community-inner > div:not(.rg2-community-emblem) {
    max-width: 100%;
  }
  .rg2-community h2 {
    font-size: 30px;
  }
  .rg2-community p:not(.rg-eyebrow) {
    font-size: 14px;
  }
  .rg2-community .rg-button {
    margin-top: 26px;
  }
  .rg2-join-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .rg2-join-layout h2 {
    font-size: 31px;
  }
  .rg2-join-panel {
    padding: 26px;
  }
  .rg-join-address code {
    font-size: 21px;
  }
  .rg2-join-hint {
    font-size: 9px;
  }
  .rg2-join-layout .rg-eyebrow {
    font-size: 8px;
  }
}
@media (max-width: 389.98px) {
  .rg2-hero h1 {
    font-size: 26px;
  }
  .rg2-hero-actions {
    gap: 10px;
  }
  .rg2-hero-actions .rg-button {
    font-size: 9px !important;
    padding-inline: 12px;
  }
  .rg2-badge {
    font-size: 7px;
  }
  .rg2-note summary {
    font-size: 16px;
  }
  .rg-join-address code {
    font-size: 19px;
  }
}
