:root {
  --world-ink: #070a0b;
  --world-stone: #f1e8d2;
  --world-stone-muted: rgba(241, 232, 210, 0.72);
  --world-copper: #e0a55c;
  --world-mint: #82dbc7;
  --world-glass: rgba(8, 12, 13, 0.68);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body {
  display: block;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 68% 0%, rgba(53, 116, 102, 0.17), transparent 32rem),
    linear-gradient(180deg, #101718, var(--world-ink) 78%);
  color: var(--world-stone);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.12;
  pointer-events: none;
}

.site-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 2rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid rgba(241, 232, 210, 0.14);
  color: rgba(241, 232, 210, 0.5);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.site-legal a {
  color: var(--world-mint);
  text-underline-offset: 0.25rem;
}

.observation-notice {
  width: min(42rem, calc(100vw - 2rem));
  padding: clamp(1.4rem, 4vw, 2.8rem);
  border: 1px solid rgba(130, 219, 199, 0.34);
  border-radius: 2px;
  background:
    linear-gradient(145deg, rgba(130, 219, 199, 0.055), transparent 44%),
    #0d1314;
  color: var(--world-stone);
  box-shadow: 0 2.5rem 8rem rgba(0, 0, 0, 0.72);
}

.observation-notice[open] {
  animation: observation-enter 320ms cubic-bezier(0.2, 0.78, 0.24, 1) both;
}

.observation-notice::backdrop {
  background: rgba(2, 5, 6, 0.78);
  backdrop-filter: blur(10px) saturate(0.7);
}

.observation-notice__mark {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 2.6rem;
  place-items: center;
  border: 1px solid rgba(130, 219, 199, 0.45);
  border-radius: 50%;
  color: var(--world-mint);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.observation-notice__eyebrow,
.research-invitation__eyebrow {
  margin: 0 0 0.7rem;
  color: var(--world-mint);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.observation-notice h2 {
  max-width: 10ch;
  margin: 0 0 1.2rem;
  color: #fff9e9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.88;
}

.observation-notice > p:not(.observation-notice__eyebrow) {
  max-width: 36rem;
  margin: 0;
  color: rgba(241, 232, 210, 0.76);
  font-size: clamp(0.94rem, 2vw, 1.08rem);
  line-height: 1.65;
}

.observation-notice__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.observation-notice__actions button,
.observation-notice__actions a {
  min-height: 2.8rem;
  padding: 0 1rem;
  border: 1px solid rgba(241, 232, 210, 0.24);
  border-radius: 999px;
  background: transparent;
  color: #fff9e9;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 2.8rem;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.observation-notice__actions button {
  border-color: rgba(130, 219, 199, 0.48);
  background: rgba(130, 219, 199, 0.1);
}

.observation-notice__actions button:hover,
.observation-notice__actions a:hover {
  border-color: var(--world-mint);
  color: #dcfff7;
}

.observation-notice small {
  display: block;
  margin-top: 1.2rem;
  color: rgba(241, 232, 210, 0.44);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
}

.research-invitation {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
  gap: clamp(2rem, 6vw, 6rem);
  overflow: hidden;
  padding: clamp(3rem, 7vw, 7rem) clamp(1.5rem, 4vw, 4rem);
  border-top: 1px solid rgba(241, 232, 210, 0.12);
  border-bottom: 1px solid rgba(241, 232, 210, 0.12);
  background:
    radial-gradient(circle at 82% 24%, rgba(130, 219, 199, 0.1), transparent 18rem),
    linear-gradient(145deg, #11191a, #090d0e 72%);
}

.research-invitation::after {
  position: absolute;
  right: -4rem;
  bottom: -8rem;
  color: rgba(241, 232, 210, 0.025);
  content: "?";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28rem;
  line-height: 1;
  pointer-events: none;
}

.research-invitation__eyebrow,
.research-invitation h2,
.research-invitation__lead,
.research-invitation__link {
  grid-column: 1;
}

.research-invitation h2 {
  max-width: 10ch;
  margin: -0.2rem 0 0;
  color: #fff9e9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 6.4rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.86;
}

.research-invitation__lead {
  max-width: 42rem;
  margin: 0;
  color: var(--world-stone-muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
}

.research-invitation__question {
  z-index: 1;
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: center;
  padding-left: clamp(1.2rem, 3vw, 2.4rem);
  border-left: 1px solid rgba(130, 219, 199, 0.34);
}

.research-invitation__question span {
  color: var(--world-mint);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.research-invitation__question p {
  margin: 1rem 0 0;
  color: #fff9e9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  line-height: 1.22;
}

.research-invitation__link {
  width: fit-content;
  margin-top: 0.5rem;
  color: #fff9e9;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.research-invitation__link span {
  display: inline-block;
  margin-left: 0.45rem;
  color: var(--world-mint);
  transition: transform 180ms ease;
}

.research-invitation__link:hover span,
.research-invitation__link:focus-visible span {
  transform: translateX(0.35rem);
}

@keyframes observation-enter {
  from {
    opacity: 0;
    transform: translateY(1.2rem) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.world-entry-poster {
  position: absolute;
  inset: 0 0 auto;
  z-index: 6;
  width: 100%;
  height: 100svh;
  margin: 0;
  overflow: hidden;
  background: #090d0e;
  pointer-events: none;
	transition: opacity 0.28s ease, visibility 0.28s step-end;
}

.live-camera-active .world-entry-poster {
	opacity: 0;
	visibility: hidden;
}

.world-entry-poster::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 9, 0.48), transparent 62%),
    linear-gradient(0deg, rgba(5, 8, 9, 0.34), transparent 42%);
  content: "";
}

.world-entry-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  filter: saturate(0.9) contrast(1.04) brightness(0.86);
}

.world-entry-poster figcaption {
  position: absolute;
  right: clamp(1rem, 3.2vw, 3rem);
  bottom: clamp(7.5rem, 15vh, 10rem);
  z-index: 1;
  max-width: 22rem;
  color: rgba(255, 249, 233, 0.64);
  font-size: 0.62rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-align: right;
  text-transform: uppercase;
}

#landing {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  padding: clamp(1rem, 3.2vw, 3rem);
  border: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 9, 0.82) 0%, rgba(5, 8, 9, 0.08) 32%, transparent 55%),
    linear-gradient(90deg, rgba(5, 8, 9, 0.76) 0%, rgba(5, 8, 9, 0.18) 48%, transparent 72%),
    linear-gradient(0deg, rgba(5, 8, 9, 0.88) 0%, transparent 38%);
  pointer-events: none;
}

#landing > * {
	z-index: 1;
  pointer-events: auto;
}

