@charset "UTF-8";
:root {
  color-scheme: dark;
  --ink: #071316;
  --gold: #e4bb72;
  --paper: #e9e5d9;
  --muted: #a8b6b6;
  --accent: #f4ae52;
  --line: #d7bc792e;
  font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", sans-serif;
  background: var(--ink);
  color: var(--paper);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
button,
a,
summary {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
}
button[hidden] {
  display: none;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h2 {
  font-family: "Yu Mincho", YuMincho, Georgia, serif;
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 68px);
  line-height: 1.55;
  letter-spacing: 0.09em;
}
p {
  line-height: 2;
}
::selection {
  background: var(--gold);
  color: var(--ink);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.eyebrow {
  font:
    11px/1.5 Arial,
    sans-serif;
  letter-spacing: 0.25em;
  color: var(--gold);
}
#embers {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
}
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 26px 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff20;
}
.wordmark {
  display: flex;
  gap: 12px;
  align-items: center;
  font:
    20px/1 Georgia,
    serif;
  letter-spacing: 0.13em;
}
.wordmark small {
  display: block;
  text-align: center;
  font-size: 10px;
  margin-top: 5px;
  letter-spacing: 0.3em;
}
.sigil {
  font-size: 48px;
  color: var(--gold);
}
.desktop-nav {
  display: flex;
  gap: 42px;
  font: 11px Arial;
  letter-spacing: 0.18em;
}
.desktop-nav a {
  position: relative;
  padding: 12px 0;
}
.desktop-nav a:after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.35s;
}
.desktop-nav a:hover:after {
  transform: scaleX(1);
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}
.motion-toggle {
  color: #e5dbbd;
  background: #07131666;
  border: 1px solid #ffffff38;
  font-size: 11px;
  padding: 10px 13px;
}
.motion-toggle:disabled {
  cursor: default;
}
.mobile-menu {
  display: none;
}
.hero {
  position: relative;
  min-height: 900px;
  height: 100svh;
  isolation: isolate;
  overflow: hidden;
}
.hero-art,
.hero-shade,
.hero-light {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-art {
  inset: -5%;
  transform: translate3d(var(--scene-x, 0px), var(--scene-y, 0px), 0)
    scale(1.02);
  will-change: transform;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}
.hero-shade {
  background:
    linear-gradient(90deg, #031014df 0%, #03101466 42%, transparent 75%),
    linear-gradient(0deg, var(--ink), transparent 25%);
}
.hero-light {
  background: radial-gradient(ellipse at 68% 40%, #f7b85927, transparent 45%);
  mix-blend-mode: screen;
  animation: breathe 6s ease-in-out infinite alternate;
}
.hero-content {
  padding: 200px 6% 110px;
  position: relative;
  max-width: 900px;
}
.hero h1 {
  font:
    clamp(64px, 8.8vw, 138px) / 0.9 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -0.045em;
  margin: 32px 0;
  color: #f3e6c6;
  text-shadow: 0 4px 40px #060d11aa;
}
.hero h1 span {
  display: block;
  font-size: 0.65em;
  letter-spacing: 0.12em;
  margin-top: 15px;
}
.hero-copy {
  font-family: "Yu Mincho", YuMincho, serif;
  font-size: clamp(28px, 3vw, 45px);
  line-height: 1.5;
  letter-spacing: 0.2em;
  margin: 35px 0 15px;
}
.hero-description {
  font-size: 13px;
  color: #cbd4d0;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
}
.gold-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 20px 30px;
  min-height: 60px;
  background: linear-gradient(110deg, #d3a45f, #f0d49a);
  color: #172020;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid #edcf93;
  position: relative;
  overflow: hidden;
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}
.gold-button:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, #fff8, transparent);
  transform: translateX(-150%) skewX(-25deg);
  transition: transform 0.6s;
}
.gold-button:hover {
  box-shadow: 0 0 40px #e1ba6b44;
  transform: translateY(-3px);
}
.gold-button:hover:after {
  transform: translateX(150%) skewX(-25deg);
}
.gold-button span:last-child {
  font-size: 23px;
  font-weight: 400;
}
.hero-bottom {
  position: absolute;
  bottom: 35px;
  left: 4%;
  right: 4%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font: 9px/1.6 Arial;
  letter-spacing: 0.18em;
  color: #b7c0b7;
}
.hero-bottom a {
  color: var(--gold);
}
.hero-bottom a span {
  margin-left: 25px;
}
.section-shell {
  width: min(1200px, 88%);
  margin: auto;
}
.world {
  padding-top: 150px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px 80px;
  align-items: center;
}
.world-heading h2 {
  margin-top: 24px;
}
.world-frame {
  position: relative;
  grid-column: 2;
  grid-row: 1 / 3;
  border: 1px solid var(--line);
  padding: 14px;
  aspect-ratio: 3/4;
}
.world-frame img {
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  filter: saturate(0.75);
  transition: filter 0.7s;
}
.world-frame:hover img {
  filter: saturate(1.2);
}
.frame-coordinate {
  position: absolute;
  bottom: 38px;
  left: 35px;
  font: 9px/1.7 Arial;
  letter-spacing: 0.12em;
  color: #e9d7b2;
}
.frame-corner {
  position: absolute;
  width: 80px;
  height: 80px;
  right: -8px;
  top: -8px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}
.world-story {
  display: flex;
  gap: 35px;
  align-self: start;
}
.chapter-number {
  font: 58px Georgia;
  color: #b78d4d;
}
.world-story p {
  font-size: 14px;
  line-height: 2.4;
  margin-bottom: 25px;
  color: #b5c3bf;
}
.text-link {
  font-size: 12px;
  display: inline-block;
  border-bottom: 1px solid var(--gold);
  padding: 10px 0;
  color: var(--gold);
}
.text-link span {
  margin-left: 35px;
}
.relics {
  position: relative;
  padding: 190px 0 120px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  column-gap: 70px;
}
.relic-header {
  grid-column: 1;
  grid-row: 1;
}
.relic-header h2 {
  margin: 20px 0;
}
.relic-header > p:last-child {
  font-size: 13px;
  color: var(--muted);
}
.relic-stage {
  --accent: #f4ae52;
  --aura-core: #ffdd9a;
  grid-column: 2;
  grid-row: 1 / 3;
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 0.92;
  min-height: 460px;
  overflow: clip;
  isolation: isolate;
  perspective: 900px;
}
.relic-orbit {
  position: absolute;
  inset: 5% 5% 24%;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 50%);
  border-radius: 50%;
  box-shadow: 0 0 35px color-mix(in srgb, var(--accent), transparent 93%);
  animation: orbit 18s linear infinite;
}
.orbit-one:before,
.orbit-two:before {
  content: "";
  position: absolute;
  left: 14%;
  top: 14%;
  height: 8px;
  width: 8px;
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent);
  transform: rotate(45deg);
}
.orbit-two {
  inset: 13% 15% 32%;
  border-style: dashed;
  animation-direction: reverse;
  animation-duration: 30s;
}
.relic-glow {
  position: absolute;
  inset: 2% 2% 23%;
  background: radial-gradient(
    ellipse,
    color-mix(in srgb, var(--accent), transparent 76%),
    transparent 66%
  );
  filter: blur(12px);
  animation: breathe 3s infinite alternate;
}
.relic-blade {
  position: absolute;
  inset: 5% 24% 27%;
  transform: rotate(18deg);
  filter: drop-shadow(
    0 0 7px color-mix(in srgb, var(--accent), transparent 55%)
  );
  transition: filter 0.7s;
  animation: levitate 4s ease-in-out infinite alternate;
}
.relic-blade svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.weapon-sol,
.weapon-veil,
.weapon-nova {
  display: none;
}
.relic-stage[data-element="sol"] .weapon-sol,
.relic-stage[data-element="veil"] .weapon-veil,
.relic-stage[data-element="nova"] .weapon-nova {
  display: block;
}
.weapon-body,
.weapon-channel,
.nova-core {
  transition:
    fill 0.7s,
    filter 0.7s,
    opacity 0.7s;
}
.weapon-channel,
.weapon-runes,
.nova-core {
  opacity: 0.4;
}
.awakened-parts {
  opacity: 0;
  transform: scale(0.65);
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 0.65s,
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.energy-wing,
.energy-plate,
.floating-shard {
  fill: url(#relic-energy);
  stroke: var(--aura-core);
  stroke-width: 1.1;
}
.energy-trace,
.energy-orbit {
  stroke: var(--aura-core);
  stroke-width: 1.4;
  fill: none;
}
.energy-orbit {
  stroke-dasharray: 4 9;
  transform-origin: 120px 112px;
  animation: orbit 22s linear infinite;
}
.orbit-cross {
  animation-direction: reverse;
}
.is-awakened .awakened-parts {
  opacity: 1;
  transform: scale(1);
}
.is-awakened .weapon-body {
  fill: url(#relic-energy);
  filter: drop-shadow(0 0 8px var(--accent));
}
.is-awakened .weapon-channel,
.is-awakened .weapon-runes,
.is-awakened .nova-core {
  opacity: 1;
  filter: drop-shadow(0 0 5px #fff2c4);
}
.is-awakened .relic-blade {
  filter: drop-shadow(0 0 12px var(--accent))
    drop-shadow(0 0 32px var(--accent));
  animation-name: awakened-levitate;
}
.is-awakened .floating-shard {
  animation: shard-float 2.8s ease-in-out infinite alternate;
}
.relic-aura {
  position: absolute;
  inset: 0 0 22%;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity 0.8s,
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.is-awakened .relic-aura {
  opacity: 1;
  transform: scale(1);
}
.aura-ring {
  position: absolute;
  inset: 16% 13%;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: radial-gradient(
    ellipse,
    transparent 40%,
    color-mix(in srgb, var(--accent), transparent 86%) 65%,
    transparent 72%
  );
  box-shadow:
    0 0 35px color-mix(in srgb, var(--accent), transparent 65%),
    inset 0 0 30px color-mix(in srgb, var(--accent), transparent 75%);
  animation: aura-breathe 3s ease-in-out infinite alternate;
}
.aura-stream {
  position: absolute;
  inset: 4% 17% 8%;
  background: conic-gradient(
    from 10deg,
    transparent,
    #ff843b33 9%,
    transparent 13%,
    #ffc16c77 20%,
    transparent 24%,
    #f4542633 36%,
    transparent 40%,
    #ffcc7b77 55%,
    transparent 62%,
    #f7543033 74%,
    transparent 78%,
    #ffcc7b55 87%,
    transparent 94%
  );
  mask-image: radial-gradient(
    ellipse,
    transparent 18%,
    #000 35%,
    transparent 72%
  );
  animation: orbit 24s linear infinite;
}
.aura-motes i {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--aura-core);
  box-shadow: 0 0 12px 3px var(--accent);
  transform: rotate(45deg);
  animation: aura-rise 3.2s ease-in-out infinite;
}
.aura-motes i:nth-child(1) {
  left: 26%;
  top: 55%;
}
.aura-motes i:nth-child(2) {
  left: 69%;
  top: 48%;
  animation-delay: -0.6s;
}
.aura-motes i:nth-child(3) {
  left: 34%;
  top: 27%;
  animation-delay: -1.2s;
}
.aura-motes i:nth-child(4) {
  left: 76%;
  top: 28%;
  animation-delay: -1.8s;
}
.aura-motes i:nth-child(5) {
  left: 19%;
  top: 36%;
  animation-delay: -2.4s;
}
.aura-motes i:nth-child(6) {
  left: 57%;
  top: 64%;
  animation-delay: -2.9s;
}
.relic-stage[data-element="sol"] .aura-ring {
  border-color: #ffb95f66;
  border-radius: 44% 56% 42% 58%;
  box-shadow:
    0 0 60px #ff6d2840,
    inset 0 0 55px #fb812c30;
}
.is-awakened[data-element="sol"] .sol-flames {
  animation: flame-breathe 1.9s ease-in-out infinite alternate;
}
.relic-stage[data-element="veil"] {
  --accent: #a798ef;
  --aura-core: #e5d8ff;
}
.relic-stage[data-element="veil"] .aura-stream {
  background: conic-gradient(
    from 30deg,
    transparent 10%,
    #7255d999 24%,
    transparent 28%,
    #b692ff77 46%,
    transparent 52%,
    #7255d999 70%,
    transparent 74%,
    #b692ff77 90%,
    transparent
  );
  animation-direction: reverse;
}
.relic-stage[data-element="veil"] .aura-ring {
  transform: rotate(-30deg) scaleY(0.65);
  border-width: 2px 0;
  animation-name: shadow-breathe;
}
.is-awakened .veil-echo {
  animation: phantom-breathe 2.6s ease-in-out infinite alternate;
}
.relic-stage[data-element="nova"] {
  --accent: #76dfdd;
  --aura-core: #d3fff4;
}
.relic-stage[data-element="nova"] .relic-blade {
  transform: rotate(-12deg);
  animation-name: staff-levitate;
}
.relic-stage[data-element="nova"] .aura-ring {
  inset: 8% 20% 40%;
  border-style: dashed;
}
.relic-stage[data-element="nova"] .aura-stream {
  inset: -4% 0 18%;
  background: repeating-conic-gradient(
    from 0deg,
    transparent 0deg 24deg,
    #83fff766 25deg,
    transparent 27deg 45deg
  );
  mask-image: radial-gradient(
    circle,
    transparent 20%,
    #000 33%,
    transparent 61%
  );
  animation-duration: 40s;
}
.relic-stage[data-element="nova"].is-awakened .relic-blade {
  animation-name: awakened-staff;
}
.stage-label {
  position: absolute;
  top: 12px;
  left: 7%;
  right: 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 10px Arial;
  letter-spacing: 0.25em;
  color: var(--muted);
}
.stage-label b {
  color: var(--accent);
  font-weight: 400;
}
#relic-state {
  font: 10px sans-serif;
  letter-spacing: 0.14em;
  padding: 6px 9px;
  border: 1px solid var(--line);
  transition:
    color 0.5s,
    border-color 0.5s,
    background 0.5s;
}
.is-awakened #relic-state {
  color: var(--aura-core);
  border-color: color-mix(in srgb, var(--accent), transparent 55%);
  background: color-mix(in srgb, var(--accent), transparent 90%);
}
.relic-form {
  position: absolute;
  bottom: 24%;
  width: 100%;
  text-align: center;
  color: var(--muted);
  font: 15px serif;
  letter-spacing: 0.18em;
  transition:
    color 0.7s,
    text-shadow 0.7s;
}
.is-awakened .relic-form {
  color: var(--aura-core);
  text-shadow: 0 0 20px var(--accent);
}
.relic-actions {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 0 7%;
  text-align: center;
}
.relic-action-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 18px;
}
.relic-reset {
  background: none;
  border: 0;
  color: var(--muted);
  min-height: 44px;
  font-size: 11px;
  transition: color 0.3s;
}
.relic-reset:hover {
  color: var(--aura-core);
}
.relic-controls {
  grid-column: 1;
  grid-row: 2;
}
.relic-selector {
  display: flex;
  margin: 32px 0 25px;
  border-bottom: 1px solid var(--line);
}
.relic-selector button {
  flex: 1;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 4px 8px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #b4bebc;
  text-align: left;
  padding: 14px 8px;
  font: 13px Georgia;
  letter-spacing: 0.12em;
  transition:
    color 0.3s,
    border-color 0.3s;
}
.relic-selector button span {
  font-size: 23px;
  grid-row: 1 / 3;
}
.relic-selector small {
  font-size: 9px;
  font-family: sans-serif;
  letter-spacing: 0.02em;
}
.relic-selector button[aria-pressed="true"] {
  color: var(--gold);
  border-color: var(--gold);
}
.relic-selector button:hover {
  color: #fff;
}
.relic-description h3 {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.08em;
}
.relic-description p {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 23px;
}
.release-button {
  padding: 13px 25px;
  background: color-mix(in srgb, var(--accent), transparent 93%);
  color: var(--aura-core);
  border-color: color-mix(in srgb, var(--accent), transparent 35%);
  min-height: 50px;
}
.release-button:hover {
  transform: none;
  background: color-mix(in srgb, var(--accent), transparent 80%);
  box-shadow: 0 0 25px color-mix(in srgb, var(--accent), transparent 80%);
}
.release-button:disabled {
  cursor: wait;
}
.release-status {
  min-height: 36px;
  color: var(--muted);
  font-size: 11px;
  margin-top: 10px;
}
.charge-ring,
.release-wave,
.release-flare {
  position: absolute;
  inset: 18% 23% 36%;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  pointer-events: none;
}
.release-flare {
  inset: 8% 8% 27%;
  border: 0;
  background: radial-gradient(
    ellipse,
    #fff7dfb3,
    color-mix(in srgb, var(--accent), transparent 55%) 20%,
    transparent 65%
  );
  mix-blend-mode: screen;
}
.is-charging .charge-ring {
  animation: gather 0.48s ease-in both;
}
.is-charging .relic-blade {
  animation: blade-charge 0.48s ease-in both;
}
.is-releasing .release-wave {
  animation: release 1.05s 0.48s ease-out both;
}
.is-releasing .release-flare {
  animation: flare 0.8s 0.48s ease-out both;
}
.is-releasing.is-awakened .relic-blade {
  animation: blade-release 1.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.relic-stage[data-element="nova"].is-releasing.is-awakened .relic-blade {
  animation-name: staff-release;
}
.journey-strip {
  padding: 100px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.journey-strip h2 {
  margin-top: 25px;
}
.journey-list article {
  position: relative;
  padding: 25px 0 35px 50px;
  border-bottom: 1px solid var(--line);
}
.journey-list article:last-child {
  border: 0;
}
.journey-list article > span {
  position: absolute;
  left: 0;
  top: 27px;
  font: 12px Georgia;
  color: var(--gold);
}
.journey-list h3 {
  font-family: serif;
  font-weight: 400;
  font-size: 23px;
  margin-bottom: 15px;
}
.journey-list p {
  font-size: 13px;
  color: var(--muted);
}
.chronicle {
  padding: 130px 0;
}
.section-title {
  display: flex;
  align-items: baseline;
  gap: 28px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-title h2 {
  font-size: 34px;
}
.section-title > span {
  margin-left: auto;
  font: 9px Arial;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.chronicle details {
  border-top: 1px solid var(--line);
}
.chronicle details:last-child {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
.chronicle summary {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 30px 5px;
}
.chronicle summary > span {
  width: 95px;
  font: 10px Arial;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.chronicle h3 {
  font-size: 17px;
  font-weight: 400;
}
.chronicle summary b {
  font: 25px Arial;
  font-weight: 200;
  margin-left: auto;
  transition: transform 0.3s;
}
.chronicle details[open] b {
  transform: rotate(45deg);
}
.chronicle details p {
  font-size: 13px;
  color: var(--muted);
  max-width: 700px;
  padding: 0 5px 30px 150px;
}
.finale {
  position: relative;
  text-align: center;
  padding: 110px 20px 150px;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at center, #17353a, var(--ink) 70%);
}
.finale-halo {
  position: absolute;
  width: 600px;
  max-width: 120vw;
  aspect-ratio: 1;
  border: 1px solid #d7bc7933;
  border-radius: 50%;
  left: 50%;
  top: 5%;
  transform: translateX(-50%);
  box-shadow:
    0 0 100px #d7bc790b,
    inset 0 0 60px #d7bc7910;
  z-index: -1;
}
.finale h2 {
  font-size: clamp(38px, 5.5vw, 76px);
  margin: 25px 0 40px;
}
.finale dl {
  display: flex;
  justify-content: center;
  gap: 45px;
  margin-bottom: 40px;
}
.finale dt {
  font: 9px Arial;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 12px;
}
.finale dd {
  margin: 0;
  font-size: 11px;
}
.demo-note {
  font-size: 10px;
  color: var(--muted);
  margin: 25px 0 0;
}
footer {
  padding: 35px 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  border-top: 1px solid var(--line);
}
.footer-brand {
  font: 18px Georgia;
  letter-spacing: 0.08em;
}
footer p {
  font: 9px/1.8 Arial;
  letter-spacing: 0.12em;
  color: var(--muted);
}
footer a[href="/showcase/"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
footer > a:last-child {
  font-size: 25px;
  color: var(--gold);
}
dialog {
  width: min(560px, 90%);
  background: #0d2023;
  border: 1px solid var(--gold);
  color: var(--paper);
  padding: 55px 40px;
}
dialog::backdrop {
  background: #01090dcc;
  backdrop-filter: blur(8px);
}
dialog form {
  position: absolute;
  right: 15px;
  top: 10px;
}
dialog form button {
  background: none;
  border: 0;
  color: var(--gold);
  font: 28px Arial;
  padding: 8px;
}
dialog h2 {
  font-size: 25px;
  margin: 22px 0;
}
dialog p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 15px;
}
.js .reveal {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 0.9s,
    transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.intro {
  animation: arrive 1.3s both;
}
.intro:nth-child(2) {
  animation-delay: 0.15s;
}
.intro:nth-child(3) {
  animation-delay: 0.3s;
}
.intro:nth-child(4) {
  animation-delay: 0.45s;
}
.intro:nth-child(5) {
  animation-delay: 0.6s;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(25px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}
@keyframes breathe {
  to {
    opacity: 0.45;
    transform: scale(1.07);
  }
}
@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes levitate {
  to {
    transform: translateY(-12px) rotate(22deg);
  }
}
@keyframes awakened-levitate {
  from {
    transform: translateY(-8px) rotate(18deg) scale(1.08);
  }
  to {
    transform: translateY(-23px) rotate(22deg) scale(1.08);
  }
}
@keyframes staff-levitate {
  to {
    transform: translateY(-12px) rotate(-8deg);
  }
}
@keyframes awakened-staff {
  from {
    transform: translateY(-8px) rotate(-12deg) scale(1.08);
  }
  to {
    transform: translateY(-23px) rotate(-8deg) scale(1.08);
  }
}
@keyframes aura-breathe {
  to {
    transform: scale(1.07);
    opacity: 0.55;
  }
}
@keyframes shadow-breathe {
  to {
    transform: rotate(-30deg) scale(1.1, 0.75);
    opacity: 0.5;
  }
}
@keyframes aura-rise {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(8px) rotate(45deg);
  }
  50% {
    opacity: 1;
    transform: translateY(-20px) rotate(135deg);
  }
}
@keyframes shard-float {
  to {
    transform: translateY(-7px);
  }
}
@keyframes flame-breathe {
  to {
    opacity: 0.7;
    transform: scale(1.04, 1.02);
  }
}
@keyframes phantom-breathe {
  to {
    opacity: 0.65;
    transform: translateX(-4px) scale(1.04);
  }
}
@keyframes gather {
  from {
    opacity: 0;
    transform: scale(1.75);
    box-shadow: 0 0 0 var(--accent);
  }
  35% {
    opacity: 0.8;
  }
  to {
    opacity: 1;
    transform: scale(0.12);
    box-shadow: 0 0 45px var(--accent);
  }
}
@keyframes blade-charge {
  from {
    transform: rotate(18deg);
  }
  to {
    transform: translateY(10px) rotate(12deg) scale(0.92);
    filter: drop-shadow(0 0 20px var(--accent));
  }
}
@keyframes release {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  20% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: scale(2.3);
  }
}
@keyframes blade-release {
  from {
    transform: translateY(10px) rotate(12deg) scale(0.92);
  }
  22% {
    transform: translateY(-34px) rotate(24deg) scale(1.19);
  }
  to {
    transform: translateY(-8px) rotate(18deg) scale(1.08);
  }
}
@keyframes staff-release {
  from {
    transform: translateY(10px) rotate(-18deg) scale(0.92);
  }
  22% {
    transform: translateY(-34px) rotate(-6deg) scale(1.19);
  }
  to {
    transform: translateY(-8px) rotate(-12deg) scale(1.08);
  }
}
@keyframes flare {
  0% {
    opacity: 0;
    transform: scale(0.25);
  }
  15% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}
@media (min-width: 1600px) {
  .hero-content {
    padding-top: 23vh;
  }
}
@media (max-width: 1100px) {
  .relic-stage {
    min-height: 500px;
  }
  .relic-form {
    bottom: 185px;
  }
  .relic-blade {
    bottom: 205px;
  }
  .relic-aura {
    bottom: 175px;
  }
}
@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .mobile-menu summary {
    width: 40px;
    height: 40px;
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 8px;
  }
  .mobile-menu summary span {
    height: 1px;
    background: var(--gold);
    transition: transform 0.3s;
  }
  .mobile-menu[open] summary span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .mobile-menu[open] summary span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .mobile-menu nav {
    position: absolute;
    top: 100%;
    right: 4%;
    width: 240px;
    display: grid;
    background: #0d2023f5;
    border: 1px solid var(--line);
    padding: 20px;
    backdrop-filter: blur(15px);
  }
  .mobile-menu nav a {
    padding: 15px;
    font: 12px Arial;
    letter-spacing: 0.2em;
  }
  .hero {
    min-height: 830px;
  }
  .hero-content {
    padding-top: 190px;
  }
  .hero-art img {
    object-position: 65% center;
  }
  .world {
    gap: 40px;
  }
  .world-story {
    gap: 20px;
  }
  .relics {
    column-gap: 30px;
  }
  .journey-strip {
    gap: 40px;
  }
  .chronicle summary {
    gap: 25px;
  }
  .chronicle details p {
    padding-left: 125px;
  }
}
@media (max-width: 600px) {
  .site-header {
    padding: 18px 5%;
  }
  .wordmark {
    font-size: 15px;
    gap: 8px;
  }
  .wordmark small {
    font-size: 8px;
  }
  .sigil {
    font-size: 34px;
  }
  .header-tools {
    gap: 4px;
  }
  .motion-toggle {
    padding: 8px;
    font-size: 9px;
  }
  .hero {
    min-height: 790px;
    height: 100svh;
    max-height: 1000px;
  }
  .hero-art {
    inset: 0 -30% 0 -10%;
  }
  .hero-art img {
    object-position: 62% center;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #031014ad, transparent),
      linear-gradient(0deg, var(--ink), transparent 70%);
  }
  .hero-content {
    padding: 210px 7% 85px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 0.16em;
  }
  .hero h1 {
    font-size: 17vw;
    margin: 24px 0 26px;
  }
  .hero-copy {
    font-size: 29px;
    margin: 25px 0 18px;
  }
  .hero-description {
    font-size: 11px;
  }
  .gold-button {
    padding: 16px 22px;
    gap: 30px;
    font-size: 12px;
    min-height: 55px;
  }
  .hero-bottom {
    bottom: 25px;
    left: 7%;
    right: 7%;
    font-size: 7px;
  }
  .hero-bottom > span {
    max-width: 130px;
  }
  .hero-bottom a {
    align-self: end;
    letter-spacing: 0.1em;
  }
  .hero-bottom a span {
    margin-left: 8px;
  }
  .section-shell {
    width: 86%;
  }
  .world {
    padding-top: 90px;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .world-heading {
    grid-row: 1;
  }
  .world-frame {
    grid-column: 1;
    grid-row: 2;
    aspect-ratio: 4/5;
    margin-left: 20px;
  }
  .world-story {
    grid-row: 3;
    gap: 25px;
  }
  .world-story p {
    font-size: 12px;
  }
  .relics {
    padding: 100px 0 75px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .relic-header h2 {
    font-size: 38px;
  }
  .relic-header > p:last-child {
    font-size: 12px;
  }
  .relic-stage {
    width: 100%;
    margin-top: 25px;
    order: 3;
  }
  .relic-header {
    order: 1;
  }
  .relic-controls {
    order: 2;
  }
  .relic-actions {
    padding: 0 5%;
  }
  .relic-selector {
    margin-top: 25px;
  }
  .relic-description p {
    min-height: 48px;
  }
  .release-button {
    width: 100%;
  }
  .journey-strip {
    padding: 70px 0;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .journey-list article {
    padding-left: 35px;
  }
  .journey-list h3 {
    font-size: 21px;
  }
  .journey-list p {
    font-size: 12px;
  }
  .chronicle {
    padding: 80px 0;
  }
  .section-title {
    display: block;
    margin-bottom: 25px;
  }
  .section-title h2 {
    margin: 14px 0;
    font-size: 30px;
  }
  .chronicle summary {
    gap: 12px;
    padding: 23px 0;
    flex-wrap: wrap;
  }
  .chronicle summary > span {
    width: 100%;
    font-size: 8px;
  }
  .chronicle h3 {
    font-size: 15px;
  }
  .chronicle summary b {
    font-size: 20px;
  }
  .chronicle details p {
    padding: 0 0 25px;
    font-size: 12px;
  }
  .finale {
    padding: 75px 7% 90px;
  }
  .finale dl {
    flex-direction: column;
    gap: 20px;
  }
  .finale dt {
    margin-bottom: 7px;
  }
  .finale h2 {
    font-size: 36px;
  }
  footer {
    padding: 30px 7%;
    flex-wrap: wrap;
  }
  .footer-brand {
    font-size: 16px;
  }
  footer p {
    order: 3;
    width: 100%;
    font-size: 8px;
  }
  dialog {
    padding: 50px 25px;
  }
  dialog h2 {
    font-size: 21px;
  }
}
.motion-off *,
.motion-off *:before,
.motion-off *:after {
  animation: none !important;
  transition: none !important;
}
.motion-off .hero-art,
.motion-off .reveal {
  transform: none !important;
}
.motion-off .reveal {
  opacity: 1 !important;
}
.motion-off #embers {
  display: none;
}
html:has(.motion-off) {
  scroll-behavior: auto;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .hero-art,
  .js .reveal {
    transform: none !important;
  }
  .js .reveal {
    opacity: 1 !important;
  }
  #embers {
    display: none;
  }
}
