@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-v21-latin-500.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-v23-latin-400.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --black: #050504;
  --ink: #0b0907;
  --ivory: #e8dbc0;
  --parchment: #cdb985;
  --gold: #b99a58;
  --gold-dim: rgba(185, 154, 88, 0.54);
  --gold-faint: rgba(185, 154, 88, 0.2);
  --oxblood: rgba(63, 8, 13, 0.5);
  --smoke: rgba(217, 211, 199, 0.18);
  --rail-left-width: 9.25rem;
  --rail-content-gap: clamp(1.25rem, 2.4vw, 2.25rem);
  --hero-content-left: calc(var(--rail-left-width) + var(--rail-content-gap));
  --rail-right-offset: 3.8rem;
  --rail-right-width: 5.8rem;
  --rail-content-gap-right: clamp(1rem, 2vw, 1.8rem);
  --rail-content-gap-right-extra: 0rem;
  --hero-content-right: calc(var(--rail-right-offset) + var(--rail-right-width) + var(--rail-content-gap-right) + var(--rail-content-gap-right-extra));
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-registry: "IBM Plex Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--font-registry);
}

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

a:focus-visible,
button:focus-visible,
.story-register:focus-visible,
.legal-register:focus-visible {
  outline: 1px solid rgba(232, 219, 192, 0.88);
  outline-offset: 0.32rem;
}

a:focus-visible {
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  left: max(1rem, env(safe-area-inset-left, 1rem));
  width: auto;
  height: auto;
  overflow: visible;
  z-index: 9999;
  padding: 0.5rem 1.1rem;
  background: var(--black);
  color: var(--ivory);
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-family: var(--font-registry);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.6);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.registry-text {
  font-family: var(--font-registry);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site {
  min-height: 100svh;
  overflow-x: clip;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 8%, rgba(248, 232, 191, 0.28) 0%, rgba(224, 197, 135, 0.13) 21%, rgba(224, 197, 135, 0) 48%),
    linear-gradient(135deg, rgba(247, 226, 180, 0.12) 0%, rgba(247, 226, 180, 0.06) 22%, rgba(0, 0, 0, 0) 52%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.06) 24%, rgba(0, 0, 0, 0) 53%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0) 46%, rgba(0, 0, 0, 0.21) 100%),
    url("/assets/imperivm-hero-register-chamber.png") center / cover no-repeat #050504;
}

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

.hero::before {
  background:
    radial-gradient(ellipse at 82% 14%, rgba(255, 238, 197, 0.24) 0%, rgba(255, 238, 197, 0.12) 20%, rgba(255, 238, 197, 0) 46%),
    radial-gradient(ellipse at 73% 66%, rgba(3, 2, 1, 0.24) 0%, rgba(3, 2, 1, 0.14) 20%, rgba(3, 2, 1, 0.04) 35%, rgba(3, 2, 1, 0) 51%),
    radial-gradient(ellipse at 58% 52%, rgba(239, 214, 147, 0.18) 0%, rgba(239, 214, 147, 0) 34%),
    radial-gradient(ellipse at 12% 86%, rgba(63, 8, 13, 0.14) 0%, rgba(63, 8, 13, 0) 28%);
}

.hero::after {
  background:
    linear-gradient(270deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.53) 6.75rem, rgba(0, 0, 0, 0.27) 14.5rem, rgba(0, 0, 0, 0) 24.5rem),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 17%, rgba(0, 0, 0, 0) 84%, rgba(0, 0, 0, 0.06) 100%),
    radial-gradient(ellipse at 70% 18%, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.03) 58%, rgba(0, 0, 0, 0.19) 100%);
}

.hero-copy {
  position: absolute;
  left: var(--hero-content-left);
  right: var(--hero-content-right);
  top: 18svh;
  z-index: 2;
  max-width: 78rem;
  display: grid;
  align-content: start;
  text-shadow: 0 0.08em 0.32em rgba(0, 0, 0, 0.7);
}

.eyebrow {
  margin: 0 0 2.35rem clamp(12rem, 17vw, 18.5rem);
  color: rgba(185, 154, 88, 0.56);
  font-size: 0.88rem;
}