.topline {
  display: contents;
}

#landing h1 {
  grid-column: 1;
  grid-row: 1;
  max-width: 11ch;
  color: #fff9e9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 7.4vw, 7.8rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.8;
  text-wrap: balance;
  text-shadow: 0 0.12em 0.7em rgba(0, 0, 0, 0.46);
	transition: opacity 0.42s ease, filter 0.42s ease;
}

#landing h1 span {
	display: block;
}

.live-camera-active #landing h1 {
	filter: blur(0.15px);
	opacity: 0.13;
}

.live-camera-active #landing .viewer-mode {
	display: none;
}

#landing .status {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  border-color: rgba(130, 219, 199, 0.45);
  background: var(--world-glass);
  box-shadow: 0 0.8rem 2.5rem rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

#landing .site-nav {
  position: absolute;
  top: clamp(4.5rem, 7vw, 6rem);
  right: clamp(1rem, 3.2vw, 3rem);
  justify-content: center;
  max-width: 44rem;
}

#landing .site-nav a {
  min-height: 2.2rem;
  padding-inline: 0.68rem;
  border-color: transparent;
  background: rgba(7, 10, 11, 0.2);
  color: rgba(255, 249, 233, 0.78);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}

#landing .site-nav a:first-child {
  display: none;
}

#landing .site-nav a:hover,
#landing .site-nav a:focus-visible,
#landing .entry-action:hover,
#landing .entry-action:focus-visible {
  border-color: rgba(130, 219, 199, 0.58);
  background: rgba(7, 18, 17, 0.72);
  color: #e3fff8;
}

#landing .viewer-mode {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  max-width: 34rem;
  margin-bottom: clamp(10rem, 20vh, 14rem);
  color: rgba(241, 232, 210, 0.62);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

#landing .viewer-mode span {
  display: none;
}

#landing .connection-notice {
  position: absolute;
  right: clamp(1rem, 3.2vw, 3rem);
  bottom: clamp(7.5rem, 15vh, 10rem);
  max-width: min(26rem, calc(100vw - 2rem));
  backdrop-filter: blur(14px);
}

#landing .entry-row {
  position: absolute;
	right: 20rem;
	bottom: 0;
  left: clamp(1rem, 3.2vw, 3rem);
  display: grid;
	width: auto;
	min-height: 4.8rem;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
	gap: 1rem;
	padding-block: 0.7rem;
}

.live-camera-active #landing::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 4.8rem;
	border-top: 1px solid rgba(241, 232, 210, 0.12);
	background: rgba(5, 8, 9, 0.76);
	backdrop-filter: blur(14px);
	content: "";
	z-index: 0;
}

#landing .entry-copy {
  gap: 0;
}

#landing .subtitle {
  max-width: 32rem;
  color: rgba(255, 249, 233, 0.82);
  font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(0.82rem, 1.15vw, 1rem);
  line-height: 1.45;
  text-shadow: 0 0.12em 1.2em rgba(0, 0, 0, 0.68);
}

#landing .entry-points {
  display: none;
}

#landing .entry-action {
  min-height: 3rem;
  padding-inline: 1.15rem;
  border-color: rgba(255, 249, 233, 0.36);
  border-radius: 999px;
  background: rgba(9, 14, 14, 0.54);
  color: #fff9e9;
  letter-spacing: 0.08em;
  backdrop-filter: blur(12px);
}

#live-viewer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(19rem, 0.6fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding:
    calc(100svh + clamp(1.25rem, 3vw, 2.5rem))
    clamp(1rem, 3.2vw, 3rem)
    clamp(2rem, 5vw, 5rem);
}

#live-viewer > .primary {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  gap: 1rem;
}

#live-viewer .live-feed {
  position: absolute;
  inset: 0 0 auto;
  height: 100svh;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #050708;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.4);
	z-index: 7;
}

#landing .live-header,
#live-viewer .live-header {
  position: absolute;
  right: clamp(1rem, 3.2vw, 3rem);
	bottom: 5.7rem;
  z-index: 4;
	display: grid;
	justify-items: end;
	gap: 0.45rem;
  padding: 0;
  border: 0;
}

#landing .live-header h2,
#live-viewer .live-header h2 {
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	clip: auto;
	clip-path: none;
	color: #fff9e9;
	font-size: clamp(0.7rem, 1vw, 0.82rem);
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	white-space: nowrap;
	text-shadow: 0 0.15rem 1rem rgba(0, 0, 0, 0.9);
}

#landing .live-status,
#live-viewer .live-status {
  padding: 0.5rem 0.72rem;
  border: 1px solid rgba(255, 249, 233, 0.2);
  border-radius: 999px;
  background: rgba(7, 10, 11, 0.54);
  color: rgba(255, 249, 233, 0.72);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  backdrop-filter: blur(12px);
}

#live-viewer .viewport-frame {
  min-height: 100svh;
  aspect-ratio: auto;
}

#live-viewer .live-frame-layer {
  object-fit: cover;
  transform: scale(1.012);
  transition:
    opacity 0.12s linear,
    transform 0.42s cubic-bezier(0.2, 0.7, 0.2, 1);
}

#live-viewer .live-frame-layer.active {
  transform: scale(1);
}

