@font-face {
  font-family: "Barlow Condensed";
  src: url("./assets/fonts/BarlowCondensed-Light.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("./assets/fonts/BarlowCondensed-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("./assets/fonts/BarlowCondensed-Medium.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("./assets/fonts/BarlowCondensed-SemiBold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

:root {
  color-scheme: dark;
  font-family: "Segoe UI Variable Text", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  background: #090b0d;
  color: #f2eee8;
  font-synthesis: none;
  --ui-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ui-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

* {
  box-sizing: border-box;
}

html,
body,
#experience {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background: #090b0d;
}

::selection {
  background: #82d5cb;
  color: #071012;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

button,
kbd {
  font: inherit;
}

#scene {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
}

.start-screen {
  position: fixed;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-color: #4d8b87 #090c0d;
  scrollbar-width: thin;
  background:
    radial-gradient(circle at 76% 18%, rgba(91, 185, 181, 0.1), transparent 28%),
    linear-gradient(112deg, #050708 0%, #071012 58%, #050708 100%);
  transition: opacity 240ms var(--ui-ease-out), visibility 240ms var(--ui-ease-out);
  z-index: 10;
}

.start-screen::-webkit-scrollbar {
  width: 0.55rem;
}

.start-screen::-webkit-scrollbar-track {
  background: #090c0d;
}

.start-screen::-webkit-scrollbar-thumb {
  background: #315d5a;
}

.landing-page {
  position: relative;
  min-height: 100%;
  isolation: isolate;
}

.start-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.landing-nav {
  position: sticky;
  top: 0;
  display: flex;
  width: min(100%, 100rem);
  min-height: 5.4rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem clamp(1.25rem, 4vw, 4rem);
  margin: 0 auto;
  border-bottom: 1px solid rgba(151, 220, 213, 0.15);
  background: #050809;
  z-index: 5;
}

.landing-nav nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.4rem);
}

.landing-nav nav a {
  color: #9daaaa;
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.landing-nav nav a:hover {
  color: #f2eee8;
}

.landing-nav nav .landing-nav__entry {
  border-bottom: 1px solid #82d5cb;
  padding: 0.55rem 0;
  color: #d9fff9;
}

.museum-mark {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  width: fit-content;
  gap: 0.1rem 0.85rem;
  margin: 0;
  color: #e7e1d8;
  text-decoration: none;
}

.museum-mark > span {
  display: grid;
  grid-row: 1 / 3;
  grid-template-columns: repeat(3, 0.42rem);
  gap: 0.25rem;
}

.museum-mark strong {
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.museum-mark small {
  color: #8f9c9d;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.year-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
}

.year-2023 {
  color: #f4ad83;
  background: currentColor;
}

.year-2025 {
  color: #82d5cb;
  background: currentColor;
}

.year-2026 {
  color: #87c9f3;
  background: currentColor;
}

.landing-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(22rem, 0.74fr) minmax(36rem, 1.26fr);
  grid-template-rows: minmax(0, 1fr) auto;
  width: min(100%, 100rem);
  min-height: calc(100svh - 5.4rem);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 6.5rem);
  padding: clamp(2.5rem, 5vw, 5.5rem) clamp(1.25rem, 4vw, 4rem) 1.35rem;
  margin: 0 auto;
}

.landing-hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 42%;
  width: 1px;
  background: linear-gradient(transparent, rgba(151, 220, 213, 0.11) 14%, rgba(151, 220, 213, 0.11) 86%, transparent);
  content: "";
  pointer-events: none;
}

.start-panel {
  position: relative;
  max-width: 37rem;
  z-index: 1;
}

.start-panel h1 {
  max-width: 12ch;
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3.35rem, 5.7vw, 6rem);
  font-stretch: condensed;
  font-weight: 330;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-wrap: balance;
}

.start-panel h1 span {
  color: #91d9d1;
  font-weight: 570;
}

.lead {
  max-width: 32rem;
  margin: 2rem 0 0;
  color: #cbc7c0;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.6;
}

.intro-context {
  max-width: 29rem;
  margin: 1rem 0 0;
  color: #91a09f;
  font-size: 0.88rem;
  line-height: 1.6;
}

.landing-state {
  max-width: 30rem;
  margin: 1.4rem 0 0;
  border-top: 1px solid rgba(244, 173, 131, 0.44);
  padding-top: 0.8rem;
  color: #f4c6aa;
  font-size: 0.82rem;
  line-height: 1.5;
}

.landing-scroll-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: clamp(2rem, 5vh, 4rem);
  color: #b9c5c4;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.landing-scroll-link svg,
#enter-button svg,
.visit-return svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.5;
}

.landing-scroll-link svg {
  transition: transform 180ms var(--ui-ease-out);
}

.landing-scroll-link:hover svg {
  transform: translateY(0.22rem);
}

.intro-specimen {
  position: relative;
  display: grid;
  min-width: 0;
  align-self: stretch;
  align-content: center;
  margin: 0;
  z-index: 1;
}

.intro-canvas-wrap {
  position: relative;
  width: 100%;
  height: clamp(20rem, 54vh, 39rem);
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  mask-image: radial-gradient(ellipse 68% 70% at 50% 50%, #000 67%, transparent 100%);
}

#intro-cloud,
#intro-cloud-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#intro-cloud-fallback {
  z-index: 0;
  opacity: 0;
  transition: opacity 500ms var(--ui-ease-out);
}

#intro-cloud {
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 500ms var(--ui-ease-out);
}

.intro-cloud-ready #intro-cloud,
.intro-cloud-ready #intro-cloud-fallback {
  opacity: 1;
}

.intro-canvas-wrap::after {
  position: absolute;
  inset: 14% 7% 12%;
  background: radial-gradient(ellipse at center, rgba(120, 215, 206, 0.09), transparent 69%);
  content: "";
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: -1;
}

.intro-scan-line {
  position: absolute;
  right: 12%;
  left: 12%;
  top: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(157, 232, 222, 0.78) 48%, transparent);
  opacity: 0.64;
  pointer-events: none;
  transform: translateY(0);
  animation: specimen-scan 3.2s linear infinite;
}

.start-screen.ready .intro-scan-line {
  opacity: 0.16;
  transform: translateY(34vh);
  animation: none;
}

.intro-axis {
  position: absolute;
  right: 5%;
  bottom: 8%;
  background: rgba(135, 201, 243, 0.34);
  pointer-events: none;
}

.intro-axis--x {
  width: 4.2rem;
  height: 1px;
}

.intro-axis--y {
  width: 1px;
  height: 2.6rem;
}

.intro-specimen figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid rgba(151, 220, 213, 0.19);
  padding-top: 0.7rem;
  color: #9aabaa;
  font-size: 0.74rem;
  letter-spacing: 0.045em;
  line-height: 1.4;
}

.intro-specimen figcaption span:last-child {
  color: #81908f;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.loading-block {
  margin: 1.15rem 0 1.1rem;
}

.loading-block.ready {
  opacity: 0.72;
}

.loading-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.55rem;
  align-items: baseline;
  color: #bbb6ae;
  font-size: 0.84rem;
}

#loading-value {
  color: #d8f7f2;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.42rem;
  font-variant-numeric: tabular-nums;
  font-weight: 520;
  line-height: 1;
}

.loading-track {
  height: 0.18rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.loading-bar {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f4ad83, #82d5cb 52%, #87c9f3);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms linear;
}

#enter-button {
  display: flex;
  width: min(100%, 30rem);
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(130, 213, 203, 0.56);
  border-radius: 0;
  padding: 0.95rem 1.1rem;
  margin-left: auto;
  background: rgba(130, 213, 203, 0.1);
  color: #e5fffb;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 650;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

#enter-button:hover:not(:disabled) {
  border-color: #82d5cb;
  background: rgba(130, 213, 203, 0.18);
  transform: translateY(-1px);
}

#enter-button:focus-visible {
  outline: 3px solid #87c9f3;
  outline-offset: 3px;
}

#enter-button:disabled {
  cursor: wait;
  opacity: 0.34;
}

#enter-button svg {
  width: 1.25rem;
  height: 1.25rem;
}

.controls-help {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin-top: 1rem;
  color: #99958f;
  font-size: 0.78rem;
}

kbd {
  margin-right: 0.28rem;
  color: #e6e1d9;
  font-size: 0.75rem;
  font-weight: 700;
}

