:root {
  --paper: #f2e7cf;
  --paper-bright: #fff8e9;
  --paper-deep: #d7c39d;
  --ink: #18120d;
  --ink-soft: #4a3d30;
  --sea: #173a44;
  --sea-deep: #0a252c;
  --terracotta: #b84e2d;
  --yellow: #ffc928;
  --yellow-soft: #ffdf75;
  --line: rgba(24, 18, 13, 0.24);
  --content: min(1180px, calc(100vw - 48px));
  --header-height: 72px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

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

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

button {
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper-bright);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(24, 18, 13, 0.16);
  background: rgba(242, 231, 207, 0.9);
  backdrop-filter: blur(14px);
}

.site-nav {
  position: relative;
  width: var(--content);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand-mark {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-figure {
  position: relative;
  width: 18px;
  height: 27px;
  border: 2px solid var(--ink);
  border-radius: 50% 50% 44% 44%;
  background: var(--yellow);
  transform: rotate(4deg);
}

.brand-figure::before,
.brand-figure::after {
  position: absolute;
  top: 7px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--ink);
  content: "";
}

.brand-figure::before {
  left: 4px;
}

.brand-figure::after {
  right: 4px;
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
}

.desktop-nav a,
.nav-community-link {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--terracotta);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-community-link {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: background-color 160ms ease, color 160ms ease;
}

.nav-community-link:hover {
  background: var(--ink);
  color: var(--paper-bright);
}

.menu-toggle {
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 0;
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 6px auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

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

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

.mobile-nav {
  position: absolute;
  top: calc(100% + 1px);
  right: -24px;
  left: -24px;
  padding: 22px 24px 28px;
  border-bottom: 1px solid var(--ink);
  background: var(--paper-bright);
  box-shadow: 0 16px 26px rgba(24, 18, 13, 0.12);
}

.mobile-nav a {
  min-height: 50px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}

.mobile-nav p {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 18px;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.2em;
  line-height: 1.35;
  text-transform: uppercase;
}

.button {
  min-height: 50px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid currentColor;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--paper {
  border-color: var(--paper-bright);
  background: var(--paper-bright);
  color: var(--ink);
}

.button--paper:hover {
  background: var(--yellow);
}

.button--ink {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-bright);
}

.button--ink:hover {
  background: var(--terracotta);
}

.button--yellow {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

.button--yellow:hover {
  border-color: var(--paper-bright);
  background: var(--paper-bright);
}

.text-link {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform-origin: right;
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: scaleX(0.35);
}

.text-link--paper {
  color: var(--paper-bright);
}

.odyssey-hero {
  position: relative;
  height: max(760px, 100svh);
  min-height: 760px;
  isolation: isolate;
  overflow: hidden;
  background: #08263a;
  color: var(--paper-bright);
}

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

.hero-picture {
  z-index: 0;
  display: block;
  pointer-events: none;
}

.hero-picture img {
  object-fit: cover;
  object-position: center;
}

.hero-wash {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 25, 33, 0.94) 0%, rgba(5, 25, 33, 0.7) 31%, rgba(5, 25, 33, 0.1) 61%, rgba(5, 25, 33, 0) 78%),
    linear-gradient(0deg, rgba(5, 25, 33, 0.76) 0%, rgba(5, 25, 33, 0) 40%),
    linear-gradient(180deg, rgba(5, 25, 33, 0.28), transparent 30%);
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  top: 50%;
  left: max(24px, calc((100vw - min(1180px, calc(100vw - 48px))) / 2));
  z-index: 2;
  width: min(690px, calc(100vw - 48px));
  transform: translateY(-45%);
}

.hero-copy .eyebrow {
  color: var(--yellow-soft);
}

.hero-copy h1,
.atlas-section h2,
.footer-mark {
  font-family: Georgia, "Times New Roman", serif;
}

.hero-copy h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(3.5rem, 6.6vw, 6.75rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.88;
  text-wrap: balance;
}

.hero-lead {
  max-width: 470px;
  margin: 28px 0 0;
  color: rgba(255, 248, 233, 0.86);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.55;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-disclosure {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 2;
  margin: 0;
  color: rgba(255, 248, 233, 0.72);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.atlas-section {
  position: relative;
  padding: 124px max(24px, calc((100vw - min(1180px, calc(100vw - 48px))) / 2));
}

.atlas-section h2 {
  margin: 0;
  font-size: clamp(3rem, 6.3vw, 6.25rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.93;
  text-wrap: balance;
}

.section-kicker {
  position: absolute;
  top: 46px;
  right: max(24px, calc((100vw - min(1180px, calc(100vw - 48px))) / 2));
  color: rgba(24, 18, 13, 0.48);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lore-section {
  min-height: 830px;
  padding-bottom: 190px;
  background:
    radial-gradient(circle at 79% 20%, rgba(255, 201, 40, 0.26), transparent 25%),
    repeating-linear-gradient(0deg, transparent 0 44px, rgba(24, 18, 13, 0.026) 45px),
    var(--paper);
  overflow: hidden;
}

.lore-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.65fr);
  gap: clamp(50px, 8vw, 130px);
  align-items: start;
}

.lore-layout h2 {
  max-width: 750px;
}

.lore-copy {
  padding-top: 32px;
}

.lore-copy > p {
  margin: 0 0 24px;
  color: var(--ink-soft);
}

.lore-copy .lore-lead {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.25vw, 1.9rem);
  line-height: 1.35;
}

.archive-section {
  background:
    linear-gradient(rgba(255, 248, 233, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 248, 233, 0.025) 1px, transparent 1px),
    var(--sea-deep);
  background-size: 42px 42px;
  color: var(--paper-bright);
}

.archive-heading {
  margin-bottom: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: clamp(44px, 8vw, 120px);
  align-items: end;
}

.archive-heading h2 {
  max-width: 800px;
}

.archive-intro > p {
  margin: 0 0 24px;
  color: rgba(255, 248, 233, 0.72);
}

.shuffle-button {
  min-height: 50px;
  padding: 0 18px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 248, 233, 0.45);
  background: transparent;
  color: var(--paper-bright);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.shuffle-button span {
  min-height: 48px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border-right: 1px solid rgba(255, 248, 233, 0.45);
  color: var(--yellow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.86rem;
}

.shuffle-button:hover {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

.shuffle-button:hover span {
  border-color: var(--ink);
  color: var(--ink);
}

.archive-mosaic {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 24px);
  grid-auto-flow: dense;
  list-style: none;
}

.archive-plate {
  grid-column: span 4;
}

.archive-plate.plate--seven {
  grid-column: span 7;
}

.archive-plate.plate--five {
  grid-column: span 5;
}

.archive-plate.plate--four {
  grid-column: span 4;
}

.archive-plate figure {
  position: relative;
  margin: 0;
  border: 1px solid rgba(255, 248, 233, 0.16);
  background: #061a20;
  overflow: hidden;
}

.archive-plate img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: filter 260ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.archive-plate figcaption {
  min-height: 64px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper-bright);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
}

.archive-plate figcaption span {
  color: var(--terracotta);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.archive-plate figure:hover img {
  filter: saturate(1.07) contrast(1.03);
  transform: scale(1.025);
}

.archive-mosaic.is-shuffling .archive-plate {
  animation: paperShuffle 420ms ease both;
}

@keyframes paperShuffle {
  0% { opacity: 0.6; transform: translateY(10px) rotate(0.4deg); }
  100% { opacity: 1; transform: none; }
}

.chart-section {
  min-height: 850px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 201, 40, 0.32), transparent 22%),
    var(--paper);
}

.chart-intro {
  margin-bottom: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: clamp(44px, 8vw, 120px);
  align-items: end;
}

.chart-intro h2 {
  max-width: 780px;
}

.chart-intro > p {
  margin: 0;
  color: var(--ink-soft);
}

.chart-shell {
  position: relative;
  border: 1px solid var(--ink);
  box-shadow: 14px 14px 0 var(--sea);
  background: var(--paper-bright);
}

.chart-facade {
  min-height: 320px;
  padding: 36px 24px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(24, 18, 13, 0.07) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, rgba(24, 18, 13, 0.07) 50%, transparent 50.2%);
  background-size: 52px 52px;
}