.project-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.project-evidence-card {
  display: grid;
  gap: 0.38rem;
  color: inherit;
  text-decoration: none;
}

.project-evidence-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(246, 232, 200, 0.16);
  border-radius: 6px;
  object-fit: cover;
  background: rgba(8, 12, 15, 0.72);
}

.project-evidence-card span {
  margin: 0;
  color: var(--world-stone-muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

.project-evidence-card:hover img,
.project-evidence-card:focus-visible img {
  border-color: var(--world-mint);
}

#live-viewer .viewport-empty {
  padding-top: 45vh;
  background:
    radial-gradient(circle at 68% 32%, rgba(87, 157, 138, 0.22), transparent 26rem),
    linear-gradient(145deg, #172222, #080b0c 70%);
  color: var(--world-stone-muted);
}

#live-viewer > aside {
  grid-column: 2;
  grid-row: 1;
  padding: 0;
}

#live-viewer .panel,
#live-viewer .map,
.release-section .store-item,
.release-section .history-link {
  border-color: rgba(241, 232, 210, 0.1);
  background:
    linear-gradient(140deg, rgba(130, 219, 199, 0.035), transparent 48%),
    rgba(16, 22, 23, 0.82);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.14);
}

#live-viewer .panel h2,
#landing .live-header h2,
#live-viewer .live-header h2 {
  color: rgba(255, 249, 233, 0.9);
  letter-spacing: 0.08em;
}

.release-section {
  max-width: 92rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 5rem) clamp(1rem, 3.2vw, 3rem);
}

#live-viewer > .primary > .release-section {
  width: 100%;
  margin: 0;
  padding: clamp(2rem, 4vw, 4rem) 0 0;
}

#live-viewer > .primary > #projects-and-moments .release-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.release-heading h2 {
  color: #fff9e9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.release-note {
  max-width: 30rem;
}

.site-nav a,
.entry-action,
.story-button,
.guild-tab,
.agent-row {
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.site-nav a:active,
.entry-action:active,
.story-button:active,
.guild-tab:active {
  transform: translateY(1px);
}

:focus-visible {
  outline: 2px solid var(--world-mint);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  #landing {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  #landing h1 {
    padding-top: 3.25rem;
  }

  #landing .site-nav {
    top: 4rem;
    right: 1rem;
  }

  #live-viewer {
    grid-template-columns: 1fr;
  }

  #live-viewer > .primary,
  #live-viewer > aside {
    grid-column: 1;
  }

  #live-viewer > .primary {
    grid-row: 1;
  }

  #live-viewer > aside {
    grid-row: 2;
  }

  #live-viewer > aside {
    padding: 0;
  }
}

@media (max-width: 620px) {
  .observation-notice {
    width: auto;
    max-width: none;
    max-height: calc(100dvh - 1.5rem);
    margin: 0.75rem;
    padding: 1.35rem;
    overflow: auto;
  }

  .observation-notice h2 {
    font-size: clamp(2.25rem, 13vw, 3.35rem);
  }

  .observation-notice__actions {
    display: grid;
  }

  .observation-notice__actions button,
  .observation-notice__actions a {
    width: 100%;
    min-height: 3rem;
    padding: 0.7rem 1rem;
    line-height: 1.35;
    text-align: center;
  }

  #landing {
    padding: 1rem;
  }

  #landing h1 {
	max-width: none;
    padding-top: 0;
	font-size: clamp(1.9rem, 9vw, 2.45rem);
	line-height: 0.86;
	overflow-wrap: normal;
	word-break: normal;
  }

	#landing h1 span {
		white-space: nowrap;
	}

	#landing .status {
	position: absolute;
	top: 5.9rem;
	right: 1rem;
	grid-column: 1 / -1;
	width: max-content;
	max-width: none;
    min-height: 1.9rem;
    padding-inline: 0.55rem;
	font-size: 0.65rem;
	white-space: nowrap;
  }

  #landing .site-nav {
    display: none;
  }

  #landing .viewer-mode {
	display: none;
  }

  #landing .entry-row {
	display: none;
  }

  #landing .subtitle {
    max-width: 22rem;
    font-size: 1rem;
  }

  #landing .entry-action {
    justify-self: start;
    min-height: 2.7rem;
  }

  .world-entry-poster img {
    object-position: 48% center;
  }

  .world-entry-poster figcaption {
    display: none;
  }

  #live-viewer {
    padding:
      calc(100svh + 1.25rem)
      1rem
      3rem;
  }


	#landing .live-header,
	#live-viewer .live-header {
		right: auto;
		bottom: 4.8rem;
		left: 1rem;
		display: grid;
		justify-items: start;
	}

	#landing .live-status,
	#live-viewer .live-status {
		max-width: calc(100vw - 2rem);
		font-size: 0.58rem;
	}

  #live-viewer .viewport-frame {
    min-height: 100svh;
  }

  .release-section {
    padding: 3rem 1rem;
  }

  #live-viewer > .primary > #projects-and-moments .release-grid {
    grid-template-columns: 1fr;
  }

  .project-evidence-grid {
    grid-template-columns: 1fr;
  }

  .research-invitation {
    grid-template-columns: 1fr;
    padding: 3.5rem 1.25rem;
  }

  .research-invitation__question {
    grid-column: 1;
    grid-row: auto;
    margin-top: 1rem;
  }

  .observation-notice__mark {
    margin-bottom: 1.8rem;
  }

  .site-legal {
    flex-direction: column;
  }
}

@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;
  }
}

/* Public launch composition: normal document flow, never layered hero copy. */

#landing {
  position: relative;
  inset: auto;
  display: block;
  min-height: 0;
  padding: 0 clamp(1rem, 3.2vw, 3rem) clamp(2rem, 5vw, 4.5rem);
  background: transparent;
  pointer-events: auto;
}

.hero-masthead,
.world-entry-poster,
.hero-lower {
  width: min(92rem, 100%);
  margin-inline: auto;
}