.campaign-index {
  display: grid;
  grid-template-columns: auto minmax(2rem, 1fr) auto minmax(2rem, 1fr) auto;
  align-items: center;
  gap: 1rem;
  grid-column: 1 / -1;
  align-self: end;
  padding: 1rem 0 0.35rem;
  border-top: 1px solid rgba(151, 220, 213, 0.12);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

@keyframes specimen-scan {
  from { transform: translateY(0); }
  to { transform: translateY(42vh); }
}

.campaign-index i {
  height: 1px;
  background: linear-gradient(90deg, rgba(244, 173, 131, 0.7), rgba(135, 201, 243, 0.7));
}

.campaign-index span {
  display: grid;
  gap: 0.18rem;
}

.campaign-index b {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  font-weight: 530;
}

.campaign-index small {
  color: #8a9a99;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.landing-section {
  position: relative;
  width: min(100%, 100rem);
  padding: clamp(7rem, 12vw, 12rem) clamp(1.25rem, 6vw, 6rem);
  margin: 0 auto;
  border-top: 1px solid rgba(151, 220, 213, 0.14);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(20rem, 1.25fr) minmax(18rem, 0.75fr);
  align-items: end;
  gap: clamp(3rem, 9vw, 9rem);
}

.section-heading h2,
.visit-statement h2 {
  max-width: 15ch;
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.8rem, 5.2vw, 5.6rem);
  font-stretch: condensed;
  font-weight: 350;
  letter-spacing: -0.035em;
  line-height: 0.96;
  text-wrap: balance;
}

.section-heading > p,
.visit-statement > p {
  max-width: 42rem;
  margin: 0;
  color: #aeb9b8;
  font-size: clamp(1rem, 1.5vw, 1.24rem);
  line-height: 1.7;
}

.project-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: clamp(5rem, 10vw, 9rem) 0 0;
  border-top: 1px solid rgba(151, 220, 213, 0.2);
}

.project-principles div {
  min-height: 12rem;
  padding: 2rem clamp(1.25rem, 3vw, 2.6rem) 1rem 0;
  border-right: 1px solid rgba(151, 220, 213, 0.14);
}

.project-principles div + div {
  padding-left: clamp(1.25rem, 3vw, 2.6rem);
}

.project-principles div:last-child {
  border-right: 0;
}

.project-principles dt {
  color: #82d5cb;
  font-size: 0.73rem;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-principles dd {
  max-width: 25rem;
  margin: 1.4rem 0 0;
  color: #dedad3;
  font-size: 1.05rem;
  line-height: 1.6;
}

.campaigns-section {
  width: 100%;
  max-width: none;
  padding-right: max(clamp(1.25rem, 6vw, 6rem), calc((100vw - 100rem) / 2 + 6rem));
  padding-left: max(clamp(1.25rem, 6vw, 6rem), calc((100vw - 100rem) / 2 + 6rem));
  background: #0a1112;
}

.section-heading--compact {
  align-items: start;
}

.section-heading--compact h2 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 4.5vw, 5rem);
}

.campaign-timeline {
  margin: clamp(5rem, 9vw, 8rem) 0 0;
  padding: 0;
  list-style: none;
}

.campaign-timeline li {
  display: grid;
  grid-template-columns: minmax(9rem, 0.6fr) minmax(13rem, 0.65fr) minmax(20rem, 1fr);
  align-items: baseline;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: 2.2rem 0 2.5rem;
  border-top: 1px solid rgba(151, 220, 213, 0.18);
}

.campaign-timeline time {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.5rem, 4.6vw, 5rem);
  font-variant-numeric: tabular-nums;
  font-weight: 360;
  letter-spacing: -0.03em;
  line-height: 1;
}