h1 {
  margin: 0;
  color: var(--parchment);
  font-size: clamp(8.75rem, 14.5vw, 13.4rem);
  line-height: 0.76;
}

.subline,
.motto {
  margin: 0;
  padding-left: 0.28rem;
  font-family: var(--font-display);
  color: var(--parchment);
}

.subline {
  margin-top: 1.85rem;
  font-size: 1.82rem;
  line-height: 1.1;
}

.subline span {
  display: block;
}

.subline span + span {
  margin-top: 0.18rem;
}

.motto {
  margin-top: 0.48rem;
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.2;
}

.rail {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  color: var(--gold);
  font-size: 0.82rem;
  pointer-events: none;
}

.rail-left {
  left: 0;
  width: var(--rail-left-width);
  border-right: 1px solid var(--gold-faint);
  padding: 2.25rem 1.85rem;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto auto 1fr auto;
  row-gap: 1.85rem;
}

.rail-brand,
.folio {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.rail-brand span,
.folio span {
  color: rgba(185, 154, 88, 0.84);
  font-size: 0.7rem;
}

.folio strong {
  color: rgba(232, 219, 192, 0.78);
  font-family: var(--font-registry);
  font-size: 0.84rem;
  font-weight: 400;
}

.rule {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: var(--gold-dim);
}

.rule-long {
  width: 1px;
  height: 13rem;
  margin-left: 0.95rem;
}

.seal-mark {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid rgba(185, 154, 88, 0.62);
  border-radius: 50%;
  color: rgba(232, 219, 192, 0.86);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0;
}

.rail-right {
  right: var(--rail-right-offset);
  width: var(--rail-right-width);
  border-left: 1px solid var(--gold-faint);
}

.corner-mark {
  position: absolute;
  top: 2.15rem;
  right: -2.62rem;
  width: 0.68rem;
  aspect-ratio: 1;
  border: 1px solid rgba(232, 219, 192, 0.46);
  opacity: 0.76;
  transform: rotate(45deg);
}

.corner-mark::after {
  content: "";
  position: absolute;
  inset: 0.18rem;
  border: 1px solid rgba(185, 154, 88, 0.34);
}

.lower-mark {
  top: auto;
  bottom: 2.15rem;
}

.vertical-text {
  position: absolute;
  top: 5.2rem;
  right: -2.55rem;
  writing-mode: vertical-rl;
  color: rgba(232, 219, 192, 0.84);
  font-size: 0.82rem;
  line-height: 1.8;
}

.vertical-text.lower {
  top: auto;
  right: -2.45rem;
  bottom: 8.8rem;
}

.registry-links {
  position: absolute;
  bottom: 2.3rem;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: center;
  color: rgba(232, 219, 192, 0.88);
  font-size: 0.84rem;
  line-height: 1.2;
}

.social-links {
  left: var(--hero-content-left);
  max-width: min(42rem, calc(100vw - 36rem));
}

.legal-links {
  right: var(--hero-content-right);
  justify-content: flex-end;
  max-width: 18rem;
  gap: 1rem 1.35rem;
  color: rgba(232, 219, 192, 0.84);
}

.language-links {
  top: 2.1rem;
  right: var(--hero-content-right);
  bottom: auto;
  width: fit-content;
  height: fit-content;
  gap: 0.35rem;
  color: rgba(232, 219, 192, 0.76);
  font-size: 0.72rem;
}

.legal-links::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: rgba(185, 154, 88, 0.32);
}

.legal-links a {
  display: inline-flex;
  min-height: 2.55rem;
  align-items: center;
  border-radius: 999px;
  padding: 0.42rem 0.34rem 0.38rem;
}

.language-links a {
  display: inline-flex;
  min-width: 2.45rem;
  min-height: 2.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.42rem 0.62rem 0.38rem;
}

.language-links a[aria-current="page"] {
  border-color: rgba(185, 154, 88, 0.42);
  background: rgba(8, 7, 6, 0.34);
  color: rgba(232, 219, 192, 0.92);
}