.hero-masthead {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  padding: clamp(1rem, 3vw, 2.4rem) 0 clamp(1.2rem, 2.5vw, 2rem);
}

.hero-masthead .topline {
  display: block;
}

#landing h1 {
  max-width: 10ch;
  margin: 0;
  padding: 0;
  font-size: clamp(3rem, 6.4vw, 6.8rem);
  line-height: 0.82;
}

.hero-navigation {
  position: relative;
  display: grid;
  justify-items: end;
}

#landing .explore-toggle {
  position: static;
}

#landing.nav-enhanced .site-nav,
#landing .site-nav {
  position: absolute;
  top: calc(100% + 0.7rem);
  right: 0;
  display: grid;
  width: min(17rem, calc(100vw - 2rem));
  max-width: none;
  gap: 0.45rem;
  justify-content: stretch;
  padding: 0.65rem;
  border: 1px solid rgba(241, 232, 210, 0.16);
  border-radius: 16px;
  background: rgba(7, 12, 13, 0.96);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
}

#landing.nav-enhanced .site-nav a,
#landing .site-nav a {
  width: 100%;
  justify-content: flex-start;
  background: rgba(255, 255, 255, 0.025);
}

.world-entry-poster {
  position: relative;
  inset: auto;
  z-index: 1;
  height: auto;
  aspect-ratio: 16 / 8.6;
  border: 1px solid rgba(241, 232, 210, 0.14);
  border-radius: clamp(12px, 2vw, 24px);
  box-shadow: 0 2.5rem 7rem rgba(0, 0, 0, 0.38);
  pointer-events: auto;
}

.world-entry-poster::after {
  background: linear-gradient(0deg, rgba(5, 8, 9, 0.34), transparent 34%);
}

.world-entry-poster img {
  object-position: center;
  filter: saturate(0.92) contrast(1.03) brightness(0.94);
}

.world-entry-poster figcaption {
  right: 1rem;
  bottom: 0.9rem;
}

.hero-lower {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  margin-top: clamp(1rem, 2.8vw, 2.2rem);
}

.world-entry-story {
  position: static;
  width: auto;
  padding: clamp(1.1rem, 2.5vw, 1.8rem);
  background: linear-gradient(90deg, rgba(14, 23, 23, 0.92), rgba(14, 23, 23, 0.28));
  text-shadow: none;
}

.world-entry-story h2 {
  font-size: clamp(2.4rem, 5vw, 5rem);
}

.hero-snapshot {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid rgba(241, 232, 210, 0.14);
  border-radius: 14px;
  background: rgba(15, 22, 23, 0.82);
}

#landing .status {
  position: static;
  width: fit-content;
  max-width: 100%;
  min-height: 2.45rem;
  padding: 0.55rem 0.8rem;
  color: #dffdf5;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.snapshot-explanation strong {
  color: #fff9e9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.snapshot-explanation p {
  margin: 0.35rem 0 0;
  color: var(--world-stone-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

#landing .live-header,
#live-viewer .live-header {
  position: static;
  display: grid;
  justify-items: start;
}

#landing .connection-notice {
  position: static;
  width: min(92rem, 100%);
  margin: 0.8rem auto 0;
}

#live-viewer {
  max-width: 96rem;
  padding: clamp(1rem, 3vw, 2.5rem) clamp(1rem, 3.2vw, 3rem) clamp(3rem, 6vw, 6rem);
}

#live-viewer .live-feed {
  display: none;
}

.featured-resident {
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
  overflow: hidden;
  border: 1px solid rgba(241, 232, 210, 0.12);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(36, 83, 75, 0.22), rgba(10, 15, 16, 0.92) 62%);
}

.featured-resident__image {
  min-height: 27rem;
  background: radial-gradient(circle at 50% 45%, rgba(125, 215, 255, 0.18), transparent 42%), #0a1113;
}

.featured-resident__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.featured-resident__copy {
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: clamp(2rem, 5vw, 5rem);
}

.featured-resident__copy h2,
.collaboration-manifesto h2 {
  margin: 0;
  color: #fff9e9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.featured-resident__copy > p:not(.section-eyebrow),
.collaboration-manifesto > p:not(.section-eyebrow) {
  max-width: 46rem;
  margin: 0;
  color: var(--world-stone-muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.featured-resident__meta {
  color: var(--world-mint);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.featured-resident a,
.collaboration-manifesto a {
  width: fit-content;
  color: #fff9e9;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-underline-offset: 0.3rem;
  text-transform: uppercase;
}

.visitor-context {
  display: grid;
  grid-template-columns: 1fr;
}

.visitor-context .research-invitation {
  min-height: 0;
}

.world-pulse-panel {
  display: grid;
  grid-template-columns: minmax(13rem, 0.35fr) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
}

.world-pulse-panel .stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.world-pulse-timestamp {
  grid-column: 1 / -1;
  margin: 0 0 0.4rem;
  color: var(--world-stone-muted);
  font-size: 0.72rem;
}

.collaboration-manifesto {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.9fr);
  gap: 1.2rem clamp(2rem, 6vw, 7rem);
  padding: clamp(2.5rem, 6vw, 6rem);
  border: 1px solid rgba(130, 219, 199, 0.22);
  background: radial-gradient(circle at 80% 25%, rgba(130, 219, 199, 0.13), transparent 22rem), #0d1415;
}

.collaboration-manifesto .section-eyebrow,
.collaboration-manifesto h2,
.collaboration-manifesto > p:first-of-type,
.collaboration-manifesto a {
  grid-column: 1;
}

.collaboration-manifesto__aside {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: center;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(130, 219, 199, 0.4);
  color: #fff9e9 !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem) !important;
}

.rail-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.4rem 0 0.65rem;
  color: var(--world-stone-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rail-controls > div {
  display: flex;
  gap: 0.45rem;
}

.rail-controls button {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid rgba(241, 232, 210, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  color: #fff9e9;
  cursor: pointer;
}

#guildCivilization,
#guildTabs {
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

#guildCivilization::-webkit-scrollbar,
#guildTabs::-webkit-scrollbar {
  display: none;
}

#guildTabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.2rem 0 0.65rem;
}

#guildTabs .guild-tab {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.mini-cogling {
  border-color: rgba(130, 219, 199, 0.3) !important;
  background: rgba(130, 219, 199, 0.07) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

@media (max-width: 760px) {
  .hero-masthead {
    grid-template-columns: 1fr;
  }

  .hero-navigation {
    justify-items: start;
  }

  #landing h1 {
    max-width: none;
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  .world-entry-poster {
    aspect-ratio: 4 / 3;
  }

  .world-entry-poster img {
    object-position: 62% center;
  }

  .hero-lower,
  .featured-resident,
  .world-pulse-panel,
  .collaboration-manifesto {
    grid-template-columns: 1fr;
  }

  .world-entry-story > p:not(.world-entry-story__eyebrow) {
    display: block;
  }

  .featured-resident__image {
    min-height: 20rem;
  }

  .world-pulse-panel .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collaboration-manifesto__aside {
    grid-column: 1;
    grid-row: auto;
  }

  #landing.nav-enhanced .site-nav,
  #landing .site-nav {
    top: calc(100% + 0.55rem);
  }
}

/* Visitor-first public entrance */

#landing .entry-row,
#landing .viewer-mode {
  display: none;
}

#landing .status {
  position: absolute;
  top: 1.25rem;
  right: clamp(1rem, 3.2vw, 3rem);
}