.campaign-timeline__2023 time { color: #f4ad83; }
.campaign-timeline__2025 time { color: #82d5cb; }
.campaign-timeline__2026 time { color: #87c9f3; }

.campaign-timeline div {
  display: grid;
  gap: 0.4rem;
}

.campaign-timeline strong {
  color: #f1ece5;
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
  font-weight: 560;
}

.campaign-timeline span {
  color: #82908f;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.campaign-timeline p {
  max-width: 43rem;
  margin: 0;
  color: #adb8b7;
  font-size: 1rem;
  line-height: 1.65;
}

.visit-section {
  display: grid;
  grid-template-columns: minmax(20rem, 1fr) minmax(22rem, 0.9fr);
  gap: clamp(4rem, 10vw, 10rem);
  align-items: start;
}

.visit-statement p {
  margin-top: 2.2rem;
}

.visit-sequence {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(151, 220, 213, 0.2);
  list-style: none;
}

.visit-sequence li {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  align-items: baseline;
  gap: 1.1rem;
  padding: 1.55rem 0;
  border-bottom: 1px solid rgba(151, 220, 213, 0.15);
}

.visit-sequence b {
  color: #879795;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.visit-sequence span {
  color: #ece7df;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  font-weight: 420;
}

.visit-sequence small {
  color: #8a9998;
  font-size: 0.76rem;
  text-align: right;
}

.visit-return {
  display: inline-flex;
  grid-column: 2;
  width: fit-content;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 1px solid #82d5cb;
  padding: 0.5rem 0;
  color: #d9fff9;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.landing-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  width: min(100%, 100rem);
  align-items: end;
  gap: 2.5rem;
  padding: 2.2rem clamp(1.25rem, 4vw, 4rem) 2.5rem;
  margin: 0 auto;
  border-top: 1px solid rgba(151, 220, 213, 0.16);
  color: #8e9d9c;
  font-size: 0.75rem;
}

.landing-footer p {
  margin: 0;
}

.landing-footer p:first-child {
  display: grid;
  gap: 0.25rem;
}

.landing-footer strong {
  color: #d8d3cc;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.landing-footer__credit a,
.landing-footer > a {
  color: #b9d9d5;
}

.landing-nav a:focus-visible,
.landing-scroll-link:focus-visible,
.visit-return:focus-visible,
.landing-footer a:focus-visible {
  outline: 2px solid #87c9f3;
  outline-offset: 0.4rem;
}

.crosshair {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 0.38rem;
  height: 0.38rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease;
  pointer-events: none;
  z-index: 4;
}

.playing .crosshair {
  opacity: 0.72;
}

.audio-hotspot-aimed .crosshair {
  width: 0.72rem;
  height: 0.72rem;
  border-color: var(--audio-hotspot-color, #82d5cb);
  opacity: 1;
  box-shadow: 0 0 0 0.18rem rgba(7, 9, 11, 0.62);
}

.audio-hotspot-aimed .crosshair::before,
.audio-hotspot-aimed .crosshair::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.24rem;
  height: 1px;
  background: var(--audio-hotspot-color, #82d5cb);
  content: "";
  transform-origin: left center;
}

.audio-hotspot-aimed .crosshair::before {
  transform: translate(0.18rem, -0.12rem) rotate(35deg);
}

.audio-hotspot-aimed .crosshair::after {
  transform: translate(0.18rem, 0.1rem) rotate(-35deg);
}

.hud {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
  z-index: 4;
}

.playing .hud {
  opacity: 1;
}

.hud div {
  display: grid;
  gap: 0.15rem;
  padding: 0.62rem 0.78rem;
  background: rgba(7, 9, 11, 0.72);
  backdrop-filter: blur(8px);
}

.hud strong {
  font-size: 0.84rem;
  font-weight: 650;
}

.hud span {
  color: #b3afa8;
  font-size: 0.72rem;
}

.control-guide {
  position: fixed;
  right: 1.25rem;
  bottom: 5.35rem;
  left: 1.25rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(48rem, calc(100vw - 2.5rem));
  min-height: 15rem;
  gap: 0;
  margin-inline: auto;
  padding: 1rem 1.3rem 0.9rem;
  background:
    linear-gradient(118deg, rgba(31, 25, 20, 0.985), rgba(11, 16, 16, 0.985) 42%),
    #0c1010;
  box-shadow: 0 1.1rem 3rem rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(14px);
  color: #f2eee8;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12%);
  visibility: hidden;
  z-index: 6;
  transition:
    opacity 220ms var(--ui-ease-out),
    transform 260ms var(--ui-ease-out),
    visibility 0s linear 260ms;
}

.control-guide::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #b98a5d, #77c7bf 58%, rgba(119, 199, 191, 0));
  content: "";
}

.playing .control-guide[data-open="true"] {
  opacity: 1;
  pointer-events: none;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

.narration-interaction .control-guide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.5rem);
  visibility: hidden;
}

.tutorial-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-right: 2.7rem;
}

.tutorial-progress {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.42rem;
}

.tutorial-progress span {
  height: 0.22rem;
  background: rgba(255, 255, 255, 0.14);
  transition: background-color 180ms ease, opacity 180ms ease;
}

.tutorial-progress span.is-active {
  background: #d3a372;
}

.tutorial-progress span.is-complete {
  background: #77c7bf;
}

.tutorial-counter {
  min-width: 3.8rem;
  color: #c8c1b8;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.tutorial-stage {
  min-height: 10.7rem;
}

.tutorial-step {
  display: grid;
  min-height: 10.7rem;
  grid-template-columns: 12rem minmax(0, 1fr);
  align-items: center;
  animation: tutorial-step-enter 280ms var(--ui-ease-out) both;
}

.tutorial-step[hidden] {
  display: none;
}

.tutorial-visual {
  position: relative;
  display: grid;
  min-height: 8.6rem;
  place-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.11);
  padding-right: 1rem;
}

.tutorial-copy {
  padding: 0.6rem 0.35rem 0.55rem 1.65rem;
}

.tutorial-copy h2 {
  margin: 0 0 0.6rem;
  color: #fffaf2;
  font-size: clamp(1.55rem, 2.7vw, 2rem);
  font-weight: 620;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.tutorial-copy > p {
  max-width: 39ch;
  margin: 0;
  color: #c8c1b8;
  font-size: 0.98rem;
  line-height: 1.5;
}

.tutorial-copy > p strong {
  color: #fffaf2;
  font-weight: 720;
}

.tutorial-prompt {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  color: #8fd9d1;
  font-size: 0.78rem;
  font-weight: 650;
}

.tutorial-prompt i,
.tutorial-practice i {
  width: 0.46rem;
  height: 0.46rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #77c7bf;
}

.control-guide[data-state="complete"] .tutorial-prompt {
  color: #b9e4a7;
}

.control-guide[data-state="complete"] .tutorial-prompt i {
  background: #9fd18b;
  transform: scale(1.25);
}

.tutorial-mouse {
  width: 4.75rem;
  fill: rgba(255, 255, 255, 0.035);
  stroke: #f3eadf;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  animation: tutorial-mouse-pan 1.8s var(--ui-ease-in-out) infinite alternate;
}

.tutorial-mouse rect {
  fill: #77c7bf;
  stroke: none;
}

.tutorial-pan {
  position: absolute;
  width: 9.8rem;
  fill: none;
  stroke: #77c7bf;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  opacity: 0.8;
}

.tutorial-key-grid {
  display: grid;
  grid-template-columns: repeat(3, 3.25rem);
  gap: 0.42rem;
}

.tutorial-key-grid kbd,
.tutorial-action-key {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.065);
  color: #fffaf2;
  font-size: 1.12rem;
  font-weight: 760;
  transition:
    background-color 120ms ease,
    border-color 120ms ease,
    color 120ms ease,
    transform 120ms ease;
}

.tutorial-key-grid kbd:nth-of-type(1) { animation: tutorial-key-demo 2.4s var(--ui-ease-in-out) infinite; }
.tutorial-key-grid kbd:nth-of-type(2) { animation: tutorial-key-demo 2.4s var(--ui-ease-in-out) 0.6s infinite; }
.tutorial-key-grid kbd:nth-of-type(3) { animation: tutorial-key-demo 2.4s var(--ui-ease-in-out) 1.2s infinite; }
.tutorial-key-grid kbd:nth-of-type(4) { animation: tutorial-key-demo 2.4s var(--ui-ease-in-out) 1.8s infinite; }

.tutorial-key-grid kbd.is-pressed {
  animation: none;
  border-color: #77c7bf;
  background: #77c7bf;
  color: #0a1111;
  transform: translateY(2px);
}

.tutorial-medallion {
  width: 8.3rem;
  fill: none;
  stroke: #77c7bf;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.tutorial-medallion__inner {
  stroke: rgba(119, 199, 191, 0.54);
}

.tutorial-medallion__speaker {
  fill: #f3eadf;
  stroke: none;
}

.tutorial-medallion__wave {
  transform-box: fill-box;
  transform-origin: left center;
  animation: tutorial-audio-wave 1.6s linear infinite;
}

.tutorial-medallion__wave--two {
  animation-delay: 0.22s;
}

.tutorial-visual--interact {
  grid-auto-flow: column;
  grid-template-columns: auto auto auto;
  align-content: center;
  justify-content: center;
  gap: 0.85rem;
}

.tutorial-visual--interact > span {
  color: #aaa39a;
  font-size: 0.78rem;
}

.tutorial-action-key {
  width: 4.3rem;
  border-color: #77c7bf;
  font-size: 1.7rem;
}

.tutorial-click {
  width: 3.4rem;
  fill: rgba(255, 255, 255, 0.035);
  stroke: #f3eadf;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.tutorial-click__button,
.tutorial-click__pulse {
  stroke: #77c7bf;
}

.tutorial-click__pulse {
  animation: tutorial-click-pulse 1.45s var(--ui-ease-out) infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.tutorial-step--success .tutorial-copy h2 {
  color: #c8efbf;
}

.tutorial-visual--success svg {
  width: 7.2rem;
  fill: none;
  stroke: #9fd18b;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 6;
}

.tutorial-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-top: 1rem;
  color: #c8c1b8;
  font-size: 0.78rem;
}

.tutorial-shortcuts span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.tutorial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.72rem;
  color: #aaa39a;
  font-size: 0.7rem;
}

.tutorial-practice {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.control-guide kbd {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0.25rem;
  padding: 0.08rem 0.34rem;
  background: rgba(255, 255, 255, 0.065);
  color: #fffaf2;
  font-size: 0.72rem;
  font-weight: 720;
  white-space: nowrap;
}

.control-guide__close {
  position: absolute;
  top: 0.62rem;
  right: 0.7rem;
  display: grid;
  width: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  border: 0;
  background: transparent;
  color: #bcb5ab;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 150ms ease, color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .control-guide__close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fffaf2;
  }
}

.control-guide__close:focus-visible {
  outline: 3px solid #82d5cb;
  outline-offset: 2px;
}

.control-guide__close svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.tutorial-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@keyframes tutorial-step-enter {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tutorial-mouse-pan {
  from { transform: translateX(-0.6rem); }
  to { transform: translateX(0.6rem); }
}

@keyframes tutorial-key-demo {
  0%, 72%, 100% {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.065);
    color: #fffaf2;
    transform: translateY(0);
  }
  80%, 92% {
    border-color: #77c7bf;
    background: rgba(119, 199, 191, 0.34);
    color: #fff;
    transform: translateY(2px);
  }
}

@keyframes tutorial-audio-wave {
  0%, 18% {
    opacity: 0.2;
    transform: scale(0.84);
  }
  58% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0.2;
    transform: scale(1.08);
  }
}

@keyframes tutorial-click-pulse {
  0%, 45% {
    opacity: 0.25;
    transform: scale(0.86);
  }
  70%, 100% {
    opacity: 1;
    transform: scale(1);
  }
}

.error-panel {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  max-width: 28rem;
  gap: 0.3rem;
  border: 1px solid rgba(244, 173, 131, 0.62);
  padding: 1rem;
  background: rgba(24, 15, 12, 0.96);
  color: #f8eee5;
  z-index: 20;
}

.error-panel[hidden] {
  display: none;
}

.error-panel span {
  color: #cfc4ba;
  font-size: 0.9rem;
  line-height: 1.45;
}