.legal-links a:hover,
.legal-links a:focus-visible,
.language-links a:hover,
.language-links a:focus-visible {
  background: rgba(8, 7, 6, 0.34);
  box-shadow: inset 0 0 0 1px rgba(185, 154, 88, 0.26);
}

.registry-links a {
  position: relative;
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  padding: 0.34rem 0.12rem 0.4rem;
  transition: color 180ms ease, opacity 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.registry-link-disabled {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: baseline;
  padding: 0.34rem 0;
  color: rgba(185, 154, 88, 0.76);
  cursor: default;
}

.registry-soon {
  color: rgba(232, 219, 192, 0.82);
  font-size: 0.9em;
  margin-left: 0.32rem;
  text-transform: none;
}

.registry-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.34;
  transform: scaleX(0.42);
  transform-origin: left;
  transition: transform 180ms ease, opacity 180ms ease;
}

.registry-links a:hover,
.registry-links a:focus-visible {
  color: var(--ivory);
}

.registry-links a:focus-visible {
  background: rgba(8, 7, 6, 0.42);
  box-shadow: inset 0 0 0 1px rgba(185, 154, 88, 0.34);
}

.registry-links a:hover::after,
.registry-links a:focus-visible::after {
  opacity: 0.8;
  transform: scaleX(1);
}

.register-cta {
  position: static;
  justify-self: start;
  width: fit-content;
  margin-top: 1.65rem;
  z-index: 4;
  display: inline-flex;
  min-width: 18rem;
  min-height: 3.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem;
  border: 1px solid rgba(205, 185, 133, 1);
  border-radius: 999px;
  padding: 0.82rem 0.88rem 0.82rem 1.85rem;
  background: linear-gradient(90deg, rgba(73, 52, 20, 0.46), rgba(8, 7, 6, 0.64));
  color: rgba(232, 219, 192, 0.94);
  font-size: 0.86rem;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(232, 219, 192, 0.08), 0 1rem 2rem rgba(0, 0, 0, 0.42);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.register-cta:hover,
.register-cta:focus-visible {
  color: var(--ivory);
  border-color: rgba(232, 219, 192, 0.86);
  background: linear-gradient(90deg, rgba(91, 66, 27, 0.56), rgba(8, 7, 6, 0.72));
  box-shadow: inset 0 0 0 1px rgba(232, 219, 192, 0.14), 0 1.05rem 2.2rem rgba(0, 0, 0, 0.5);
}

.register-cta:focus-visible {
  outline: 2px solid rgba(232, 219, 192, 0.82);
  outline-offset: 0.28rem;
}

.cta-copy {
  display: grid;
  gap: 0.28rem;
  text-align: left;
}

.cta-helper {
  color: rgba(205, 185, 133, 0.86);
  font-size: 0.7rem;
  line-height: 1.25;
  text-transform: none;
}

.cta-seal {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid rgba(205, 185, 133, 0.78);
  border-radius: 50%;
  font-size: 0.72rem;
  letter-spacing: 0;
}

.story-register,
.regalia-seal {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--black);
  color: rgba(232, 219, 192, 0.84);
}

.story-register {
  border-top: 1px solid rgba(185, 154, 88, 0.28);
  background:
    linear-gradient(180deg, rgba(185, 154, 88, 0.08) 0%, rgba(185, 154, 88, 0) 9rem),
    linear-gradient(90deg, rgba(63, 8, 13, 0.14) 0%, rgba(63, 8, 13, 0) 34%),
    var(--black);
}

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