#landing .explore-toggle {
  position: absolute;
  top: 1.25rem;
  right: clamp(8.2rem, 13vw, 11.5rem);
  z-index: 12;
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.75rem 0.45rem 0.9rem;
  border: 1px solid rgba(255, 249, 233, 0.24);
  border-radius: 999px;
  background: rgba(7, 10, 11, 0.52);
  color: #fff9e9;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

#landing .explore-toggle i {
  display: grid;
  width: 1.1rem;
  height: 1.1rem;
  place-items: center;
  border-radius: 50%;
  background: var(--world-mint);
  color: #07110f;
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1;
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

#landing.explore-open .explore-toggle i {
  transform: rotate(45deg);
}

#landing.nav-enhanced .site-nav {
  top: 4.2rem;
  right: clamp(1rem, 3.2vw, 3rem);
  z-index: 11;
  display: flex;
  max-width: min(58rem, calc(100vw - 2rem));
  justify-content: flex-end;
  pointer-events: none;
}

#landing.nav-enhanced .site-nav a {
  opacity: 0;
  transform: translateY(-0.7rem) scale(0.82);
  pointer-events: none;
}

#landing.nav-enhanced.explore-open .site-nav {
  pointer-events: auto;
}

#landing.nav-enhanced.explore-open .site-nav a {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  animation: explore-pill-pop 520ms cubic-bezier(0.22, 0.9, 0.32, 1.35) both;
  animation-delay: calc(var(--nav-order, 0) * 42ms);
}

#landing.nav-enhanced .site-nav a:first-child {
  display: inline-flex;
}

@keyframes explore-pill-pop {
  0% { opacity: 0; transform: translateY(-0.9rem) scale(0.75); }
  72% { opacity: 1; transform: translateY(0.18rem) scale(1.035); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.world-entry-poster img {
  transition: opacity 360ms ease, transform 9s ease;
}

.world-entry-poster img.is-changing {
  opacity: 0.18;
}

.world-entry-carousel {
  position: absolute;
  right: clamp(1rem, 3.2vw, 3rem);
  bottom: 1.35rem;
  z-index: 9;
  display: flex;
  gap: 0.48rem;
}

.world-entry-carousel button {
  width: 2.1rem;
  height: 0.24rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 249, 233, 0.34);
  cursor: pointer;
}

.world-entry-carousel button[aria-current="true"] {
  background: var(--world-mint);
}

.live-camera-active .world-entry-carousel {
  display: none;
}

.world-entry-story {
  position: absolute;
  bottom: clamp(3.6rem, 8vh, 6.5rem);
  left: clamp(1rem, 3.2vw, 3rem);
  z-index: 8;
  width: min(36rem, calc(100vw - 2rem));
  padding: clamp(1rem, 2.5vw, 1.6rem);
  border-left: 1px solid rgba(130, 219, 199, 0.68);
  background: linear-gradient(90deg, rgba(5, 8, 9, 0.78), rgba(5, 8, 9, 0.08));
  text-shadow: 0 0.12em 1.2em rgba(0, 0, 0, 0.72);
}

.live-camera-active #landing h1 {
  filter: none;
  opacity: 0.78;
}

.world-entry-story__eyebrow,
.section-eyebrow {
  margin: 0 0 0.55rem;
  color: var(--world-mint);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.world-entry-story h2 {
  max-width: 12ch;
  margin: 0;
  color: #fff9e9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.world-entry-story > p:not(.world-entry-story__eyebrow) {
  max-width: 33rem;
  margin: 0.8rem 0 0;
  color: rgba(255, 249, 233, 0.78);
  line-height: 1.55;
}

.world-entry-story__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.world-entry-story__actions a {
  min-height: 2.6rem;
  padding: 0.68rem 0.9rem;
  border: 1px solid rgba(255, 249, 233, 0.24);
  border-radius: 999px;
  background: rgba(7, 14, 14, 0.52);
  color: #fff9e9;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.world-entry-story__actions a:first-child {
  border-color: rgba(130, 219, 199, 0.68);
  background: rgba(35, 88, 75, 0.62);
}

#live-viewer {
  display: block;
  max-width: 96rem;
  margin: 0 auto;
}

#live-viewer > .primary {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: clamp(1.5rem, 4vw, 4rem);
}