@media (max-width: 1100px) and (min-width: 861px) {
  .landing-nav nav {
    gap: 1.15rem;
  }

  .landing-hero {
    grid-template-columns: minmax(18rem, 0.9fr) minmax(26rem, 1.1fr);
    gap: 2.5rem;
  }

  .start-panel h1 {
    font-size: clamp(3.25rem, 6vw, 4.4rem);
  }

  .intro-canvas-wrap {
    height: clamp(19rem, 48vh, 31rem);
  }

  .section-heading,
  .visit-section {
    gap: 4rem;
  }

  .campaign-timeline li {
    grid-template-columns: minmax(8rem, 0.5fr) minmax(11rem, 0.6fr) minmax(16rem, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 860px) {
  .landing-nav {
    min-height: 4.8rem;
    padding-block: 0.8rem;
  }

  .landing-nav nav a:not(.landing-nav__entry) {
    display: none;
  }

  .museum-mark {
    gap: 0.08rem 0.6rem;
  }

  .museum-mark strong {
    font-size: 0.72rem;
    letter-spacing: 0.07em;
  }

  .museum-mark small {
    font-size: 0.7rem;
  }

  .landing-hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: auto;
    align-items: start;
    gap: 2.2rem;
    padding-top: 3.2rem;
  }

  .landing-hero::before {
    display: none;
  }

  .start-panel h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 15vw, 4.6rem);
    line-height: 0.93;
  }

  .lead {
    margin-top: 1.35rem;
    font-size: 1rem;
  }

  .intro-context {
    font-size: 0.82rem;
  }

  .landing-scroll-link {
    margin-top: 1.8rem;
  }

  .intro-canvas-wrap {
    height: clamp(16rem, 44vh, 26rem);
  }

  .intro-specimen figcaption {
    align-items: end;
    gap: 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
  }

  .loading-block {
    margin-top: 0.75rem;
  }

  .loading-row {
    font-size: 0.72rem;
  }

  #enter-button {
    width: 100%;
  }

  .campaign-index {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
    padding-top: 1.25rem;
  }

  .campaign-index i {
    display: none;
  }

  .campaign-index span:nth-of-type(2) {
    text-align: center;
  }

  .campaign-index span:nth-of-type(3) {
    text-align: right;
  }

  .campaign-index small {
    font-size: 0.7rem;
  }

  .landing-section {
    padding-block: 6.5rem;
  }

  .campaigns-section {
    padding-inline: 1.25rem;
  }

  .section-heading,
  .visit-section {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .section-heading h2,
  .visit-statement h2 {
    font-size: clamp(2.75rem, 12vw, 4.1rem);
  }

  .section-heading > p,
  .visit-statement > p {
    font-size: 1rem;
  }

  .project-principles {
    grid-template-columns: 1fr;
    margin-top: 4rem;
  }

  .project-principles div,
  .project-principles div + div {
    min-height: auto;
    padding: 1.65rem 0.8rem 2rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(151, 220, 213, 0.14);
  }

  .campaign-timeline {
    margin-top: 4rem;
  }

  .campaign-timeline li {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }

  .campaign-timeline p {
    grid-column: 1 / -1;
  }

  .campaign-timeline time {
    font-size: 3rem;
  }

  .campaign-timeline div {
    align-self: center;
  }

  .visit-sequence {
    margin-top: 1rem;
  }

  .visit-return {
    grid-column: 1;
  }

  .landing-footer {
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 1.5rem;
  }

  .landing-footer__credit {
    grid-column: 1;
    grid-row: 2;
  }

  .landing-footer > a {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .controls-help {
    max-width: 24rem;
  }

  .hud span {
    display: none;
  }

  .control-guide {
    right: 0.6rem;
    bottom: 4.65rem;
    left: 0.6rem;
    width: auto;
    min-height: 16.5rem;
    max-height: min(52vh, 22rem);
    padding: 0.85rem 0.85rem 0.72rem;
  }

  .tutorial-stage,
  .tutorial-step {
    min-height: 11.6rem;
  }

  .tutorial-step {
    grid-template-columns: 8rem minmax(0, 1fr);
  }

  .tutorial-visual {
    min-height: 8.2rem;
    padding-right: 0.6rem;
  }

  .tutorial-copy {
    padding: 0.55rem 0.2rem 0.5rem 0.95rem;
  }

  .tutorial-copy h2 {
    margin-bottom: 0.45rem;
    font-size: clamp(1.25rem, 5.2vw, 1.55rem);
  }

  .tutorial-copy > p {
    font-size: 0.84rem;
    line-height: 1.42;
  }

  .tutorial-prompt {
    margin-top: 0.65rem;
    font-size: 0.69rem;
  }

  .tutorial-mouse {
    width: 3.75rem;
  }

  .tutorial-pan {
    width: 6.6rem;
  }

  .tutorial-key-grid {
    grid-template-columns: repeat(3, 2.4rem);
    gap: 0.32rem;
  }

  .tutorial-key-grid kbd {
    font-size: 0.92rem;
  }

  .tutorial-medallion {
    width: 6.3rem;
  }

  .tutorial-action-key {
    width: 3.4rem;
    font-size: 1.35rem;
  }

  .tutorial-click {
    width: 2.7rem;
  }

  .tutorial-visual--interact {
    gap: 0.52rem;
  }

  .tutorial-visual--success svg {
    width: 5.4rem;
  }

  .tutorial-shortcuts {
    gap: 0.4rem 0.65rem;
    margin-top: 0.68rem;
    font-size: 0.68rem;
  }

  .tutorial-footer {
    padding-top: 0.58rem;
    font-size: 0.64rem;
  }

  .tutorial-practice {
    display: none;
  }
}

@media (max-height: 800px) and (min-width: 861px) {
  .landing-hero {
    gap: 2.5rem;
    padding-top: 1.25rem;
    padding-bottom: 0.65rem;
  }

  .intro-canvas-wrap {
    height: clamp(15.5rem, 38vh, 18.5rem);
  }

  .intro-specimen figcaption {
    padding-top: 0.5rem;
  }

  .loading-block {
    margin: 0.65rem 0 0.75rem;
  }

  #enter-button {
    min-height: 3.1rem;
    padding-block: 0.75rem;
  }

  .campaign-index {
    padding-top: 0.55rem;
  }

  .landing-scroll-link {
    display: none;
  }

  .intro-context {
    display: none;
  }
}