.story-register::before {
  background:
    linear-gradient(90deg, rgba(185, 154, 88, 0.16) 0, rgba(185, 154, 88, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(185, 154, 88, 0.1) calc(100% - 1px)),
    repeating-linear-gradient(180deg, transparent 0, transparent 3.35rem, rgba(185, 154, 88, 0.08) 3.35rem, rgba(185, 154, 88, 0.08) calc(3.35rem + 1px));
  opacity: 0.5;
}

.story-register__inner {
  position: relative;
  z-index: 1;
  width: min(72rem, calc(100% - 4rem));
  margin: 0 auto;
  padding: clamp(4.75rem, 9vw, 8rem) 0 clamp(4rem, 8vw, 6.5rem);
  display: grid;
  grid-template-columns: minmax(9rem, 0.42fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 6.5rem);
}

.story-register__ledger {
  display: grid;
  align-content: start;
  gap: 1.05rem;
  border-left: 1px solid rgba(185, 154, 88, 0.34);
  padding: 0.28rem 0 0.28rem 1.4rem;
  color: rgba(185, 154, 88, 0.74);
  font-size: 0.72rem;
  line-height: 1.55;
}

.story-register__ledger span {
  display: block;
  max-width: 8.6rem;
}

.story-register__body {
  position: relative;
}

.story-register__body::before {
  content: "";
  position: absolute;
  inset: 7.2rem -5.5rem -2.2rem -5.5rem;
  z-index: -1;
  background:
    radial-gradient(ellipse at 40% 52%, rgba(24, 18, 12, 0.84) 0%, rgba(10, 8, 6, 0.68) 46%, rgba(5, 5, 4, 0) 78%);
  pointer-events: none;
}

.story-register__kicker,
.regalia-seal__kicker {
  margin: 0 0 0.85rem;
  color: rgba(185, 154, 88, 0.78);
  font-size: 0.74rem;
}

.story-register h2,
.regalia-seal h2 {
  margin: 0;
  color: var(--parchment);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.story-register h2 {
  font-size: clamp(3.6rem, 8vw, 7.4rem);
  line-height: 0.82;
}

.story-register__subtitle {
  margin: 0.95rem 0 0;
  color: rgba(232, 219, 192, 0.72);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-style: italic;
  line-height: 1.1;
}

.story-register__copy {
  width: min(42rem, 100%);
  margin-top: clamp(2.2rem, 4vw, 3.35rem);
  display: grid;
  gap: 1.35rem;
  border-top: 1px solid rgba(185, 154, 88, 0.24);
  padding-top: 1.8rem;
}

.story-register__copy p {
  margin: 0;
  color: rgba(232, 219, 192, 0.8);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.25;
}

.story-register__copy p:first-child,
.story-register__copy p:last-child {
  color: rgba(232, 219, 192, 0.92);
}

.regalia-seal {
  border-top: 1px solid rgba(185, 154, 88, 0.18);
  border-bottom: 1px solid rgba(185, 154, 88, 0.2);
  background:
    linear-gradient(180deg, rgba(8, 7, 6, 0.12) 0%, rgba(8, 7, 6, 0.78) 100%),
    linear-gradient(90deg, rgba(185, 154, 88, 0.08) 0%, rgba(185, 154, 88, 0) 58%),
    var(--black);
}

.regalia-seal::before {
  background:
    linear-gradient(90deg, transparent 0, transparent 49.95%, rgba(185, 154, 88, 0.12) 49.95%, rgba(185, 154, 88, 0.12) 50.05%, transparent 50.05%),
    repeating-linear-gradient(90deg, rgba(185, 154, 88, 0.07) 0, rgba(185, 154, 88, 0.07) 1px, transparent 1px, transparent 5.4rem);
  opacity: 0.26;
}

.regalia-seal::after {
  content: "";
  position: absolute;
  top: clamp(2.2rem, 5vw, 4.25rem);
  right: max(2rem, calc((100vw - 72rem) / 2));
  z-index: -1;
  width: clamp(10rem, 24vw, 18rem);
  aspect-ratio: 1;
  border: 1px solid rgba(185, 154, 88, 0.15);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 31%, rgba(185, 154, 88, 0.1) 31.4% 32%, transparent 32.4% 55%, rgba(185, 154, 88, 0.08) 55.4% 56%, transparent 56.4%),
    linear-gradient(90deg, transparent 49.6%, rgba(185, 154, 88, 0.1) 49.6% 50.4%, transparent 50.4%),
    linear-gradient(0deg, transparent 49.6%, rgba(185, 154, 88, 0.08) 49.6% 50.4%, transparent 50.4%);
  opacity: 0.44;
  pointer-events: none;
}

.regalia-seal__inner {
  position: relative;
  z-index: 1;
  width: min(72rem, calc(100% - 4rem));
  margin: 0 auto;
  padding: clamp(3.25rem, 7vw, 5.5rem) 0 clamp(2.65rem, 6vw, 4.25rem);
  display: grid;
  grid-template-columns: minmax(7rem, 0.24fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.2rem);
  align-items: center;
}

.regalia-seal__mark {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: start;
  width: clamp(5.6rem, 12vw, 8.4rem);
  aspect-ratio: 1;
  border: 1px solid rgba(185, 154, 88, 0.5);
  border-radius: 50%;
  color: rgba(185, 154, 88, 0.84);
  box-shadow: inset 0 0 0 1px rgba(232, 219, 192, 0.06);
}

.regalia-seal__mark::before {
  content: "";
  grid-area: 1 / 1;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(185, 154, 88, 0.18);
  border-radius: 50%;
}

.regalia-seal__mark span,
.regalia-seal__mark strong {
  grid-area: 1 / 1;
}

.regalia-seal__mark span {
  align-self: start;
  margin-top: 1.1rem;
  font-size: clamp(0.58rem, 0.75vw, 0.7rem);
}

.regalia-seal__mark strong {
  color: rgba(232, 219, 192, 0.88);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 500;
  line-height: 1;
}

.regalia-seal__body {
  border-left: 1px solid rgba(185, 154, 88, 0.26);
  padding-left: clamp(1.45rem, 3vw, 2.3rem);
}

.regalia-seal h2 {
  max-width: 42rem;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.92;
}

.regalia-seal__body > p:not(.regalia-seal__kicker) {
  margin: 1.45rem 0 0;
  color: rgba(232, 219, 192, 0.82);
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 2vw, 1.62rem);
  line-height: 1.32;
}