.chart-facade-label {
  margin: 0 0 8px;
  color: var(--terracotta);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.chart-facade h3 {
  max-width: 700px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
}

.chart-facade > p:not(.chart-facade-label) {
  max-width: 530px;
  margin: 18px 0 28px;
  color: var(--ink-soft);
}

.chart-identities {
  width: min(920px, 100%);
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.chart-facade .pair-reference {
  min-width: 0;
  margin: 0;
  padding: 12px 14px;
  display: grid;
  gap: 3px;
  border: 1px solid rgba(24, 18, 13, 0.28);
  background: rgba(255, 248, 233, 0.82);
}

.pair-reference span {
  color: var(--terracotta);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pair-reference--token span {
  color: #667a36;
}

.pair-reference code {
  color: var(--ink);
  font-size: clamp(0.68rem, 1.3vw, 0.83rem);
  overflow-wrap: anywhere;
}

.pair-reference small {
  color: var(--ink-soft);
  font-size: 0.68rem;
  line-height: 1.4;
}

.chart-facade .text-link {
  margin-top: 12px;
}

.chart-frame-wrap {
  min-height: 660px;
  background: #11181b;
}

.chart-toolbar {
  min-height: 74px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 248, 233, 0.18);
  color: var(--paper-bright);
}

.chart-toolbar p {
  min-width: 0;
  margin: 0;
  display: grid;
  gap: 2px;
}

.chart-toolbar p span {
  color: var(--yellow);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.chart-toolbar code {
  font-size: 0.72rem;
  overflow-wrap: anywhere;
}

.chart-toolbar > div {
  display: flex;
  gap: 8px;
}

.chart-toolbar a,
.chart-toolbar button {
  min-height: 42px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 248, 233, 0.4);
  background: transparent;
  color: var(--paper-bright);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.chart-toolbar a:hover,
.chart-toolbar button:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.chart-frame iframe {
  width: 100%;
  height: 650px;
  display: block;
  border: 0;
  background: #11181b;
}

.buy-section {
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 201, 40, 0.19), transparent 20%),
    var(--sea-deep);
  color: var(--paper-bright);
}

.buy-heading {
  max-width: 850px;
}

.buy-heading h2 {
  margin-bottom: 30px;
}

.buy-heading > p:last-child {
  max-width: 670px;
  margin: 0;
  color: rgba(255, 248, 233, 0.72);
}

.contract-panel {
  margin-top: 66px;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(255, 248, 233, 0.35);
  background: rgba(255, 248, 233, 0.055);
}

.contract-label {
  margin: 0 0 8px;
  color: var(--yellow);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contract-panel code {
  display: block;
  color: var(--paper-bright);
  font-size: clamp(0.74rem, 1.45vw, 0.98rem);
  overflow-wrap: anywhere;
}

.contract-note {
  margin: 8px 0 0;
  color: rgba(255, 248, 233, 0.62);
  font-size: 0.72rem;
}

.contract-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.contract-actions button,
.contract-actions a {
  min-height: 48px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 248, 233, 0.45);
  background: transparent;
  color: var(--paper-bright);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.contract-actions button:hover,
.contract-actions a:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.contract-actions button[data-state="copied"] {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

.buy-steps {
  margin: 66px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 248, 233, 0.28);
  border-left: 1px solid rgba(255, 248, 233, 0.28);
  list-style: none;
}

.buy-steps li {
  min-height: 230px;
  padding: clamp(24px, 3.5vw, 44px);
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  border-right: 1px solid rgba(255, 248, 233, 0.28);
  border-bottom: 1px solid rgba(255, 248, 233, 0.28);
}

.buy-steps li > span {
  color: var(--yellow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.buy-steps h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.buy-steps p {
  margin: 0;
  color: rgba(255, 248, 233, 0.67);
  font-size: 0.9rem;
}

.buy-actions {
  margin-top: 42px;
  display: grid;
  gap: 20px;
}

.referral-action {
  width: min(920px, 100%);
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255, 248, 233, 0.38);
  background: rgba(255, 248, 233, 0.055);
}

.referral-label {
  display: block;
  color: rgba(255, 248, 233, 0.72);
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.referral-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.referral-copy code {
  color: var(--paper-bright);
  font-size: clamp(0.82rem, 1.4vw, 1rem);
  overflow-wrap: anywhere;
}

.referral-copy small {
  color: rgba(255, 248, 233, 0.62);
  font-size: 0.72rem;
  line-height: 1.45;
}

.buy-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.referral-disclosure {
  max-width: 900px;
  margin: 32px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--yellow);
  background: rgba(255, 248, 233, 0.06);
  color: rgba(255, 248, 233, 0.67);
  font-size: 0.76rem;
}

.referral-disclosure strong {
  color: var(--paper-bright);
}

.community-section {
  background:
    linear-gradient(115deg, rgba(255, 201, 40, 0.32), transparent 48%),
    repeating-linear-gradient(90deg, transparent 0 88px, rgba(24, 18, 13, 0.025) 89px),
    var(--paper);
}

.community-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.45fr);
  gap: clamp(50px, 8vw, 130px);
  align-items: end;
}

.community-layout h2 {
  max-width: 760px;
}

.community-layout > div > p {
  margin: 0 0 28px;
  color: var(--ink-soft);
}

.community-button {
  min-height: 58px;
  padding: 0 20px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper-bright);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.community-button span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(255, 248, 233, 0.3);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.community-button:hover {
  background: var(--yellow);
  color: var(--ink);
  transform: translateY(-2px);
}

.community-button:hover span {
  border-color: var(--ink);
}

.site-footer {
  padding: 72px max(24px, calc((100vw - min(1180px, calc(100vw - 48px))) / 2)) 38px;
  background: var(--ink);
  color: var(--paper-bright);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: clamp(40px, 4vw, 72px);
  align-items: start;
}

.footer-mark {
  display: inline-block;
  min-width: 0;
  color: var(--yellow);
  font-size: clamp(2.25rem, 4vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.9;
  text-decoration: none;
  white-space: nowrap;
}

.footer-top > p {
  min-width: 0;
  max-width: 700px;
  margin: 0;
  color: rgba(255, 248, 233, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.3vw, 1.8rem);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.footer-links {
  margin-top: 54px;
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  border-top: 1px solid rgba(255, 248, 233, 0.18);
  border-bottom: 1px solid rgba(255, 248, 233, 0.18);
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--paper-bright);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-notes {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.footer-notes p,
.copyright {
  margin: 0;
  color: rgba(255, 248, 233, 0.66);
  font-size: 0.78rem;
  line-height: 1.65;
}

.copyright {
  margin-top: 28px;
  color: rgba(255, 248, 233, 0.54);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.noscript-notice {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 200;
  padding: 14px 18px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.error-page {
  min-height: 100svh;
  background: var(--sea-deep);
  color: var(--paper-bright);
}

.error-page .site-header {
  position: absolute;
}

.error-page .nav-community-link {
  margin-left: auto;
}

.error-main {
  position: relative;
  min-height: 100svh;
  padding: 150px max(24px, calc((100vw - min(1180px, calc(100vw - 48px))) / 2)) 70px;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.error-main::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("images/hero-odyssey.webp") center / cover no-repeat;
  content: "";
}

.error-main::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 25, 33, 0.97), rgba(5, 25, 33, 0.7) 48%, rgba(5, 25, 33, 0.2));
  content: "";
}

.error-copy {
  max-width: 720px;
}

.error-code {
  margin: 0 0 6px;
  color: var(--yellow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.5rem, 12vw, 9rem);
  font-weight: 700;
  line-height: 0.8;
}

.error-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.8rem);
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.error-copy > p:not(.error-code) {
  max-width: 530px;
  margin: 28px 0 0;
  color: rgba(255, 248, 233, 0.78);
  font-size: 1.08rem;
}

.error-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
}

@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-community-link {
    margin-left: auto;
  }

  .hero-copy h1 {
    font-size: clamp(3.5rem, 8.2vw, 6rem);
  }

  .odyssey-hero {
    height: 940px;
    min-height: 940px;
  }

  .hero-picture img {
    object-position: center;
  }

  .hero-wash {
    background:
      linear-gradient(180deg, rgba(5, 25, 33, 0.96) 0%, rgba(5, 25, 33, 0.46) 44%, rgba(5, 25, 33, 0.12) 66%, rgba(5, 25, 33, 0.78) 100%),
      linear-gradient(90deg, rgba(5, 25, 33, 0.38), transparent);
  }

  .hero-copy {
    top: 112px;
    left: max(20px, calc((100vw - min(1180px, calc(100vw - 48px))) / 2));
    width: min(690px, calc(100vw - 40px));
    transform: none;
  }

  .lore-layout,
  .archive-heading,
  .chart-intro,
  .community-layout {
    grid-template-columns: 1fr;
  }

  .lore-copy,
  .archive-intro,
  .chart-intro > p,
  .community-layout > div {
    max-width: 680px;
  }

  .lore-copy {
    padding-top: 0;
  }

  .archive-heading,
  .chart-intro {
    align-items: start;
  }
}