@media (max-height: 650px) and (min-width: 761px) {
  .control-guide {
    bottom: 4rem;
    width: min(44rem, calc(100vw - 2.5rem));
    min-height: 11rem;
    padding: 0.7rem 1rem 0.62rem;
  }

  .tutorial-stage,
  .tutorial-step {
    min-height: 7.6rem;
  }

  .tutorial-step {
    grid-template-columns: 9.2rem minmax(0, 1fr);
  }

  .tutorial-visual {
    min-height: 6.8rem;
  }

  .tutorial-copy {
    padding: 0.35rem 0.25rem 0.35rem 1.2rem;
  }

  .tutorial-copy h2 {
    margin-bottom: 0.35rem;
    font-size: 1.35rem;
  }

  .tutorial-copy > p {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .tutorial-prompt {
    margin-top: 0.48rem;
    font-size: 0.68rem;
  }

  .tutorial-mouse,
  .tutorial-medallion,
  .tutorial-visual--success svg {
    width: 4.8rem;
  }

  .tutorial-pan {
    width: 7rem;
  }

  .tutorial-key-grid {
    grid-template-columns: repeat(3, 2.4rem);
  }

  .tutorial-footer {
    padding-top: 0.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .tutorial-step,
  .tutorial-mouse,
  .tutorial-key-grid kbd,
  .tutorial-medallion__wave,
  .tutorial-click__pulse {
    animation: none !important;
  }

  .intro-scan-line {
    opacity: 0.18;
    animation: none !important;
  }
}

/* Landing v47 — El fósil emerge del escaneo */
.start-screen {
  overflow-y: auto;
  scrollbar-color: #ff6a32 #111312;
  background: #111312;
}

.landing-page {
  display: grid;
  grid-template-columns: 4.85rem minmax(0, 1fr);
  min-height: 100svh;
  overflow: hidden;
  background:
    linear-gradient(105deg, #151716 0%, #111312 58%, #181817 100%);
}

.landing-main {
  grid-column: 2;
  min-width: 0;
  min-height: 100svh;
}

.landing-rail {
  position: relative;
  display: grid;
  grid-column: 1;
  grid-row: 1;
  grid-template-rows: auto 1fr auto;
  width: 4.85rem;
  min-height: 100svh;
  justify-items: center;
  border-right: 1px solid rgba(231, 229, 223, 0.16);
  padding: 1.15rem 0 1.25rem;
  background: #171918;
  z-index: 8;
}

.rail-mark {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  color: #e7e5df;
  text-decoration: none;
}

.rail-mark > span {
  display: grid;
  grid-template-columns: repeat(3, 0.34rem);
  gap: 0.18rem;
}

.rail-mark strong {
  color: #ff6a32;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
}

.rail-label,
.rail-credit {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.rail-label {
  align-self: center;
  color: #a8aaa5;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rail-credit {
  color: #969994;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.landing-nav {
  position: relative;
  top: auto;
  display: grid;
  grid-template-columns: minmax(15rem, 1fr) auto minmax(12rem, 1fr);
  width: 100%;
  min-height: 5.15rem;
  align-items: center;
  gap: 2rem;
  padding: 0 clamp(1.5rem, 3.4vw, 4rem);
  margin: 0;
  border-bottom: 1px solid rgba(231, 229, 223, 0.16);
  background: rgba(17, 19, 18, 0.96);
}

.museum-mark {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.22rem;
}

.museum-mark strong {
  color: #e7e5df;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.045em;
  line-height: 1;
  text-transform: uppercase;
}

.museum-mark small {
  color: #9da09b;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.landing-nav__descriptor {
  margin: 0;
  color: #aeb0ab;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.landing-nav nav {
  justify-content: flex-end;
  gap: clamp(1.4rem, 2.5vw, 2.8rem);
}

.landing-nav nav a {
  color: #b6b8b3;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.11em;
}

.landing-nav nav .landing-nav__entry {
  border-color: #ff6a32;
  color: #fff0e9;
}

.landing-nav nav a:hover {
  color: #ffffff;
}

.landing-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: calc(100svh - 5.15rem);
  min-height: 39rem;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  padding: clamp(2.1rem, 4.8vh, 4.25rem) clamp(1.5rem, 3.4vw, 4rem) 1rem;
  margin: 0;
  isolation: isolate;
}

.landing-hero::before {
  position: absolute;
  inset: 0;
  width: auto;
  background:
    radial-gradient(circle at 72% 38%, rgba(101, 217, 209, 0.065), transparent 30%),
    linear-gradient(90deg, transparent 0 74%, rgba(255, 255, 255, 0.025) 100%);
  content: "";
  pointer-events: none;
}

.landing-light {
  position: absolute;
  top: 10%;
  right: -13%;
  width: 76%;
  height: 16rem;
  background: radial-gradient(ellipse at 70% 50%, rgba(255, 92, 30, 0.9) 0%, rgba(255, 86, 28, 0.5) 31%, rgba(255, 106, 50, 0.15) 57%, transparent 76%);
  filter: blur(1.8rem);
  opacity: 0.82;
  transform: rotate(-13deg);
  transform-origin: right center;
  animation: landing-beam-in 1.25s var(--ui-ease-out) both;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

@keyframes landing-beam-in {
  from {
    opacity: 0.22;
    transform: rotate(-13deg) scaleX(0.08);
  }
  to {
    opacity: 0.82;
    transform: rotate(-13deg) scaleX(1);
  }
}

.hero-context {
  position: relative;
  grid-row: 1;
  width: min(19rem, 34vw);
  z-index: 5;
}

.hero-context .lead {
  margin: 0;
  color: #d1d0ca;
  font-size: clamp(0.92rem, 1.1vw, 1.08rem);
  line-height: 1.5;
}

.landing-state {
  margin-top: 0.9rem;
  border-color: rgba(255, 106, 50, 0.56);
  color: #ffd4c2;
}

.start-panel {
  position: relative;
  grid-row: 2;
  align-self: end;
  max-width: none;
  padding-bottom: clamp(6.4rem, 11vh, 8.9rem);
  z-index: 3;
}

.start-panel h1 {
  max-width: none;
  margin: 0;
  color: #e7e5df;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: -0.04em;
  line-height: 0.78;
  text-wrap: nowrap;
}

.start-panel h1 span {
  display: block;
  color: #d7d6d1;
  font-size: clamp(3.6rem, 6.9vw, 7.1rem);
  font-weight: 300;
  line-height: 0.8;
  white-space: nowrap;
}

.start-panel h1 strong {
  display: block;
  color: #f1f0ec;
  font-size: clamp(7rem, 14.2vw, 13.4rem);
  font-weight: 600;
  line-height: 0.74;
  text-transform: uppercase;
  white-space: nowrap;
}

.intro-specimen {
  position: absolute;
  inset: 0;
  display: block;
  min-width: 0;
  margin: 0;
  pointer-events: none;
  z-index: 4;
}

.intro-canvas-wrap {
  position: absolute;
  top: 2.5%;
  right: 0;
  width: min(72%, 70rem);
  height: 60%;
  min-height: 19rem;
  overflow: hidden;
  isolation: isolate;
  mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 90%, transparent 100%);
}

.intro-canvas-wrap::after {
  inset: 8% 3% 8% 12%;
  background: radial-gradient(ellipse at center, rgba(115, 216, 215, 0.08), transparent 68%);
}

.intro-scan-line {
  right: 8%;
  left: 18%;
  background: linear-gradient(90deg, transparent, rgba(162, 239, 232, 0.82) 52%, transparent);
}

.start-screen.ready .intro-scan-line {
  transform: translateY(28vh);
}

.intro-axis {
  right: 3.5%;
  bottom: 7%;
  background: rgba(231, 229, 223, 0.24);
}

.intro-specimen figcaption {
  position: absolute;
  top: 47%;
  right: clamp(1.5rem, 3.4vw, 4rem);
  display: flex;
  width: min(50%, 48rem);
  justify-content: space-between;
  gap: 1.25rem;
  border-color: rgba(231, 229, 223, 0.18);
  color: #b3b5b0;
  font-size: 0.75rem;
  letter-spacing: 0.045em;
}

.intro-specimen figcaption span:last-child {
  color: #939691;
}

.intro-actions {
  position: absolute;
  right: clamp(1.5rem, 3.4vw, 4rem);
  bottom: 5.35rem;
  width: min(31rem, 40vw);
  pointer-events: auto;
  z-index: 6;
}

.loading-block {
  margin: 0 0 0.85rem;
}

.loading-row {
  margin-bottom: 0.5rem;
  color: #b5b5af;
  font-size: 0.74rem;
}

#loading-value {
  color: #f4f2ed;
  font-size: 1.3rem;
}

.loading-track {
  height: 0.14rem;
  border-radius: 0;
  background: rgba(231, 229, 223, 0.2);
}

.loading-bar {
  border-radius: 0;
  background: linear-gradient(90deg, #ff6a32, #73d8d7 60%, #87c9f3);
}

#enter-button {
  width: 100%;
  min-height: 3.35rem;
  border-color: rgba(255, 106, 50, 0.78);
  background: rgba(255, 106, 50, 0.08);
  color: #fff2ec;
  font-size: 1.04rem;
}

#enter-button:hover:not(:disabled) {
  border-color: #ff6a32;
  background: #ff6a32;
  color: #171210;
}

.campaign-index {
  position: relative;
  grid-row: 3;
  align-self: end;
  min-height: 4rem;
  padding: 0.85rem 0 0;
  border-color: rgba(231, 229, 223, 0.16);
  color: #c8c8c2;
  z-index: 7;
}

.campaign-index i {
  background: linear-gradient(90deg, rgba(255, 106, 50, 0.74), rgba(115, 216, 215, 0.65), rgba(135, 201, 243, 0.74));
}

.campaign-index b {
  font-size: 1.05rem;
}

.campaign-index small {
  color: #92958f;
}

.rail-mark:focus-visible,
.rail-credit:focus-visible,
.museum-mark:focus-visible,
.landing-nav a:focus-visible {
  outline: 2px solid #73d8d7;
  outline-offset: 0.35rem;
}

@media (max-width: 1100px) and (min-width: 861px) {
  .landing-page {
    grid-template-columns: 4.25rem minmax(0, 1fr);
  }

  .landing-rail {
    width: 4.25rem;
  }

  .landing-nav {
    grid-template-columns: 1fr auto;
  }

  .landing-nav__descriptor {
    display: none;
  }

  .start-panel h1 span {
    font-size: clamp(3.35rem, 6.8vw, 5.2rem);
  }

  .start-panel h1 strong {
    font-size: clamp(6.25rem, 13.7vw, 10rem);
  }

  .intro-canvas-wrap {
    width: 70%;
  }

  .intro-actions {
    width: min(28rem, 42vw);
  }
}

@media (max-width: 860px) {
  .landing-page {
    display: block;
    min-height: 100%;
    overflow: visible;
  }

  .landing-main {
    min-height: 100%;
  }

  .landing-rail {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 4.4rem;
    min-height: 4.7rem;
    height: 4.7rem;
    align-items: center;
    padding: 0;
    border-bottom: 1px solid rgba(231, 229, 223, 0.16);
    background: #171918;
  }

  .rail-mark {
    gap: 0.35rem;
  }

  .rail-label,
  .rail-credit {
    display: none;
  }

  .landing-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 4.7rem;
    padding: 0.65rem 1rem 0.65rem 5.25rem;
    gap: 0.75rem;
  }

  .landing-nav__descriptor,
  .landing-nav nav a:not(.landing-nav__entry) {
    display: none;
  }

  .museum-mark strong {
    overflow: hidden;
    font-size: 0.78rem;
    letter-spacing: 0.025em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .museum-mark small {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }

  .landing-nav nav {
    gap: 0;
  }

  .landing-hero {
    grid-template-rows: auto auto auto auto;
    height: auto;
    min-height: calc(100svh - 4.7rem);
    overflow: visible;
    padding: 1.6rem 1rem 1.1rem;
  }

  .landing-light {
    top: 15%;
    right: -34%;
    width: 128%;
    height: 10rem;
    filter: blur(1.8rem);
    transform: rotate(-16deg);
  }

  .hero-context {
    grid-row: 1;
    width: min(100%, 21rem);
  }

  .hero-context .lead {
    font-size: 0.9rem;
  }

  .start-panel {
    grid-row: 2;
    padding: 2.2rem 0 0;
  }

  .start-panel h1 span {
    font-size: clamp(2.4rem, 10.4vw, 4.2rem);
    line-height: 0.84;
  }

  .start-panel h1 strong {
    font-size: min(17.2vw, 6.5rem);
    line-height: 0.78;
  }

  .intro-specimen {
    position: relative;
    inset: auto;
    display: grid;
    grid-row: 3;
    grid-template-rows: auto auto auto;
    min-height: 28rem;
    margin-top: -0.5rem;
  }

  .intro-canvas-wrap {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: clamp(14rem, 39svh, 21rem);
    min-height: 0;
    mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 94%, transparent 100%);
  }

  .intro-specimen figcaption {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    padding-top: 0.55rem;
    font-size: 0.7rem;
  }

  .intro-actions {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 0.9rem;
  }

  .campaign-index {
    grid-row: 4;
    grid-template-columns: repeat(3, 1fr);
    min-height: 3.7rem;
    gap: 0.7rem;
    margin-top: 1.25rem;
    padding-top: 0.85rem;
  }

  .campaign-index i {
    display: none;
  }

  .campaign-index small {
    font-size: 0.7rem;
  }
}

