:root {
  --ink: #080a0c;
  --ink-soft: #0f1215;
  --iron: #171c20;
  --steel: #80909a;
  --mist: #c9d0d2;
  --bone: #ede7dc;
  --ember: #c84e26;
  --ember-hot: #eb7440;
  --line: rgba(220, 226, 228, 0.16);
  --display: "Cinzel", Georgia, serif;
  --body: "Manrope", Arial, sans-serif;
  --shell: min(1280px, calc(100vw - 96px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--ember) var(--ink);
}

main section[id] {
  scroll-margin-top: 72px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--bone);
  background: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: #fff;
  background: var(--ember);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--ember-hot);
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 99;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 120;
  width: var(--scroll, 0%);
  height: 2px;
  background: linear-gradient(90deg, var(--ember), #ffb06b);
  box-shadow: 0 0 16px rgba(235, 116, 64, 0.7);
}

.war-cry {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 25;
  width: 100%;
  height: 35px;
  overflow: hidden;
  color: #adb8bd;
  background: rgba(4, 6, 8, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font: 700 9px/35px var(--body);
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.war-cry__track {
  display: flex;
  width: max-content;
  animation: ticker 34s linear infinite;
}

.war-cry span {
  padding-inline: 34px;
  white-space: nowrap;
}

.war-cry i {
  width: 4px;
  height: 4px;
  margin: 15px 0;
  background: var(--ember);
  transform: rotate(45deg);
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.site-header {
  position: absolute;
  top: 35px;
  left: 50%;
  z-index: 30;
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  align-items: center;
  width: 100%;
  height: 92px;
  padding-inline: max(48px, calc((100vw - 1280px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateX(-50%);
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(5, 7, 9, 0.72), rgba(5, 7, 9, 0.05));
  backdrop-filter: blur(4px);
}

.site-header.is-scrolled {
  position: fixed;
  top: 0;
  height: 72px;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.28);
  animation: header-drop 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled::before {
  background: rgba(7, 9, 11, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled .brand { width: 118px; }
.site-header.is-scrolled .primary-nav a { padding-block: 26px; }
.site-header.is-scrolled .primary-nav a::after { bottom: 17px; }

@keyframes header-drop {
  from { transform: translate(-50%, -100%); }
  to { transform: translate(-50%, 0); }
}

.brand {
  display: inline-flex;
  width: 136px;
}

.brand img {
  width: 100%;
  height: auto;
}

.primary-nav {
  display: flex;
  gap: 34px;
  justify-self: center;
}

.primary-nav a {
  position: relative;
  padding: 36px 0;
  color: rgba(237, 231, 220, 0.7);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 26px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--ember-hot);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.primary-nav a:hover {
  color: #fff;
}

.primary-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  position: relative;
  display: inline-flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  overflow: hidden;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.button::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: #fff;
  transform: translateX(-102%);
  transition: transform 300ms cubic-bezier(0.76, 0, 0.24, 1);
}

.button:hover {
  color: var(--ink);
  border-color: #fff;
  transform: translateY(-2px);
}

.button:hover::before {
  transform: translateX(0);
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.button--small {
  min-height: 43px;
  padding-inline: 20px;
}

.header-cta {
  gap: 8px;
  padding-inline: 14px;
  font-size: 8px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.button--iron {
  justify-self: end;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.button--ember {
  z-index: 1;
  color: #fff;
  background: linear-gradient(135deg, var(--ember-hot), #9d3215);
  border-color: var(--ember-hot);
  box-shadow: 0 12px 45px rgba(157, 50, 21, 0.28);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 890px;
  height: max(100svh, 890px);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.hero__backdrop,
.hero__vignette {
  position: absolute;
  inset: 0;
}

.hero__backdrop {
  z-index: -3;
  scale: 1.04;
  will-change: transform;
}

.hero__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero__vignette {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 7, 9, 0.98) 0%, rgba(5, 7, 9, 0.78) 32%, rgba(5, 7, 9, 0.09) 66%, rgba(5, 7, 9, 0.34) 100%),
    linear-gradient(0deg, rgba(5, 7, 9, 0.97) 0%, transparent 26%, rgba(5, 7, 9, 0.36) 100%);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 150px;
  pointer-events: none;
  content: "";
  background: linear-gradient(transparent, rgba(7, 9, 11, 0.96));
}

.particles,
.particle {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  top: -20px;
  left: var(--x);
  width: var(--size);
  height: calc(var(--size) * 0.35);
  opacity: var(--opacity);
  background: rgba(216, 232, 236, 0.85);
  border-radius: 50%;
  filter: blur(0.5px);
  transform: rotate(-28deg);
  animation: snow var(--duration) linear var(--delay) infinite;
}

@keyframes snow {
  to { transform: translate(-14vw, 105vh) rotate(-28deg); }
}

.hero__content {
  position: relative;
  z-index: 3;
  padding-top: 85px;
}

.hero__copy {
  width: min(680px, 56vw);
}

.eyebrow {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 25px;
  color: #94a3aa;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 35px;
  height: 1px;
  background: var(--ember-hot);
  box-shadow: 0 0 10px var(--ember);
}

.hero h1,
.section-heading h2,
.battle-cry h2,
.community h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(58px, 6.25vw, 104px);
  line-height: 0.94;
  text-shadow: 0 6px 38px rgba(0, 0, 0, 0.7);
}

.hero h1 em,
.section-heading h2 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px rgba(237, 231, 220, 0.54);
}

.hero__copy > p {
  max-width: 560px;
  margin: 28px 0 34px;
  color: #aab4b8;
  font-size: 15px;
  line-height: 1.8;
}

.hero__copy > .hero__trust {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 20px 0 0;
  color: #66747a;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero__trust i {
  width: 6px;
  height: 6px;
  background: var(--ember-hot);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(235, 116, 64, 0.7);
}

.hero__actions,
.how__cta,
.community__actions {
  display: flex;
  gap: 28px;
  align-items: center;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  color: #d7dddf;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease;
}

.text-link span {
  color: var(--ember-hot);
  font-size: 16px;
  transition: transform 180ms ease;
}

.text-link:hover {
  color: #fff;
  border-color: var(--ember-hot);
}

.text-link:hover span {
  transform: translate(2px, 2px);
}

.hero__seal {
  position: absolute;
  right: 45%;
  bottom: 103px;
  z-index: 3;
  display: grid;
  width: 102px;
  height: 102px;
  place-items: center;
  color: rgba(229, 235, 236, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  backdrop-filter: blur(5px);
}

.hero__seal svg {
  position: absolute;
  inset: 5px;
  width: 90px;
  animation: spin 24s linear infinite;
}

.hero__seal text {
  fill: currentColor;
  font: 700 9px var(--body);
  letter-spacing: 2px;
}

.hero__seal > span {
  font: 600 33px var(--display);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.contract-bar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: center;
  min-height: 88px;
  padding: 0 28px;
  background: rgba(15, 18, 21, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 0;
  backdrop-filter: blur(18px);
}

.contract-bar__label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.contract-bar__label span {
  font: 600 14px var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contract-bar__label small {
  color: #69777e;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contract-status {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0 20px 30px;
}

.contract-status code {
  overflow: hidden;
  color: #9aa6ab;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
}

.contract-status > span {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: #7f8c91;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.contract-status i {
  width: 6px;
  height: 6px;
  background: var(--ember-hot);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(235, 116, 64, 0.8);
  animation: status-pulse 1.8s ease-in-out infinite;
}

@keyframes status-pulse {
  50% { opacity: 0.3; }
}

.oath-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.6fr;
  min-height: 132px;
  background: #0d1012;
  border-bottom: 1px solid var(--line);
}

.oath-strip > div {
  display: flex;
  flex-direction: column;
  gap: 11px;
  justify-content: center;
  padding: 0 52px;
  border-right: 1px solid var(--line);
}

.oath-strip span {
  color: #647078;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.oath-strip strong {
  font: 600 22px var(--display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.oath-strip__vow {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(200, 78, 38, 0.12), transparent);
}

.oath-strip__vow::after {
  position: absolute;
  right: 20px;
  color: rgba(255, 255, 255, 0.025);
  content: "H";
  font: 700 140px var(--display);
}

.section {
  padding: 150px 0;
}

.trade-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 50%, rgba(200, 78, 38, 0.14), transparent 30%),
    linear-gradient(135deg, #111619, #080a0c 68%);
  border-bottom: 1px solid var(--line);
}

.trade-panel::before {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 70% 50%, #000, transparent 70%);
}

.trade-panel__sigil {
  position: absolute;
  top: 50%;
  left: -0.07em;
  color: rgba(255, 255, 255, 0.022);
  font: 800 min(52vw, 720px)/0.8 var(--display);
  transform: translateY(-50%);
}

.trade-panel__grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(70px, 8vw, 130px);
  align-items: center;
}

.trade-panel__copy h2 {
  margin: 0;
  font: 600 clamp(48px, 5vw, 78px)/0.98 var(--display);
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.trade-panel__copy h2 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px rgba(237, 231, 220, 0.52);
}

.trade-panel__copy > p {
  max-width: 500px;
  margin: 28px 0 36px;
  color: #819096;
  font-size: 14px;
  line-height: 1.8;
}

.trade-panel__facts {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.trade-panel__facts span {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  color: #87959a;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trade-panel__facts i {
  color: var(--ember-hot);
  font: normal 600 9px var(--display);
}

.trade-card {
  position: relative;
  min-height: 430px;
  padding: 48px;
  overflow: hidden;
  background: rgba(16, 20, 23, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
}

.trade-card::before,
.trade-card::after {
  position: absolute;
  width: 38px;
  height: 38px;
  pointer-events: none;
  content: "";
}

.trade-card::before {
  top: 12px;
  left: 12px;
  border-top: 1px solid var(--ember-hot);
  border-left: 1px solid var(--ember-hot);
}

.trade-card::after {
  right: 12px;
  bottom: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.trade-card__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 42px;
  color: #758389;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.trade-card__status span {
  display: flex;
  gap: 10px;
  align-items: center;
}

.trade-card__status i {
  width: 6px;
  height: 6px;
  background: var(--ember-hot);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(235, 116, 64, 0.72);
  animation: status-pulse 1.8s ease-in-out infinite;
}

.trade-card__pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 26px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.trade-card__pair > span {
  font: 600 22px var(--display);
  letter-spacing: 0.02em;
}

.trade-card__pair > span:last-child { text-align: right; }

.trade-card__pair small {
  display: block;
  margin-bottom: 7px;
  color: #68767c;
  font: 800 8px var(--body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.trade-card__pair > i {
  color: var(--ember-hot);
  font-style: normal;
}

.trade-card__contract > span {
  display: block;
  margin-bottom: 9px;
  color: #68767c;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.trade-card__contract > div,
.contract-address {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.trade-card__contract code,
.contract-address code {
  min-width: 0;
  padding: 15px 16px;
  overflow: hidden;
  color: #9aa6ab;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trade-card__contract button,
.contract-address button {
  align-self: stretch;
  padding: 0 17px;
  cursor: pointer;
  color: var(--ember-hot);
  background: rgba(235, 116, 64, 0.08);
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trade-card__contract button:disabled,
.contract-address button:disabled {
  cursor: not-allowed;
  color: #5c686e;
}

.trade-card__button {
  width: 100%;
  margin-top: 18px;
}

.trade-card__note {
  margin: 15px 0 0;
  color: #5d6a70;
  font-size: 9px;
  line-height: 1.6;
  text-align: center;
}

.lore {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 13% 40%, rgba(41, 69, 81, 0.22), transparent 32%),
    linear-gradient(135deg, #0d1114, #080a0c 60%);
}

.lore::before {
  position: absolute;
  inset: 0;
  opacity: 0.19;
  content: "";
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(90deg, #000, transparent 75%);
}

.lore__grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: clamp(70px, 9vw, 145px);
  align-items: center;
}

.lore__art {
  position: relative;
  min-height: 680px;
}

.lore__arch {
  position: absolute;
  inset: 0 0 0 8%;
  overflow: hidden;
  background: linear-gradient(180deg, #1b242a, #0a0d0f);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 48% 48% 3px 3px / 22% 22% 3px 3px;
  box-shadow: 0 50px 90px rgba(0, 0, 0, 0.45);
}

.lore__arch::before {
  position: absolute;
  inset: 12px;
  z-index: 2;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: inherit;
}

.lore__arch::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(0deg, rgba(7, 9, 10, 0.98), transparent 48%), radial-gradient(circle at 50% 40%, transparent 15%, rgba(5, 7, 9, 0.66) 88%);
}

.lore__arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.5) contrast(1.1) brightness(0.77);
}

.lore__glow {
  position: absolute;
  right: -70px;
  bottom: -30px;
  z-index: 3;
  width: 230px;
  height: 230px;
  background: var(--ember);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.36;
}

.rune {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  color: rgba(215, 225, 227, 0.72);
  background: #12171a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: rotate(45deg);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
}

.rune--one { top: 21%; left: -8px; }
.rune--two { right: -8px; bottom: 17%; }

.rune::first-letter { transform: rotate(-45deg); }

.lore__chapter {
  position: absolute;
  bottom: -38px;
  left: 0;
  z-index: 2;
  color: rgba(255, 255, 255, 0.045);
  font: 700 180px var(--display);
}

.section-heading h2 {
  font-size: clamp(42px, 4.1vw, 68px);
  line-height: 1.02;
}

.section-heading > p {
  max-width: 600px;
  margin: 28px 0 0;
  color: #839198;
  font-size: 14px;
  line-height: 1.8;
}

.tenets {
  margin-top: 58px;
  border-top: 1px solid var(--line);
}

.tenet {
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.tenet__number {
  padding-top: 3px;
  color: var(--ember-hot);
  font: 600 11px var(--display);
}

.tenet h3 {
  margin: 0 0 9px;
  font: 600 17px var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tenet p {
  margin: 0;
  color: #6f7d83;
  font-size: 12px;
  line-height: 1.7;
}

.meme-stories {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 34%, rgba(151, 42, 19, 0.22), transparent 26%),
    radial-gradient(circle at 20% 76%, rgba(39, 67, 78, 0.24), transparent 33%),
    #080a0c;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.meme-stories::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}

.meme-stories__head,
.meme-stories__grid,
.meme-stories__footer {
  position: relative;
  z-index: 1;
}

.meme-stories__head {
  display: flex;
  gap: 60px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 68px;
}

.meme-stories__head > p {
  width: min(100%, 390px);
  margin: 0 0 8px;
  color: #75848b;
  font-size: 13px;
  line-height: 1.8;
}

.meme-stories__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.72fr);
  gap: clamp(18px, 2.3vw, 34px);
  align-items: start;
}

.meme-story {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
  background: #111619;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.46);
}

.meme-story--dip {
  min-height: 550px;
  margin-top: 92px;
}

.meme-story picture,
.meme-story img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.meme-story img {
  object-fit: cover;
  filter: saturate(0.88) contrast(1.06) brightness(0.88);
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1), filter 500ms ease;
}

.meme-story:hover img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.05) brightness(0.93);
}

.meme-story::before,
.meme-story::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
}

.meme-story::before {
  background: linear-gradient(180deg, rgba(5, 7, 8, 0.48), transparent 27%);
}

.meme-story::after {
  background: linear-gradient(0deg, rgba(4, 6, 7, 0.97) 0%, rgba(4, 6, 7, 0.56) 28%, transparent 58%);
}

.meme-story__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.meme-story__index {
  position: absolute;
  top: 24px;
  left: 25px;
  z-index: 3;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(8, 10, 12, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.17);
  font: 700 8px var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.meme-story__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  padding: clamp(28px, 4vw, 52px);
}

.meme-story__caption > span,
.meme-stories__footer > div > span {
  display: block;
  margin-bottom: 10px;
  color: var(--ember-hot);
  font: 700 9px var(--display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.meme-story__caption h3 {
  margin: 0;
  font: 600 clamp(38px, 4.8vw, 72px)/0.95 var(--display);
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.meme-story--dip .meme-story__caption h3 {
  font-size: clamp(34px, 3.2vw, 48px);
}

.meme-story__caption p {
  max-width: 490px;
  margin: 18px 0 0;
  color: #aab5b9;
  font-size: 11px;
  line-height: 1.75;
}

.meme-stories__footer {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.meme-stories__footer strong {
  display: block;
  color: #d9dfe1;
  font: 600 clamp(18px, 2vw, 25px) var(--display);
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.battle-cry {
  position: relative;
  display: grid;
  min-height: 390px;
  overflow: hidden;
  place-items: center;
  background: var(--ember);
}

.battle-cry::before,
.battle-cry::after {
  position: absolute;
  inset: -20px -10%;
  content: "";
  background: #0b0e10;
  clip-path: polygon(0 0, 100% 0, 100% 11%, 0 22%);
}

.battle-cry::after {
  top: auto;
  bottom: -20px;
  clip-path: polygon(0 78%, 100% 89%, 100% 100%, 0 100%);
}

.battle-cry__word {
  position: absolute;
  top: 43%;
  left: 50%;
  color: rgba(22, 10, 7, 0.12);
  font: 900 clamp(130px, 24vw, 360px)/0.7 var(--display);
  letter-spacing: -0.09em;
  transform: translate(-50%, -50%);
}

.battle-cry__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.battle-cry p {
  margin: 0 0 2px;
  color: rgba(255, 255, 255, 0.65);
  font: 600 13px var(--display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.battle-cry h2 {
  color: #fff;
  font-size: clamp(74px, 11vw, 150px);
  line-height: 0.9;
  text-shadow: 0 12px 50px rgba(78, 17, 5, 0.4);
}

.how {
  position: relative;
  background: #0b0e10;
}

.section-heading--center {
  text-align: center;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.section-heading--center > p {
  margin-inline: auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 72px;
}

.step {
  position: relative;
  min-height: 400px;
  padding: 35px;
  overflow: hidden;
  background: linear-gradient(145deg, #13181b, #0e1113);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 240ms ease, transform 240ms ease;
}

.step::before {
  position: absolute;
  inset: auto -40px -70px auto;
  width: 170px;
  height: 170px;
  content: "";
  background: var(--ember);
  border-radius: 50%;
  filter: blur(75px);
  opacity: 0;
  transition: opacity 240ms ease;
}

.step:hover {
  border-color: rgba(235, 116, 64, 0.52);
  transform: translateY(-8px);
}

.step:hover::before { opacity: 0.26; }

.step__top {
  display: flex;
  gap: 16px;
  align-items: center;
  color: var(--ember-hot);
  font: 600 10px var(--display);
}

.step__top i {
  width: 44px;
  height: 1px;
  background: rgba(255, 255, 255, 0.13);
}

.step__icon {
  width: 76px;
  margin: 62px 0 40px;
  fill: none;
  stroke: #aeb9bd;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.step__icon--door { stroke: var(--ember-hot); }

.step h3 {
  margin: 0 0 15px;
  font: 600 20px var(--display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.step p {
  max-width: 320px;
  margin: 0;
  color: #718087;
  font-size: 12px;
  line-height: 1.75;
}

.how__cta {
  justify-content: center;
  margin-top: 50px;
}

.chronicles {
  background: var(--bone);
  color: var(--ink);
}

.chronicles .eyebrow { color: #6f6c66; }
.chronicles .section-heading h2 em { -webkit-text-stroke-color: rgba(8, 10, 12, 0.42); }

.chronicles__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 70px;
}

.chronicles__head > p {
  margin: 0 0 10px;
  color: #686963;
  font-size: 12px;
  line-height: 1.75;
  text-align: right;
}

.gallery-experience {
  position: relative;
  padding: 14px;
  overflow: hidden;
  color: var(--bone);
  background: #0b0e10;
  border: 1px solid rgba(8, 10, 12, 0.18);
  box-shadow: 0 40px 100px rgba(15, 17, 18, 0.22);
  isolation: isolate;
}

.gallery-experience::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 46px 46px;
}

.gallery-ambient {
  position: absolute;
  inset: -18%;
  z-index: -2;
  overflow: hidden;
  background: #0a0c0e;
}

.gallery-ambient::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(7, 9, 11, 0.72);
}

.gallery-ambient img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  filter: blur(65px) saturate(0.75);
  scale: 1.15;
  transition: opacity 300ms ease;
}

.gallery-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.65fr);
  min-height: 650px;
  background: #0a0c0e;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.gallery-feature {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --shine-x: 50%;
  --shine-y: 50%;
  position: relative;
  min-width: 0;
  height: 650px;
  margin: 0;
  overflow: hidden;
  background: #111518;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 160ms ease-out;
}

.gallery-feature::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(0deg, rgba(5, 7, 8, 0.92), transparent 35%),
    linear-gradient(90deg, rgba(5, 7, 8, 0.24), transparent 30%);
}

.gallery-feature > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.06);
  transform: scale(1.025);
  transition: opacity 220ms ease, transform 900ms cubic-bezier(0.16, 1, 0.3, 1), filter 500ms ease;
}

.gallery-experience:hover .gallery-feature > img {
  filter: saturate(0.98) contrast(1.02);
  transform: scale(1.055);
}

.gallery-feature.is-changing > img,
.gallery-ambient.is-changing img {
  opacity: 0;
}

.gallery-feature__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='.45'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.gallery-feature__shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--shine-x) var(--shine-y), rgba(255, 255, 255, 0.2), transparent 23%);
  mix-blend-mode: screen;
  transition: opacity 250ms ease;
}

.gallery-feature:hover .gallery-feature__shine { opacity: 0.65; }

.gallery-feature figcaption {
  position: absolute;
  right: 30px;
  bottom: 25px;
  left: 30px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.66);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.gallery-feature figcaption b {
  color: var(--ember-hot);
  font-weight: 800;
}

.gallery-feature figcaption small { font-size: inherit; }

.gallery-meta {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px;
  overflow: hidden;
  background: rgba(8, 10, 12, 0.82);
}

.gallery-meta::before {
  position: absolute;
  right: -25px;
  bottom: -95px;
  color: rgba(255, 255, 255, 0.025);
  content: "H";
  font: 700 310px/1 var(--display);
}

.gallery-meta__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #718087;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gallery-counter {
  display: flex;
  gap: 9px;
  align-items: center;
  font: 600 10px var(--display);
}

.gallery-counter b { color: var(--ember-hot); }
.gallery-counter i { width: 23px; height: 1px; background: rgba(255, 255, 255, 0.16); }

.gallery-meta__copy {
  position: relative;
  z-index: 1;
}

.gallery-meta h3 {
  margin: 0 0 22px;
  font: 600 clamp(30px, 3vw, 48px)/1.05 var(--display);
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.gallery-meta__copy p {
  margin: 0;
  color: #7f8c91;
  font-size: 12px;
  line-height: 1.8;
}

.gallery-controls {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px 48px 1fr;
  gap: 9px;
  align-items: center;
}

.gallery-controls button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  cursor: pointer;
  color: #9ba8ad;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.13);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.gallery-controls button:hover {
  color: #fff;
  background: var(--ember);
  border-color: var(--ember);
}

.gallery-controls svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.gallery-progress {
  height: 1px;
  margin-left: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.11);
}

.gallery-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--ember), var(--ember-hot));
  transform: scaleX(0);
  transform-origin: left;
}

.gallery-experience.is-playing .gallery-progress i {
  animation: gallery-progress 6s linear forwards;
}

@keyframes gallery-progress {
  to { transform: scaleX(1); }
}

.gallery-filmstrip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(118px, 1fr));
  gap: 10px;
  margin-top: 10px;
  padding-bottom: 6px;
  overflow-x: auto;
  scrollbar-color: rgba(235, 116, 64, 0.46) transparent;
  scrollbar-width: thin;
}

.gallery-filmstrip::-webkit-scrollbar { height: 3px; }
.gallery-filmstrip::-webkit-scrollbar-track { background: transparent; }
.gallery-filmstrip::-webkit-scrollbar-thumb { background: rgba(235, 116, 64, 0.46); }

.gallery-thumb {
  position: relative;
  height: 122px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #101416;
  border: 1px solid rgba(255, 255, 255, 0.09);
  opacity: 0.46;
  transition: opacity 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.gallery-thumb::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--ember-hot);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.65);
  transition: filter 220ms ease, transform 450ms ease;
}

.gallery-thumb > span {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: #fff;
  background: rgba(6, 8, 9, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 8px;
  font-weight: 800;
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
  opacity: 1;
  border-color: rgba(235, 116, 64, 0.48);
  transform: translateY(-3px);
}

.gallery-thumb:hover img,
.gallery-thumb.is-active img {
  filter: grayscale(0);
  transform: scale(1.04);
}

.gallery-thumb.is-active::after { transform: scaleX(1); }

.gallery-link {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: max-content;
  margin: 48px auto 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(8, 10, 12, 0.26);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.gallery-link i {
  width: 6px;
  height: 6px;
  background: var(--ember);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(200, 78, 38, 0.6);
}

.gallery-link--pending {
  color: #6a6862;
  border-bottom-color: rgba(8, 10, 12, 0.14);
}

.gallery-conversion {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  margin-top: 52px;
  padding: 28px 30px;
  color: var(--bone);
  background:
    linear-gradient(115deg, rgba(190, 60, 24, 0.26), transparent 45%),
    #111518;
  border: 1px solid rgba(8, 10, 12, 0.15);
  box-shadow: 0 24px 60px rgba(14, 17, 18, 0.16);
}

.gallery-conversion span {
  color: var(--ember-hot);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gallery-conversion h3 {
  margin: 7px 0 0;
  font: 600 clamp(19px, 2vw, 28px)/1.1 var(--display);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.gallery-conversion .button { flex: 0 0 auto; }

.community {
  position: relative;
  display: flex;
  min-height: 720px;
  overflow: hidden;
  align-items: center;
}

.community__backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.35) contrast(1.12) brightness(0.55);
  scale: 1.03;
}

.community::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(6, 8, 10, 0.98), rgba(6, 8, 10, 0.69) 48%, rgba(6, 8, 10, 0.2));
}

.community__content {
  position: relative;
}

.eyebrow--light { color: #b6c0c3; }

.community h2 {
  max-width: 760px;
  font-size: clamp(68px, 8vw, 120px);
  line-height: 0.88;
  text-shadow: 0 8px 50px rgba(0, 0, 0, 0.6);
}

.community__content > p {
  max-width: 540px;
  margin: 32px 0 38px;
  color: #a6b1b5;
  font-size: 14px;
  line-height: 1.8;
}

.button--light {
  z-index: 1;
  color: var(--ink);
  background: var(--bone);
}

.button--light::before { background: var(--ember-hot); }
.button--light:hover { color: #fff; border-color: var(--ember-hot); }

.button--ghost {
  z-index: 1;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(5px);
}

.button--disabled {
  cursor: default;
  opacity: 0.58;
  user-select: none;
}

.button--disabled::before { display: none; }

.button--disabled:hover {
  color: inherit;
  border-color: inherit;
  transform: none;
}

.mobile-conversion-bar {
  display: none;
}

.site-footer {
  background: #06080a;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 150px;
  border-bottom: 1px solid var(--line);
}

.brand--footer { width: 160px; }

.site-footer__top > p {
  margin: 0;
  color: #58656b;
  font: 500 11px var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.socials {
  display: flex;
  gap: 10px;
  justify-self: end;
}

.socials a,
.back-to-top {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #9da8ac;
  font-size: 10px;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease;
}

.back-to-top { cursor: pointer; }

.socials a:hover,
.socials a:focus-visible,
.back-to-top:hover {
  color: #fff;
  background: var(--ember);
}

.site-footer__bottom {
  display: grid;
  grid-template-columns: 150px 1fr 42px;
  gap: 40px;
  align-items: center;
  min-height: 96px;
  color: #4d5a60;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__bottom p {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  text-align: center;
}

.back-to-top { justify-self: end; }

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tenet:nth-child(2),
.step:nth-child(2) { transition-delay: 100ms; }

.tenet:nth-child(3),
.step:nth-child(3) { transition-delay: 200ms; }

@media (max-width: 1050px) {
  :root { --shell: min(100% - 52px, 940px); }

  .site-header {
    grid-template-columns: 140px 1fr 150px;
    padding-inline: 26px;
  }

  .primary-nav { gap: 20px; }
  .primary-nav a { font-size: 9px; }
  .hero__copy { width: 66vw; }
  .hero__seal { right: 31%; }
  .contract-bar { width: calc(100% - 52px); }

  .oath-strip > div { padding-inline: 28px; }
  .lore__grid { gap: 70px; }
  .lore__art { min-height: 590px; }
}

@media (max-width: 820px) {
  :root { --shell: calc(100vw - 40px); }

  .site-header {
    grid-template-columns: 1fr auto;
    height: 78px;
    padding-inline: 20px;
  }

  .brand { width: 120px; }
  .header-cta { display: none; }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
  }

  .menu-toggle > span:not(.sr-only) {
    width: 18px;
    height: 1px;
    background: #fff;
    transition: transform 200ms ease;
  }

  .menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

  .primary-nav {
    position: fixed;
    top: -35px;
    right: auto;
    bottom: auto;
    left: -20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: calc(100vw + 40px);
    height: 100svh;
    padding: 140px 38px 40px;
    background: rgba(7, 9, 11, 0.98);
    backdrop-filter: blur(20px);
    transform: translate3d(100%, 0, 0);
    transition: transform 360ms cubic-bezier(0.76, 0, 0.24, 1);
  }

  .primary-nav.is-open { transform: translate3d(0, 0, 0); }
  .primary-nav a { padding: 22px 0; border-bottom: 1px solid var(--line); font: 600 24px var(--display); }
  .primary-nav a::after { display: none; }

  .hero {
    min-height: 820px;
    height: 100svh;
  }

  .hero__backdrop img { object-position: 68% center; }
  .hero__vignette {
    background: linear-gradient(90deg, rgba(5, 7, 9, 0.94), rgba(5, 7, 9, 0.45) 72%), linear-gradient(0deg, rgba(5, 7, 9, 0.98), transparent 50%);
  }

  .hero__content { padding-top: 20px; }
  .hero__copy { width: min(650px, 86vw); }
  .hero h1 { font-size: clamp(52px, 11vw, 78px); }
  .hero__seal { display: none; }

  .contract-bar {
    grid-template-columns: 155px 1fr;
    width: calc(100% - 40px);
    padding-inline: 18px;
  }

  .contract-status { padding-left: 20px; }

  .oath-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .oath-strip > div { min-height: 110px; border-bottom: 1px solid var(--line); }

  .trade-panel__grid { grid-template-columns: 1fr; gap: 52px; }
  .trade-panel__copy { max-width: 680px; }
  .trade-card { max-width: 680px; }

  .lore__grid { grid-template-columns: 1fr; }
  .lore__art { width: min(540px, 90%); min-height: 650px; margin-inline: auto; }
  .lore__content { max-width: 680px; }

  .steps { grid-template-columns: 1fr; }
  .step { min-height: 290px; }
  .step__icon { margin: 42px 0 30px; }

  .gallery-stage { grid-template-columns: 1fr; min-height: 0; }
  .gallery-feature { height: 560px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
  .gallery-meta { min-height: 310px; padding: 36px; }

  .meme-stories__head { display: block; }
  .meme-stories__head > p { margin-top: 24px; }
  .meme-stories__grid { grid-template-columns: 1fr; }
  .meme-story,
  .meme-story--dip { min-height: 620px; margin-top: 0; }

  .gallery-filmstrip { grid-template-columns: repeat(6, 130px); }

  .gallery-conversion { align-items: flex-start; flex-direction: column; }

  .community { min-height: 650px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__top > p { display: none; }
}

@media (max-width: 560px) {
  .war-cry { height: 30px; line-height: 30px; }
  .war-cry i { margin-block: 13px; }
  .site-header { top: 30px; }

  .hero {
    min-height: 760px;
    height: 100svh;
    align-items: flex-end;
    padding-bottom: 122px;
  }

  .hero__backdrop img { object-position: 72% center; }
  .hero__vignette {
    background: linear-gradient(0deg, rgba(5, 7, 9, 1) 0%, rgba(5, 7, 9, 0.88) 44%, rgba(5, 7, 9, 0.15) 80%), linear-gradient(90deg, rgba(5, 7, 9, 0.65), rgba(5, 7, 9, 0.08));
  }

  .hero__content { padding-top: 0; }
  .hero__copy { width: 100%; }
  .hero h1 { font-size: clamp(43px, 13.7vw, 66px); }
  .hero__copy > p { margin: 20px 0 24px; font-size: 12px; line-height: 1.65; }
  .hero__actions { flex-direction: column; gap: 10px; align-items: stretch; }
  .hero__actions .button { min-height: 52px; padding-inline: 19px; }
  .hero__actions .text-link { justify-content: center; }

  .contract-bar {
    grid-template-columns: 1fr;
    min-height: 78px;
    padding: 10px 15px;
  }

  .contract-bar__label { display: none; }
  .contract-status { gap: 10px; padding: 12px 0; }
  .contract-status code { font-size: 10px; }
  .contract-status > span { font-size: 8px; }

  .oath-strip { grid-template-columns: repeat(2, 1fr); }
  .oath-strip > div { min-height: 92px; padding: 20px; }
  .oath-strip strong { font-size: 15px; }
  .oath-strip__vow { grid-column: span 2; }

  .section { padding: 100px 0; }
  .trade-panel { padding-block: 92px; }
  .trade-panel__grid { gap: 40px; }
  .trade-panel__copy h2 { font-size: 45px; }
  .trade-panel__facts { gap: 10px; }
  .trade-panel__facts span { width: 100%; }
  .trade-card { min-height: 0; padding: 28px 20px; }
  .trade-card__status { margin-bottom: 30px; }
  .trade-card__pair { padding: 18px 15px; }
  .trade-card__pair > span { font-size: 18px; }
  .lore__grid { gap: 80px; }
  .lore__art { min-height: 500px; }
  .rune { width: 48px; height: 48px; }
  .section-heading h2 { font-size: 40px; }
  .tenet { grid-template-columns: 40px 1fr; }

  .meme-stories__head { margin-bottom: 42px; }
  .meme-story,
  .meme-story--dip { min-height: 440px; }
  .meme-story__index { top: 16px; left: 16px; }
  .meme-story__caption { padding: 25px 22px; }
  .meme-story__caption h3,
  .meme-story--dip .meme-story__caption h3 { font-size: 34px; }
  .meme-stories__footer { align-items: stretch; flex-direction: column; }
  .meme-stories__footer .button { width: 100%; }

  .battle-cry { min-height: 300px; }
  .battle-cry h2 { font-size: 72px; }

  .steps { margin-top: 50px; }
  .step { padding: 28px; }
  .how__cta,
  .community__actions { flex-direction: column; align-items: stretch; }
  .how__cta .text-link { justify-content: center; }

  .chronicles__head { display: block; margin-bottom: 45px; }
  .chronicles__head > p { margin-top: 25px; text-align: left; }

  .gallery-experience { padding: 8px; }
  .gallery-feature { height: 430px; }
  .gallery-feature figcaption { right: 18px; bottom: 18px; left: 18px; }
  .gallery-meta { min-height: 300px; padding: 28px; }
  .gallery-meta h3 { font-size: 32px; }
  .gallery-meta__copy p { font-size: 11px; }
  .gallery-filmstrip {
    display: flex;
    gap: 8px;
    margin-right: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .gallery-filmstrip::-webkit-scrollbar { display: none; }
  .gallery-thumb {
    flex: 0 0 128px;
    height: 92px;
    scroll-snap-align: start;
  }

  .gallery-link { margin-top: 36px; }
  .gallery-conversion { gap: 23px; margin-top: 38px; padding: 24px 20px; }
  .gallery-conversion .button { width: 100%; }

  .community { min-height: 660px; }
  .community__backdrop { object-position: 64% center; }
  .community h2 { font-size: 58px; }

  .site-footer__top { min-height: 125px; }
  .brand--footer { width: 135px; }
  .site-footer__bottom { grid-template-columns: 1fr auto; padding: 24px 0; }
  .site-footer__bottom p { grid-column: span 2; grid-row: 2; text-align: left; }

  .mobile-conversion-bar {
    position: fixed;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
    padding: 11px 13px 11px 16px;
    color: #fff;
    background: rgba(10, 13, 15, 0.94);
    border: 1px solid rgba(235, 116, 64, 0.42);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(25px);
    transition: opacity 240ms ease, transform 240ms ease;
  }

  .mobile-conversion-bar.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-conversion-bar > span {
    font: 600 11px/1.25 var(--display);
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .mobile-conversion-bar small {
    display: block;
    margin-bottom: 4px;
    color: #748188;
    font: 800 7px var(--body);
    letter-spacing: 0.16em;
  }

  .mobile-conversion-bar b {
    flex: 0 0 auto;
    padding: 13px 14px;
    background: var(--ember);
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-conversion-bar i { color: var(--ember-hot); font-style: normal; }

}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
