html[data-site="lorewake"] {
  --lw-page: #0f1214;
  --lw-raised: #141a1d;
  --lw-raised-soft: #192226;
  --lw-text: #e2ded5;
  --lw-muted: #a2a8a5;
  --lw-line: #293638;
  --lw-bronze: #b98539;
  --lw-teal: #6da5a4;
}

html[data-site="lorewake"][data-theme="light"] {
  --lw-page: #f5f2eb;
  --lw-raised: #fffdf8;
  --lw-raised-soft: #ebe6dc;
  --lw-text: #20272a;
  --lw-muted: #657072;
  --lw-line: #d5d0c6;
  --lw-bronze: #8e6126;
  --lw-teal: #397a78;
}

html[data-site="lorewake"] body {
  color: var(--lw-text);
  background: var(--lw-page);
  font-family: "DM Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-site="lorewake"] .skip-link {
  z-index: 100;
  color: #fff;
  background: #0f1214;
}

.lore-hero {
  position: relative;
  min-height: min(790px, calc(100svh - 68px));
  overflow: hidden;
  isolation: isolate;
  color: #e2ded5;
  background: #0b1012;
}

.lore-hero-art,
.lore-hero-vignette {
  position: absolute;
  z-index: -1;
  inset: 0;
}

.lore-hero-art {
  left: 35%;
  overflow: hidden;
}

.lore-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 57%;
  opacity: 0.84;
}

.lore-hero-vignette {
  background:
    linear-gradient(90deg, #0b1012 0%, rgb(11 16 18 / 96%) 27%, rgb(11 16 18 / 78%) 47%, rgb(11 16 18 / 16%) 82%),
    linear-gradient(0deg, #0b1012 0%, transparent 31%, rgb(5 9 10 / 16%) 100%);
}

.lore-hero-inner {
  position: relative;
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(110px, 1fr);
  align-items: center;
  gap: 40px;
  padding-block: 120px 154px;
}

.lore-hero-copy {
  max-width: 650px;
}

.lore-kicker,
.lore-overline {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 23px;
  color: #c8a46e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.lore-kicker-mark {
  width: 25px;
  height: 1px;
  background: var(--lw-bronze);
}

.lore-hero h1,
.lore-section h2,
.lore-engine h2,
.lore-world h2,
.lore-faq h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Baskerville, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.lore-hero h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(66px, 7.1vw, 104px);
  line-height: 0.91;
  text-wrap: balance;
}

.lore-hero-lead {
  max-width: 530px;
  margin: 0;
  color: #b6b9b4;
  font-size: 17px;
  line-height: 1.8;
}

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

.lore-store-availability {
  margin-top: 28px;
}

.lore-store-availability > p {
  margin: 0 0 10px;
  color: #b7bfbb;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.lore-store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lore-store-button {
  min-width: 174px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgb(226 222 213 / 24%);
  border-radius: 5px;
  padding: 7px 13px;
  color: #f3f0e8;
  background: rgb(11 16 18 / 72%);
  font: inherit;
  text-align: left;
  cursor: default;
  opacity: 1;
}

.lore-store-button:disabled {
  color: #f3f0e8;
  opacity: 1;
}

.lore-store-button > svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: currentColor;
}

.lore-store-button > .lore-google-play-icon path:nth-child(1) {
  fill: #00c9ff;
}

.lore-store-button > .lore-google-play-icon path:nth-child(2) {
  fill: #00d884;
}

.lore-store-button > .lore-google-play-icon path:nth-child(3) {
  fill: #ffcf43;
}

.lore-store-button > .lore-google-play-icon path:nth-child(4) {
  fill: #ff5b57;
}

.lore-store-button-copy {
  display: grid;
  gap: 2px;
}

.lore-store-button-copy strong {
  color: #f5f2eb;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.lore-store-button-copy small {
  color: #b1b8b4;
  font-size: 10px;
  line-height: 1.3;
}

.lore-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 0 19px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.lore-button-primary {
  border-color: #c79a55;
  color: #f5eee0;
  background: linear-gradient(135deg, #986a2c, #6f4a20);
  box-shadow: 0 9px 30px rgb(0 0 0 / 22%);
}

.lore-button-primary:hover,
.lore-button-primary:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ad7d3c, #805827);
  outline: none;
}

.lore-text-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #e0ded6;
  font-size: 13px;
  font-weight: 600;
  text-decoration-color: rgb(224 222 214 / 32%);
  text-underline-offset: 5px;
}

.lore-text-link:hover,
.lore-text-link:focus-visible {
  color: #fff;
  text-decoration-color: var(--lw-bronze);
  outline: none;
}

.lore-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 24px;
  margin-top: 39px;
  color: #a7ada9;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.035em;
}