@media (max-height: 760px) and (min-width: 861px) {
  .landing-nav {
    min-height: 4.55rem;
  }

  .landing-hero {
    height: calc(100svh - 4.55rem);
    min-height: 34.5rem;
    padding-top: 1.45rem;
    padding-bottom: 0.65rem;
  }

  .hero-context .lead {
    font-size: 0.88rem;
  }

  .start-panel {
    padding-bottom: 5.3rem;
  }

  .start-panel h1 span {
    font-size: clamp(3rem, 5.7vw, 4.65rem);
  }

  .start-panel h1 strong {
    font-size: clamp(6rem, 12.9vw, 9.9rem);
  }

  .intro-canvas-wrap {
    top: 0;
    height: 56%;
    min-height: 15rem;
  }

  .intro-specimen figcaption {
    top: 46%;
  }

  .intro-actions {
    bottom: 4.45rem;
  }

  #enter-button {
    min-height: 3rem;
    padding-block: 0.7rem;
  }

  .campaign-index {
    min-height: 3.45rem;
    padding-top: 0.6rem;
  }
}

@media (max-height: 760px) and (min-width: 1180px) {
  .intro-actions {
    width: min(24rem, 28vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-light {
    animation: none !important;
  }
}

/* Landing v50 — jerarquía editorial del museo */
.landing-page {
  background: #171817;
}

.landing-nav {
  grid-template-columns: minmax(15rem, 1fr) auto;
  background: rgba(23, 24, 23, 0.97);
}

.landing-nav nav {
  justify-content: flex-end;
}

.museum-mark strong,
.landing-nav nav a,
.rail-label,
.rail-credit {
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
}

.landing-hero {
  display: block;
  height: calc(100svh - 5.15rem);
  min-height: 39rem;
  padding: 0;
}

.landing-hero::before {
  background:
    radial-gradient(ellipse 38% 36% at 72% 30%, rgba(0, 0, 0, 0.54), transparent 76%),
    linear-gradient(90deg, transparent 0 74%, rgba(255, 255, 255, 0.02) 100%);
}

.landing-light {
  top: 4%;
  right: -12%;
  width: 68%;
  height: 15rem;
  background: radial-gradient(
    ellipse at 74% 50%,
    rgba(255, 91, 28, 0.92) 0%,
    rgba(255, 91, 28, 0.48) 32%,
    rgba(255, 106, 50, 0.12) 58%,
    transparent 76%
  );
  filter: blur(2rem);
  opacity: 0.72;
  transform: rotate(-14deg);
}

.hero-context {
  position: absolute;
  top: clamp(2.4rem, 5vh, 4.2rem);
  left: clamp(1.5rem, 3.4vw, 4rem);
  width: min(20rem, 32vw);
  z-index: 7;
}

.hero-context .lead {
  color: #e1dfd9;
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  font-size: clamp(0.96rem, 1.15vw, 1.12rem);
  font-weight: 450;
  line-height: 1.42;
  text-wrap: balance;
}

.start-panel {
  position: absolute;
  left: clamp(1.5rem, 3.4vw, 4rem);
  right: clamp(1.5rem, 3.4vw, 4rem);
  bottom: clamp(1rem, 2.2vh, 2rem);
  max-width: none;
  padding: 0;
  z-index: 3;
}

.start-panel h1 {
  font-family: "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.065em;
  line-height: 0.76;
}

.start-panel h1 span {
  color: #ceccc7;
  font-size: clamp(2.7rem, 3.85vw, 4.7rem);
  font-weight: 520;
  line-height: 0.88;
  letter-spacing: -0.058em;
}

.start-panel h1 strong {
  color: #f0efeb;
  font-size: clamp(6.3rem, 12.4vw, 12.4rem);
  font-weight: 780;
  line-height: 0.74;
  letter-spacing: -0.078em;
}

.intro-specimen {
  inset: 0;
  z-index: 4;
}

.intro-canvas-wrap {
  top: -3%;
  right: -1.5%;
  width: min(74%, 73rem);
  height: 69%;
  min-height: 22rem;
  background: #050606 radial-gradient(ellipse 54% 56% at 59% 45%, rgba(18, 58, 57, 0.5), transparent 82%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 95%, transparent 100%);
}

#intro-cloud {
  background: #050606;
  filter: brightness(1.13) contrast(1.14) drop-shadow(0 0 0.28rem rgba(123, 221, 215, 0.22));
}

#intro-cloud.is-unavailable {
  visibility: hidden;
}

.intro-canvas-wrap::after {
  inset: 4% 1% 4% 5%;
  background: radial-gradient(ellipse at center, rgba(115, 216, 215, 0.06), transparent 70%);
}

.intro-scan-line {
  right: 8%;
  left: 18%;
  background: linear-gradient(90deg, transparent, rgba(255, 129, 76, 0.82) 52%, transparent);
}

.intro-axis,
.intro-specimen figcaption {
  display: none;
}

.intro-actions {
  top: clamp(8.1rem, 18vh, 10.5rem);
  right: auto;
  bottom: auto;
  left: clamp(1.5rem, 3.4vw, 4rem);
  width: min(24rem, 33vw);
  pointer-events: auto;
  z-index: 8;
}

.loading-block {
  max-height: 4.5rem;
  margin: 0 0 1.1rem;
  opacity: 1;
  overflow: hidden;
  transition:
    max-height 280ms var(--ui-ease-out),
    margin 280ms var(--ui-ease-out),
    opacity 180ms ease,
    transform 280ms var(--ui-ease-out),
    visibility 0s linear 0s;
}

