:root {
  color-scheme: light;
  --paper: #f6f2e9;
  --paper-bright: #fffdf8;
  --ink: #171713;
  --muted: #625f57;
  --rule: #24231f;
  --soft-rule: #c8c2b7;
  --wash: #ece8df;
  --purple: #663399;
  --purple-pale: #efefff;
  --parent-green: #006633;
  --parent-red: #a92d2d;
  --book-blue: #326e9e;
  --book-teal: #568f8f;
  --animal-purple: #63428c;
  --nine-red: #a71f25;
  --craft-ochre: #8a5a25;
  --measure: 72rem;
  --reading: 46rem;
  --space-1: 0.35rem;
  --space-2: 0.7rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.25rem;
  --space-6: 3.5rem;
  --space-7: 5rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 100%;
  line-height: 1.55;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 1px 1px, rgba(23, 23, 19, 0.055) 1px, transparent 1.2px) 0 0 / 2.75rem 2.75rem,
    var(--paper);
  color: var(--ink);
  min-width: 0;
}

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

a {
  color: inherit;
  text-decoration-color: currentColor;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: var(--space-3);
  left: var(--space-3);
  padding: 0.75rem 1rem;
  border: 2px solid var(--ink);
  background: var(--paper-bright);
  color: var(--ink);
  transform: translateY(-180%);
}

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

.museum-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--rule);
  background: rgba(255, 253, 248, 0.96);
}

.museum-header__bar {
  width: min(calc(100% - 2rem), var(--measure));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) auto;
  gap: var(--space-4);
  align-items: center;
  min-height: 5rem;
}

.museum-brand {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
  width: fit-content;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.museum-brand__note {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.museum-nav {
  min-width: 0;
  max-width: 100%;
}

.museum-nav ul {
  display: flex;
  width: max-content;
  min-width: 100%;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0.25rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.museum-nav a {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.35rem;
}

.museum-nav a[aria-current="page"] {
  font-weight: 700;
  text-decoration-thickness: 0.16em;
}

.view-key {
  border-top: 1px solid var(--soft-rule);
  background: var(--wash);
}

.view-key__inner {
  width: min(calc(100% - 2rem), var(--measure));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-block: 0.55rem;
  font-size: 0.8rem;
  line-height: 1.45;
}

.view-key strong {
  font-weight: 700;
}

.view-key__modern::before,
.view-key__archive::before {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 0.3rem;
  margin-right: 0.45rem;
  border-radius: 999px;
  vertical-align: 0.12rem;
}

.view-key__modern::before {
  background: var(--purple);
}

.view-key__archive::before {
  background: repeating-linear-gradient(135deg, var(--ink) 0 1px, transparent 1px 3px);
}

main {
  display: block;
}

.section,
.hero,
.page-grid,
.museum-footer__inner {
  width: min(calc(100% - 2rem), var(--measure));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(15rem, 0.7fr);
  gap: clamp(2rem, 8vw, 7rem);
  padding-block: clamp(3.5rem, 9vw, 7rem);
  border-bottom: 1px solid var(--rule);
}

.hero__copy {
  max-width: 50rem;
}

.eyebrow,
.section-label,
.artifact-label,
.meta-label,
.card-state {
  margin: 0 0 var(--space-2);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.06;
  text-wrap: balance;
}

h1 {
  max-width: 14ch;
  margin-bottom: var(--space-4);
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: var(--space-4);
  font-size: clamp(2rem, 5vw, 4.35rem);
  font-weight: 400;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: var(--space-2);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  letter-spacing: -0.025em;
}

p {
  margin-top: 0;
}

.lede {
  max-width: 42rem;
  margin-bottom: var(--space-5);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.5;
}

.hero__aside {
  align-self: end;
  padding: var(--space-4);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: rgba(255, 253, 248, 0.66);
}

.hero__aside dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  margin: 0;
  font-size: 0.86rem;
}

.hero__aside dt {
  color: var(--muted);
}

.hero__aside dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.section {
  padding-block: clamp(3.5rem, 8vw, 7rem);
  border-bottom: 1px solid var(--rule);
}

.section__intro {
  display: grid;
  grid-template-columns: minmax(12rem, 0.7fr) minmax(0, 1.3fr);
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

.section__intro > :last-child {
  max-width: var(--reading);
}

.quiet-note,
.archive-notice,
.privacy-note {
  padding: var(--space-3) var(--space-4);
  border-left: 4px solid var(--ink);
  background: var(--paper-bright);
  font-size: 0.92rem;
}

.quiet-note p:last-child,
.archive-notice p:last-child,
.privacy-note p:last-child {
  margin-bottom: 0;
}

.network-map {
  position: relative;
  display: grid;
  grid-template-columns: minmax(14rem, 0.75fr) minmax(0, 1.8fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.network-map::before {
  content: "";
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: calc(30% + 1.6rem);
  border-left: 1px solid var(--rule);
}

.hub-node {
  position: sticky;
  top: 1rem;
  padding: var(--space-4);
  border: 1px solid var(--rule);
  background: var(--paper-bright);
  box-shadow: 0.4rem 0.4rem 0 var(--purple-pale);
}

.hub-node::after {
  content: "";
  position: absolute;
  top: 2rem;
  left: 100%;
  width: clamp(2rem, 7vw, 6rem);
  border-top: 1px solid var(--rule);
}

.hub-node__title {
  margin-bottom: var(--space-3);
  color: var(--purple);
  font-size: 1.65rem;
}

.hub-years {
  display: grid;
  gap: 0.4rem;
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.83rem;
}

.hub-years a {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: var(--space-2);
}

.channel-branches {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.channel-branch {
  position: relative;
}

.channel-branch::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 2rem;
  right: 100%;
  width: clamp(2rem, 7vw, 6rem);
  border-top: 1px solid var(--rule);
}

.channel-card {
  position: relative;
  display: block;
  min-height: 10rem;
  padding: var(--space-4);
  border: 1px solid var(--rule);
  background: var(--paper-bright);
  color: var(--ink);
  text-decoration: none;
}

.channel-card::after {
  content: "";
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 1rem;
  height: 1rem;
  border-right: 1px solid var(--accent, var(--purple));
  border-bottom: 1px solid var(--accent, var(--purple));
}

a.channel-card:hover {
  background: #fff;
  box-shadow: 0.35rem 0.35rem 0 var(--ink);
  transform: translate(-0.2rem, -0.2rem);
}

.channel-card h3 {
  color: var(--accent, var(--purple));
}

.channel-card p:last-child {
  margin-bottom: 0;
}

.channel-card--primary {
  min-height: 15rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  --accent: var(--parent-green);
}

.channel-card--book {
  --accent: var(--book-blue);
}

.channel-card--craft {
  --accent: var(--craft-ochre);
  background:
    linear-gradient(135deg, transparent 49.5%, rgba(138, 90, 37, 0.25) 50%, transparent 50.5%),
    var(--paper-bright);
  background-size: 1.5rem 1.5rem;
}

.channel-card--animal {
  --accent: var(--animal-purple);
  font-family: Garamond, Georgia, serif;
}

.channel-card--animal .card-state,
.channel-card--animal p {
  font-family: Arial, Helvetica, sans-serif;
}

.channel-card--nine {
  --accent: var(--nine-red);
}

.subchannel {
  width: calc(100% - 2rem);
  margin: var(--space-3) 0 0 2rem;
  border-left: 3px solid var(--nine-red);
}

.subchannel .channel-card {
  min-height: 0;
  border-left: 0;
}

.card-state {
  display: inline-block;
  padding: 0.22rem 0.5rem;
  border: 1px solid currentColor;
}

.milestone-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
}

.evidence-card,
.artifact-stage {
  margin: 0;
  border: 1px solid var(--rule);
  background: var(--paper-bright);
}

.evidence-card a {
  display: block;
  text-decoration: none;
}

.evidence-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  background: #ddd;
}

.evidence-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.evidence-card figcaption {
  padding: var(--space-3);
}

.evidence-card time,
.artifact-meta time {
  font-variant-numeric: tabular-nums;
}

.evidence-card strong {
  display: block;
  margin-bottom: var(--space-1);
  font-size: 1.15rem;
}

.evidence-card small {
  display: block;
  color: var(--muted);
  line-height: 1.45;
}

.page-masthead {
  --accent: var(--purple);
  border-bottom: 1px solid var(--rule);
}

.page-masthead .hero {
  border-bottom: 0;
}

.page-masthead h1 {
  color: var(--accent);
}

.page-masthead--parent {
  --accent: var(--parent-green);
}

.page-masthead--parent h1::after {
  content: "";
  display: block;
  width: 2.5ch;
  margin-top: 0.12em;
  border-bottom: 0.12em solid var(--parent-red);
}

.local-nav {
  border-bottom: 1px solid var(--rule);
  background: var(--paper-bright);
}

.local-nav ul {
  width: min(calc(100% - 2rem), var(--measure));
  margin: 0 auto;
  padding: 0.7rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.4rem;
  list-style: none;
  font-size: 0.88rem;
}

.page-grid {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  padding-block: var(--space-5);
}

.contents-rail {
  position: sticky;
  top: 1rem;
  padding: var(--space-3);
  border: 1px solid var(--rule);
  background: var(--wash);
}

.contents-rail h2 {
  margin-bottom: var(--space-3);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.contents-rail ol,
.contents-rail ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.84rem;
}

.exhibit-flow {
  min-width: 0;
}

.story-section {
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 1rem;
}

.story-section:first-child {
  padding-top: 0;
}

.story-section > p,
.story-section > .reading {
  max-width: var(--reading);
}

.artifact {
  display: grid;
  grid-template-columns: minmax(14rem, 0.72fr) minmax(0, 1.28fr);
  gap: var(--space-5);
  align-items: start;
  padding-block: var(--space-5);
  border-top: 1px solid var(--rule);
  scroll-margin-top: 1rem;
}

.artifact:first-of-type {
  margin-top: var(--space-5);
}

.artifact__story {
  position: sticky;
  top: 1rem;
}

.artifact__story h3 {
  margin-bottom: var(--space-3);
}

.artifact-stage {
  min-width: 0;
}

.artifact-stage__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid var(--rule);
  background: repeating-linear-gradient(135deg, #efede7 0 1px, #fffdf8 1px 5px);
  font-size: 0.78rem;
  font-weight: 700;
}

.artifact-stage__viewport {
  position: relative;
  height: clamp(17rem, 34vw, 26rem);
  overflow: hidden;
  background: #d9d8d4;
}

.artifact-stage__viewport img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  min-width: 0;
  object-fit: cover;
  object-position: top center;
}

.artifact-stage__viewport--800 img {
  min-width: 0;
}

.artifact-stage__viewport--1024 img {
  min-width: 0;
}

.artifact-stage__viewport::after {
  content: "Daterad glimt · bilden är beskuren här";
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  padding: 0.28rem 0.5rem;
  border: 1px solid var(--ink);
  background: rgba(255, 253, 248, 0.94);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.035em;
}

.artifact-meta {
  margin: 0;
  padding: 0 var(--space-3) var(--space-3);
  border-top: 1px solid var(--rule);
  font-size: 0.82rem;
}

.artifact-meta summary {
  padding-block: 0.7rem;
}

.artifact-meta dl {
  display: grid;
  grid-template-columns: minmax(7rem, 0.35fr) minmax(0, 1fr);
  gap: 0.35rem var(--space-3);
  margin: 0;
}

.artifact-meta dt {
  color: var(--muted);
}

.artifact-meta dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.status {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: var(--space-3);
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--ink);
  background: var(--paper-bright);
  font-size: 0.75rem;
  font-weight: 700;
}

.status::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border: 1px solid var(--ink);
  background: repeating-linear-gradient(135deg, var(--soft-rule) 0 1px, transparent 1px 3px);
}

details {
  margin-top: var(--space-3);
  border-top: 1px solid var(--soft-rule);
}

summary {
  padding-block: 0.8rem;
  cursor: pointer;
  font-weight: 700;
}

details > :not(summary) {
  font-size: 0.88rem;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.topic-card {
  min-height: 10rem;
  padding: var(--space-3);
  border-top: 3px solid var(--parent-green);
  background: var(--paper-bright);
}

.topic-card:nth-child(2) {
  border-color: var(--parent-red);
}

.topic-card:nth-child(3) {
  border-color: var(--ink);
}

.topic-card h3 {
  font-size: 1.15rem;
}

.topic-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.fact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: var(--space-5) 0 0;
  padding: 1px;
  background: var(--rule);
  list-style: none;
}

.fact-list li {
  padding: var(--space-4);
  background: var(--paper-bright);
}

.fact-list strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--parent-green);
}