#live-viewer > aside:empty {
  display: none;
}

.visitor-context {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.55fr);
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.visitor-context .research-invitation {
  min-height: 100%;
}

.world-pulse-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.35rem, 2.5vw, 2rem) !important;
}

.world-pulse-panel h2 {
  display: grid;
  gap: 0.7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.7vw, 2.6rem) !important;
  font-weight: 500;
  letter-spacing: -0.025em !important;
  text-transform: none;
}

.world-pulse-panel h2 a {
  color: var(--world-mint);
  font-family: system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.world-pulse-panel .stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.observatory {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  scroll-margin-top: 1rem;
  overflow: clip;
  padding: clamp(1.25rem, 3.5vw, 3rem) !important;
}

.observatory-header {
  align-items: end;
}

.observatory-header h2 {
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6vw, 6rem) !important;
  font-weight: 500;
  letter-spacing: -0.045em !important;
  line-height: 0.9;
  text-transform: none;
}

.cogling-introduction {
  display: grid;
  max-width: 52rem;
  gap: 0.2rem;
  margin: 1.4rem 0 2.4rem;
}

.cogling-introduction p:last-child {
  margin: 0;
  color: rgba(241, 232, 210, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.guild-hall-panel {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.guild-hall-panel > h2 {
  margin-bottom: 0.85rem;
  color: var(--world-stone-muted) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.13em !important;
  text-transform: uppercase;
}

#guildCivilization {
  display: grid;
  grid-auto-columns: minmax(18rem, 31rem);
  grid-auto-flow: column;
  gap: 0.9rem;
  padding: 0.15rem 0 1rem;
  overflow-x: auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  contain: inline-size;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(130, 219, 199, 0.46) transparent;
}

.guild-hall-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(241, 232, 210, 0.12);
  border-radius: 12px;
  background: rgba(8, 12, 13, 0.76);
  scroll-snap-align: start;
}

.guild-hall-card > button {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.guild-hall-card__image {
  position: relative;
  min-height: 13rem;
  overflow: hidden;
  background: color-mix(in srgb, var(--guild-color), #08100f 76%);
}

.guild-hall-card__image::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(6, 9, 10, 0.92));
  content: "";
}

.guild-hall-card__image img {
  width: 100%;
  height: 100%;
  min-height: 13rem;
  object-fit: cover;
  transition: transform 500ms ease;
}

.guild-hall-card:hover .guild-hall-card__image img,
.guild-hall-card:focus-within .guild-hall-card__image img {
  transform: scale(1.025);
}

.guild-sigil {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--guild-color), white 30%);
  border-radius: 50%;
  background: rgba(5, 8, 9, 0.76);
  color: color-mix(in srgb, var(--guild-color), white 32%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.guild-hall-card__copy {
  display: grid;
  gap: 0.65rem;
  padding: 1.1rem;
}

.guild-hall-card__copy > strong {
  color: #fff9e9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.guild-hall-card__copy > span:not(.launch-review-meta),
.guild-hall-card__copy > small {
  color: var(--world-stone-muted);
  line-height: 1.5;
}

.guild-hall-card__copy > em {
  padding-left: 0.75rem;
  border-left: 1px solid var(--guild-color);
  color: rgba(241, 232, 210, 0.86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  line-height: 1.45;
}

.guild-scores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.2rem;
}

.guild-scores > span {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.3rem 0.5rem;
  align-items: end;
}

.guild-scores i,
.guild-scores b {
  color: var(--world-stone-muted);
  font-size: 0.62rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guild-scores meter {
  width: 100%;
  height: 0.45rem;
  grid-column: 1 / -1;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #b84c4c, #d4a84e 50%, #55bd81);
}

.guild-scores meter::-webkit-meter-bar {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.guild-scores meter::-webkit-meter-optimum-value,
.guild-scores meter::-webkit-meter-suboptimum-value,
.guild-scores meter::-webkit-meter-even-less-good-value {
  border-radius: 999px;
  background: linear-gradient(90deg, #b84c4c, #d4a84e 50%, #55bd81);
}

.guild-gear-link {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.5rem 0 1.3rem;
  padding: 0.9rem 1rem;
  border-top: 1px solid rgba(241, 232, 210, 0.12);
  border-bottom: 1px solid rgba(241, 232, 210, 0.12);
  color: var(--world-stone-muted);
  font-size: 0.78rem;
  text-decoration: none;
}

.guild-gear-link span {
  color: var(--world-mint);
  font-weight: 800;
}

.world-ledger {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border-top: 1px solid rgba(241, 232, 210, 0.14);
  border-bottom: 1px solid rgba(241, 232, 210, 0.14);
}

.world-ledger > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  color: #fff9e9;
  cursor: pointer;
  list-style: none;
}

.world-ledger > summary::-webkit-details-marker {
  display: none;
}

.world-ledger > summary span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.world-ledger > summary small {
  color: var(--world-stone-muted);
}

.world-ledger__contents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 1rem;
}

#live-viewer .world-ledger__contents .map {
  min-height: 34rem;
  grid-column: 1 / -1;
}

#projects-and-moments .release-heading,
#history .release-heading,
#store .release-heading {
  max-width: 52rem;
}

#store {
  border-top: 1px solid rgba(241, 232, 210, 0.08);
  opacity: 0.88;
}