.loading-block.ready {
  max-height: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(-0.45rem);
  visibility: hidden;
  transition-delay: 0s, 0s, 0s, 0s, 280ms;
}

.loading-row {
  color: #c9c5be;
  font-size: 0.8rem;
}

#loading-value {
  color: #fff7f2;
  font-family: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 650;
}

.loading-track {
  height: 0.2rem;
  background: rgba(239, 237, 231, 0.18);
}

.loading-bar {
  background: #ff6a32;
}

#enter-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  width: 100%;
  min-height: 5rem;
  align-items: center;
  gap: 0.16rem 1.25rem;
  border: 1px solid rgba(255, 106, 50, 0.82);
  padding: 0.9rem 1.15rem 0.98rem;
  margin: 0;
  background: rgba(255, 106, 50, 0.08);
  color: #ffe9de;
  font-family: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  text-align: left;
  opacity: 0.36;
  transform: translateY(0.4rem);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    opacity 280ms ease,
    transform 280ms var(--ui-ease-out),
    box-shadow 220ms ease;
}

#enter-button small {
  grid-column: 1;
  grid-row: 1;
  color: currentColor;
  font-size: 0.71rem;
  font-weight: 560;
  letter-spacing: 0.045em;
  opacity: 0.72;
}

#enter-button span {
  grid-column: 1;
  grid-row: 2;
  font-size: clamp(1.28rem, 1.7vw, 1.62rem);
  font-weight: 730;
  letter-spacing: -0.025em;
  line-height: 1;
}

#enter-button svg {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 2rem;
  height: 2rem;
  stroke-width: 1.35;
}

.start-screen.ready #enter-button {
  border-color: #ff6a32;
  background: #ff6a32;
  color: #191513;
  opacity: 1;
  transform: translateY(0);
  animation: museum-entry-ready 650ms var(--ui-ease-out) both;
}

#enter-button:hover:not(:disabled) {
  border-color: #ff8150;
  background: #ff8150;
  color: #171311;
  box-shadow: 0 0.9rem 2.8rem rgba(255, 84, 25, 0.24);
  transform: translateY(-0.2rem);
}

#enter-button:active:not(:disabled) {
  transform: translateY(0.05rem) scale(0.99);
}

#enter-button:focus-visible {
  outline: 3px solid #f3f1eb;
  outline-offset: 0.28rem;
}

#enter-button:disabled {
  cursor: wait;
  opacity: 0.36;
}

.campaign-index {
  display: none;
}

@keyframes museum-entry-ready {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 106, 50, 0);
    transform: translateY(0.65rem);
  }
  58% {
    box-shadow: 0 0 0 0.38rem rgba(255, 106, 50, 0.18);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 106, 50, 0);
    transform: translateY(0);
  }
}

@media (max-width: 1100px) and (min-width: 861px) {
  .landing-nav {
    grid-template-columns: 1fr auto;
  }

  .start-panel h1 span {
    font-size: clamp(2.6rem, 4vw, 3.7rem);
  }

  .start-panel h1 strong {
    font-size: clamp(5.8rem, 12.2vw, 9rem);
  }

  .intro-canvas-wrap {
    width: 77%;
    height: 67%;
  }

  .intro-actions {
    width: min(22rem, 34vw);
  }
}

@media (max-width: 860px) {
  .landing-page,
  .landing-main {
    min-height: 100%;
  }

  .landing-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .landing-nav nav {
    display: none;
  }

  .landing-hero {
    display: flex;
    height: auto;
    min-height: calc(100svh - 4.7rem);
    flex-direction: column;
    overflow: visible;
    padding: 1.7rem 1rem 1.2rem;
  }

  .landing-light {
    top: 18%;
    right: -46%;
    width: 132%;
    height: 11rem;
  }

  .hero-context {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 22rem);
    order: 1;
  }

  .start-panel {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    order: 2;
    padding: 2.2rem 0 0;
  }

  .start-panel h1 {
    width: 100%;
    max-width: none;
    text-align: left;
    text-wrap: nowrap;
  }

  .start-panel h1 span {
    font-size: min(7.4vw, 2.5rem);
  }

  .start-panel h1 strong {
    font-size: min(14.6vw, 4.8rem);
    letter-spacing: -0.07em;
  }

  .intro-specimen {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-rows: auto auto;
    width: 100%;
    min-height: 29rem;
    order: 3;
    margin-top: -0.3rem;
  }

  .intro-canvas-wrap {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: clamp(17rem, 42svh, 23rem);
    min-height: 0;
    mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
  }

  .intro-actions {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    margin-top: 0.2rem;
  }

  #enter-button {
    min-height: 4.7rem;
  }
}

@media (max-height: 760px) and (min-width: 861px) {
  .landing-hero {
    height: calc(100svh - 4.55rem);
    min-height: 34.5rem;
  }

  .hero-context {
    top: 1.5rem;
  }

  .hero-context .lead {
    font-size: 0.9rem;
  }

  .start-panel {
    bottom: 2.2rem;
  }

  .start-panel h1 span {
    font-size: clamp(2.45rem, 3.45vw, 3.4rem);
  }

  .start-panel h1 strong {
    font-size: clamp(5.4rem, 11.4vw, 8.7rem);
  }

  .intro-canvas-wrap {
    top: -5%;
    height: 68%;
    min-height: 18rem;
  }

  .intro-actions {
    top: 5.2rem;
    width: min(22rem, 31vw);
  }

  #enter-button {
    min-height: 4.25rem;
    padding-block: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .start-screen.ready #enter-button {
    animation: none;
  }
}

/* Landing v92 — portada unificada e interacción espacial */
.landing-page {
  background: #171817;
}

.landing-nav {
  grid-template-columns: minmax(15rem, 1fr) auto;
  background: rgba(23, 24, 23, 0.98);
}

.landing-nav nav {
  justify-content: flex-end;
}

.landing-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(22rem, 0.82fr) minmax(34rem, 1.18fr);
  width: 100%;
  height: calc(100svh - 5.15rem);
  min-height: 40rem;
  align-items: center;
  column-gap: clamp(2rem, 4vw, 6rem);
  overflow: hidden;
  padding: clamp(2.6rem, 5vh, 5rem) clamp(2rem, 4.2vw, 5.5rem);
  background: #171817;
  isolation: isolate;
}

.landing-hero::before,
.landing-light {
  display: none;
}

.hero-copy {
  position: relative;
  display: flex;
  grid-column: 1;
  min-width: 0;
  max-width: 36rem;
  flex-direction: column;
  align-items: flex-start;
  z-index: 5;
}

.start-panel {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0 0 clamp(1.45rem, 3vh, 2.4rem);
}

.start-panel h1 {
  width: 100%;
  max-width: 36rem;
  margin: 0;
  color: #f0efeb;
  font-family: "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-stretch: normal;
  letter-spacing: -0.03em;
  line-height: 0.94;
  text-align: left;
  text-wrap: balance;
  white-space: normal;
}

.start-panel h1 span,
.start-panel h1 strong {
  display: block;
  font-stretch: normal;
  text-wrap: balance;
}

.start-panel h1 span {
  color: #ceccc7;
  font-size: clamp(2.35rem, 3.15vw, 3.9rem);
  font-weight: 510;
  line-height: 0.98;
  letter-spacing: -0.028em;
  text-transform: none;
}

.start-panel h1 strong {
  max-width: 100%;
  margin-top: 0.18em;
  color: #f4f2ed;
  font-size: clamp(4.1rem, 5.35vw, 5.35rem);
  font-weight: 760;
  line-height: 0.82;
  letter-spacing: -0.038em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-context {
  position: relative;
  inset: auto;
  width: min(100%, 30rem);
  margin: 0;
}

.hero-context .lead {
  max-width: 28ch;
  margin: 0;
  color: #dedcd6;
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.05rem, 1.25vw, 1.24rem);
  font-weight: 440;
  line-height: 1.48;
  text-wrap: balance;
}

.landing-state {
  max-width: 31rem;
  margin: 1rem 0 0;
  border-top: 1px solid rgba(255, 132, 82, 0.6);
  padding-top: 0.8rem;
  color: #ffd7c6;
  font-size: 0.84rem;
  line-height: 1.45;
}