.lore-signals span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lore-signals span::before {
  width: 5px;
  height: 5px;
  border: 1px solid var(--lw-teal);
  border-radius: 50%;
  content: "";
}

.lore-hero-side {
  display: grid;
  justify-items: end;
  gap: 18px;
  align-self: center;
  margin-top: -90px;
}

.lore-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgb(226 222 213 / 21%);
  border-radius: 99px;
  padding: 8px 12px;
  color: #d4d2c9;
  background: rgb(8 13 15 / 44%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.lore-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8fb1a5;
  box-shadow: 0 0 12px rgb(109 165 164 / 80%);
}

.lore-hero-index {
  color: rgb(226 222 213 / 53%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.lore-hero-index span {
  color: var(--lw-bronze);
}

.lore-hero-foot {
  position: absolute;
  inset: auto 0 24px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  color: rgb(226 222 213 / 58%);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.lore-section {
  padding-block: 110px;
  background: var(--lw-page);
}

.lore-section-heading {
  max-width: 690px;
  margin-bottom: 49px;
}

.lore-section-heading .lore-overline,
.lore-how-heading .lore-overline,
.lore-engine .lore-overline,
.lore-world .lore-overline,
.lore-faq .lore-overline {
  margin-bottom: 16px;
  color: var(--lw-bronze);
}

.lore-section h2,
.lore-engine h2,
.lore-world h2,
.lore-faq h2 {
  font-size: clamp(46px, 5.3vw, 70px);
  line-height: 0.98;
  text-wrap: balance;
}

.lore-section-intro {
  max-width: 560px;
  margin: 19px 0 0;
  color: var(--lw-muted);
  font-size: 15px;
  line-height: 1.8;
}

.lore-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--lw-line);
}

.lore-card {
  min-height: 224px;
  padding: 25px 28px 18px 0;
}

.lore-card + .lore-card {
  border-left: 1px solid var(--lw-line);
  padding-left: 28px;
}

.lore-card-number,
.lore-step-number {
  color: var(--lw-bronze);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.lore-card h3,
.lore-step h3 {
  margin: 24px 0 9px;
  color: var(--lw-text);
  font-family: "Cormorant Garamond", Baskerville, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.1;
}

.lore-card p,
.lore-step p {
  max-width: 330px;
  margin: 0;
  color: var(--lw-muted);
  font-size: 13px;
  line-height: 1.75;
}

.lore-how {
  background: var(--lw-raised);
}

.lore-how-inner {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  gap: 88px;
}

.lore-how-heading h2 {
  max-width: 440px;
}

.lore-how-heading > p:last-child {
  max-width: 350px;
  margin: 19px 0 0;
  color: var(--lw-muted);
  font-size: 14px;
  line-height: 1.75;
}

.lore-steps {
  border-top: 1px solid var(--lw-line);
}

.lore-step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 13px;
  border-bottom: 1px solid var(--lw-line);
  padding: 21px 0 23px;
}

.lore-step-number {
  padding-top: 7px;
}

.lore-step h3 {
  margin: 0 0 7px;
  font-size: 26px;
}

.lore-engine {
  padding-block: 86px;
  color: #e2ded5;
  background:
    radial-gradient(ellipse at 16% 50%, rgb(40 82 79 / 22%), transparent 43%),
    #101719;
}

.lore-engine-inner {
  display: grid;
  grid-template-columns: 135px minmax(0, 730px);
  align-items: center;
  gap: 56px;
}

.lore-engine-sigil {
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  border: 1px solid rgb(185 133 57 / 45%);
  border-radius: 50%;
  color: #b98539;
  box-shadow: 0 0 70px rgb(109 165 164 / 10%), inset 0 0 30px rgb(109 165 164 / 7%);
}

.lore-engine-sigil svg {
  width: 77px;
  height: 77px;
}

.lore-engine .lore-overline {
  color: #b98539;
}

.lore-engine h2 {
  max-width: 680px;
  font-size: clamp(43px, 5.2vw, 66px);
}

.lore-engine-copy > p:last-child {
  max-width: 650px;
  margin: 20px 0 0;
  color: #aeb7b3;
  font-size: 15px;
  line-height: 1.8;
}

.lore-world {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  color: #e2ded5;
  background: #081012;
}

.lore-world-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(90deg, #081012 0%, rgb(8 16 18 / 88%) 33%, rgb(8 16 18 / 18%) 76%),
    linear-gradient(0deg, rgb(8 16 18 / 80%) 0%, transparent 50%),
    url("/lorewake/assets/art/portal-world.jpg");
  background-position: center, center, center 55%;
  background-size: cover;
  opacity: 0.78;
}

.lore-world-inner {
  min-height: inherit;
  display: flex;
  align-items: center;
  padding-block: 95px;
}

.lore-world-copy {
  max-width: 555px;
}

.lore-world h2 {
  max-width: 550px;
}

.lore-world-copy > p:not(.lore-overline) {
  max-width: 430px;
  margin: 20px 0 26px;
  color: #b8bfba;
  font-size: 15px;
  line-height: 1.8;
}

.lore-faq {
  padding-block: 100px 116px;
}

.lore-faq-inner {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
  gap: 92px;
}

.lore-faq-heading h2 {
  max-width: 390px;
}

.lore-faq-list {
  border-top: 1px solid var(--lw-line);
}

.lore-faq-list details {
  border-bottom: 1px solid var(--lw-line);
  padding-block: 0;
}

.lore-faq-list summary {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--lw-text);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.lore-faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-mark {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--lw-bronze);
}