@media (max-width: 760px) {
  :root {
    --content: calc(100vw - 40px);
    --header-height: 64px;
  }

  .nav-community-link {
    display: none;
  }

  .mobile-nav {
    right: -20px;
    left: -20px;
  }

  .odyssey-hero {
    height: 940px;
    min-height: 940px;
  }

  .hero-picture img {
    object-position: center;
  }

  .hero-picture {
    inset: 270px 0 0;
    height: auto;
  }

  .hero-wash {
    background:
      linear-gradient(180deg, rgba(5, 25, 33, 0.96) 0%, rgba(5, 25, 33, 0.46) 44%, rgba(5, 25, 33, 0.12) 66%, rgba(5, 25, 33, 0.78) 100%),
      linear-gradient(90deg, rgba(5, 25, 33, 0.38), transparent);
  }

  .hero-copy {
    top: 112px;
    left: 20px;
    width: calc(100vw - 40px);
    transform: none;
  }

  .hero-copy h1 {
    max-width: 560px;
    font-size: clamp(3rem, 13.4vw, 4.8rem);
  }

  .hero-lead {
    max-width: 390px;
    margin-top: 20px;
  }

  .hero-actions {
    margin-top: 24px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .hero-disclosure {
    right: 18px;
    bottom: 16px;
    left: 18px;
    text-align: center;
  }

  .atlas-section {
    padding: 92px 20px;
  }

  .atlas-section h2 {
    font-size: clamp(2.8rem, 14vw, 4.8rem);
  }

  .section-kicker {
    top: 30px;
    right: 20px;
  }

  .lore-section {
    min-height: auto;
    padding-bottom: 145px;
  }

  .archive-heading {
    margin-bottom: 45px;
    gap: 28px;
  }

  .archive-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .archive-plate,
  .archive-plate.plate--seven,
  .archive-plate.plate--five,
  .archive-plate.plate--four {
    grid-column: span 1;
  }

  .archive-plate:nth-child(3n + 1) {
    grid-column: span 2;
  }

  .archive-plate figcaption {
    min-height: 58px;
    padding: 11px 12px;
    font-size: 0.88rem;
  }

  .chart-intro {
    margin-bottom: 36px;
    gap: 24px;
  }

  .chart-shell {
    box-shadow: 8px 8px 0 var(--sea);
  }

  .chart-facade {
    min-height: 300px;
    padding: 34px 18px;
  }

  .chart-identities {
    grid-template-columns: 1fr;
  }

  .chart-frame-wrap {
    min-height: 72svh;
  }

  .chart-toolbar {
    padding: 10px;
    align-items: flex-start;
    flex-direction: column;
  }

  .chart-toolbar > div {
    width: 100%;
  }

  .chart-toolbar a,
  .chart-toolbar button {
    flex: 1;
    justify-content: center;
    text-align: center;
  }

  .chart-frame iframe {
    height: 66svh;
    min-height: 520px;
  }

  .contract-panel {
    grid-template-columns: 1fr;
  }

  .contract-actions {
    align-items: stretch;
  }

  .contract-actions button,
  .contract-actions a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .buy-steps {
    grid-template-columns: 1fr;
  }

  .buy-steps li {
    min-height: 0;
  }

  .buy-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-top,
  .footer-notes {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 52px 20px 34px;
  }

  .error-main {
    padding: 125px 20px 54px;
  }

  .error-main::before {
    background-image: url("images/hero-odyssey-mobile.webp");
  }
}

@media (max-width: 480px) {
  .hero-copy h1 {
    font-size: clamp(2.75rem, 13.8vw, 4rem);
  }

  .hero-copy .eyebrow {
    max-width: 280px;
  }

  .archive-mosaic {
    grid-template-columns: 1fr;
  }

  .archive-plate,
  .archive-plate:nth-child(3n + 1),
  .archive-plate.plate--seven,
  .archive-plate.plate--five,
  .archive-plate.plate--four {
    grid-column: span 1;
  }

  .shuffle-button {
    width: 100%;
  }

  .contract-actions {
    flex-direction: column;
  }

  .buy-steps li {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .referral-action {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .referral-action .button {
    width: 100%;
  }

  .buy-secondary-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .buy-secondary-actions .text-link {
    width: 100%;
  }

  .community-button {
    width: 100%;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-mark {
    white-space: normal;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .archive-plate img,
  .button,
  .community-button {
    transform: none !important;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .shuffle-button,
  .chart-shell,
  .buy-actions,
  .community-button,
  .noscript-notice {
    display: none !important;
  }

  .odyssey-hero {
    height: auto;
    min-height: 0;
    padding: 64px 32px;
    background: white;
    color: black;
  }

  .hero-picture,
  .hero-wash,
  .hero-disclosure {
    display: none;
  }

  .hero-copy {
    position: static;
    width: auto;
    transform: none;
  }

  .hero-lead {
    color: black;
  }

  .atlas-section,
  .site-footer {
    padding: 48px 32px;
  }
}