.hero--compact {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.year-stamp {
  align-self: center;
  display: grid;
  grid-template-columns: auto minmax(1.5rem, 1fr) auto minmax(1.5rem, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  padding: var(--space-4);
  border: 1px solid var(--rule);
  background: var(--paper-bright);
  color: var(--purple);
  font-size: 0.85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.year-stamp i {
  display: block;
  border-top: 1px solid var(--ink);
}

.visage-flow {
  width: min(calc(100% - 2rem), var(--measure));
  margin-inline: auto;
  padding-block: clamp(3rem, 7vw, 6rem);
}

.visage-flow__heading {
  max-width: 49rem;
  margin-bottom: var(--space-6);
}

.visage-flow__heading p:last-child {
  max-width: var(--reading);
  font-size: 1.08rem;
}

.visage {
  --visage-accent: var(--purple);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.72fr);
  margin-bottom: clamp(2.5rem, 7vw, 6rem);
  border: 1px solid var(--rule);
  background: var(--paper-bright);
  box-shadow: 0.5rem 0.5rem 0 color-mix(in srgb, var(--visage-accent) 18%, transparent);
  scroll-margin-top: 1rem;
}

.visage__visual {
  min-width: 0;
  margin: 0;
  border-right: 1px solid var(--rule);
  background: #dedbd3;
}

.visage__image {
  height: clamp(22rem, 42vw, 35rem);
  overflow: hidden;
}

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

.visage__image--tall img {
  object-position: top left;
}

.visage figcaption {
  padding: 0.7rem 0.9rem;
  border-top: 1px solid var(--rule);
  background: repeating-linear-gradient(135deg, #efede7 0 1px, #fffdf8 1px 5px);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.visage__copy {
  align-self: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.visage__copy h3 {
  color: var(--visage-accent);
}

.visage__copy > p:not(.section-label) {
  font-size: 1rem;
}

.era-poster {
  overflow: hidden;
  background: var(--paper-bright);
}

.era-poster > div {
  position: relative;
  min-height: clamp(28rem, 46vw, 38rem);
  overflow: hidden;
}

.era-poster figcaption {
  position: relative;
  z-index: 2;
}

.poster-98 {
  background: #efefff;
  color: var(--purple);
}

.poster-98__year {
  position: absolute;
  right: -0.03em;
  bottom: -0.25em;
  font-size: clamp(14rem, 34vw, 29rem);
  font-weight: 700;
  letter-spacing: -0.13em;
  line-height: 1;
  opacity: 0.14;
}

.poster-98__word {
  position: absolute;
  z-index: 1;
  font-size: clamp(2.4rem, 7vw, 6.4rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.poster-98__word--one {
  top: 12%;
  left: 9%;
}

.poster-98__word--two {
  top: 42%;
  left: 25%;
}

.poster-98__word--three {
  right: 8%;
  bottom: 13%;
}

.poster-98 i {
  position: absolute;
  display: block;
  border-top: 1px solid var(--purple);
  transform-origin: left center;
}

.poster-98 i:nth-of-type(1) {
  top: 28%;
  left: 0;
  width: 58%;
}

.poster-98 i:nth-of-type(2) {
  top: 57%;
  left: 9%;
  width: 70%;
  transform: rotate(-12deg);
}

.poster-98 i:nth-of-type(3) {
  right: 0;
  bottom: 24%;
  width: 45%;
}

.poster-01 {
  background: #252329;
  color: #f6f2e9;
}

.poster-01__year {
  position: absolute;
  top: 5%;
  left: 6%;
  font-size: clamp(11rem, 28vw, 24rem);
  font-weight: 700;
  letter-spacing: -0.12em;
  line-height: 0.85;
}

.poster-01__now {
  position: absolute;
  z-index: 2;
  right: 8%;
  bottom: 10%;
  color: #cab4e0;
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  letter-spacing: -0.055em;
  line-height: 0.85;
}

.poster-01 b {
  position: absolute;
  display: block;
  border: 1px solid rgba(255, 253, 248, 0.75);
}

.poster-01 b:nth-of-type(1) { top: 12%; right: 8%; width: 22%; height: 24%; }
.poster-01 b:nth-of-type(2) { top: 42%; left: 8%; width: 48%; height: 12%; }
.poster-01 b:nth-of-type(3) { top: 60%; left: 8%; width: 30%; height: 25%; }
.poster-01 b:nth-of-type(4) { top: 49%; right: 8%; width: 29%; height: 31%; border-color: #cab4e0; }

.poster-late {
  background:
    linear-gradient(90deg, transparent 32.8%, #24231f 33%, transparent 33.2%, transparent 65.8%, #24231f 66%, transparent 66.2%),
    #fffdf8;
  color: #24231f;
}

.poster-late__range {
  position: absolute;
  z-index: 2;
  top: 7%;
  left: 5%;
  font-size: clamp(5rem, 16vw, 13rem);
  font-weight: 700;
  letter-spacing: -0.1em;
  line-height: 0.9;
}

.poster-late__channel {
  position: absolute;
  z-index: 2;
  right: 5%;
  bottom: 7%;
  color: var(--purple);
  font-size: clamp(2.4rem, 8vw, 6.8rem);
  letter-spacing: -0.06em;
}

.poster-late i {
  position: absolute;
  display: block;
  background: #ddd7e4;
}

.poster-late i:nth-of-type(1) { top: 38%; left: 4%; width: 26%; height: 8%; }
.poster-late i:nth-of-type(2) { top: 49%; left: 4%; width: 26%; height: 22%; }
.poster-late i:nth-of-type(3) { top: 33%; left: 36%; width: 27%; height: 27%; background: #efefff; }
.poster-late i:nth-of-type(4) { top: 64%; left: 36%; width: 27%; height: 13%; }
.poster-late i:nth-of-type(5) { top: 29%; right: 4%; width: 27%; height: 17%; }
.poster-late i:nth-of-type(6) { top: 50%; right: 4%; width: 27%; height: 12%; background: #efefff; }

.source-inset {
  width: min(100%, 14rem);
  margin: var(--space-4) 0 0;
  border: 1px solid var(--soft-rule);
  background: #dedbd3;
}

.source-inset img {
  width: 100%;
  height: 8.5rem;
  object-fit: cover;
  object-position: top center;
}

.source-inset figcaption {
  padding: 0.4rem 0.5rem;
  border-top: 1px solid var(--soft-rule);
  background: var(--paper-bright);
  color: var(--muted);
  font-size: 0.68rem;
}

.parent-poster {
  color: var(--parent-green);
}

.parent-poster--early {
  background: #f5f0e8;
}

.parent-poster__vertical {
  position: absolute;
  top: 9%;
  bottom: 9%;
  left: 6%;
  padding-right: 1rem;
  border-right: 1px solid var(--parent-red);
  color: var(--parent-red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.parent-poster__headline {
  position: absolute;
  z-index: 2;
  top: 17%;
  left: 21%;
  font-size: clamp(3.8rem, 11vw, 9.5rem);
  letter-spacing: -0.07em;
  line-height: 0.78;
}

.parent-poster__bands {
  position: absolute;
  right: 7%;
  bottom: 9%;
  left: 21%;
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 1fr 0.75fr;
  gap: 0.55rem;
  height: 17%;
}

.parent-poster__bands i:nth-child(1) { background: var(--parent-red); }
.parent-poster__bands i:nth-child(2) { background: #ccc; }
.parent-poster__bands i:nth-child(3) { border: 1px solid var(--parent-green); }
.parent-poster__bands i:nth-child(4) { background: #d5e6dc; }

.parent-poster--tools {
  background: #e9eee9;
}

.parent-poster__tool-rail {
  position: absolute;
  top: 7%;
  bottom: 7%;
  left: 6%;
  width: 22%;
  display: grid;
  grid-template-rows: auto repeat(4, 1fr);
  gap: 0.6rem;
  padding: 1.1rem;
  background: var(--parent-green);
  color: #fffdf8;
}

.parent-poster__tool-rail span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.parent-poster__tool-rail i {
  border-top: 1px solid rgba(255, 253, 248, 0.7);
}

.parent-poster__tool-word {
  position: absolute;
  z-index: 2;
  top: 10%;
  right: 5%;
  color: var(--parent-red);
  font-family: Georgia, Garamond, serif;
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-style: italic;
  letter-spacing: -0.07em;
}

.parent-poster__field {
  position: absolute;
  right: 6%;
  bottom: 8%;
  left: 34%;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 0.8rem;
  height: 49%;
}

.parent-poster__field b { border: 1px solid var(--parent-green); }
.parent-poster__field b:nth-child(2) { background: #d6e5d9; border: 0; }
.parent-poster__field b:nth-child(3) { background: #f1d9d6; border: 0; }

.parent-poster--late {
  background: #133f2a;
  color: #fffdf8;
}

.parent-poster__late-rail {
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: 6%;
  width: 17%;
  display: grid;
  gap: 0.7rem;
}

.parent-poster__late-rail i {
  border-top: 1px solid rgba(255, 253, 248, 0.75);
}

.parent-poster__late-year {
  position: absolute;
  top: 4%;
  right: 4%;
  color: rgba(255, 253, 248, 0.14);
  font-size: clamp(13rem, 32vw, 28rem);
  font-weight: 700;
  letter-spacing: -0.13em;
  line-height: 0.9;
}

.parent-poster__late-grid {
  position: absolute;
  z-index: 2;
  top: 12%;
  right: 7%;
  bottom: 10%;
  left: 29%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 0.7rem;
}

.parent-poster__late-grid b {
  border: 1px solid rgba(255, 253, 248, 0.7);
}

.parent-poster__late-grid b:nth-child(1),
.parent-poster__late-grid b:nth-child(6) {
  grid-column: span 2;
  background: rgba(183, 49, 49, 0.65);
  border: 0;
}

.visage--purple {
  --visage-accent: var(--purple);
}

.visage--graphite {
  --visage-accent: #4f4b53;
}

.visage--lines {
  --visage-accent: #5b3a7a;
}

.visage--parent-early,
.visage--parent-tools,
.visage--parent-late {
  --visage-accent: var(--parent-green);
}

.visage--parent-tools {
  --visage-accent: var(--parent-red);
}

.shape-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
}

.shape-notes li {
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--visage-accent);
  color: var(--visage-accent);
  font-size: 0.76rem;
}

.parent-hero h1 {
  color: var(--parent-green);
}

.parent-hero h1::after {
  content: "";
  display: block;
  width: 2.5ch;
  margin-top: 0.12em;
  border-bottom: 0.12em solid var(--parent-red);
}

.parent-mark {
  align-self: center;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  border: 1px solid var(--rule);
  background: var(--rule);
}

.parent-mark span,
.parent-mark strong,
.parent-mark small {
  padding: 0.85rem;
  background: var(--paper-bright);
}

.parent-mark span {
  color: var(--parent-red);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.parent-mark strong {
  grid-column: 1 / -1;
  color: var(--parent-green);
  font-family: Georgia, Garamond, serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-style: italic;
  font-weight: 400;
  text-align: center;
}

.parent-mark small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.7rem;
  text-align: center;
}

.toolbox-echo {
  display: grid;
  margin-top: var(--space-4);
  border-top: 1px dotted var(--muted);
}

.toolbox-echo span {
  padding: 0.45rem 0;
  border-bottom: 1px dotted var(--muted);
  color: var(--parent-red);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.privacy-strip,
.source-whisper,
.next-room {
  width: min(calc(100% - 2rem), var(--measure));
  margin-inline: auto;
}

.privacy-strip {
  margin-bottom: var(--space-4);
  padding: var(--space-4);
  border: 1px solid var(--rule);
  background: var(--paper-bright);
}

.privacy-strip p,
.source-whisper p {
  margin: 0;
}

.source-whisper {
  padding: var(--space-3) 0;
  border-top: 1px solid var(--soft-rule);
  border-bottom: 1px solid var(--soft-rule);
  color: var(--muted);
  font-size: 0.82rem;
}

.next-room {
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.next-room h2 {
  margin-bottom: var(--space-2);
}

.next-room p {
  max-width: var(--reading);
}

.museum-footer {
  background: var(--ink);
  color: var(--paper-bright);
}

.museum-footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--space-5);
  padding-block: var(--space-5);
}

.museum-footer p {
  max-width: 42rem;
  margin-bottom: 0;
}

.museum-footer nav ul {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.museum-footer small {
  color: #d7d1c6;
}

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

@media (max-width: 56rem) {
  .museum-header__bar,
  .hero,
  .section__intro,
  .network-map,
  .page-grid,
  .artifact,
  .museum-footer__inner {
    grid-template-columns: 1fr;
  }

  .museum-header__bar {
    align-items: start;
    padding-block: var(--space-3);
  }

  .museum-nav {
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-block: 0.45rem;
    scrollbar-width: thin;
  }

  .museum-nav ul {
    min-width: max-content;
    justify-content: flex-start;
    padding-inline: 0.45rem;
  }

  .view-key__inner {
    display: grid;
    gap: 0.35rem;
    font-size: 0.82rem;
  }

  .view-key__inner > span {
    display: block;
  }

  .view-key__modern::before,
  .view-key__archive::before {
    margin-right: 0.5rem;
  }

  .hero {
    gap: var(--space-5);
  }

  .hero__aside {
    max-width: 28rem;
  }

  .network-map::before {
    top: 12rem;
    bottom: 2rem;
    left: 1rem;
  }

  .hub-node,
  .artifact__story,
  .contents-rail {
    position: static;
  }

  .hub-node::after {
    top: 100%;
    left: 1rem;
    width: 0;
    height: var(--space-5);
    border-top: 0;
    border-left: 1px solid var(--rule);
  }

  .channel-branches {
    padding-left: 2rem;
  }

  .channel-branch::before {
    top: 2rem;
    right: 100%;
    width: 2rem;
  }

  .page-grid {
    padding-top: var(--space-4);
  }

  .contents-rail ol,
  .contents-rail ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .artifact {
    gap: var(--space-4);
  }

  .visage {
    grid-template-columns: 1fr;
  }

  .visage__visual {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .visage__image {
    height: clamp(21rem, 68vw, 34rem);
  }
}

@media (max-width: 42rem) {
  :root {
    --space-6: 2.75rem;
    --space-7: 3.5rem;
  }

  .topic-grid,
  .fact-list {
    grid-template-columns: 1fr;
  }

  .milestone-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(82vw, 20rem);
    grid-template-columns: none;
    gap: 0.85rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 0.15rem 0 0.8rem;
    scroll-padding-inline: 0.15rem;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }

  .milestone-grid .evidence-card {
    scroll-snap-align: start;
  }

  .local-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .artifact-stage__viewport {
    max-width: calc(100vw - 2rem);
    height: 18rem;
  }

  .year-stamp {
    grid-template-columns: auto 1fr auto 1fr auto;
  }

  .parent-mark {
    max-width: 30rem;
  }
}

/* Full-scale illustrated anchors. */
.home-hero__image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 61% 50%;
  filter: saturate(0.92) contrast(1.04);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.74) 16%, #000 36% 100%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.74) 16%, #000 36% 100%);
}

.home-hero__web::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(27, 10, 39, 0.35), transparent 34%),
    linear-gradient(0deg, rgba(18, 7, 28, 0.2), transparent 28%);
}

.home-hero__aura,
.home-hero__thread,
.home-hero__ring,
.home-hero__name,
.home-hero__node {
  z-index: 2;
}

.home-hero__ring,
.home-hero__thread,
.home-hero__web::before {
  opacity: 0.5;
}

.home-hero__name {
  background: rgba(27, 10, 39, 0.6);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.home-hero__node {
  min-width: 5.5rem;
  min-height: 5.5rem;
  background: rgba(255, 250, 240, 0.86);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.home-hero__node--parent {
  width: 8.5rem;
  height: 8.5rem;
  background: rgba(215, 234, 220, 0.9);
}

.home-hero__node--book { background: rgba(175, 216, 240, 0.9); }
.home-hero__node--craft { background: rgba(236, 203, 148, 0.9); }
.home-hero__node--animal { background: rgba(211, 196, 233, 0.9); }
.home-hero__node--nine { background: rgba(239, 180, 180, 0.9); }

.parent-hero__image {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 57%;
  overflow: hidden;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.parent-hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245, 239, 228, 0.98), transparent 25%),
    linear-gradient(0deg, rgba(16, 65, 38, 0.14), transparent 32%);
  pointer-events: none;
}

.parent-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.9) contrast(1.02);
  transform: scale(1.02);
}

.parent-room .parent-mark {
  z-index: 3;
  width: min(100%, 31rem);
  align-self: end;
  margin-bottom: clamp(1rem, 4vh, 3rem);
}

.parent-room .parent-mark > span:not([class]) {
  background: rgba(255, 251, 244, 0.92);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.parent-room .parent-mark > strong {
  min-height: 12rem;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15), transparent 24%),
    rgba(0, 102, 51, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

@media (max-width: 56rem) {
  .parent-hero__image {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: 30rem;
    border-radius: 1.5rem;
    clip-path: none;
    box-shadow: 0 1.5rem 3.5rem rgba(32, 66, 46, 0.13);
  }

  .parent-hero__image::after {
    background: linear-gradient(0deg, rgba(8, 60, 33, 0.18), transparent 36%);
  }

  .parent-room .parent-mark {
    width: min(100%, 38rem);
    margin: -7rem auto 0;
  }
}

@media (max-width: 42rem) {
  .home-hero__image {
    object-position: 60% center;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.4), #000 22% 100%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.4), #000 22% 100%);
  }

  .home-hero__name {
    font-size: 3rem;
  }

  .home-hero__node {
    min-width: 4.3rem;
    min-height: 4.3rem;
  }

  .home-hero__node--parent {
    width: 6.4rem;
    height: 6.4rem;
  }

  .parent-hero__image {
    min-height: 23rem;
    border-radius: 1rem;
  }

  .parent-hero__image img {
    object-position: 57% center;
  }

  .parent-room .parent-mark {
    margin-top: -4rem;
  }

  .parent-room .parent-mark > strong {
    min-height: 9rem;
  }
}

/* One public frame for every room. Room-specific color and type remain local. */
:root {
  --museum-frame-width: 96rem;
  --museum-frame-gutter: clamp(1rem, 4vw, 4rem);
}

.museum-header__bar {
  display: grid;
  width: min(100%, var(--museum-frame-width));
  min-height: 5.25rem;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  margin-inline: auto;
  padding-inline: var(--museum-frame-gutter);
}

.museum-brand {
  display: inline-flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.museum-brand__mark {
  width: 1rem;
  aspect-ratio: 1;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.museum-brand__word {
  display: block;
}

.museum-nav {
  width: auto;
  min-width: 0;
  max-width: 100%;
  justify-self: end;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

.museum-nav ul {
  display: flex;
  width: max-content;
  min-width: 0;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(0.68rem, 0.75vw, 0.78rem);
  font-weight: 700;
}

.museum-nav a {
  display: inline-flex;
  min-width: 0;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.38rem;
  white-space: nowrap;
}

.museum-footer {
  width: 100%;
  max-width: none;
  margin: 0;
}

.museum-footer__inner {
  display: flex;
  width: min(100%, var(--museum-frame-width));
  min-height: 8rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-inline: auto;
  padding: 1.5rem var(--museum-frame-gutter);
}

.museum-footer p {
  max-width: 42rem;
  margin: 0;
}

.museum-footer small {
  color: inherit;
  opacity: 0.74;
}

.museum-footer nav {
  margin-left: auto;
}

.museum-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.museum-footer nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
}

@media (max-width: 64rem) {
  .museum-header__bar {
    display: flex;
    min-height: 0;
    align-items: stretch;
    flex-direction: column;
    gap: 0.2rem;
    padding-top: 0.9rem;
    padding-bottom: 0.45rem;
  }

  .museum-nav {
    width: 100%;
    justify-self: auto;
  }

  .museum-nav ul {
    min-width: max-content;
    justify-content: flex-start;
  }

  .museum-footer__inner {
    min-height: 9rem;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.7rem;
  }

  .museum-footer nav {
    margin-left: 0;
  }

  .museum-footer nav ul {
    justify-content: flex-start;
  }
}

/* Final cascade activation for the complete museum map. */
.home-room .museum-header__bar {
  width: min(calc(100% - 2rem), 96rem);
}

.home-room .museum-nav ul {
  gap: 0.15rem 0.32rem;
  font-size: clamp(0.68rem, 0.75vw, 0.82rem);
}

.home-room .museum-nav a {
  padding-inline: 0.3rem;
}

.home-room .home-hero {
  grid-template-columns: minmax(20rem, 0.8fr) minmax(38rem, 1.2fr);
}

.home-room .home-hero__web {
  min-height: 46rem;
}

.home-room .home-hero__ring--one {
  width: 17rem;
  height: 17rem;
}

.home-room .home-hero__ring--two {
  width: 31rem;
  height: 31rem;
}

.home-room .home-hero__ring--three {
  width: 45rem;
  height: 45rem;
}

.home-room .home-hero__ring--four {
  width: 59rem;
  height: 59rem;
}

.home-room .home-hero__name {
  padding: 0.1em 0.2em 0.18em;
  border: 1px solid rgba(255, 250, 240, 0.2);
  border-radius: 999px;
  background: rgba(25, 10, 36, 0.52);
  font-size: clamp(3.4rem, 6.2vw, 6.4rem);
  line-height: 0.82;
  -webkit-backdrop-filter: blur(0.65rem);
  backdrop-filter: blur(0.65rem);
}

.home-room .home-hero__node {
  min-width: 5rem;
  min-height: 5rem;
  padding: 0.72rem;
  font-size: 0.6rem;
  line-height: 1.1;
}

.home-room .home-hero__node--parent {
  top: 10%;
  left: 4%;
  width: 8.8rem;
  height: 8.8rem;
  background: rgba(215, 234, 220, 0.92);
}

.home-room .home-hero__node--mailing {
  top: 34%;
  left: 0;
  width: 7.2rem;
  height: 7.2rem;
  background: rgba(242, 211, 219, 0.92);
}

.home-room .home-hero__node--nine {
  right: auto;
  bottom: 10%;
  left: 6%;
  background: rgba(239, 180, 180, 0.92);
}

.home-room .home-hero__node--name {
  bottom: 1%;
  left: 31%;
  width: 6.2rem;
  height: 6.2rem;
  background: rgba(249, 221, 164, 0.94);
}

.home-room .home-hero__node--animal {
  right: 18%;
  bottom: 6%;
  background: rgba(211, 196, 233, 0.92);
}

.home-room .home-hero__node--book {
  top: 9%;
  right: 10%;
  background: rgba(175, 216, 240, 0.92);
}

.home-room .home-hero__node--craft {
  top: 35%;
  right: 0;
  background: rgba(236, 203, 148, 0.94);
}

.home-room .home-hero__node--action {
  right: 2%;
  bottom: 22%;
  width: 6.5rem;
  height: 6.5rem;
  background: rgba(174, 229, 160, 0.94);
}

.home-room .portal-section {
  padding-top: clamp(6rem, 11vw, 11rem);
  padding-bottom: 0;
}

.home-room .portal-grid--heart {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.home-room .portal-grid--heart .portal--parent {
  grid-column: span 7;
}

.home-room .portal-grid--heart .portal--mailing {
  grid-column: span 5;
}

.home-room .portal-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-room .portal-grid--three .portal {
  grid-column: auto;
}

.home-room .portal--mailing {
  background:
    radial-gradient(circle at 84% 13%, rgba(255, 255, 255, 0.42) 0 4rem, transparent 4.1rem),
    linear-gradient(132deg, transparent 0 70%, rgba(104, 45, 80, 0.06) 70% 70.5%, transparent 70.5%),
    #edd4df;
}

.home-room .portal--name {
  background:
    linear-gradient(90deg, transparent 0 49.8%, rgba(92, 59, 25, 0.08) 50%, transparent 50.2%) 0 0 / 4rem 100%,
    linear-gradient(0deg, transparent 0 49.8%, rgba(92, 59, 25, 0.06) 50%, transparent 50.2%) 0 0 / 100% 4rem,
    #f2daa9;
}

.home-room .portal--action {
  background:
    linear-gradient(151deg, transparent 0 58%, rgba(36, 84, 45, 0.1) 58.2% 59%, transparent 59.2%),
    #cde7bd;
}

.home-room .portal__art--mailing {
  top: 3.2rem;
  right: 2.4rem;
  width: min(56%, 18rem);
}

.home-room .portal__art--name {
  top: 2.4rem;
  right: 1.6rem;
  width: min(58%, 17rem);
}

.home-room .portal__art--action {
  top: 1.9rem;
  right: 1.4rem;
  width: min(62%, 18rem);
}

@media (max-width: 76rem) {
  .home-room .home-hero {
    grid-template-columns: minmax(19rem, 0.76fr) minmax(32rem, 1.24fr);
  }

  .home-room .home-hero__node--parent {
    left: 1%;
  }

  .home-room .home-hero__node--mailing {
    left: -2%;
  }

  .home-room .home-hero__node--book {
    right: 4%;
  }

  .home-room .home-hero__node--craft {
    right: -2%;
  }

  .home-room .portal-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-room .portal-grid--three .portal:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 56rem) {
  .home-room .home-hero {
    grid-template-columns: 1fr;
  }

  .home-room .home-hero__web {
    min-height: 44rem;
  }

  .home-room .portal-grid--heart {
    grid-template-columns: 1fr;
  }

  .home-room .portal-grid--heart .portal--parent,
  .home-room .portal-grid--heart .portal--mailing {
    grid-column: auto;
  }
}

@media (max-width: 42rem) {
  .home-room .home-hero__web {
    min-height: 35rem;
    margin-inline: -0.5rem;
    transform: none;
  }

  .home-room .home-hero__ring--one {
    width: 11rem;
    height: 11rem;
  }

  .home-room .home-hero__ring--two {
    width: 20rem;
    height: 20rem;
  }

  .home-room .home-hero__ring--three {
    width: 29rem;
    height: 29rem;
  }

  .home-room .home-hero__ring--four {
    width: 37rem;
    height: 37rem;
  }

  .home-room .home-hero__name {
    font-size: 3.05rem;
  }

  .home-room .home-hero__node {
    min-width: 4.1rem;
    min-height: 4.1rem;
    padding: 0.48rem;
    font-size: 0.49rem;
  }

  .home-room .home-hero__node--parent {
    top: 4%;
    left: 1%;
    width: 6.3rem;
    height: 6.3rem;
  }

  .home-room .home-hero__node--mailing {
    top: 27%;
    left: -1%;
    width: 5.25rem;
    height: 5.25rem;
  }

  .home-room .home-hero__node--nine {
    right: auto;
    bottom: 7%;
    left: 1%;
  }

  .home-room .home-hero__node--name {
    bottom: -1%;
    left: 29%;
    width: 4.7rem;
    height: 4.7rem;
  }

  .home-room .home-hero__node--animal {
    right: 20%;
    bottom: 3%;
  }

  .home-room .home-hero__node--book {
    top: 3%;
    right: 1%;
  }

  .home-room .home-hero__node--craft {
    top: 27%;
    right: -1%;
  }

  .home-room .home-hero__node--action {
    right: 0;
    bottom: 24%;
    width: 4.7rem;
    height: 4.7rem;
  }

  .home-room .portal-grid--three {
    grid-template-columns: 1fr;
  }

  .home-room .portal-grid--three .portal:last-child {
    grid-column: auto;
  }
}

@media (max-width: 24rem) {
  .home-room .home-hero__web {
    min-height: 31rem;
  }

  .home-room .home-hero__name {
    font-size: 2.65rem;
  }

  .home-room .home-hero__node {
    min-width: 3.75rem;
    min-height: 3.75rem;
    font-size: 0.43rem;
  }

  .home-room .home-hero__node--parent {
    width: 5.6rem;
    height: 5.6rem;
  }

  .home-room .home-hero__node--mailing {
    width: 4.6rem;
    height: 4.6rem;
  }

  .home-room .home-hero__node--name,
  .home-room .home-hero__node--action {
    width: 4.2rem;
    height: 4.2rem;
  }
}

/* The complete museum map: three related constellations, never an appended row. */
.home-room .museum-header__bar {
  width: min(calc(100% - 2rem), 96rem);
}

.home-room .museum-nav ul {
  gap: 0.15rem 0.32rem;
  font-size: clamp(0.68rem, 0.75vw, 0.82rem);
}

.home-room .museum-nav a {
  padding-inline: 0.3rem;
}

.home-hero {
  grid-template-columns: minmax(20rem, 0.8fr) minmax(38rem, 1.2fr);
}

.home-hero__web {
  min-height: 46rem;
}

.home-hero__ring--one {
  width: 17rem;
  height: 17rem;
}

.home-hero__ring--two {
  width: 31rem;
  height: 31rem;
}

.home-hero__ring--three {
  width: 45rem;
  height: 45rem;
}

.home-hero__ring--four {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 59rem;
  height: 59rem;
  border: 1px dotted rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(12deg);
}

.home-hero__name {
  padding: 0.1em 0.2em 0.18em;
  border: 1px solid rgba(255, 250, 240, 0.2);
  border-radius: 999px;
  background: rgba(25, 10, 36, 0.52);
  font-size: clamp(3.4rem, 6.2vw, 6.4rem);
  line-height: 0.82;
  -webkit-backdrop-filter: blur(0.65rem);
  backdrop-filter: blur(0.65rem);
}

.home-hero__zone-label {
  position: absolute;
  z-index: 4;
  padding: 0.38rem 0.62rem;
  border: 1px solid rgba(255, 250, 240, 0.2);
  border-radius: 999px;
  background: rgba(26, 11, 37, 0.54);
  color: rgba(255, 250, 240, 0.7);
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-size: 0.78rem;
  font-style: italic;
  letter-spacing: 0.03em;
  -webkit-backdrop-filter: blur(0.55rem);
  backdrop-filter: blur(0.55rem);
}

.home-hero__zone-label--heart {
  top: 5%;
  left: 3%;
  transform: rotate(-7deg);
}

.home-hero__zone-label--life {
  bottom: 3%;
  left: 21%;
  transform: rotate(4deg);
}

.home-hero__zone-label--curiosity {
  top: 4%;
  right: 4%;
  transform: rotate(6deg);
}

.home-hero__node {
  min-width: 5rem;
  min-height: 5rem;
  padding: 0.72rem;
  font-size: 0.6rem;
  line-height: 1.1;
  text-align: center;
}

.home-hero__node::before {
  position: absolute;
  inset: 0.35rem;
  border: 1px solid rgba(32, 18, 38, 0.11);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home-hero__node--parent {
  top: 10%;
  left: 4%;
  width: 8.8rem;
  height: 8.8rem;
}

.home-hero__node--mailing {
  top: 34%;
  left: 0;
  width: 7.2rem;
  height: 7.2rem;
  background: rgba(242, 211, 219, 0.92);
  color: #6c2747;
  --line-angle: -8deg;
  animation-delay: -0.7s;
}

.home-hero__node--nine {
  bottom: 10%;
  left: 6%;
  background: rgba(239, 180, 180, 0.92);
  --line-angle: 28deg;
  animation-delay: -1.4s;
}

.home-hero__node--name {
  bottom: 1%;
  left: 31%;
  width: 6.2rem;
  height: 6.2rem;
  background: rgba(249, 221, 164, 0.94);
  color: #5d3a18;
  --line-angle: 53deg;
  animation-delay: -2.1s;
}

.home-hero__node--animal {
  right: 18%;
  bottom: 6%;
  background: rgba(211, 196, 233, 0.92);
  --line-angle: -44deg;
  animation-delay: -2.8s;
}

.home-hero__node--book {
  top: 9%;
  right: 10%;
  background: rgba(175, 216, 240, 0.92);
  --line-angle: 35deg;
  animation-delay: -3.5s;
}

.home-hero__node--craft {
  top: 35%;
  right: 0;
  background: rgba(236, 203, 148, 0.94);
  --line-angle: 7deg;
  animation-delay: -4.2s;
}

.home-hero__node--action {
  right: 2%;
  bottom: 22%;
  width: 6.5rem;
  height: 6.5rem;
  background: rgba(174, 229, 160, 0.94);
  color: #1d572b;
  --line-angle: -18deg;
  animation-delay: -4.9s;
}

.portal-section {
  padding-top: clamp(6rem, 11vw, 11rem);
  padding-bottom: 0;
  background:
    radial-gradient(circle at 8% 4%, rgba(112, 62, 149, 0.09), transparent 23rem),
    #f4efe5;
}

.portal-section__heading {
  margin-bottom: clamp(5rem, 10vw, 10rem);
}

.room-clusters {
  display: grid;
}

.room-cluster {
  position: relative;
  isolation: isolate;
  padding-block: clamp(5rem, 9vw, 9rem);
  border-top: 1px solid rgba(43, 27, 47, 0.18);
}

.room-cluster::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: calc(max(1.5rem, (100vw - var(--editorial-width)) / 2) * -1);
  bottom: 0;
  left: calc(max(1.5rem, (100vw - var(--editorial-width)) / 2) * -1);
  content: "";
}

.room-cluster--heart::before {
  background:
    radial-gradient(circle at 11% 12%, rgba(5, 96, 49, 0.12), transparent 27rem),
    radial-gradient(circle at 88% 77%, rgba(129, 69, 137, 0.12), transparent 29rem),
    linear-gradient(150deg, #edf2e9, #f4e9ea 78%);
}

.room-cluster--life::before {
  background:
    radial-gradient(circle at 14% 75%, rgba(118, 73, 144, 0.11), transparent 28rem),
    radial-gradient(circle at 88% 17%, rgba(200, 90, 86, 0.12), transparent 27rem),
    #f7eee8;
}

.room-cluster--curiosity::before {
  background:
    radial-gradient(circle at 9% 18%, rgba(64, 124, 154, 0.12), transparent 27rem),
    radial-gradient(circle at 91% 82%, rgba(151, 96, 43, 0.13), transparent 29rem),
    #ecece4;
}

.room-cluster__heading {
  display: grid;
  grid-template-columns: minmax(9rem, 0.32fr) minmax(20rem, 1fr) minmax(15rem, 0.52fr);
  align-items: end;
  gap: clamp(1rem, 3vw, 3rem);
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.room-cluster__heading .section-label {
  margin: 0;
  color: rgba(46, 28, 50, 0.62);
}

.room-cluster__heading h3 {
  max-width: 9ch;
  margin: 0;
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-size: clamp(3.3rem, 6.8vw, 7.2rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.84;
}

.room-cluster__heading > p:last-child {
  max-width: 28rem;
  margin: 0;
  color: rgba(46, 28, 50, 0.68);
  font-size: clamp(0.92rem, 1.25vw, 1.08rem);
  line-height: 1.68;
}

.room-cluster .portal-grid {
  gap: clamp(0.9rem, 1.6vw, 1.5rem);
}

.portal-grid--heart {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.portal-grid--heart .portal--parent {
  grid-column: span 7;
}

.portal-grid--heart .portal--mailing {
  grid-column: span 5;
}

.portal-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal-grid--three .portal {
  grid-column: auto;
}

.room-cluster .portal {
  min-height: clamp(31rem, 38vw, 39rem);
  border-radius: clamp(1.25rem, 2.4vw, 2.4rem);
}

.room-cluster--heart .portal {
  min-height: clamp(36rem, 44vw, 44rem);
}

.room-cluster .portal h4 {
  position: relative;
  z-index: 3;
  max-width: 10ch;
  margin: 0 0 1rem;
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-size: clamp(2.6rem, 4.6vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.portal--parent {
  grid-column: auto;
}

.portal--mailing {
  --portal-bg: #edd4df;
  --portal-fg: #682d50;
  background-image:
    radial-gradient(circle at 84% 13%, rgba(255, 255, 255, 0.42) 0 4rem, transparent 4.1rem),
    linear-gradient(132deg, transparent 0 70%, rgba(104, 45, 80, 0.06) 70% 70.5%, transparent 70.5%);
}

.portal__art--mailing {
  top: 3.2rem;
  right: 2.4rem;
  width: min(56%, 18rem);
  border: 1px dashed rgba(104, 45, 80, 0.28);
  border-radius: 50%;
}

.portal__art--mailing::before,
.portal__art--mailing::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.portal__art--mailing::before {
  inset: 23%;
  border: 1px solid rgba(104, 45, 80, 0.2);
  background: rgba(255, 250, 240, 0.24);
}

.portal__art--mailing::after {
  top: 48%;
  left: 48%;
  width: 7%;
  aspect-ratio: 1;
  background: #a7496d;
  box-shadow: 0 0 0 0.8rem rgba(255, 250, 240, 0.19);
}

.portal__art--mailing i {
  width: 34%;
  aspect-ratio: 1.35;
  overflow: hidden;
  border: 1px solid rgba(104, 45, 80, 0.2);
  border-radius: 0.4rem;
  background: #fffaf0;
  box-shadow: 0 0.7rem 1.5rem rgba(91, 41, 71, 0.14);
}

.portal__art--mailing i::before {
  position: absolute;
  top: -56%;
  left: 20%;
  width: 60%;
  aspect-ratio: 1;
  border: 1px solid rgba(104, 45, 80, 0.24);
  background: #fffaf0;
  content: "";
  transform: rotate(45deg);
}

.portal__art--mailing i:nth-child(1) { top: 4%; left: 31%; transform: rotate(-4deg); }
.portal__art--mailing i:nth-child(2) { top: 35%; right: -7%; background: #f6e6ca; transform: rotate(7deg); }
.portal__art--mailing i:nth-child(3) { bottom: 2%; left: 30%; background: #d7eadc; transform: rotate(-3deg); }
.portal__art--mailing i:nth-child(4) { top: 36%; left: -7%; background: #e9def2; transform: rotate(5deg); }

.portal--name {
  --portal-bg: #f2daa9;
  --portal-fg: #5c3b19;
  background-image:
    linear-gradient(90deg, transparent 0 49.8%, rgba(92, 59, 25, 0.08) 50%, transparent 50.2%) 0 0 / 4rem 100%,
    linear-gradient(0deg, transparent 0 49.8%, rgba(92, 59, 25, 0.06) 50%, transparent 50.2%) 0 0 / 100% 4rem;
}

.portal__art--name {
  top: 2.4rem;
  right: 1.6rem;
  width: min(58%, 17rem);
}

.portal__art--name::before {
  position: absolute;
  inset: 3%;
  border: 1px solid rgba(92, 59, 25, 0.2);
  border-radius: 48% 52% 46% 54%;
  background: rgba(255, 250, 240, 0.4);
  box-shadow: 1rem 1rem 0 rgba(130, 81, 28, 0.08);
  content: "";
  transform: rotate(-5deg);
}

.portal__art--name i {
  display: grid;
  width: 34%;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: #fffaf0;
  color: #764b1c;
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-style: italic;
  box-shadow: 0 0.8rem 1.7rem rgba(92, 59, 25, 0.13);
}

.portal__art--name i:nth-child(1) { top: 4%; left: 10%; transform: rotate(-7deg); }
.portal__art--name i:nth-child(2) { top: 31%; right: 4%; background: #f8ecce; transform: rotate(6deg); }
.portal__art--name i:nth-child(3) { bottom: 2%; left: 23%; background: #e6c986; transform: rotate(-2deg); }

.portal--action {
  --portal-bg: #cde7bd;
  --portal-fg: #24542d;
  background-image: linear-gradient(151deg, transparent 0 58%, rgba(36, 84, 45, 0.1) 58.2% 59%, transparent 59.2%);
}

.portal__art--action {
  top: 1.9rem;
  right: 1.4rem;
  width: min(62%, 18rem);
  overflow: hidden;
  border-radius: 50% 50% 11% 50%;
  background: linear-gradient(155deg, #b9def1 0 48%, #fff6d1 48.4% 51%, #5f925c 51.4% 72%, #2f633d 72%);
  box-shadow: 0 1.3rem 2.8rem rgba(35, 84, 45, 0.16);
}

.portal__art--action::before {
  position: absolute;
  right: 8%;
  bottom: 11%;
  width: 61%;
  height: 2px;
  background: rgba(255, 249, 226, 0.72);
  content: "";
  transform: rotate(-18deg);
}

.portal__art--action i {
  border-radius: 50%;
}

.portal__art--action i:nth-child(1) { top: 13%; right: 16%; width: 10%; aspect-ratio: 1; background: #ffe18d; box-shadow: 0 0 0 0.6rem rgba(255, 225, 141, 0.15); }
.portal__art--action i:nth-child(2) { top: 23%; left: 18%; width: 4%; aspect-ratio: 1; background: #fffaf0; }
.portal__art--action i:nth-child(3) { top: 35%; left: 32%; width: 3%; aspect-ratio: 1; background: #fffaf0; }
.portal__art--action i:nth-child(4) { right: 27%; bottom: 20%; width: 8%; aspect-ratio: 0.6; border-radius: 999px; background: #ef765f; transform: rotate(22deg); }

.portal--animal {
  grid-column: auto;
}

.room-cluster--life .portal--animal h4 {
  font-style: italic;
}

.home-years {
  border-top: 0.65rem solid #f4efe5;
}

@media (max-width: 76rem) {
  .home-hero {
    grid-template-columns: minmax(19rem, 0.76fr) minmax(32rem, 1.24fr);
  }

  .home-hero__node--parent {
    left: 1%;
  }

  .home-hero__node--mailing {
    left: -2%;
  }

  .home-hero__node--book {
    right: 4%;
  }

  .home-hero__node--craft {
    right: -2%;
  }

  .room-cluster__heading {
    grid-template-columns: minmax(8rem, 0.32fr) minmax(19rem, 1fr);
  }

  .room-cluster__heading > p:last-child {
    grid-column: 2;
  }

  .portal-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-grid--three .portal:last-child {
    grid-column: 1 / -1;
    min-height: 30rem;
  }

  .portal-grid--three .portal:last-child .portal__art {
    width: min(35%, 18rem);
  }
}

@media (max-width: 56rem) {
  .home-room .museum-header__bar {
    width: min(calc(100% - 2rem), 96rem);
  }

  .home-room .museum-nav ul {
    font-size: 0.78rem;
  }

  .home-hero {
    grid-template-columns: 1fr;
  }

  .home-hero__web {
    min-height: 44rem;
  }

  .home-hero__zone-label--heart {
    left: 8%;
  }

  .home-hero__zone-label--curiosity {
    right: 8%;
  }

  .room-cluster__heading {
    grid-template-columns: minmax(8rem, 0.32fr) 1fr;
  }

  .room-cluster__heading h3,
  .room-cluster__heading > p:last-child {
    grid-column: 2;
  }

  .portal-grid--heart {
    grid-template-columns: 1fr;
  }

  .portal-grid--heart .portal--parent,
  .portal-grid--heart .portal--mailing {
    grid-column: auto;
    min-height: 36rem;
  }
}

@media (max-width: 42rem) {
  .home-hero__web {
    min-height: 35rem;
    margin-inline: -0.5rem;
    transform: none;
  }

  .home-hero__ring--one {
    width: 11rem;
    height: 11rem;
  }

  .home-hero__ring--two {
    width: 20rem;
    height: 20rem;
  }

  .home-hero__ring--three {
    width: 29rem;
    height: 29rem;
  }

  .home-hero__ring--four {
    width: 37rem;
    height: 37rem;
  }

  .home-hero__name {
    font-size: 3.05rem;
  }

  .home-hero__zone-label {
    display: none;
  }

  .home-hero__node {
    min-width: 4.1rem;
    min-height: 4.1rem;
    padding: 0.48rem;
    font-size: 0.49rem;
  }

  .home-hero__node--parent {
    top: 4%;
    left: 1%;
    width: 6.3rem;
    height: 6.3rem;
  }

  .home-hero__node--mailing {
    top: 27%;
    left: -1%;
    width: 5.25rem;
    height: 5.25rem;
  }

  .home-hero__node--nine {
    bottom: 7%;
    left: 1%;
  }

  .home-hero__node--name {
    bottom: -1%;
    left: 29%;
    width: 4.7rem;
    height: 4.7rem;
  }

  .home-hero__node--animal {
    right: 20%;
    bottom: 3%;
  }

  .home-hero__node--book {
    top: 3%;
    right: 1%;
  }

  .home-hero__node--craft {
    top: 27%;
    right: -1%;
  }

  .home-hero__node--action {
    right: 0;
    bottom: 24%;
    width: 4.7rem;
    height: 4.7rem;
  }

  .portal-section {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .portal-section__heading {
    margin-bottom: 5rem;
  }

  .room-cluster {
    padding-block: 5rem;
  }

  .room-cluster::before {
    right: -1rem;
    left: -1rem;
  }

  .room-cluster__heading {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .room-cluster__heading h3,
  .room-cluster__heading > p:last-child {
    grid-column: auto;
  }

  .room-cluster__heading h3 {
    margin-top: 0.45rem;
    font-size: clamp(3.25rem, 15.5vw, 5.2rem);
  }

  .portal-grid--three {
    grid-template-columns: 1fr;
  }

  .portal-grid--three .portal,
  .portal-grid--three .portal:last-child,
  .portal-grid--heart .portal--parent,
  .portal-grid--heart .portal--mailing {
    grid-column: auto;
    min-height: 29rem;
  }

  .room-cluster--heart .portal--parent {
    min-height: 34rem;
  }

  .portal-grid--three .portal:last-child .portal__art,
  .room-cluster .portal__art {
    width: min(50%, 15rem);
  }

  .room-cluster .portal h4 {
    font-size: clamp(2.8rem, 13vw, 4.5rem);
  }

  .home-years {
    border-top-width: 0.4rem;
  }
}

@media (max-width: 24rem) {
  .home-hero__web {
    min-height: 31rem;
  }

  .home-hero__name {
    font-size: 2.65rem;
  }

  .home-hero__node {
    min-width: 3.75rem;
    min-height: 3.75rem;
    font-size: 0.43rem;
  }

  .home-hero__node--parent {
    width: 5.6rem;
    height: 5.6rem;
  }

  .home-hero__node--mailing {
    width: 4.6rem;
    height: 4.6rem;
  }

  .home-hero__node--name,
  .home-hero__node--action {
    width: 4.2rem;
    height: 4.2rem;
  }

  .portal-section__heading h2 {
    font-size: 3.3rem;
  }

  .room-cluster__heading h3 {
    font-size: 3.15rem;
  }

  .room-cluster .portal {
    min-height: 27rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__ring--four,
  .home-hero__node,
  .room-cluster .portal,
  .room-cluster .portal__art {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

/* Opaque sticky glass avoids compositor seams in long Firefox captures. */
.home-room .museum-header,
.parent-room .museum-header {
  background: rgba(250, 247, 239, 0.985);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.home-room .museum-header,
.parent-room .museum-header {
  background: rgba(250, 247, 239, 0.985);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__image,
  .parent-hero__image img {
    transform: none !important;
  }
}

@media (max-width: 24rem) {
  .museum-header__bar,
  .view-key__inner,
  .section,
  .hero,
  .page-grid,
  .local-nav ul,
  .museum-footer__inner {
    width: min(calc(100% - 1.25rem), var(--measure));
  }

  .contents-rail ol,
  .contents-rail ul,
  .local-nav ul {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.55rem, 17vw, 4rem);
  }

  .artifact-stage__viewport {
    max-width: calc(100vw - 1.25rem);
    height: 15rem;
  }

  .visage-flow,
  .privacy-strip,
  .source-whisper,
  .next-room {
    width: min(calc(100% - 1.25rem), var(--measure));
  }

  .visage__image {
    height: 19rem;
  }
}

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

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

/* Layered exhibition graphics for the two central rooms. */
.home-hero {
  background:
    radial-gradient(circle at 73% 46%, rgba(221, 190, 255, 0.24) 0 4%, transparent 24%),
    radial-gradient(circle at 100% 0, rgba(119, 59, 169, 0.48), transparent 38%),
    radial-gradient(circle at 17% 92%, rgba(104, 45, 143, 0.56), transparent 37%),
    linear-gradient(122deg, #16091f 0 47%, #32174b 47% 76%, #21102f 76% 100%);
}

.home-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background:
    linear-gradient(115deg, transparent 0 31%, rgba(255, 255, 255, 0.035) 31% 31.2%, transparent 31.2% 65%, rgba(255, 255, 255, 0.025) 65% 65.15%, transparent 65.15%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.17) 0 1px, transparent 1.3px) 0 0 / 3.2rem 3.2rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000);
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000);
}

.home-hero__copy {
  position: relative;
}

.home-hero__copy::before {
  content: "";
  position: absolute;
  top: 14%;
  bottom: 14%;
  left: clamp(0.7rem, 2vw, 2.5rem);
  width: 1px;
  background: linear-gradient(transparent, rgba(219, 190, 255, 0.7) 22% 78%, transparent);
  box-shadow: 0 0 1.8rem rgba(210, 170, 255, 0.5);
}

.home-hero__web::before {
  content: "";
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 8deg at 50% 50%, rgba(255, 255, 255, 0.065) 0 0.35deg, transparent 0.35deg 18deg),
    radial-gradient(circle, rgba(255, 255, 255, 0.1) 0 1px, transparent 1.5px) 50% 50% / 4.4rem 4.4rem;
  -webkit-mask-image: radial-gradient(circle, transparent 0 12%, #000 13% 61%, transparent 75%);
  mask-image: radial-gradient(circle, transparent 0 12%, #000 13% 61%, transparent 75%);
}

.home-hero__aura,
.home-hero__thread {
  position: absolute;
  pointer-events: none;
}

.home-hero__aura {
  border-radius: 50%;
  filter: blur(1px);
  animation: aura-drift 9s ease-in-out infinite alternate;
}

.home-hero__aura--one {
  top: 21%;
  left: 27%;
  width: 46%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(189, 134, 237, 0.2), transparent 68%);
  box-shadow: 0 0 7rem rgba(171, 103, 226, 0.22);
}

.home-hero__aura--two {
  right: -8%;
  bottom: 4%;
  width: 28%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(239, 180, 180, 0.18), transparent 66%);
  animation-delay: -4s;
}

.home-hero__thread {
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 48%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.03));
  transform-origin: left center;
}

.home-hero__thread::after {
  content: "";
  position: absolute;
  top: -2px;
  right: 13%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 1rem rgba(255, 255, 255, 0.7);
}

.home-hero__thread--one { transform: rotate(-139deg); }
.home-hero__thread--two { transform: rotate(-39deg); }
.home-hero__thread--three { transform: rotate(1deg); }
.home-hero__thread--four { transform: rotate(37deg); }
.home-hero__thread--five { transform: rotate(141deg); }

.home-hero__ring {
  box-shadow: inset 0 0 3rem rgba(202, 158, 242, 0.04), 0 0 2rem rgba(202, 158, 242, 0.04);
}

.home-hero__ring--one {
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 0 0.65rem rgba(255, 255, 255, 0.015), 0 0 4rem rgba(204, 160, 240, 0.16);
}

.home-hero__name {
  display: grid;
  width: 3.2em;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, rgba(255, 255, 255, 0.1), rgba(30, 12, 44, 0.72) 62%);
  text-shadow: 0 0.2rem 2rem rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 0 2rem rgba(255, 255, 255, 0.035), 0 2rem 6rem rgba(10, 3, 16, 0.3);
}

.home-hero__node {
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 0 0 0.5rem rgba(255, 255, 255, 0.025),
    0 1.5rem 4rem rgba(0, 0, 0, 0.32),
    inset 0 0 1.5rem rgba(255, 255, 255, 0.36);
}

.portal-section {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 8% 4%, rgba(112, 62, 149, 0.08), transparent 23rem),
    radial-gradient(circle at 94% 54%, rgba(164, 61, 61, 0.055), transparent 26rem),
    #f4efe5;
}

.portal-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.24;
  background: repeating-linear-gradient(90deg, transparent 0 calc(8.333% - 1px), rgba(23, 23, 19, 0.11) calc(8.333% - 1px) 8.333%);
  -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 84%, transparent);
  mask-image: linear-gradient(transparent, #000 18%, #000 84%, transparent);
  pointer-events: none;
}

.portal-grid {
  gap: clamp(0.85rem, 1.5vw, 1.4rem);
  perspective: 1200px;
}

.portal {
  border-radius: clamp(1.15rem, 2.4vw, 2.25rem);
  box-shadow: 0 1rem 2.6rem rgba(36, 25, 35, 0.075);
}

.portal::before {
  border-color: rgba(23, 23, 19, 0.11);
  border-radius: inherit;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.45);
}

.portal > div:not(.portal__parent-words) {
  z-index: 3;
}

.portal__art {
  position: absolute;
  z-index: 1;
  top: 2rem;
  right: 2rem;
  width: min(54%, 19rem);
  aspect-ratio: 1;
  pointer-events: none;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portal:hover .portal__art {
  transform: translateY(-0.4rem) rotate(2deg) scale(1.03);
}

.portal__art i {
  position: absolute;
  display: block;
}

.portal__art--hub {
  right: -1.5rem;
  width: 23rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 2.7rem rgba(255, 255, 255, 0.025), 0 0 0 5.4rem rgba(255, 255, 255, 0.02);
}

.portal__art--hub::before,
.portal__art--hub::after {
  content: "";
  position: absolute;
  inset: 20%;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.portal__art--hub::after {
  inset: 44%;
  border-style: solid;
  background: #cbb1e5;
  box-shadow: 0 0 2.2rem rgba(203, 177, 229, 0.45);
}

.portal__art--hub i {
  width: 0.9rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #eadf9c;
  box-shadow: 0 0 0 0.3rem rgba(255, 255, 255, 0.08);
}

.portal__art--hub i:nth-child(1) { top: 8%; left: 45%; }
.portal__art--hub i:nth-child(2) { top: 32%; right: 3%; background: #afd8f0; }
.portal__art--hub i:nth-child(3) { right: 18%; bottom: 8%; background: #efb4b4; }
.portal__art--hub i:nth-child(4) { bottom: 10%; left: 20%; background: #d7eadc; }
.portal__art--hub i:nth-child(5) { top: 28%; left: 5%; background: #d3c4e9; }

.portal__art--parent {
  top: 4.3rem;
  right: 4rem;
  width: min(48%, 25rem);
  transform: rotate(-3deg);
}

.portal__art--parent::before {
  content: "";
  position: absolute;
  inset: 2% 12% 8% 6%;
  border-radius: 48% 52% 45% 55%;
  background: rgba(255, 255, 255, 0.36);
  box-shadow: 1.4rem 1.4rem 0 rgba(7, 83, 43, 0.08), inset 0 0 0 1px rgba(7, 83, 43, 0.14);
}

.portal__art--parent i {
  border-radius: 0.5rem;
  box-shadow: 0 0.8rem 1.7rem rgba(15, 73, 43, 0.11);
}

.portal__art--parent i:nth-child(1) { top: 13%; left: 14%; width: 44%; height: 21%; background: #076239; }
.portal__art--parent i:nth-child(2) { top: 39%; left: 14%; width: 27%; height: 42%; border: 1px solid #076239; }
.portal__art--parent i:nth-child(3) { top: 39%; left: 46%; width: 38%; height: 18%; background: #b33a39; }
.portal__art--parent i:nth-child(4) { top: 62%; left: 46%; width: 18%; height: 19%; background: #f7f1e6; }
.portal__art--parent i:nth-child(5) { top: 62%; left: 68%; width: 16%; height: 19%; border: 1px solid #076239; }

.portal__art--book {
  top: 2.3rem;
  right: 2.8rem;
  width: min(46%, 15rem);
}

.portal__art--book i {
  inset: 8% 12% 5% 20%;
  border-radius: 0.35rem 1rem 1rem 0.35rem;
  background: #fffaf0;
  box-shadow: 0 1.4rem 2.5rem rgba(20, 67, 91, 0.18), inset 0 0 0 1px rgba(23, 68, 95, 0.16);
  transform-origin: 8% 50%;
}

.portal__art--book i::after {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 12%;
  left: 13%;
  border-left: 2px solid rgba(23, 68, 95, 0.25);
}

.portal__art--book i:nth-child(1) { background: #83c1cf; transform: translate(-20%, 8%) rotate(-9deg); }
.portal__art--book i:nth-child(2) { background: #e3d6ac; transform: translate(18%, 8%) rotate(8deg); }
.portal__art--book i:nth-child(3) { transform: rotate(-1deg); }

.portal__art--craft {
  top: 2.5rem;
  right: 2.5rem;
  width: min(44%, 15rem);
  border: 1px solid rgba(89, 55, 19, 0.24);
  border-radius: 50%;
  background: radial-gradient(circle at center, #fff7e7 0 12%, transparent 12.5% 33%, rgba(89, 55, 19, 0.08) 33.5% 34%, transparent 34.5%);
}

.portal__art--craft::before,
.portal__art--craft::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -24%;
  width: 148%;
  height: 1px;
  background: rgba(89, 55, 19, 0.32);
  transform: rotate(28deg);
}

.portal__art--craft::after { transform: rotate(-17deg); }
.portal__art--craft i { width: 1.7rem; aspect-ratio: 1; border-radius: 50%; background: #173e52; }
.portal__art--craft i:nth-child(1) { top: 6%; left: 20%; }
.portal__art--craft i:nth-child(2) { top: 23%; right: 3%; background: #b16931; }
.portal__art--craft i:nth-child(3) { right: 18%; bottom: 5%; background: #e7b93f; }
.portal__art--craft i:nth-child(4) { bottom: 16%; left: 0; background: #fff8e9; border: 1px solid #593713; }

.portal__art--animal {
  top: 2rem;
  right: 2rem;
  width: min(46%, 16rem);
  border-radius: 50%;
  background:
    radial-gradient(circle at 63% 67%, #3d205e 0 8%, transparent 8.5%),
    radial-gradient(circle at 39% 34%, #fffaf0 0 3%, transparent 3.5%),
    conic-gradient(from 12deg, #9f8ccc, #e9e0f1 33%, #8268b5 33% 62%, #c8b8e4 62% 82%, #5a3885 82%);
  box-shadow: 0 1.4rem 3rem rgba(65, 38, 99, 0.17);
}

.portal__art--animal::before {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
}

.portal__art--animal i { width: 1.2rem; aspect-ratio: 1; border-radius: 50%; background: #fffaf0; }
.portal__art--animal i:nth-child(1) { top: 2%; left: 48%; }
.portal__art--animal i:nth-child(2) { top: 40%; right: -4%; background: #e7d85e; }
.portal__art--animal i:nth-child(3) { bottom: 1%; left: 37%; background: #3d205e; }
.portal__art--animal i:nth-child(4) { top: 42%; left: -3%; background: #b9a4da; }

.portal__art--nine {
  top: 1.7rem;
  right: 1.9rem;
  width: min(48%, 16rem);
  overflow: hidden;
  border-radius: 48% 52% 44% 56%;
  background: conic-gradient(from 18deg, #f5d1ca, #db7c78 34%, #a82e37 34% 57%, #74242a 57% 70%, #efa39a 70%);
  box-shadow: 0 1.5rem 3rem rgba(114, 33, 40, 0.16);
}

.portal__art--nine::before {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  box-shadow: 0 0 0 1.8rem rgba(255, 255, 255, 0.07), 0 0 0 3.8rem rgba(255, 255, 255, 0.05);
}

.portal__art--nine i { border-radius: 50%; background: #fff3e9; }
.portal__art--nine i:nth-child(1) { top: 10%; left: 19%; width: 0.8rem; aspect-ratio: 1; }
.portal__art--nine i:nth-child(2) { right: -4%; bottom: 10%; width: 36%; aspect-ratio: 1; background: #81262d; }
.portal__art--nine i:nth-child(3) { bottom: -7%; left: -4%; width: 42%; aspect-ratio: 1; background: #f3b6ae; }

.home-years {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 24%, rgba(111, 55, 155, 0.26), transparent 25rem),
    radial-gradient(circle at 84% 72%, rgba(94, 43, 133, 0.18), transparent 30rem),
    #121014;
}

.home-years::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.27;
  background:
    linear-gradient(31deg, transparent 49.8%, rgba(255, 255, 255, 0.13) 50%, transparent 50.2%) 0 0 / 9rem 9rem,
    radial-gradient(circle, rgba(255, 255, 255, 0.25) 0 1px, transparent 1.3px) 0 0 / 4.5rem 4.5rem;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 82%);
  mask-image: linear-gradient(90deg, #000, transparent 82%);
}

.year-fragment {
  border: 0.65rem solid #fffdf8;
  border-bottom-width: 0;
  border-radius: 0.35rem;
  box-shadow: 0 2.5rem 7rem rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.home-coda {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.14), transparent 23%),
    radial-gradient(circle at 12% 93%, rgba(232, 177, 211, 0.2), transparent 28%),
    linear-gradient(135deg, #4d1f72, #8248ad 55%, #62308c);
}

.home-coda::before,
.home-coda::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(78vw, 68rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 6rem rgba(255, 255, 255, 0.018), 0 0 0 13rem rgba(255, 255, 255, 0.014);
}

.home-coda::before { top: -57%; left: -26%; }
.home-coda::after { right: -33%; bottom: -68%; }

/* The flagship room is warmer, tactile and deliberately more abundant. */
.parent-room .parent-hero {
  background:
    radial-gradient(ellipse at 85% 20%, rgba(255, 255, 255, 0.72), transparent 19%),
    radial-gradient(ellipse at 72% 73%, rgba(176, 54, 52, 0.09), transparent 23%),
    linear-gradient(105deg, transparent 0 58%, rgba(6, 94, 49, 0.08) 58% 78%, rgba(6, 94, 49, 0.025) 78%),
    #f5efe4;
}

.parent-room .parent-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.42;
  background:
    radial-gradient(circle at 1px 1px, rgba(0, 102, 51, 0.16) 0 1px, transparent 1.2px) 0 0 / 3rem 3rem,
    linear-gradient(74deg, transparent 0 57%, rgba(169, 45, 45, 0.18) 57% 57.15%, transparent 57.15%);
  -webkit-mask-image: linear-gradient(90deg, transparent 38%, #000);
  mask-image: linear-gradient(90deg, transparent 38%, #000);
}

.parent-hero__copy {
  position: relative;
}

.parent-hero__copy::before {
  content: "";
  position: absolute;
  top: -4rem;
  left: -6rem;
  width: 11rem;
  height: 11rem;
  border: 1px solid rgba(169, 45, 45, 0.21);
  border-radius: 50%;
  box-shadow: 0 0 0 2.5rem rgba(169, 45, 45, 0.025);
}

.parent-room .parent-mark {
  position: relative;
  isolation: isolate;
  gap: 0.85rem;
  filter: drop-shadow(0 2rem 3rem rgba(26, 66, 44, 0.13));
}

.parent-room .parent-mark > span:not([class]),
.parent-room .parent-mark > strong {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 0.8rem;
  box-shadow: inset 0 0 0 1px currentColor, 0 0.8rem 1.8rem rgba(18, 65, 40, 0.08);
}

.parent-room .parent-mark > span:not([class])::before {
  content: "";
  position: absolute;
  right: -1.4rem;
  bottom: -2rem;
  width: 4rem;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.17;
  box-shadow: 0 0 0 1rem currentColor;
}

.parent-room .parent-mark > strong {
  border-radius: 1.3rem 1.3rem 4.5rem 1.3rem;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15), transparent 24%),
    var(--parent-green);
  box-shadow: 0 1.8rem 3.5rem rgba(0, 83, 42, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.parent-mark__halo,
.parent-mark__thread {
  position: absolute !important;
  z-index: -1;
  display: block !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  pointer-events: none;
}

.parent-mark__halo {
  top: -27%;
  right: -19%;
  width: 88%;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 102, 51, 0.22) !important;
  border-radius: 50%;
  box-shadow: 0 0 0 3.5rem rgba(0, 102, 51, 0.025), 0 0 0 7rem rgba(0, 102, 51, 0.018);
  animation: halo-turn 28s linear infinite;
}

.parent-mark__halo::before,
.parent-mark__halo::after {
  content: "";
  position: absolute;
  width: 0.85rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--parent-red);
  box-shadow: 0 0 0 0.35rem rgba(169, 45, 45, 0.1);
}

.parent-mark__halo::before { top: 11%; left: 18%; }
.parent-mark__halo::after { right: 2%; bottom: 31%; background: var(--parent-green); }

.parent-mark__thread {
  top: 47%;
  left: -18%;
  width: 134%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 102, 51, 0.27), transparent) !important;
  transform: rotate(23deg);
}

.parent-mark__thread--two { transform: rotate(-17deg); }

.parent-pillars {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 96%, rgba(175, 48, 47, 0.25), transparent 27rem),
    radial-gradient(circle at 90% 3%, rgba(190, 221, 198, 0.12), transparent 25rem),
    #053b23;
}

.parent-pillars::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.24;
  background:
    repeating-linear-gradient(119deg, transparent 0 5.5rem, rgba(255, 255, 255, 0.12) 5.5rem calc(5.5rem + 1px)),
    radial-gradient(circle, rgba(255, 255, 255, 0.18) 0 1px, transparent 1.2px) 0 0 / 3.6rem 3.6rem;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 86%);
  mask-image: linear-gradient(90deg, #000, transparent 86%);
}

.parent-pillars__grid {
  gap: 1rem;
  border: 0;
}

.parent-pillars article {
  overflow: hidden;
  min-height: 34rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 1.5rem 3rem rgba(0, 0, 0, 0.09);
  transition: background 260ms ease, transform 260ms ease;
}

.parent-pillars article:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.parent-pillars article:hover {
  background: rgba(255, 255, 255, 0.055);
  transform: translateY(-0.35rem);
}

.parent-pillar-art {
  position: relative;
  height: 9rem;
  margin: 0 0 2.5rem;
}

.parent-pillar-art i {
  position: absolute;
  display: block;
}

.parent-pillar-art--facts {
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.parent-pillar-art--facts i {
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.23);
}

.parent-pillar-art--facts i::before {
  content: "";
  position: absolute;
  top: -0.3rem;
  left: var(--fact-left, 20%);
  width: 0.6rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #efb5ad;
  box-shadow: 0 0 0 0.3rem rgba(239, 181, 173, 0.08);
}

.parent-pillar-art--facts i:nth-child(1) { top: 22%; --fact-left: 12%; }
.parent-pillar-art--facts i:nth-child(2) { top: 42%; --fact-left: 67%; }
.parent-pillar-art--facts i:nth-child(3) { top: 62%; --fact-left: 35%; }
.parent-pillar-art--facts i:nth-child(4) { top: 82%; --fact-left: 86%; }

.parent-pillar-art--talk i {
  width: 47%;
  height: 52%;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
}

.parent-pillar-art--talk i::after {
  content: "";
  position: absolute;
  bottom: -0.6rem;
  left: 20%;
  width: 1.2rem;
  height: 1.2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.58);
  transform: skew(-27deg);
}

.parent-pillar-art--talk i:nth-child(1) { top: 2%; left: 1%; background: rgba(255, 250, 240, 0.05); }
.parent-pillar-art--talk i:nth-child(2) { top: 30%; right: 0; border-color: #efb5ad; }
.parent-pillar-art--talk i:nth-child(3) { bottom: 0; left: 18%; width: 34%; height: 38%; border-color: #bad6c1; }

.parent-pillar-art--mixed i {
  width: 34%;
  height: 58%;
  border-radius: 0.35rem;
  background: #efb5ad;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 0.8rem 1.5rem rgba(0, 0, 0, 0.12);
}

.parent-pillar-art--mixed i:nth-child(1) { top: 3%; left: 3%; transform: rotate(-8deg); }
.parent-pillar-art--mixed i:nth-child(2) { top: 17%; left: 31%; background: #fffaf0; transform: rotate(4deg); }
.parent-pillar-art--mixed i:nth-child(3) { top: 7%; right: 5%; background: #bad6c1; transform: rotate(11deg); }
.parent-pillar-art--mixed i:nth-child(4) { right: 25%; bottom: 0; height: 37%; border-radius: 50%; background: transparent; border: 1px solid #fffaf0; }

.parent-room .visage-flow__heading {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 45%, rgba(169, 45, 45, 0.08), transparent 19rem),
    linear-gradient(105deg, transparent 68%, rgba(0, 102, 51, 0.045) 68%);
}

.parent-room .visage-flow__heading::after {
  content: "";
  position: absolute;
  right: -7rem;
  bottom: -10rem;
  width: 34rem;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 102, 51, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(0, 102, 51, 0.02), 0 0 0 9rem rgba(0, 102, 51, 0.015);
}

.parent-room .visage {
  position: relative;
  isolation: isolate;
}

.parent-room .visage::after {
  content: "";
  position: absolute;
  z-index: 5;
  top: 50%;
  left: calc(67.5% - 1.7rem);
  width: 3.4rem;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 102, 51, 0.25);
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.82);
  box-shadow: inset 0 0 0 0.45rem rgba(0, 102, 51, 0.04), 0 0.8rem 2rem rgba(23, 23, 19, 0.1);
  transform: translateY(-50%);
  pointer-events: none;
}

.parent-room .visage:nth-of-type(even)::after {
  right: calc(67.5% - 1.7rem);
  left: auto;
}

.parent-room .visage__copy {
  position: relative;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0, 102, 51, 0.035) 1px, transparent 1px) 0 0 / 3rem 100%,
    radial-gradient(circle at 87% 12%, rgba(169, 45, 45, 0.07), transparent 12rem);
}

.parent-room .visage__copy::before {
  content: "";
  position: absolute;
  top: 7%;
  right: 8%;
  width: 2.7rem;
  aspect-ratio: 1;
  border: 1px solid var(--parent-red);
  border-radius: 50%;
  opacity: 0.35;
}

.parent-room .visage__visual {
  box-shadow: inset 0 0 5rem rgba(17, 37, 25, 0.08);
}

.parent-poster--early {
  background:
    radial-gradient(circle at 77% 24%, rgba(169, 45, 45, 0.12), transparent 18%),
    linear-gradient(115deg, transparent 0 62%, rgba(0, 102, 51, 0.05) 62% 78%, transparent 78%),
    #f5f0e8;
}

.parent-poster--early::before {
  content: "";
  position: absolute;
  top: 4%;
  right: 4%;
  width: 42%;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 102, 51, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 2.5rem rgba(0, 102, 51, 0.02), 0 0 0 5rem rgba(0, 102, 51, 0.015);
}

.parent-poster__constellation {
  position: absolute;
  top: 12%;
  right: 7%;
  width: 36%;
  aspect-ratio: 1;
}

.parent-poster__constellation::before,
.parent-poster__constellation::after {
  content: "";
  position: absolute;
  top: 47%;
  left: 4%;
  width: 94%;
  height: 1px;
  background: rgba(0, 102, 51, 0.23);
  transform: rotate(25deg);
}

.parent-poster__constellation::after { transform: rotate(-32deg); }
.parent-poster__constellation i { position: absolute; width: 0.7rem; aspect-ratio: 1; border-radius: 50%; background: var(--parent-red); box-shadow: 0 0 0 0.35rem rgba(169, 45, 45, 0.07); }
.parent-poster__constellation i:nth-child(1) { top: 2%; left: 43%; }
.parent-poster__constellation i:nth-child(2) { top: 37%; right: 1%; background: var(--parent-green); }
.parent-poster__constellation i:nth-child(3) { right: 17%; bottom: 4%; }
.parent-poster__constellation i:nth-child(4) { bottom: 15%; left: 4%; background: var(--parent-green); }
.parent-poster__constellation i:nth-child(5) { top: 31%; left: 15%; }

.parent-poster--tools {
  background:
    linear-gradient(90deg, transparent 0 49.8%, rgba(0, 102, 51, 0.08) 50%, transparent 50.2%) 0 0 / 5rem 100%,
    radial-gradient(circle at 80% 20%, rgba(169, 45, 45, 0.11), transparent 18rem),
    #e9eee9;
}

.parent-poster__tool-rail {
  border-radius: 0.8rem 0.8rem 4rem 0.8rem;
  box-shadow: 1.5rem 1.5rem 3.5rem rgba(5, 66, 34, 0.16);
}

.parent-poster__field b {
  border-radius: 0.7rem;
  box-shadow: 0 1rem 2rem rgba(19, 63, 37, 0.08);
}

.parent-poster__tool-orbit {
  position: absolute;
  z-index: 3;
  right: 4%;
  bottom: 6%;
  width: 30%;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 102, 51, 0.3);
  border-radius: 50%;
}

.parent-poster__tool-orbit::before {
  content: "";
  position: absolute;
  inset: 25%;
  border: 1px dashed rgba(0, 102, 51, 0.4);
  border-radius: 50%;
}

.parent-poster__tool-orbit i { position: absolute; width: 0.65rem; aspect-ratio: 1; border-radius: 50%; background: var(--parent-red); }
.parent-poster__tool-orbit i:nth-child(1) { top: -0.3rem; left: 48%; }
.parent-poster__tool-orbit i:nth-child(2) { right: -0.3rem; bottom: 28%; background: var(--parent-green); }
.parent-poster__tool-orbit i:nth-child(3) { bottom: 4%; left: 17%; background: #fffaf0; border: 1px solid var(--parent-green); }

.parent-poster--late {
  background:
    radial-gradient(circle at 68% 38%, rgba(185, 59, 58, 0.2), transparent 26%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.13) 0 1px, transparent 1.2px) 0 0 / 3.2rem 3.2rem,
    #0e3a25;
}

.parent-poster__late-grid b {
  border-radius: 0.5rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 1rem 2rem rgba(0, 0, 0, 0.12);
}

.parent-poster__late-signal {
  position: absolute;
  z-index: 1;
  top: 8%;
  left: 12%;
  width: 54%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(255, 255, 255, 0.018), 0 0 0 7rem rgba(255, 255, 255, 0.013);
}

.parent-poster__late-signal i { position: absolute; width: 0.8rem; aspect-ratio: 1; border-radius: 50%; background: #efb5ad; box-shadow: 0 0 1rem rgba(239, 181, 173, 0.35); }
.parent-poster__late-signal i:nth-child(1) { top: 2%; left: 49%; }
.parent-poster__late-signal i:nth-child(2) { right: 2%; bottom: 31%; background: #fffaf0; }
.parent-poster__late-signal i:nth-child(3) { bottom: 5%; left: 20%; background: #bad6c1; }

.parent-room .next-room {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.12), transparent 22%),
    linear-gradient(135deg, #8d2025, #bd3434 56%, #9b2329);
}

.parent-room .next-room::before,
.parent-room .next-room::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(60vw, 47rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgba(255, 255, 255, 0.018), 0 0 0 11rem rgba(255, 255, 255, 0.013);
}

.parent-room .next-room::before { top: -50%; left: -16%; }
.parent-room .next-room::after { right: -20%; bottom: -56%; }

@keyframes aura-drift {
  from { transform: translate3d(-1rem, -0.5rem, 0) scale(0.96); opacity: 0.7; }
  to { transform: translate3d(1.5rem, 1rem, 0) scale(1.06); opacity: 1; }
}

@keyframes halo-turn {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 56rem) {
  .portal__art--parent { right: 2rem; }

  .parent-room .visage::after,
  .parent-room .visage:nth-of-type(even)::after {
    top: calc(min(72svh, 44rem) - 1.7rem);
    right: auto;
    left: calc(50% - 1.7rem);
    transform: none;
  }
}

@media (max-width: 42rem) {
  .home-hero::after,
  .parent-room .parent-hero::after {
    -webkit-mask-image: none;
    mask-image: none;
    opacity: 0.24;
  }

  .home-hero__copy::before {
    left: 0.35rem;
  }

  .portal {
    border-radius: 1.35rem;
  }

  .portal__art {
    top: 2rem;
    right: 1.5rem;
    width: 48%;
    opacity: 0.92;
  }

  .portal__art--hub { right: -3rem; width: 18rem; }
  .portal__art--parent { top: 5.5rem; right: -1rem; width: 70%; }
  .portal__art--book,
  .portal__art--craft,
  .portal__art--animal,
  .portal__art--nine { width: 53%; }

  .parent-hero__copy::before {
    top: -2rem;
    left: -2.5rem;
    width: 7rem;
    height: 7rem;
  }

  .parent-room .parent-mark {
    gap: 0.6rem;
  }

  .parent-room .parent-mark > span:not([class]) {
    min-height: 4.2rem;
  }

  .parent-mark__halo {
    top: -8%;
    right: -34%;
    width: 86%;
  }

  .parent-pillars article {
    min-height: 30rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
  }

  .parent-pillars article:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .parent-room .visage::after,
  .parent-room .visage:nth-of-type(even)::after {
    top: 30.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__aura,
  .parent-mark__halo {
    animation: none !important;
  }

  .portal__art,
  .parent-pillars article {
    transition: none !important;
    transform: none !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --paper: #fff;
    --paper-bright: #fff;
    --ink: #000;
    --muted: #252525;
    --soft-rule: #555;
  }

  .card-state,
  .status,
  .artifact-stage,
  .channel-card,
  .evidence-card,
  .contents-rail {
    border-width: 2px;
  }
}

@media print {
  .skip-link,
  .museum-nav,
  .local-nav {
    display: none;
  }

  body {
    background: #fff;
  }

  .hub-node,
  .artifact__story,
  .contents-rail {
    position: static;
  }
}

/* Editorial rooms: the Kanalen front door and its flagship room. */
.home-room,
.parent-room,
.hub-room {
  --editorial-width: 92rem;
  --display-serif: Georgia, "Times New Roman", serif;
  overflow-x: clip;
  background: #f4efe5;
}

.home-room .museum-header,
.parent-room .museum-header,
.hub-room .museum-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-color: rgba(23, 23, 19, 0.18);
  background: rgba(250, 247, 239, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.home-room .museum-header__bar,
.parent-room .museum-header__bar,
.hub-room .museum-header__bar {
  width: min(calc(100% - 3rem), var(--editorial-width));
}

.home-room .museum-brand,
.parent-room .museum-brand,
.hub-room .museum-brand {
  font-family: var(--display-serif);
  font-size: 1.2rem;
}

.home-room .museum-brand__note,
.parent-room .museum-brand__note,
.hub-room .museum-brand__note {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.66rem;
}

.home-room .museum-nav a,
.parent-room .museum-nav a,
.hub-room .museum-nav a {
  position: relative;
  text-decoration: none;
}

.home-room .museum-nav a::after,
.parent-room .museum-nav a::after,
.hub-room .museum-nav a::after {
  content: "";
  position: absolute;
  right: 0.35rem;
  bottom: 0.35rem;
  left: 0.35rem;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.home-room .museum-nav a:hover::after,
.home-room .museum-nav a[aria-current="page"]::after,
.parent-room .museum-nav a:hover::after,
.parent-room .museum-nav a[aria-current="page"]::after,
.hub-room .museum-nav a:hover::after,
.hub-room .museum-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.home-room .eyebrow,
.home-room .section-label,
.parent-room .eyebrow,
.parent-room .section-label,
.hub-room .eyebrow,
.hub-room .section-label {
  color: inherit;
  font-size: 0.7rem;
  letter-spacing: 0.17em;
  opacity: 0.72;
}

.text-link {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  padding-bottom: 0.18rem;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(0.35rem);
}

.home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(20rem, 0.88fr) minmax(32rem, 1.12fr);
  min-height: calc(100svh - 5rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 46%, rgba(192, 158, 255, 0.22), transparent 31%),
    linear-gradient(125deg, #20112e 0 48%, #2d1543 48% 100%);
  color: #fffaf0;
}

.home-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto auto -15rem -14rem;
  width: 35rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(255, 255, 255, 0.018), 0 0 0 10rem rgba(255, 255, 255, 0.018);
}

.home-hero__copy {
  z-index: 2;
  align-self: center;
  width: min(100%, 44rem);
  padding: clamp(4rem, 9vw, 9rem) clamp(1.5rem, 6vw, 7rem);
  animation: editorial-rise 900ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.home-hero h1 {
  max-width: 8ch;
  margin: 0 0 clamp(1.5rem, 4vw, 3rem);
  font-family: var(--display-serif);
  font-size: clamp(4.4rem, 9vw, 9.5rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.79;
}

.home-hero h1 span {
  display: block;
  color: #c7a8f0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
}

.home-hero .lede {
  max-width: 34rem;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.42;
}

.home-hero__copy > p:not(.eyebrow, .lede) {
  max-width: 31rem;
  color: rgba(255, 250, 240, 0.72);
}

.home-hero .text-link {
  margin-top: 1.5rem;
}

.home-hero__web {
  position: relative;
  align-self: stretch;
  min-height: 40rem;
  animation: editorial-appear 1.4s ease 180ms both;
}

.home-hero__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.21);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.home-hero__ring--one { width: 20rem; height: 20rem; }
.home-hero__ring--two { width: 34rem; height: 34rem; border-style: dashed; animation: orbit-turn 35s linear infinite; }
.home-hero__ring--three { width: 50rem; height: 50rem; opacity: 0.46; }

.home-hero__name {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  color: #fffaf0;
  font-family: var(--display-serif);
  font-size: clamp(3.8rem, 8vw, 7.5rem);
  letter-spacing: -0.07em;
  transform: translate(-50%, -55%);
}

.home-hero__node {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  min-width: 6.5rem;
  min-height: 6.5rem;
  padding: 1rem;
  border-radius: 50%;
  color: #171713;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.24);
  animation: node-breathe 5s ease-in-out infinite;
  cursor: pointer;
  transition: box-shadow 220ms ease, filter 220ms ease;
}

.home-hero__node:hover {
  text-decoration: none;
  filter: brightness(1.08);
  box-shadow: 0 1.8rem 4.5rem rgba(0, 0, 0, 0.34), 0 0 0 0.35rem rgba(255, 250, 240, 0.22);
}

.home-hero__node:focus-visible {
  outline-color: #fffaf0;
  outline-offset: 0.45rem;
  box-shadow: 0 1.8rem 4.5rem rgba(0, 0, 0, 0.34), 0 0 0 0.35rem rgba(255, 250, 240, 0.28);
}

.home-hero__node::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: clamp(4rem, 8vw, 8rem);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  transform: rotate(var(--line-angle, 0deg));
  transform-origin: right;
}

.home-hero__node--parent {
  top: 12%;
  left: 9%;
  width: 10rem;
  height: 10rem;
  background: #d7eadc;
  color: #07572e;
  --line-angle: -38deg;
}

.home-hero__node--book { top: 12%; right: 7%; background: #afd8f0; --line-angle: 33deg; animation-delay: -1s; }
.home-hero__node--craft { top: 45%; right: 1%; background: #eccb94; --line-angle: 2deg; animation-delay: -2.5s; }
.home-hero__node--animal { right: 13%; bottom: 8%; background: #d3c4e9; --line-angle: -28deg; animation-delay: -3.5s; }
.home-hero__node--nine { bottom: 10%; left: 10%; background: #efb4b4; --line-angle: 29deg; animation-delay: -4.2s; }

.portal-section {
  padding: clamp(5rem, 10vw, 10rem) max(1.5rem, calc((100vw - var(--editorial-width)) / 2));
  background: #f4efe5;
}

.portal-section__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.55fr);
  gap: 2rem 6rem;
  align-items: end;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.portal-section__heading .section-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.portal-section__heading h2 {
  margin: 0;
  font-family: var(--display-serif);
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.83;
}

.portal-section__heading > p:last-child {
  max-width: 29rem;
  margin: 0;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.portal {
  --portal-bg: #fffaf0;
  --portal-fg: #19151c;
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 24rem;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: var(--portal-bg);
  color: var(--portal-fg);
  text-decoration: none;
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 320ms ease;
}

.portal::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 1px solid rgba(23, 23, 19, 0.15);
  pointer-events: none;
}

.portal:hover {
  z-index: 4;
  box-shadow: 0 2rem 5rem rgba(28, 20, 33, 0.18);
  transform: translateY(-0.6rem);
}

.portal:focus-visible {
  z-index: 5;
}

.portal__kicker {
  margin-bottom: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portal h3 {
  max-width: 10ch;
  margin: 0 0 1rem;
  font-family: var(--display-serif);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.portal p:last-child {
  max-width: 30rem;
  margin: 0;
  opacity: 0.78;
}

.portal--hub {
  grid-column: span 4;
  min-height: 42rem;
  --portal-bg: #261436;
  --portal-fg: #fffaf0;
}

.portal--hub::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 15%;
  right: -8rem;
  width: 25rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(255, 255, 255, 0.025), 0 0 0 8rem rgba(255, 255, 255, 0.025);
}

.portal--parent {
  grid-column: span 8;
  min-height: 42rem;
  --portal-bg: #dbe8da;
  --portal-fg: #0a4c2a;
}

.portal--parent::after {
  content: "föräldrar";
  position: absolute;
  z-index: -1;
  top: 15%;
  right: -0.08em;
  color: rgba(5, 87, 44, 0.09);
  font-family: var(--display-serif);
  font-size: clamp(8rem, 18vw, 18rem);
  font-style: italic;
  letter-spacing: -0.09em;
  line-height: 0.8;
}

.portal__parent-words {
  position: absolute;
  top: 3rem;
  left: clamp(1.5rem, 4vw, 3.5rem);
  display: flex;
  gap: 0.45rem;
}

.portal__parent-words span {
  padding: 0.4rem 0.65rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.portal--book,
.portal--craft,
.portal--animal,
.portal--nine {
  grid-column: span 6;
}

.portal--book {
  --portal-bg: #c9e2ee;
  --portal-fg: #17445f;
  background-image: linear-gradient(105deg, transparent 0 72%, rgba(255, 255, 255, 0.35) 72% 73%, transparent 73% 100%);
}

.portal--craft {
  --portal-bg: #e9cd9f;
  --portal-fg: #593713;
  background-image: repeating-linear-gradient(135deg, transparent 0 1.25rem, rgba(89, 55, 19, 0.08) 1.25rem 1.32rem);
}

.portal--animal {
  --portal-bg: #d8cdec;
  --portal-fg: #412663;
}

.portal--animal h3 {
  font-style: italic;
}

.portal--nine {
  --portal-bg: #efc0bd;
  --portal-fg: #722128;
  background-image: radial-gradient(circle at 80% 16%, rgba(255, 255, 255, 0.4) 0 5rem, transparent 5.1rem);
}

.home-years {
  display: grid;
  grid-template-columns: minmax(18rem, 0.62fr) minmax(32rem, 1.38fr);
  gap: clamp(3rem, 8vw, 8rem);
  min-height: 100svh;
  padding: clamp(5rem, 10vw, 10rem) max(1.5rem, calc((100vw - var(--editorial-width)) / 2));
  background: #171419;
  color: #fffaf0;
}

.home-years__heading {
  align-self: center;
}

.home-years__heading h2 {
  margin: 0 0 2rem;
  font-family: var(--display-serif);
  font-size: clamp(3.6rem, 7vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.87;
}

.home-years__marks {
  max-width: 31rem;
  margin-top: clamp(3rem, 7vh, 5rem);
}

.home-years__marks > p {
  margin: 0 0 1rem;
  color: rgba(255, 250, 240, 0.68);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-years__marks ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-years__marks li {
  display: grid;
  place-items: center;
  min-height: 5.5rem;
  padding: 0.8rem;
  border: 1px solid rgba(23, 20, 25, 0.12);
  background: #fffdf8;
  box-shadow: 0 0.9rem 2.4rem rgba(0, 0, 0, 0.26);
  transform: rotate(-1deg);
}

.home-years__marks li:nth-child(2n) { transform: rotate(1.2deg); }
.home-years__marks li:nth-child(3n) { transform: rotate(-0.4deg); }

.home-years__marks img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 4rem;
}

.home-years__marks li:last-child img {
  max-height: 4.5rem;
}

.home-years__gallery {
  position: relative;
  min-height: 54rem;
}

.year-fragment {
  position: absolute;
  width: min(74%, 36rem);
  margin: 0;
  background: #fff;
  color: #171419;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.48);
  transition: z-index 0s, transform 350ms ease;
}

.year-fragment:hover {
  z-index: 6;
  transform: rotate(0) scale(1.03);
}

.year-fragment img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
  filter: saturate(0.76) contrast(0.95);
}

.year-fragment figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  font-size: 0.72rem;
}

.year-fragment time {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.year-fragment--98 { z-index: 3; top: 2%; left: 2%; transform: rotate(-4deg); }
.year-fragment--01 { z-index: 2; top: 30%; right: 0; transform: rotate(3.5deg); }
.year-fragment--11 { z-index: 4; bottom: 0; left: 10%; transform: rotate(-1.5deg); }
.year-fragment--11 img { aspect-ratio: 4 / 3; }

.home-coda {
  display: grid;
  place-content: center;
  min-height: 86svh;
  padding: 5rem 1.5rem;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.09), transparent 28%),
    #6b3798;
  color: #fffaf0;
  text-align: center;
}

.home-coda h2 {
  max-width: 11ch;
  margin: 0 auto 1rem;
  font-family: var(--display-serif);
  font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.home-coda > p:not(.section-label) {
  margin-inline: auto;
  color: rgba(255, 250, 240, 0.75);
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.home-coda .text-link {
  justify-self: center;
  margin-top: 1.5rem;
}

/* Föräldrakanalen */
.parent-room {
  background: #f5efe4;
}

.parent-room :focus-visible {
  outline-color: var(--parent-red);
}

.parent-room .museum-nav a[aria-current="page"] {
  color: var(--parent-green);
}

.parent-room .parent-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(24rem, 0.88fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  min-height: calc(100svh - 5rem);
  overflow: hidden;
  padding: clamp(4rem, 9vw, 9rem) max(1.5rem, calc((100vw - var(--editorial-width)) / 2));
  background:
    linear-gradient(105deg, transparent 0 64%, rgba(6, 94, 49, 0.07) 64% 100%),
    #f5efe4;
}

.parent-room .parent-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -14rem;
  right: -10rem;
  width: 38rem;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 102, 51, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgba(0, 102, 51, 0.025), 0 0 0 12rem rgba(0, 102, 51, 0.02);
}

.parent-hero__copy {
  z-index: 2;
  animation: editorial-rise 900ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.parent-room .parent-hero h1 {
  max-width: 10ch;
  margin: 0 0 2rem;
  color: var(--parent-green);
  font-family: var(--display-serif);
  font-size: clamp(4.6rem, 10vw, 10rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.09em;
  line-height: 0.75;
}

.parent-room .parent-hero h1::after {
  width: 1.4em;
  border-width: 0.08em;
}

.parent-room .parent-hero .lede {
  max-width: 38rem;
  color: #26342b;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.45;
}

.parent-room .parent-mark {
  z-index: 2;
  width: min(100%, 35rem);
  justify-self: end;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  padding: 0;
  border: 0;
  background: transparent;
  animation: editorial-appear 1.2s ease 200ms both;
}

.parent-room .parent-mark span,
.parent-room .parent-mark strong {
  display: grid;
  place-items: center;
  min-height: 8rem;
  padding: 1rem;
  border: 1px solid currentColor;
  background: rgba(255, 253, 248, 0.68);
}

.parent-room .parent-mark span {
  color: var(--parent-red);
  letter-spacing: 0.12em;
}

.parent-room .parent-mark strong {
  min-height: 15rem;
  background: var(--parent-green);
  color: #fffaf0;
  font-size: clamp(3rem, 6vw, 6rem);
}

.parent-hero__aside {
  position: absolute;
  right: max(1.5rem, calc((100vw - var(--editorial-width)) / 2));
  bottom: 2rem;
  margin: 0;
  color: var(--parent-green);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.parent-pillars {
  min-height: 100svh;
  padding: clamp(5rem, 10vw, 10rem) max(1.5rem, calc((100vw - var(--editorial-width)) / 2));
  background: #063f25;
  color: #fdf7eb;
}

.parent-pillars__heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(4rem, 8vw, 8rem);
}

.parent-pillars h2 {
  max-width: 10ch;
  margin: 0;
  font-family: var(--display-serif);
  font-size: clamp(4rem, 8vw, 8rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.85;
}

.parent-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.parent-pillars article {
  position: relative;
  min-height: 25rem;
  padding: 3rem clamp(1.5rem, 4vw, 4rem) 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.parent-pillars article:last-child {
  border-right: 0;
}

.parent-pillars h3 {
  margin: 0 0 1.5rem;
  color: #f2b9b1;
  font-family: var(--display-serif);
  font-size: clamp(3rem, 6vw, 6rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.07em;
}

.parent-pillars article:nth-child(2) h3 {
  color: #fffaf0;
}

.parent-pillars article:nth-child(3) h3 {
  color: #bcd8c4;
}

.parent-pillars article p {
  max-width: 22rem;
  color: rgba(253, 247, 235, 0.75);
  font-size: 1.05rem;
}

.parent-room .visage-flow {
  width: 100%;
  padding: 0;
  background: #f5efe4;
}

.parent-room .visage-flow__heading {
  max-width: none;
  margin: 0;
  padding: clamp(6rem, 11vw, 11rem) max(1.5rem, calc((100vw - var(--editorial-width)) / 2));
}

.parent-room .visage-flow__heading h2 {
  max-width: 12ch;
  margin: 0 0 2rem;
  color: var(--parent-green);
  font-family: var(--display-serif);
  font-size: clamp(4rem, 8vw, 8rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.85;
}

.parent-room .visage-flow__heading p:last-child {
  max-width: 40rem;
  color: #46534b;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
}

.parent-room .visage {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(22rem, 0.65fr);
  width: 100%;
  min-height: 92svh;
  margin: 0;
  border: 0;
  background: #fffaf0;
  box-shadow: none;
}

.parent-room .visage:nth-of-type(even) {
  grid-template-columns: minmax(22rem, 0.65fr) minmax(0, 1.35fr);
  background: #e6ede6;
}

.parent-room .visage:nth-of-type(even) .visage__visual {
  order: 2;
}

.parent-room .visage:nth-of-type(even) .visage__copy {
  order: 1;
}

.parent-room .visage__visual {
  position: relative;
  min-height: 44rem;
  border: 0;
}

.parent-room .era-poster > div {
  min-height: 100%;
  height: 100%;
}

.parent-room .visage figcaption {
  position: absolute;
  z-index: 4;
  right: 1.5rem;
  bottom: 1.5rem;
  padding: 0.55rem 0.75rem;
  border: 0;
  background: rgba(255, 253, 248, 0.9);
  color: #332e2b;
  font-size: 0.67rem;
  letter-spacing: 0.04em;
}

.parent-room .visage__copy {
  align-self: center;
  padding: clamp(3rem, 7vw, 7rem);
}

.parent-room .visage__copy h3 {
  max-width: 8ch;
  margin: 0 0 1.5rem;
  font-family: var(--display-serif);
  font-size: clamp(3.2rem, 6vw, 6rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.86;
}

.parent-room .visage__copy > p:not(.section-label) {
  max-width: 29rem;
  color: #4e514d;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.parent-room .shape-notes {
  margin-top: 2rem;
}

.parent-room .shape-notes li {
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: transparent;
}

.parent-room .next-room {
  display: grid;
  place-content: center;
  width: 100%;
  min-height: 82svh;
  margin: 0;
  padding: 5rem 1.5rem;
  background: var(--parent-red);
  color: #fffaf0;
  text-align: center;
}

.parent-room .next-room h2 {
  max-width: 10ch;
  margin: 0 auto 1rem;
  font-family: var(--display-serif);
  font-size: clamp(4rem, 9vw, 9rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.84;
}

.parent-room .next-room p:not(.section-label) {
  margin-inline: auto;
  color: rgba(255, 250, 240, 0.78);
}

.parent-room .next-room .text-link {
  justify-self: center;
  margin-top: 1.4rem;
}

.home-room .museum-footer,
.parent-room .museum-footer {
  background: #171419;
}

.home-room .museum-footer__inner,
.parent-room .museum-footer__inner {
  width: min(calc(100% - 3rem), var(--editorial-width));
  padding-block: 4rem;
}

@keyframes editorial-rise {
  from { opacity: 0; transform: translateY(2.5rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes editorial-appear {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes orbit-turn {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes node-breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.6rem); }
}

@media (max-width: 70rem) {
  .home-hero {
    grid-template-columns: minmax(19rem, 0.8fr) minmax(25rem, 1.2fr);
  }

  .home-hero__ring--three {
    width: 42rem;
    height: 42rem;
  }

  .home-hero__node--parent { left: 2%; }
  .home-hero__node--book { right: 2%; }

  .parent-room .parent-hero {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.75fr);
  }

  .parent-room .parent-mark span {
    min-height: 6rem;
  }
}

@media (max-width: 56rem) {
  .home-room .museum-header__bar,
  .parent-room .museum-header__bar,
  .hub-room .museum-header__bar {
    width: min(calc(100% - 2rem), var(--editorial-width));
  }

  .home-hero {
    grid-template-columns: 1fr;
  }

  .home-hero__copy {
    padding-bottom: 1rem;
  }

  .home-hero__web {
    min-height: 38rem;
  }

  .portal-section__heading,
  .home-years,
  .parent-room .parent-hero,
  .parent-pillars__heading {
    grid-template-columns: 1fr;
  }

  .portal-section__heading .section-label {
    grid-column: auto;
  }

  .portal--hub,
  .portal--parent {
    min-height: 34rem;
  }

  .home-years__gallery {
    min-height: 48rem;
  }

  .parent-room .parent-hero {
    padding-bottom: 7rem;
  }

  .parent-room .parent-mark {
    justify-self: start;
  }

  .parent-hero__aside {
    right: auto;
    bottom: 2rem;
    left: 1.5rem;
    writing-mode: initial;
  }

  .parent-room .visage,
  .parent-room .visage:nth-of-type(even) {
    grid-template-columns: 1fr;
  }

  .parent-room .visage:nth-of-type(even) .visage__visual,
  .parent-room .visage:nth-of-type(even) .visage__copy {
    order: initial;
  }

  .parent-room .visage__visual {
    min-height: min(72svh, 44rem);
    border-bottom: 0;
  }
}

@media (max-width: 42rem) {
  .home-hero__copy {
    padding-inline: 1.25rem;
  }

  .home-hero h1 {
    font-size: clamp(3.9rem, 21vw, 6.2rem);
  }

  .home-hero__web {
    min-height: 30rem;
    transform: scale(0.82);
  }

  .home-hero__ring--one { width: 13rem; height: 13rem; }
  .home-hero__ring--two { width: 22rem; height: 22rem; }
  .home-hero__ring--three { width: 32rem; height: 32rem; }

  .home-hero__name {
    font-size: 3.5rem;
  }

  .home-hero__node {
    min-width: 4.8rem;
    min-height: 4.8rem;
    font-size: 0.56rem;
  }

  .home-hero__node--parent { width: 7rem; height: 7rem; top: 8%; left: 1%; }
  .home-hero__node--book { top: 6%; right: 0; }
  .home-hero__node--craft { top: 48%; right: -1rem; }
  .home-hero__node--animal { right: 5%; bottom: 2%; }
  .home-hero__node--nine { bottom: 3%; left: 1%; }

  .portal-section,
  .home-years,
  .parent-room .parent-hero,
  .parent-pillars,
  .parent-room .visage-flow__heading {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .portal-section__heading h2,
  .home-years__heading h2,
  .parent-pillars h2,
  .parent-room .visage-flow__heading h2 {
    font-size: clamp(3.4rem, 17vw, 5.4rem);
  }

  .portal-grid {
    grid-template-columns: 1fr;
  }

  .portal--hub,
  .portal--parent,
  .portal--book,
  .portal--craft,
  .portal--animal,
  .portal--nine {
    grid-column: auto;
    min-height: 28rem;
  }

  .portal--parent {
    min-height: 34rem;
  }

  .portal__parent-words {
    top: 4rem;
    flex-wrap: wrap;
  }

  .home-years {
    min-height: auto;
  }

  .home-years__gallery {
    display: grid;
    gap: 1rem;
    min-height: 0;
  }

  .year-fragment,
  .year-fragment--98,
  .year-fragment--01,
  .year-fragment--11 {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    transform: none;
  }

  .parent-room .parent-hero h1 {
    font-size: clamp(4.1rem, 19vw, 6.5rem);
  }

  .parent-room .parent-mark {
    grid-template-columns: 1fr;
  }

  .parent-room .parent-mark span {
    min-height: 4rem;
  }

  .parent-room .parent-mark strong {
    grid-column: auto;
    min-height: 10rem;
    font-size: 3.2rem;
  }

  .parent-pillars__grid {
    grid-template-columns: 1fr;
  }

  .parent-pillars article {
    min-height: 20rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  }

  .parent-pillars article:last-child {
    border-bottom: 0;
  }

  .parent-room .visage__visual {
    min-height: 32rem;
  }

  .parent-room .visage__copy {
    padding: 3.5rem 1.25rem 4.5rem;
  }

  .parent-room .visage__copy h3 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .parent-room .visage figcaption {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__copy,
  .home-hero__web,
  .home-hero__node,
  .home-hero__ring,
  .parent-hero__copy,
  .parent-room .parent-mark {
    animation: none !important;
  }

  .portal,
  .year-fragment,
  .text-link span {
    transform: none !important;
  }
}

/* Final exhibition palette: kept last so the added depth wins the room cascade. */
.home-room .museum-header,
.parent-room .museum-header {
  background: rgba(250, 247, 239, 0.985);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.home-room,
.parent-room {
  overflow-x: hidden;
}

.home-hero {
  grid-template-columns: minmax(20rem, 0.8fr) minmax(38rem, 1.2fr);
  background:
    radial-gradient(circle at 73% 46%, rgba(221, 190, 255, 0.24) 0 4%, transparent 24%),
    radial-gradient(circle at 100% 0, rgba(119, 59, 169, 0.48), transparent 38%),
    radial-gradient(circle at 17% 92%, rgba(104, 45, 143, 0.56), transparent 37%),
    linear-gradient(122deg, #16091f 0 47%, #32174b 47% 76%, #21102f 76% 100%);
}

.home-hero__web {
  min-height: 46rem;
}

.home-hero__ring--one {
  width: 17rem;
  height: 17rem;
}

.home-hero__ring--two {
  width: 31rem;
  height: 31rem;
}

.home-hero__ring--three {
  width: 45rem;
  height: 45rem;
}

.home-hero__ring--four {
  width: 59rem;
  height: 59rem;
}

.home-hero__name {
  padding: 0.1em 0.2em 0.18em;
  border: 1px solid rgba(255, 250, 240, 0.2);
  border-radius: 999px;
  background: rgba(25, 10, 36, 0.52);
  font-size: clamp(3.4rem, 6.2vw, 6.4rem);
  line-height: 0.82;
  -webkit-backdrop-filter: blur(0.65rem);
  backdrop-filter: blur(0.65rem);
}

.portal-section {
  padding-top: clamp(6rem, 11vw, 11rem);
  padding-bottom: 0;
  background:
    radial-gradient(circle at 8% 4%, rgba(112, 62, 149, 0.08), transparent 23rem),
    radial-gradient(circle at 94% 54%, rgba(164, 61, 61, 0.055), transparent 26rem),
    #f4efe5;
}

.portal-grid--heart {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.portal-grid--heart .portal--parent {
  grid-column: span 7;
}

.portal-grid--heart .portal--mailing {
  grid-column: span 5;
}

.portal-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal-grid--three .portal {
  grid-column: auto;
}

.portal--mailing {
  background:
    radial-gradient(circle at 84% 13%, rgba(255, 255, 255, 0.42) 0 4rem, transparent 4.1rem),
    linear-gradient(132deg, transparent 0 70%, rgba(104, 45, 80, 0.06) 70% 70.5%, transparent 70.5%),
    #edd4df;
}

.portal--name {
  background:
    linear-gradient(90deg, transparent 0 49.8%, rgba(92, 59, 25, 0.08) 50%, transparent 50.2%) 0 0 / 4rem 100%,
    linear-gradient(0deg, transparent 0 49.8%, rgba(92, 59, 25, 0.06) 50%, transparent 50.2%) 0 0 / 100% 4rem,
    #f2daa9;
}

.portal--action {
  background:
    linear-gradient(151deg, transparent 0 58%, rgba(36, 84, 45, 0.1) 58.2% 59%, transparent 59.2%),
    #cde7bd;
}

.portal__art--mailing {
  top: 3.2rem;
  right: 2.4rem;
  width: min(56%, 18rem);
}

.portal__art--name {
  top: 2.4rem;
  right: 1.6rem;
  width: min(58%, 17rem);
}

.portal__art--action {
  top: 1.9rem;
  right: 1.4rem;
  width: min(62%, 18rem);
}

.home-years {
  background:
    radial-gradient(circle at 18% 24%, rgba(111, 55, 155, 0.26), transparent 25rem),
    radial-gradient(circle at 84% 72%, rgba(94, 43, 133, 0.18), transparent 30rem),
    #121014;
}

.home-coda {
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.14), transparent 23%),
    radial-gradient(circle at 12% 93%, rgba(232, 177, 211, 0.2), transparent 28%),
    linear-gradient(135deg, #4d1f72, #8248ad 55%, #62308c);
}

.parent-room .parent-hero {
  background:
    radial-gradient(ellipse at 85% 20%, rgba(255, 255, 255, 0.72), transparent 19%),
    radial-gradient(ellipse at 72% 73%, rgba(176, 54, 52, 0.09), transparent 23%),
    linear-gradient(105deg, transparent 0 58%, rgba(6, 94, 49, 0.08) 58% 78%, rgba(6, 94, 49, 0.025) 78%),
    #f5efe4;
}

.parent-pillars {
  background:
    radial-gradient(circle at 10% 96%, rgba(175, 48, 47, 0.25), transparent 27rem),
    radial-gradient(circle at 90% 3%, rgba(190, 221, 198, 0.12), transparent 25rem),
    #053b23;
}

.parent-pillars__grid {
  gap: 1rem;
  border-top: 0;
}

.parent-pillars article,
.parent-pillars article:last-child {
  min-height: 34rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 1.5rem 3rem rgba(0, 0, 0, 0.09);
}

.parent-room .visage-flow__heading {
  background:
    radial-gradient(circle at 83% 45%, rgba(169, 45, 45, 0.08), transparent 19rem),
    linear-gradient(105deg, transparent 68%, rgba(0, 102, 51, 0.045) 68%);
}

.parent-poster--early {
  background:
    radial-gradient(circle at 77% 24%, rgba(169, 45, 45, 0.12), transparent 18%),
    linear-gradient(115deg, transparent 0 62%, rgba(0, 102, 51, 0.05) 62% 78%, transparent 78%),
    #f5f0e8;
}

.parent-poster--tools {
  background:
    linear-gradient(90deg, transparent 0 49.8%, rgba(0, 102, 51, 0.08) 50%, transparent 50.2%) 0 0 / 5rem 100%,
    radial-gradient(circle at 80% 20%, rgba(169, 45, 45, 0.11), transparent 18rem),
    #e9eee9;
}

.parent-poster--late {
  background:
    radial-gradient(circle at 68% 38%, rgba(185, 59, 58, 0.2), transparent 26%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.13) 0 1px, transparent 1.2px) 0 0 / 3.2rem 3.2rem,
    #0e3a25;
}

.parent-room .next-room {
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.12), transparent 22%),
    linear-gradient(135deg, #8d2025, #bd3434 56%, #9b2329);
}

@media (max-width: 42rem) {
  .parent-pillars article,
  .parent-pillars article:last-child {
    min-height: 30rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
  }
}

.home-hero__node {
  min-width: 5rem;
  min-height: 5rem;
  padding: 0.72rem;
  background: rgba(255, 250, 240, 0.86);
  font-size: 0.6rem;
  line-height: 1.1;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.home-hero__node--parent {
  top: 10%;
  left: 4%;
  width: 8.8rem;
  height: 8.8rem;
  background: rgba(215, 234, 220, 0.92);
}

.home-hero__node--mailing {
  top: 34%;
  left: 0;
  width: 7.2rem;
  height: 7.2rem;
  background: rgba(242, 211, 219, 0.92);
}

.home-hero__node--nine {
  right: auto;
  bottom: 10%;
  left: 6%;
  background: rgba(239, 180, 180, 0.92);
}

.home-hero__node--name {
  bottom: 1%;
  left: 31%;
  width: 6.2rem;
  height: 6.2rem;
  background: rgba(249, 221, 164, 0.94);
}

.home-hero__node--animal {
  right: 18%;
  bottom: 6%;
  background: rgba(211, 196, 233, 0.92);
}

.home-hero__node--book {
  top: 9%;
  right: 10%;
  background: rgba(175, 216, 240, 0.92);
}

.home-hero__node--craft {
  top: 35%;
  right: 0;
  background: rgba(236, 203, 148, 0.94);
}

.home-hero__node--action {
  right: 2%;
  bottom: 22%;
  width: 6.5rem;
  height: 6.5rem;
  background: rgba(174, 229, 160, 0.94);
}

.parent-room .parent-mark {
  z-index: 3;
  width: min(100%, 31rem);
  align-self: end;
  margin-bottom: clamp(1rem, 4vh, 3rem);
}

.parent-room .parent-mark > strong {
  min-height: 12rem;
}

@media (max-width: 56rem) {
  .parent-room .parent-mark {
    width: min(100%, 38rem);
    margin: -7rem auto 0;
  }
}

@media (max-width: 42rem) {
  .home-hero__node {
    min-width: 4.3rem;
    min-height: 4.3rem;
  }

  .home-hero__node--parent {
    width: 6.4rem;
    height: 6.4rem;
  }

  .parent-room .parent-mark {
    margin-top: -4rem;
  }

  .parent-room .parent-mark > strong {
    min-height: 9rem;
  }
}

/* The shared public frame is deliberately last in the cascade. */
.museum-header__bar,
.home-room .museum-header__bar,
.parent-room .museum-header__bar,
.hub-room .museum-header__bar {
  display: grid;
  width: min(100%, var(--museum-frame-width));
  min-height: 5.25rem;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  margin-inline: auto;
  padding: 0 var(--museum-frame-gutter);
}

.museum-brand,
.home-room .museum-brand,
.parent-room .museum-brand,
.hub-room .museum-brand {
  display: inline-flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  margin: 0;
  align-self: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.museum-brand__mark {
  width: 1rem;
  aspect-ratio: 1;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.museum-nav {
  width: auto;
  min-width: 0;
  max-width: 100%;
  justify-self: end;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

.museum-nav ul,
.home-room .museum-nav ul,
.parent-room .museum-nav ul,
.hub-room .museum-nav ul {
  display: flex;
  width: max-content;
  min-width: 0;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.68rem, 0.75vw, 0.78rem);
  font-weight: 700;
  line-height: 1.55;
}

.museum-nav a,
.home-room .museum-nav a,
.parent-room .museum-nav a,
.hub-room .museum-nav a {
  display: inline-flex;
  min-width: 0;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.38rem;
  white-space: nowrap;
}

.museum-footer {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  line-height: 1.55;
}

.museum-footer__inner,
.home-room .museum-footer__inner,
.parent-room .museum-footer__inner {
  display: flex;
  width: min(100%, var(--museum-frame-width));
  min-height: 8rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-inline: auto;
  padding: 1.5rem var(--museum-frame-gutter);
}

.museum-footer p {
  max-width: 42rem;
  margin: 0;
}

.museum-footer small {
  color: inherit;
  opacity: 0.74;
}

.museum-footer nav {
  margin-left: auto;
}

.museum-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.museum-footer nav a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
}

@media (max-width: 64rem) {
  .museum-header__bar,
  .home-room .museum-header__bar,
  .parent-room .museum-header__bar,
  .hub-room .museum-header__bar {
    display: flex;
    width: min(100%, var(--museum-frame-width));
    min-height: 0;
    align-items: stretch;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.9rem var(--museum-frame-gutter) 0.45rem;
  }

  .museum-nav {
    width: 100%;
    justify-self: auto;
  }

  .museum-brand,
  .home-room .museum-brand,
  .parent-room .museum-brand,
  .hub-room .museum-brand {
    align-self: flex-start;
    margin: 0;
  }

  .museum-nav ul,
  .home-room .museum-nav ul,
  .parent-room .museum-nav ul,
  .hub-room .museum-nav ul {
    min-width: max-content;
  }

  .museum-footer__inner,
  .home-room .museum-footer__inner,
  .parent-room .museum-footer__inner {
    min-height: 9rem;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.7rem;
    padding: 1.5rem var(--museum-frame-gutter);
  }

  .museum-footer nav {
    margin-left: 0;
  }

  .museum-footer nav ul {
    justify-content: flex-start;
  }
}