@media (max-width: 980px) {
  .visitor-context {
    grid-template-columns: 1fr;
  }

  .world-pulse-panel .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  #landing .explore-toggle {
    top: 1rem;
    right: 1rem;
  }

  #landing .status {
    top: 4rem;
    right: 1rem;
  }

  #landing.nav-enhanced .site-nav {
    top: 4rem;
    right: 1rem;
    display: grid;
    width: min(15rem, calc(100vw - 2rem));
    justify-items: stretch;
  }

  #landing.nav-enhanced .site-nav a {
    justify-content: flex-start;
    background: rgba(7, 10, 11, 0.88);
  }

  .world-entry-story {
    bottom: 3.4rem;
    width: calc(100vw - 2rem);
    padding: 1rem;
  }

  .world-entry-story h2 {
    max-width: 11ch;
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .world-entry-story > p:not(.world-entry-story__eyebrow) {
    display: none;
  }

  .world-entry-story__actions a {
    min-height: 2.3rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.64rem;
  }

  .world-entry-carousel {
    right: 1rem;
    bottom: 1rem;
  }

  #landing .connection-notice,
  #landing .live-header,
  #live-viewer .live-header {
    display: none;
  }

  #live-viewer {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .world-pulse-panel .stats,
  .world-ledger__contents {
    grid-template-columns: 1fr;
  }

  #guildCivilization {
    grid-auto-columns: minmax(17rem, 87vw);
  }

  .guild-gear-link,
  .world-ledger > summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .world-ledger__contents .map {
    grid-column: 1;
  }
}

/* Public entrance: one cinematic poster, one compact living pulse, no phantom nav panel. */
#landing.nav-enhanced .site-nav {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-0.45rem) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}

#landing.nav-enhanced.explore-open .site-nav {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition-delay: 0s;
}

#landing .hero-lower {
  grid-template-columns: 1fr;
  margin-top: clamp(1.7rem, 4vw, 3.4rem);
}

#landing .pulse-staging {
  display: none;
}

/* A valid protected camera frame must not erase the public entrance poster. */
.live-camera-active .world-entry-poster {
  visibility: visible;
  opacity: 1;
}

/* Connection updates remain available to assistive technology; the pulse carries the visual status. */
#landing #connectionNotice {
  position: absolute !important;
  width: 1px !important;
  height: 1px;
  margin: -1px !important;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

#landing .world-pulse-panel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.55rem 1rem;
  align-items: center;
  width: min(92rem, 100%);
  margin: 0.7rem auto 0;
  padding: 0.58rem 0.9rem !important;
  border: 1px solid rgba(107, 215, 198, 0.2);
  border-inline: 0;
  border-radius: 0;
  background: rgba(13, 24, 26, 0.76);
  box-shadow: none;
}

#landing .pulse-strip__lead,
#landing .pulse-strip__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#landing .pulse-strip__actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

#landing .world-pulse-panel h2 {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.66rem !important;
  font-weight: 800;
  letter-spacing: 0.14em !important;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

#landing .world-pulse-panel .status {
  min-height: 1.75rem;
  padding: 0.22rem 0.48rem;
  border-color: rgba(107, 215, 198, 0.22);
  background: rgba(107, 215, 198, 0.04);
  font-size: 0.58rem;
  white-space: nowrap;
}

#landing .world-pulse-panel .status::before {
  width: 0.4rem;
  height: 0.4rem;
}

#landing .world-pulse-panel .stats {
  display: grid;
  grid-template-columns: auto repeat(4, minmax(4.25rem, 1fr));
  gap: 0;
  align-items: center;
  min-width: 0;
  padding: 0;
}

#landing .world-pulse-panel .world-pulse-timestamp {
  grid-column: auto;
  align-self: center;
  margin: 0;
  padding-right: 0.8rem;
  color: var(--world-stone-muted);
  font-size: 0.59rem;
  white-space: nowrap;
}

#landing .world-pulse-panel .stat {
  min-height: 0;
  padding: 0.18rem 0.58rem;
  border: 0;
  border-left: 1px solid rgba(240, 231, 207, 0.14);
  border-radius: 0;
  background: transparent;
}

#landing .world-pulse-panel .stat span {
  font-size: 0.54rem;
}

#landing .world-pulse-panel .stat strong {
  margin-top: 0.08rem;
  font-size: 0.9rem;
  line-height: 1;
}

#landing .world-pulse-panel .stat::after {
  display: none;
}

#landing .pulse-strip__actions a,
#landing .pulse-strip__actions .live-status {
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

#landing .pulse-strip__actions a {
  color: var(--world-mint);
}

#landing .pulse-strip__actions .live-status {
  color: var(--world-stone-muted);
  white-space: nowrap;
}

#landing .world-pulse-panel .snapshot-explanation {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0.8rem;
  z-index: 20;
  width: min(26rem, calc(100vw - 2rem));
  margin: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(227, 179, 83, 0.4);
  border-radius: 0.7rem;
  background: rgba(29, 27, 20, 0.98);
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.38);
}

#landing .world-pulse-panel .snapshot-explanation[hidden] {
  display: none;
}

.featured-resident__image img {
  animation: door-duty-arrive 650ms cubic-bezier(0.2, 0.9, 0.25, 1) both;
}

@keyframes door-duty-arrive {
  from {
    opacity: 0;
    transform: translateY(1rem) rotate(-2deg) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  #landing .world-pulse-panel {
    grid-template-columns: 1fr auto;
  }

  #landing .world-pulse-panel .stats {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 600px) {
  #landing .world-pulse-panel {
    gap: 0.5rem;
    padding: 0.55rem 0.2rem !important;
  }

  #landing .pulse-strip__lead {
    padding-left: 0.35rem;
  }

  #landing .pulse-strip__actions {
    padding-right: 0.35rem;
  }

  #landing .pulse-strip__actions .live-status {
    display: none;
  }

  #landing .world-pulse-panel .stats {
    grid-template-columns: repeat(4, minmax(4.2rem, 1fr));
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  #landing .world-pulse-panel .world-pulse-timestamp {
    grid-column: 1 / -1;
    padding: 0.12rem 0.45rem 0.3rem;
  }

  #landing .world-pulse-panel .stat {
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .featured-resident__image img {
    animation: none;
  }
}