.faq-mark::before,
.faq-mark::after {
  position: absolute;
  inset: 8px 2px auto;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 140ms ease;
}

.faq-mark::after {
  transform: rotate(90deg);
}

.lore-faq-list details[open] .faq-mark::after {
  transform: rotate(0);
}

.lore-faq-list details > p {
  max-width: 620px;
  margin: -2px 38px 20px 0;
  color: var(--lw-muted);
  font-size: 13px;
  line-height: 1.75;
}

.lore-faq-list summary:focus-visible {
  outline: 2px solid var(--lw-bronze);
  outline-offset: 4px;
}

@media (max-width: 800px) {
  .lore-hero {
    min-height: 680px;
  }

  .lore-hero-art {
    left: 12%;
    opacity: 0.75;
  }

  .lore-hero-art img {
    object-position: center 55%;
  }

  .lore-hero-vignette {
    background:
      linear-gradient(90deg, rgb(11 16 18 / 93%) 0%, rgb(11 16 18 / 70%) 46%, rgb(11 16 18 / 26%) 100%),
      linear-gradient(0deg, #0b1012 0%, transparent 35%, rgb(5 9 10 / 22%) 100%);
  }

  .lore-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 100px 135px;
  }

  .lore-hero-side {
    display: none;
  }

  .lore-how-inner,
  .lore-faq-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .lore-engine-inner {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 32px;
  }

  .lore-engine-sigil {
    width: 88px;
    height: 88px;
  }

  .lore-engine-sigil svg {
    width: 62px;
    height: 62px;
  }
}

@media (max-width: 600px) {
  .lore-hero {
    min-height: 700px;
  }

  .lore-hero-art {
    left: 0;
  }

  .lore-hero-art img {
    object-position: 53% center;
  }

  .lore-hero-vignette {
    background:
      linear-gradient(90deg, rgb(11 16 18 / 88%), rgb(11 16 18 / 48%)),
      linear-gradient(0deg, #0b1012 1%, rgb(11 16 18 / 45%) 51%, rgb(5 9 10 / 24%) 100%);
  }

  .lore-hero-inner {
    align-items: end;
    padding-block: 100px 125px;
  }

  .lore-hero h1 {
    font-size: clamp(59px, 16vw, 78px);
  }

  .lore-hero-lead {
    font-size: 15px;
  }

  .lore-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 19px;
    margin-top: 28px;
  }

  .lore-store-availability {
    margin-top: 23px;
  }

  .lore-store-buttons {
    gap: 8px;
  }

  .lore-store-button {
    min-width: 0;
    min-height: 52px;
    flex: 1 1 145px;
    gap: 8px;
    padding-inline: 10px;
  }

  .lore-signals {
    display: grid;
    margin-top: 25px;
  }

  .lore-hero-foot {
    font-size: 8px;
  }

  .lore-section {
    padding-block: 76px;
  }

  .lore-section-heading {
    margin-bottom: 35px;
  }

  .lore-section h2,
  .lore-world h2,
  .lore-faq h2 {
    font-size: 48px;
  }

  .lore-card-grid {
    grid-template-columns: 1fr;
  }

  .lore-card {
    min-height: 0;
    padding: 23px 0 25px;
  }

  .lore-card + .lore-card {
    border-top: 1px solid var(--lw-line);
    border-left: 0;
    padding-left: 0;
  }

  .lore-card h3 {
    margin-top: 14px;
  }

  .lore-how-inner,
  .lore-faq-inner {
    gap: 33px;
  }

  .lore-step {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 8px;
  }

  .lore-step h3 {
    font-size: 24px;
  }

  .lore-engine {
    padding-block: 70px;
  }

  .lore-engine-inner {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .lore-engine-sigil {
    width: 76px;
    height: 76px;
  }

  .lore-engine h2 {
    font-size: 46px;
  }

  .lore-world {
    min-height: 490px;
  }

  .lore-world-art {
    background-position: center, center, 52% center;
  }

  .lore-world-inner {
    padding-block: 72px;
  }

  .lore-faq-list summary {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lore-button,
  .faq-mark::before,
  .faq-mark::after {
    transition: none;
  }
}