.regalia-seal__status {
  display: grid;
  width: min(100%, 31rem);
  margin: 1.7rem 0 0;
  border: 1px solid rgba(185, 154, 88, 0.42);
  border-left-color: rgba(205, 185, 133, 0.78);
  border-radius: 0.16rem;
  padding: 0.72rem 0.86rem;
  background: rgba(8, 7, 6, 0.5);
  color: rgba(232, 219, 192, 0.88);
  font-size: 0.76rem;
  gap: 0.42rem 1rem;
  grid-template-columns: minmax(4.5rem, auto) minmax(0, 1fr);
  line-height: 1.35;
}

.regalia-seal__status-label {
  color: rgba(185, 154, 88, 0.88);
}

.regalia-seal__status-copy,
.regalia-seal__status-note {
  text-transform: none;
}

.regalia-seal__status-note {
  grid-column: 2;
  color: rgba(205, 185, 133, 0.84);
}

.movement-index {
  position: relative;
  z-index: 1;
  width: min(72rem, calc(100% - 4rem));
  margin: 0 auto;
  border-top: 1px solid rgba(185, 154, 88, 0.24);
  padding: 1.05rem 0 1.45rem;
  color: rgba(232, 219, 192, 0.82);
  font-size: clamp(0.74rem, 0.18vw + 0.7rem, 0.84rem);
  line-height: 1.45;
  text-transform: none;
}

.movement-index ol {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  list-style: none;
}

.movement-index li {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  align-items: baseline;
  min-height: 2.45rem;
  border-bottom: 1px solid rgba(185, 154, 88, 0.14);
  padding: 0.48rem 0.95rem 0.48rem 0;
}

.movement-index li span:first-child {
  color: rgba(185, 154, 88, 0.86);
  font-size: 0.9em;
}

.movement-index li span:last-child {
  overflow-wrap: anywhere;
}

.legal-register {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  border-top: 0 solid transparent;
  transition:
    opacity 220ms ease,
    visibility 0s 220ms,
    max-height 0s 220ms,
    overflow 0s 220ms;
  background:
    linear-gradient(180deg, rgba(185, 154, 88, 0.06) 0%, rgba(185, 154, 88, 0) 8rem),
    var(--black);
  color: rgba(232, 219, 192, 0.82);
}