/* Final cascade guard for the responsive launch composition. */
#landing .status,
#landing .explore-toggle { position: static; }
.hero-snapshot #statusPill { grid-column: auto; grid-row: auto; }
#landing.nav-enhanced .site-nav,
#landing .site-nav {
  top: calc(100% + 0.7rem);
  right: 0;
  width: min(17rem, calc(100vw - 2rem));
  max-width: none;
}
.world-entry-story { position: static; width: auto; }
.visitor-context { grid-template-columns: 1fr; }
.world-pulse-panel {
  display: grid;
  grid-template-columns: minmax(13rem, 0.35fr) minmax(0, 1fr);
  align-items: center;
}
.world-pulse-panel .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.guild-score-empty small {
  grid-column: 1 / -1;
  color: var(--world-stone-muted);
  font-size: 0.62rem;
}
@media (max-width: 760px) {
  #landing .status { position: static; width: fit-content; }
  .world-entry-story { position: static; width: auto; }
  .world-entry-story > p:not(.world-entry-story__eyebrow) { display: block; }
  .hero-lower,
  .featured-resident,
  .world-pulse-panel,
  .collaboration-manifesto { grid-template-columns: 1fr; }
  .world-pulse-panel .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  #landing.nav-enhanced.explore-open .site-nav a {
    animation: none;
  }
}

/* Illustrated atlas: world coordinates remain authoritative over a legible landscape. */

#live-viewer .world-ledger__contents .map {
  min-height: 0;
  aspect-ratio: 3 / 2;
  border: 0;
  border-radius: 16px;
  background: #8da873;
  box-shadow: inset 0 0 0 1px rgba(255, 249, 233, 0.14), 0 1.4rem 4rem rgba(0, 0, 0, 0.2);
}

.atlas-landscape {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: #acc58a;
}

.atlas-landmass {
  filter: drop-shadow(0 22px 20px rgba(42, 55, 38, 0.28));
}

.atlas-river {
  fill: none;
  stroke: #dcebd9;
  stroke-linecap: round;
  stroke-width: 130;
}

.atlas-river--edge {
  stroke: url(#atlas-water);
  stroke-width: 102;
}

.atlas-lake {
  stroke: rgba(230, 242, 222, 0.8);
  stroke-width: 18;
}

.atlas-forest circle {
  stroke: rgba(231, 222, 176, 0.22);
  stroke-width: 10;
}

.map .road {
  display: none;
}

.map .district-footprint {
  z-index: 2;
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--district-color), transparent 91%);
  box-shadow: none;
  outline-offset: -3px;
}

.map .district-footprint::after {
  position: absolute;
  inset: 14%;
  border: 1px dashed color-mix(in srgb, var(--district-color), transparent 50%);
  border-radius: 50%;
  content: "";
  opacity: 0;
  transition: opacity 160ms ease;
}

.map .district-footprint:hover::after,
.map .district-footprint:focus-visible::after,
.map .district-footprint.selected::after {
  opacity: 1;
}

.map .district-footprint strong {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  max-width: 10rem;
  transform: translate(-50%, -50%);
  overflow: visible;
  padding: 0.32rem 0.54rem;
  border: 1px solid rgba(88, 72, 47, 0.28);
  border-radius: 999px;
  background: rgba(255, 249, 225, 0.91);
  box-shadow: 0 0.45rem 1rem rgba(51, 68, 49, 0.18);
  color: #304536;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.45rem, 0.86vw, 0.72rem);
  line-height: 1.05;
  text-align: center;
  text-overflow: clip;
  white-space: normal;
}

.map .district-footprint > span {
  position: absolute;
  top: calc(50% + 1.6rem);
  left: 50%;
  z-index: 5;
  display: none;
  width: max-content;
  max-width: min(16rem, 80vw);
  transform: translateX(-50%);
  overflow: visible;
  padding: 0.48rem 0.6rem;
  border-radius: 6px;
  background: rgba(31, 46, 37, 0.92);
  color: #f7efd9;
  font-size: 0.58rem;
  line-height: 1.35;
  text-overflow: clip;
  white-space: normal;
}

.map .district-footprint:hover > span,
.map .district-footprint:focus-visible > span {
  display: block;
}

.map .district-footprint.selected {
  z-index: 3;
  border: 0;
  background: rgba(255, 215, 116, 0.13);
  box-shadow: 0 0 0 3px rgba(255, 225, 145, 0.68), 0 0 2rem rgba(255, 211, 106, 0.5);
}

.map .facility-marker {
  z-index: 4;
  width: clamp(0.35rem, 0.8vw, 0.7rem);
  height: clamp(0.35rem, 0.8vw, 0.7rem);
  border: 2px solid rgba(255, 249, 225, 0.92);
  border-radius: 50%;
  background: #4d6851;
  box-shadow: 0 0.2rem 0.55rem rgba(34, 48, 37, 0.38);
}

.map .cogling {
  z-index: 7;
  width: clamp(0.72rem, 1.4vw, 1.18rem);
  height: clamp(0.72rem, 1.4vw, 1.18rem);
  border-color: #fffbe9;
  box-shadow: 0 0 0 0.18rem rgba(43, 61, 46, 0.3), 0 0 1rem color-mix(in srgb, var(--color), transparent 28%);
}

.map .build-site {
  z-index: 6;
}

.map .map-legend {
  top: 1rem;
  left: 1rem;
  border-color: rgba(255, 249, 225, 0.5);
  border-radius: 10px;
  background: rgba(255, 249, 225, 0.93);
  box-shadow: 0 0.8rem 2rem rgba(51, 68, 49, 0.2);
}

.map .map-legend strong,
.map .map-legend .selected-location-label {
  color: #304536 !important;
}

.map .map-legend span {
  color: #607063;
}

.map .map-legend-kicker {
  color: #96601a !important;
}

@media (max-width: 700px) {
  .world-ledger__contents .map {
    min-height: 30rem;
    aspect-ratio: auto;
  }

  .atlas-landscape {
    object-fit: cover;
  }

  .map .map-legend {
    max-width: calc(100% - 2rem);
  }

  .map .district-footprint strong {
    font-size: 0.48rem;
  }
}