.intro-actions {
  position: relative;
  inset: auto;
  width: min(100%, 31rem);
  margin-top: clamp(1.8rem, 4vh, 3.2rem);
  pointer-events: auto;
  z-index: 8;
}

.loading-block {
  margin: 0 0 1.1rem;
}

.intro-specimen {
  position: relative;
  inset: auto;
  display: block;
  grid-column: 2;
  width: 100%;
  height: min(72svh, 49rem);
  min-height: 31rem;
  align-self: center;
  margin: 0;
  pointer-events: auto;
  z-index: 3;
}

.intro-canvas-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: transparent;
  cursor: grab;
  isolation: isolate;
  mask-image: none;
  -webkit-mask-image: none;
  touch-action: pan-y;
  user-select: none;
}

.intro-canvas-wrap.is-dragging {
  cursor: grabbing;
}

.intro-canvas-wrap:focus-visible {
  outline: 2px solid #8fded8;
  outline-offset: 0.35rem;
}

#intro-cloud {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  filter: brightness(1.12) contrast(1.08) drop-shadow(0 0.45rem 0.85rem rgba(61, 177, 177, 0.16));
  pointer-events: none;
}

#intro-cloud.is-unavailable {
  visibility: visible;
}

#intro-cloud-fallback,
.intro-canvas-wrap::after,
.intro-scan-line,
.intro-axis {
  display: none;
}

.intro-specimen figcaption.tutorial-sr-only {
  position: absolute;
  display: block;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.intro-interaction-hint {
  position: absolute;
  right: clamp(0.25rem, 1vw, 1rem);
  bottom: clamp(0.25rem, 1vw, 1rem);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: calc(100% - 2rem);
  border: 1px solid rgba(222, 220, 214, 0.22);
  padding: 0.72rem 0.86rem;
  margin: 0;
  background: rgba(23, 24, 23, 0.86);
  color: #d9d7d1;
  font-size: 0.78rem;
  line-height: 1.3;
  pointer-events: none;
  transition: opacity 220ms ease, transform 300ms var(--ui-ease-out);
  z-index: 4;
}

.intro-interaction-hint svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  fill: none;
  stroke: #8fded8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.intro-canvas-wrap.is-interacted .intro-interaction-hint {
  opacity: 0.58;
  transform: translateY(0.2rem);
}

.intro-reset {
  position: absolute;
  top: clamp(0.25rem, 1vw, 1rem);
  right: clamp(0.25rem, 1vw, 1rem);
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(222, 220, 214, 0.3);
  padding: 0.65rem 0.8rem;
  background: rgba(23, 24, 23, 0.88);
  color: #e1dfd9;
  font: 600 0.74rem/1 "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.3rem);
  transition: opacity 180ms ease, transform 260ms var(--ui-ease-out), border-color 180ms ease;
  z-index: 5;
}

.intro-reset svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: #8fded8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.intro-canvas-wrap.is-interacted .intro-reset,
.intro-reset:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.intro-reset:hover {
  border-color: rgba(143, 222, 216, 0.72);
}

.intro-reset:focus-visible {
  outline: 2px solid #f4f2ed;
  outline-offset: 0.2rem;
}

#enter-button {
  width: 100%;
  min-height: 6.15rem;
  gap: 0.2rem 1.5rem;
  border: 1px solid rgba(255, 106, 50, 0.84);
  padding: 1.1rem 1.3rem 1.16rem;
  margin: 0;
  background: rgba(255, 106, 50, 0.1);
  color: #ffe9de;
  opacity: 0.5;
  transform: translateY(0.35rem);
}

#enter-button small {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.035em;
}

#enter-button span {
  font-size: clamp(1.45rem, 1.9vw, 1.8rem);
  font-weight: 740;
  letter-spacing: -0.022em;
}

#enter-button svg {
  width: 2.35rem;
  height: 2.35rem;
}

.start-screen.ready #enter-button {
  border-color: #ff6a32;
  background: #ff6a32;
  color: #191513;
  opacity: 1;
  transform: translateY(0);
  animation: museum-entry-ready 650ms var(--ui-ease-out) both;
}

#enter-button:hover:not(:disabled) {
  border-color: #ff8150;
  background: #ff8150;
  color: #171311;
  box-shadow: 0 0.9rem 2.8rem rgba(255, 84, 25, 0.24);
  transform: translateY(-0.16rem);
}

@media (max-width: 1180px) and (min-width: 1001px) {
  .landing-hero {
    grid-template-columns: minmax(20rem, 0.82fr) minmax(28rem, 1.18fr);
    column-gap: clamp(1.25rem, 2.5vw, 2.5rem);
    padding-inline: clamp(1.5rem, 3vw, 3rem);
  }

  .start-panel h1 span {
    font-size: clamp(2.15rem, 3.2vw, 3rem);
  }

  .start-panel h1 strong {
    font-size: clamp(3.8rem, 6.25vw, 5.25rem);
    white-space: normal;
  }

  .intro-specimen {
    height: min(66svh, 43rem);
    min-height: 27rem;
  }
}

@media (max-width: 1000px) {
  .landing-page,
  .landing-main {
    min-height: 100%;
  }

  .landing-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .landing-nav nav {
    display: none;
  }

  .landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    min-height: calc(100svh - 4.7rem);
    align-items: start;
    gap: 1.4rem;
    overflow: visible;
    padding: 1.7rem 1.15rem 2rem;
  }

  .hero-copy {
    grid-column: 1;
    width: 100%;
    max-width: none;
  }

  .start-panel {
    margin-bottom: 1.25rem;
  }

  .start-panel h1 {
    max-width: 35rem;
  }

  .start-panel h1 span {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .start-panel h1 strong {
    font-size: clamp(3.4rem, 14vw, 5rem);
    white-space: normal;
  }

  .hero-context {
    width: min(100%, 28rem);
  }

  .intro-actions {
    width: min(100%, 31rem);
    margin-top: 1.4rem;
  }

  #enter-button {
    min-height: 5.25rem;
  }

  .intro-specimen {
    grid-column: 1;
    width: 100%;
    height: clamp(16rem, 38svh, 24rem);
    min-height: 0;
    margin: 0;
  }

  .intro-canvas-wrap {
    position: absolute;
    inset: 0;
  }

  .intro-interaction-hint {
    right: 0.25rem;
    bottom: 0.25rem;
    font-size: 0.72rem;
  }
}

@media (max-height: 760px) and (min-width: 1001px) {
  .landing-hero {
    height: calc(100svh - 4.55rem);
    min-height: 34.5rem;
    padding-block: 1.5rem;
  }

  .start-panel {
    margin-bottom: 1rem;
  }

  .start-panel h1 span {
    font-size: clamp(2rem, 2.8vw, 2.75rem);
  }

  .start-panel h1 strong {
    font-size: clamp(3.7rem, 5.6vw, 5rem);
  }

  .hero-context .lead {
    font-size: 0.98rem;
  }

  .intro-actions {
    margin-top: 1.2rem;
  }

  #enter-button {
    min-height: 4.8rem;
    padding-block: 0.82rem;
  }

  .intro-specimen {
    height: min(72svh, 38rem);
    min-height: 25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-interaction-hint,
  .start-screen.ready #enter-button {
    animation: none;
    transition: none;
  }
}

/* Créditos editoriales de la portada */
.landing-authorship {
  position: absolute;
  left: 50%;
  bottom: clamp(0.85rem, 1.8vh, 1.25rem);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0;
  color: #bdbbb5;
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  font-size: 0.69rem;
  font-weight: 520;
  letter-spacing: 0.035em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(-50%);
}

.landing-authorship a {
  color: #efede7;
  text-decoration-color: rgba(143, 222, 216, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24rem;
}

.landing-authorship a:hover {
  color: #ffffff;
  text-decoration-color: #8fded8;
}

.landing-authorship a:focus-visible {
  border-radius: 0.15rem;
  outline: 2px solid #8fded8;
  outline-offset: 0.28rem;
}

@media (max-width: 1000px) {
  .landing-authorship {
    position: relative;
    left: auto;
    bottom: auto;
    grid-column: 1;
    justify-self: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem 0.75rem;
    padding: 0.35rem 0 0.5rem;
    text-align: center;
    white-space: normal;
    transform: none;
  }
}

@media (max-width: 520px) {
  .landing-authorship {
    flex-direction: column;
  }
}