.legal-register:target,
.legal-register.is-open {
  max-height: none;
  overflow: visible;
  visibility: visible;
  opacity: 1;
  border-top: 1px solid var(--gold-faint);
  transition: opacity 220ms ease;
}

.legal-register__inner {
  width: min(72rem, calc(100% - 4rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  display: grid;
  grid-template-columns: minmax(12rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(3.2rem, 8vw, 6.8rem);
}

.legal-register__heading {
  display: grid;
  align-content: start;
  gap: 0.72rem;
}

.legal-register__kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
}

.legal-register__draft {
  width: fit-content;
  margin: 0.7rem 0 0;
  border: 1px solid rgba(185, 154, 88, 0.42);
  padding: 0.48rem 0.62rem;
  color: rgba(232, 219, 192, 0.8);
  font-size: 0.64rem;
  background: rgba(63, 8, 13, 0.24);
}

.legal-register__note {
  width: fit-content;
  margin: 0.25rem 0 0;
  border-left: 1px solid rgba(185, 154, 88, 0.46);
  padding-left: 0.72rem;
  color: rgba(232, 219, 192, 0.76);
  font-size: 0.82rem;
  line-height: 1.45;
}

.legal-register__close {
  display: inline-flex;
  width: fit-content;
  min-height: 2rem;
  align-items: center;
  margin-top: 1.1rem;
  border: 1px solid rgba(185, 154, 88, 0.34);
  border-radius: 999px;
  padding: 0.44rem 0.7rem;
  background: rgba(8, 7, 6, 0.32);
  color: rgba(232, 219, 192, 0.68);
  font-size: 0.78rem;
}

.legal-register__close:hover,
.legal-register__close:focus-visible {
  color: var(--ivory);
  border-color: rgba(232, 219, 192, 0.54);
}

.legal-register h2 {
  margin: 0;
  color: var(--parchment);
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 5.75rem);
  font-weight: 500;
  line-height: 0.92;
}

.legal-register__grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.legal-register__footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 2.4rem;
}

.legal-register__to-top {
  display: inline-flex;
  min-height: 2.6rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(185, 154, 88, 0.36);
  border-radius: 999px;
  padding: 0.58rem 1.18rem;
  background: rgba(8, 7, 6, 0.36);
  color: rgba(232, 219, 192, 0.72);
  font-size: 0.74rem;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.legal-register__to-top:hover,
.legal-register__to-top:focus-visible {
  color: var(--ivory);
  border-color: rgba(232, 219, 192, 0.58);
  background: rgba(8, 7, 6, 0.5);
}

.legal-register__item {
  border-top: 1px solid rgba(185, 154, 88, 0.22);
  padding-top: 1rem;
}

.legal-register__item--wide {
  grid-column: 1 / -1;
}

.legal-register dt {
  margin: 0 0 0.62rem;
  color: rgba(185, 154, 88, 0.78);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.legal-register dd {
  margin: 0;
  color: rgba(232, 219, 192, 0.76);
  font-size: clamp(0.95rem, 0.22vw + 0.9rem, 1rem);
  line-height: 1.68;
  overflow-wrap: anywhere;
}

.legal-register dd p {
  margin: 0;
}

.legal-register dd p + p {
  margin-top: 0.8rem;
}

.legal-register dd p + ul {
  margin-top: 0.7rem;
}

.legal-register dd ul {
  margin: 0;
  padding-left: 1.1rem;
}

.legal-register dd li + li {
  margin-top: 0.3rem;
}

.legal-register dd a {
  color: rgba(232, 219, 192, 0.88);
  font-size: 1.01em;
  text-decoration: underline;
  text-decoration-color: rgba(185, 154, 88, 0.42);
  text-underline-offset: 0.18em;
}

.legal-register dd a:hover,
.legal-register dd a:focus-visible {
  color: var(--ivory);
  text-decoration-color: currentColor;
}

.legal-register dd code {
  color: rgba(232, 219, 192, 0.88);
  font-family: var(--font-registry);
  font-size: 0.92em;
}

@media (max-width: 1240px) {
  :root {
    --hero-content-right: clamp(2rem, 6vw, 4.5rem);
  }

  .rail-right {
    display: none;
  }
}

@media (min-width: 1200px) and (max-width: 1500px) {
  :root {
    --rail-content-gap-right-extra: 0.4rem;
  }
}

@media (max-width: 1300px) {
  h1 {
    font-size: 10.6rem;
  }

  .subline {
    font-size: 1.56rem;
  }

  .motto {
    font-size: 1.26rem;
  }
}

@media (max-width: 980px) {
  .hero {
    background-position: 58% center;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 17%, rgba(0, 0, 0, 0) 81%, rgba(0, 0, 0, 0.16) 92%, rgba(0, 0, 0, 0.18) 100%),
      radial-gradient(ellipse at 70% 18%, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.03) 58%, rgba(0, 0, 0, 0.19) 100%);
  }

  .hero-copy {
    left: 2rem;
    right: 2rem;
    top: 18.5svh;
  }

  .eyebrow {
    margin-left: 0;
  }

  h1 {
    font-size: 7.4rem;
  }

  .subline {
    max-width: 21rem;
  }

  .rail {
    display: none;
  }

  .registry-links {
    bottom: 2rem;
  }

  .social-links {
    left: 2rem;
    max-width: calc(100vw - 17rem);
  }

  .legal-links {
    right: 2rem;
    max-width: 12rem;
  }

  .language-links {
    right: 2rem;
  }

  .register-cta {
    margin-top: 1.45rem;
  }

  .legal-register__inner {
    grid-template-columns: 1fr;
  }

  .story-register__inner,
  .regalia-seal__inner {
    width: calc(100% - 4rem);
    grid-template-columns: 1fr;
  }

  .story-register__ledger {
    width: min(100%, 36rem);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(185, 154, 88, 0.28);
    border-left: 0;
    padding: 1rem 0 0;
  }

  .story-register__ledger span {
    max-width: none;
  }

  .regalia-seal__inner {
    align-items: start;
  }

  .regalia-seal::after {
    top: 2rem;
    right: 2rem;
    opacity: 0.28;
  }

  .regalia-seal__body {
    border-top: 1px solid rgba(185, 154, 88, 0.24);
    border-left: 0;
    padding-top: 1.45rem;
    padding-left: 0;
  }

  .movement-index {
    width: calc(100% - 4rem);
  }

  .movement-index ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 100svh;
    background-position: 62% center;
  }

  .hero::before {
    background:
      radial-gradient(ellipse at 73% 66%, rgba(3, 2, 1, 0.37) 0%, rgba(3, 2, 1, 0.22) 23%, rgba(3, 2, 1, 0.06) 44%, rgba(3, 2, 1, 0) 58%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.18) 100%);
  }

  .hero-copy {
    left: 1.18rem;
    right: 1.18rem;
    top: 15.8svh;
    bottom: 0;
  }

  .eyebrow {
    margin-bottom: 1.35rem;
    font-size: 0.7rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3.95rem, 16vw, 4.55rem);
    line-height: 0.9;
  }

  .subline {
    max-width: 16rem;
    margin-top: 1.15rem;
    font-size: 1.16rem;
  }

  .motto {
    font-size: 1rem;
  }

  .registry-links {
    left: 1.18rem;
    right: 1.18rem;
    gap: 0.52rem 0.46rem;
    max-width: calc(100vw - 2.36rem);
    font-size: 0.68rem;
  }

  .social-links {
    bottom: 4.25rem;
  }

  .legal-links {
    left: auto;
    right: 1.18rem;
    bottom: 1.18rem;
    justify-content: flex-end;
    gap: 0.8rem;
    max-width: calc(100vw - 2.36rem);
    color: rgba(232, 219, 192, 0.84);
    font-size: 0.72rem;
  }

  .language-links {
    top: 1.18rem;
    right: 1.18rem;
    left: auto;
    max-width: calc(100vw - 2.36rem);
    gap: 0.28rem;
    font-size: 0.66rem;
  }

  .legal-links::before {
    display: none;
  }

  .social-links .registry-link-disabled,
  .social-links a {
    display: inline-flex;
    flex: 0 0 clamp(4.9rem, 21vw, 5.2rem);
    min-height: 2.6rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(185, 154, 88, 0.28);
    border-radius: 999px;
    padding: 0.58rem 0.5rem;
    background: rgba(8, 7, 6, 0.42);
    box-shadow: inset 0 0 0 1px rgba(232, 219, 192, 0.03);
    text-align: center;
  }

  .social-links a {
    padding-bottom: 0.58rem;
  }

  .legal-links a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    padding: 0.5rem 0.2rem;
  }

  .language-links a {
    min-width: 2.3rem;
    min-height: 2.3rem;
    padding: 0.46rem 0.56rem;
  }

  .registry-links a::after {
    display: none;
  }

  .registry-link-disabled {
    color: rgba(185, 154, 88, 0.78);
  }

  .registry-soon {
    font-size: 0.94em;
    margin-left: 0.25rem;
  }

  .register-cta {
    position: absolute;
    left: 1.18rem;
    top: auto;
    right: auto;
    bottom: 10.95rem;
    margin-top: 0;
    min-width: min(18.2rem, calc(100vw - 2.36rem));
    min-height: 3.65rem;
    padding: 0.7rem 0.72rem 0.7rem 1.16rem;
    font-size: 0.9rem;
  }

  .cta-helper {
    font-size: 0.66rem;
  }

  .cta-seal {
    width: 1.9rem;
    height: 1.9rem;
  }

  .legal-register__inner {
    width: calc(100% - 2.36rem);
    padding: 3rem 0;
  }

  .legal-register__grid {
    grid-template-columns: 1fr;
  }

  .legal-register__footer {
    margin-top: 1.9rem;
  }

  .story-register__inner,
  .regalia-seal__inner,
  .movement-index {
    width: calc(100% - 2.36rem);
  }

  .story-register__inner {
    padding: 3.4rem 0 3.65rem;
    gap: 2rem;
  }

  .story-register__ledger {
    grid-template-columns: 1fr;
    gap: 0.42rem;
    font-size: 0.64rem;
  }

  .story-register__kicker,
  .regalia-seal__kicker {
    font-size: 0.66rem;
  }

  .story-register h2 {
    font-size: clamp(2.72rem, 16vw, 4.05rem);
    line-height: 0.9;
  }

  .story-register__subtitle {
    font-size: 1.18rem;
  }

  .story-register__copy {
    margin-top: 1.8rem;
    gap: 1.1rem;
    padding-top: 1.35rem;
  }

  .story-register__copy p {
    font-size: 1.18rem;
  }

  .regalia-seal__inner {
    padding: 3rem 0 2.3rem;
    gap: 1.5rem;
  }

  .regalia-seal::after {
    top: 2rem;
    right: 1.18rem;
    width: 8rem;
    opacity: 0.22;
  }

  .regalia-seal__mark {
    width: 5.2rem;
  }

  .regalia-seal__mark span {
    margin-top: 0.72rem;
    font-size: 0.54rem;
  }

  .regalia-seal__mark strong {
    font-size: 3rem;
  }

  .regalia-seal h2 {
    font-size: clamp(2rem, 11vw, 3.25rem);
    line-height: 0.94;
  }

  .regalia-seal__body > p:not(.regalia-seal__kicker) {
    font-size: 1.12rem;
  }

  .regalia-seal__status {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0.68rem 0.74rem;
    font-size: 0.74rem;
  }

  .regalia-seal__status-note {
    grid-column: auto;
  }

  .movement-index {
    padding: 0.9rem 0 1.1rem;
    font-size: 0.74rem;
  }

  .movement-index ol {
    grid-template-columns: 1fr;
  }

  .movement-index li {
    min-height: 2.25rem;
    grid-template-columns: 3rem minmax(0, 1fr);
    padding: 0.42rem 0;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 3.6rem;
  }

  .registry-links {
    font-size: 0.64rem;
  }

  .register-cta {
    font-size: 0.84rem;
  }
}

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

  .registry-links a,
  .registry-links a::after,
  .register-cta {
    transition: none;
  }

  .legal-register,
  .legal-register:target {
    transition: none;
  }
}
