:root {
  --deep-blue: #1a3a5c;
  --deep-blue-dark: #102b46;
  --deep-blue-soft: #274f73;
  --gold: #c4a24a;
  --gold-light: #ead58f;
  --warm-white: #fdf8f0;
  --paper: #f5eedc;
  --cream-wall: #f3e7cf;
  --wood: #c4956a;
  --wood-dark: #865c3c;
  --mars-red: #c0392b;
  --mars-green: #277c4e;
  --mars-green-light: #68c98d;
  --mars-blue: #2980b9;
  --mars-blue-light: #65b6e6;
  --mars-yellow: #ffc95a;
  --charcoal: #342f2b;
  --soft-gray: #e6ddd1;
  --white: #fff;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-friendly: "Nunito", "Inter", system-ui, sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;
  --page-width: 1160px;
  --shadow-soft: 0 12px 36px rgba(41, 29, 20, 0.16);
  --shadow-deep: 0 28px 80px rgba(23, 17, 14, 0.32);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 20rem;
  color: var(--charcoal);
  background: var(--deep-blue-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.room-is-open,
body.nav-is-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

h1,
h2,
h3,
p,
blockquote,
figure,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--deep-blue);
  font-family: var(--font-display);
  line-height: 1.08;
}

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

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--deep-blue);
  border-radius: 0.6rem;
  font-family: var(--font-friendly);
  font-weight: 900;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  background: rgba(253, 248, 240, 0.97);
  border-bottom: 1px solid rgba(26, 58, 92, 0.18);
  box-shadow: 0 5px 22px rgba(30, 26, 22, 0.12);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  width: min(calc(100% - 2rem), 1380px);
  min-height: 4.8rem;
  margin-inline: auto;
  align-items: center;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  min-width: 13rem;
  align-items: center;
  gap: 0.7rem;
  color: var(--deep-blue);
  text-decoration: none;
}

.brand img {
  width: 3.7rem;
  height: 3.7rem;
  filter: drop-shadow(0 3px 4px rgba(17, 36, 55, 0.2));
}

.brand__words {
  display: grid;
  line-height: 1.05;
}

.brand__words strong {
  font-family: var(--font-friendly);
  font-size: 1.12rem;
  letter-spacing: 0.09em;
}

.brand__words span {
  margin-top: 0.22rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 0.15rem;
}

.primary-nav a {
  padding: 0.62rem 0.68rem;
  color: var(--deep-blue);
  border-radius: 0.55rem;
  font-family: var(--font-friendly);
  font-size: clamp(0.72rem, 0.82vw, 0.86rem);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current="page"] {
  background: var(--paper);
}

.primary-nav__home[aria-current="page"]::before {
  margin-right: 0.35rem;
  color: var(--mars-red);
  content: "●";
}

.header-give {
  flex: 0 0 auto;
  padding: 0.62rem 0.9rem;
  color: var(--deep-blue-dark);
  background: var(--gold-light);
  border: 2px solid var(--gold);
  border-radius: 999px;
  font-family: var(--font-friendly);
  font-size: 0.8rem;
  font-weight: 900;
  text-decoration: none;
}

.nav-toggle {
  display: none;
}

.hallway-shell {
  position: relative;
  min-height: calc(100svh - 4.8rem);
  overflow: hidden;
  background: #211911;
}

.hallway-intro {
  position: absolute;
  z-index: 45;
  top: 1.15rem;
  left: 50%;
  width: min(92%, 35rem);
  padding: 0.8rem 1.25rem 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(16, 43, 70, 0.88);
  border: 2px solid rgba(234, 213, 143, 0.86);
  border-radius: 0.85rem;
  box-shadow: 0 12px 35px rgba(16, 21, 24, 0.26);
  text-align: center;
  transform: translateX(-50%) rotate(-0.3deg);
  backdrop-filter: blur(8px);
}

.hallway-intro__eyebrow {
  margin-bottom: 0.18rem;
  color: var(--gold-light);
  font-family: var(--font-friendly);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hallway-intro h1 {
  margin-bottom: 0.18rem;
  color: var(--white);
  font-size: clamp(1.4rem, 2.45vw, 2.15rem);
  letter-spacing: -0.025em;
}

.hallway-intro p:not(.hallway-intro__eyebrow) {
  margin-bottom: 0;
  font-size: 0.83rem;
}

.hallway-intro__prompt {
  display: none;
}

.hallway-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: max(46rem, calc(100svh - 4.8rem));
  min-height: 46rem;
  overflow: hidden;
  perspective: 1400px;
  perspective-origin: 50% 52%;
  background: var(--cream-wall);
  transform-origin: 50% 62%;
  transition: transform 480ms cubic-bezier(0.2, 0.72, 0.24, 1), filter 480ms ease;
}

.hallway-stage::after {
  position: absolute;
  z-index: 42;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 17, 11, 0.13), transparent 18% 82%, rgba(28, 17, 11, 0.13));
  content: "";
  pointer-events: none;
}

.hallway-stage.is-entering {
  filter: saturate(1.06) brightness(1.04);
  transform: scale(1.035);
}

.hallway-architecture {
  position: absolute;
  pointer-events: none;
}

.hallway-architecture--ceiling {
  z-index: 1;
  inset: 0 0 76%;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255, 228, 178, 0.72), transparent 26%),
    repeating-linear-gradient(90deg, rgba(26, 58, 92, 0.07) 0 1px, transparent 1px 14%),
    linear-gradient(#fffaf0, #e9dcc7);
  clip-path: polygon(0 0, 100% 0, 64% 100%, 36% 100%);
  box-shadow: inset 0 -10px 20px rgba(116, 83, 53, 0.13);
}

.hallway-architecture--left-wall {
  z-index: 2;
  inset: 0 64% 0 0;
  background:
    linear-gradient(90deg, rgba(114, 79, 48, 0.08), transparent 50%),
    repeating-linear-gradient(3deg, rgba(98, 70, 43, 0.025) 0 1px, transparent 1px 7px),
    var(--cream-wall);
  clip-path: polygon(0 0, 100% 24%, 100% 71%, 0 100%);
}

.hallway-architecture--right-wall {
  z-index: 2;
  inset: 0 0 0 64%;
  background:
    linear-gradient(270deg, rgba(114, 79, 48, 0.08), transparent 50%),
    repeating-linear-gradient(-3deg, rgba(98, 70, 43, 0.025) 0 1px, transparent 1px 7px),
    var(--cream-wall);
  clip-path: polygon(0 24%, 100% 0, 100% 100%, 0 71%);
}

.hallway-architecture--far-wall {
  z-index: 2;
  inset: 24% 36% 29%;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 232, 204, 0.76), transparent 43%),
    repeating-linear-gradient(0deg, rgba(73, 57, 39, 0.025) 0 1px, transparent 1px 7px),
    #f7eddb;
  border: 1px solid rgba(112, 85, 59, 0.16);
}

.hallway-architecture--floor {
  z-index: 3;
  inset: 67% 0 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 8%, rgba(75, 45, 24, 0.22) 8.2% 8.5%, transparent 8.7% 16%),
    repeating-linear-gradient(4deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 11px),
    linear-gradient(90deg, #a9724c, #d1a174 45% 55%, #9c6746);
  clip-path: polygon(36% 0, 64% 0, 100% 100%, 0 100%);
  box-shadow: inset 0 20px 32px rgba(64, 39, 24, 0.22);
}

.hallway-architecture--floor::before {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background: repeating-linear-gradient(0deg, transparent 0 2.5rem, rgba(84, 49, 25, 0.28) 2.55rem 2.7rem);
  content: "";
  transform: perspective(420px) rotateX(14deg);
  transform-origin: top;
}

.hallway-wainscot {
  position: absolute;
  z-index: 4;
  bottom: 0;
  height: 39%;
  background:
    repeating-linear-gradient(90deg, transparent 0 4.2rem, rgba(255, 255, 255, 0.075) 4.3rem 4.45rem),
    linear-gradient(#244d70, var(--deep-blue));
  border-top: 7px solid var(--gold);
  box-shadow: inset 0 10px 18px rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.hallway-wainscot--left {
  left: 0;
  width: 36%;
  clip-path: polygon(0 0, 100% 25%, 100% 100%, 0 100%);
}

.hallway-wainscot--right {
  right: 0;
  width: 36%;
  clip-path: polygon(0 25%, 100% 0, 100% 100%, 0 100%);
}

.ceiling-light {
  position: absolute;
  z-index: 5;
  width: 9%;
  height: 2.2%;
  background: #fff8d9;
  border: 2px solid #b9a986;
  border-radius: 50%;
  box-shadow: 0 0 26px 11px rgba(255, 214, 153, 0.32);
  animation: lightBreath 7s ease-in-out infinite alternate;
}

.ceiling-light--one {
  top: 4.5%;
  left: 25%;
  transform: perspective(400px) rotateX(48deg);
}

.ceiling-light--two {
  top: 9.5%;
  right: 29%;
  width: 6.5%;
  transform: perspective(400px) rotateX(48deg);
  animation-delay: -3s;
}

.light-beam {
  position: absolute;
  z-index: 6;
  top: 22%;
  left: 47%;
  width: 18%;
  height: 50%;
  opacity: 0.26;
  background: linear-gradient(105deg, rgba(255, 245, 217, 0.6), rgba(255, 245, 217, 0));
  clip-path: polygon(36% 0, 64% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.light-beam i {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #fff6d9;
  border-radius: 50%;
  box-shadow: 0 0 4px #fff;
  animation: dustFloat 8s ease-in-out infinite alternate;
}

.light-beam i:nth-child(1) { top: 12%; left: 42%; }
.light-beam i:nth-child(2) { top: 34%; left: 61%; animation-delay: -2s; }
.light-beam i:nth-child(3) { top: 58%; left: 32%; animation-delay: -5s; }
.light-beam i:nth-child(4) { top: 72%; left: 69%; animation-delay: -3s; }
.light-beam i:nth-child(5) { top: 45%; left: 47%; animation-delay: -6s; }

.hallway-decor {
  position: absolute;
  z-index: 12;
}

.welcome-sign {
  top: 27.5%;
  left: 41.5%;
  display: grid;
  width: 17%;
  min-width: 10rem;
  padding: 0.52rem 0.7rem;
  place-items: center;
  color: var(--deep-blue);
  background: var(--paper);
  border: 4px solid var(--gold);
  border-radius: 0.5rem;
  box-shadow: 0 7px 14px rgba(55, 38, 24, 0.2);
  line-height: 1;
  text-align: center;
  transform: rotate(-0.7deg);
}

.welcome-sign > span,
.welcome-sign small {
  font-family: var(--font-friendly);
  font-size: clamp(0.5rem, 0.65vw, 0.7rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.welcome-sign strong {
  display: flex;
  margin-block: 0.25rem;
  gap: 0.08em;
  font: 900 clamp(1.05rem, 1.8vw, 1.7rem)/1 var(--font-friendly);
  letter-spacing: -0.08em;
}

.welcome-sign strong i { font-style: normal; }
.welcome-sign strong i:nth-child(1) { color: var(--mars-red); }
.welcome-sign strong i:nth-child(2) { color: var(--mars-green); }
.welcome-sign strong i:nth-child(3) { color: var(--mars-blue); }
.welcome-sign strong i:nth-child(4) { color: #e09a12; }

.artwork {
  padding: 0.35rem;
  background: #fff9e9;
  border: 1px solid rgba(83, 56, 32, 0.18);
  box-shadow: 0 6px 10px rgba(54, 37, 24, 0.16);
  text-align: center;
}

.artwork .tape {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  width: 42%;
  height: 1rem;
  background: rgba(243, 213, 129, 0.7);
  transform: translateX(-50%) rotate(2deg);
}

.artwork small {
  display: block;
  margin-top: 0.12rem;
  font-family: var(--font-hand);
  font-size: clamp(0.5rem, 0.8vw, 0.84rem);
  line-height: 1;
}

.artwork--rainbow {
  top: 25%;
  left: 26.5%;
  width: 7.5%;
  transform: rotate(-4deg);
}

.artwork--rainbow div {
  position: relative;
  height: 3.5rem;
  overflow: hidden;
  background: #d9eff8;
}

.artwork--rainbow div i {
  position: absolute;
  bottom: -1.8rem;
  left: 50%;
  border-style: solid;
  border-radius: 50%;
  transform: translateX(-50%);
}

.artwork--rainbow div i:nth-child(1) { width: 5rem; height: 4.2rem; border-width: 0.62rem; border-color: var(--mars-red); }
.artwork--rainbow div i:nth-child(2) { width: 3.9rem; height: 3.2rem; border-width: 0.62rem; border-color: var(--mars-yellow); }
.artwork--rainbow div i:nth-child(3) { width: 2.8rem; height: 2.2rem; border-width: 0.62rem; border-color: var(--mars-green-light); }
.artwork--rainbow div i:nth-child(4) { width: 1.7rem; height: 1.2rem; border-width: 0.62rem; border-color: var(--mars-blue-light); }

.artwork--garden {
  top: 31%;
  right: 27%;
  width: 6.8%;
  transform: rotate(3deg);
}

.artwork--garden div {
  position: relative;
  height: 3.1rem;
  overflow: hidden;
  background: linear-gradient(#cce9f4 65%, #8cb96d 65%);
}

.artwork--garden div i {
  position: absolute;
  bottom: 0.35rem;
  width: 0.8rem;
  height: 0.8rem;
  background: var(--mars-yellow);
  border-radius: 50% 50% 42% 55%;
}

.artwork--garden div i::after {
  position: absolute;
  top: 0.7rem;
  left: 0.35rem;
  width: 2px;
  height: 1.3rem;
  background: var(--mars-green);
  content: "";
}

.artwork--garden div i:nth-child(1) { left: 14%; background: var(--mars-red); }
.artwork--garden div i:nth-child(2) { left: 46%; }
.artwork--garden div i:nth-child(3) { right: 14%; background: var(--mars-blue); }

.height-chart {
  top: 17%;
  left: 0.6%;
  width: 5.5%;
  height: 42%;
  min-width: 4.5rem;
  color: var(--deep-blue);
  border-left: 5px solid var(--mars-red);
  font-family: var(--font-friendly);
}

.height-chart strong {
  position: absolute;
  top: -2.4rem;
  left: -0.4rem;
  width: 7rem;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.height-chart span {
  position: absolute;
  bottom: var(--mark);
  left: 0;
  width: 5rem;
  padding-left: 0.7rem;
  font-size: clamp(0.44rem, 0.58vw, 0.6rem);
  font-weight: 900;
  white-space: nowrap;
}

.height-chart span::before {
  position: absolute;
  top: 50%;
  left: -0.05rem;
  width: 0.58rem;
  height: 2px;
  background: var(--mars-red);
  content: "";
}

.bulletin-board {
  top: 18%;
  right: 1.3%;
  display: grid;
  width: 13%;
  min-width: 9rem;
  padding: 0.7rem;
  gap: 0.45rem;
  background:
    radial-gradient(circle, rgba(83, 48, 21, 0.22) 0 1px, transparent 1.5px) 0 0 / 5px 5px,
    #b77b4f;
  border: 7px solid #8a5b36;
  box-shadow: 0 8px 15px rgba(55, 34, 20, 0.2);
  transform: rotate(1.2deg);
}

.bulletin-board > strong {
  color: #fff8e6;
  font-family: var(--font-friendly);
  font-size: clamp(0.55rem, 0.75vw, 0.78rem);
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.bulletin-note {
  padding: 0.38rem 0.45rem;
  color: var(--deep-blue-dark);
  background: #fff7d6;
  box-shadow: 0 2px 4px rgba(46, 31, 18, 0.18);
  font-family: var(--font-hand);
  font-size: clamp(0.55rem, 0.8vw, 0.78rem);
  font-weight: 700;
  line-height: 1.05;
}

.bulletin-note small {
  font-size: 0.7em;
}

.bulletin-note--star { background: #fff0aa; transform: rotate(-2deg); }
.bulletin-note--event { background: #dceff7; transform: rotate(1.8deg); }
.bulletin-note--help { background: #e0f0dc; transform: rotate(-1deg); }

.cubbies {
  bottom: 1.2%;
  left: 0.4%;
  display: grid;
  width: 27%;
  height: 16%;
  grid-template-columns: repeat(4, 1fr);
  background:
    repeating-linear-gradient(4deg, rgba(87, 52, 24, 0.08) 0 1px, transparent 1px 6px),
    #b98252;
  border: 7px solid #8a5c34;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.13), 0 12px 18px rgba(44, 28, 17, 0.24);
}

.cubbies > i {
  position: relative;
  border-right: 4px solid #8a5c34;
}

.cubbies > i:last-child {
  border-right: 0;
}

.backpack {
  position: absolute;
  right: 20%;
  bottom: 10%;
  left: 20%;
  height: 58%;
  border-radius: 45% 45% 18% 18%;
}

.backpack::before {
  position: absolute;
  top: -17%;
  left: 25%;
  width: 50%;
  height: 28%;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  content: "";
}

.backpack--red { color: #7f271f; background: var(--mars-red); }
.backpack--blue { color: #1c587d; background: var(--mars-blue); }

.coat {
  position: absolute;
  top: 12%;
  right: 18%;
  left: 18%;
  height: 67%;
  background: #e2b244;
  clip-path: polygon(32% 0, 68% 0, 76% 17%, 100% 35%, 83% 56%, 72% 45%, 77% 100%, 23% 100%, 28% 45%, 17% 56%, 0 35%, 24% 17%);
}

.shoes::before,
.shoes::after {
  position: absolute;
  bottom: 12%;
  width: 31%;
  height: 22%;
  background: #32475c;
  border-radius: 70% 30% 28% 35%;
  content: "";
}

.shoes::before { left: 15%; }
.shoes::after { right: 15%; transform: scaleX(-1); }

.plant {
  right: 29.5%;
  bottom: 25%;
  width: 4.5rem;
  height: 6.5rem;
}

.plant span {
  position: absolute;
  right: 0.8rem;
  bottom: 0;
  left: 0.8rem;
  height: 2.5rem;
  background: #b76845;
  border-radius: 0.25rem 0.25rem 1rem 1rem;
  box-shadow: inset 0 8px 0 #8f4e36;
}

.plant i {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  width: 1.3rem;
  height: 3.8rem;
  background: var(--mars-green);
  border-radius: 90% 8% 90% 8%;
  transform-origin: bottom;
}

.plant i:nth-of-type(1) { transform: translateX(-50%) rotate(-32deg); }
.plant i:nth-of-type(2) { transform: translateX(-50%) rotate(4deg); }
.plant i:nth-of-type(3) { transform: translateX(-50%) rotate(35deg); }

.hall-rug {
  z-index: 9;
  right: 32%;
  bottom: 3%;
  left: 32%;
  display: grid;
  height: 10%;
  place-items: center;
  color: var(--paper);
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 3px, transparent 3px 8px),
    var(--mars-red);
  border: 5px solid var(--gold-light);
  border-radius: 48%;
  box-shadow: 0 8px 14px rgba(58, 34, 20, 0.24);
  font: 700 clamp(0.65rem, 1vw, 1rem)/1 var(--font-hand);
  transform: perspective(500px) rotateX(58deg);
}

.door {
  --door-color: #eee;
  --door-dark: #b9a48d;
  position: absolute;
  z-index: 20;
  display: block;
  color: var(--deep-blue-dark);
  text-decoration: none;
  transform-style: preserve-3d;
}

.door::after {
  position: absolute;
  z-index: -1;
  right: 8%;
  bottom: -2.5%;
  left: 8%;
  height: 8%;
  opacity: 0;
  background: radial-gradient(ellipse, rgba(255, 225, 157, 0.9), transparent 70%);
  content: "";
  transition: opacity 180ms ease;
}

.door:hover::after,
.door:focus-visible::after,
.door.is-opening::after {
  opacity: 1;
}

.door__frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 0.58;
  padding: 7%;
  background:
    linear-gradient(90deg, #8c603d, #d6ad79 17%, #8c603d 31%, #b77c4e 77%, #754c32),
    var(--wood);
  border: 2px solid #684229;
  box-shadow: 0 12px 18px rgba(47, 28, 16, 0.31), inset 0 0 0 3px rgba(255, 224, 166, 0.24);
  perspective: 900px;
}

.door__face {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    repeating-linear-gradient(2deg, transparent 0 11px, rgba(67, 47, 32, 0.03) 12px 13px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 12% 84%, rgba(54, 36, 23, 0.1)),
    var(--door-color);
  border: 2px solid rgba(76, 50, 31, 0.52);
  box-shadow: inset 0 0 20px rgba(66, 44, 27, 0.12);
  transform-origin: left center;
  transition: transform 420ms cubic-bezier(0.2, 0.74, 0.25, 1), box-shadow 220ms ease, filter 220ms ease;
}

.door:hover .door__face,
.door:focus-visible .door__face {
  filter: brightness(1.08) saturate(1.06);
  box-shadow: inset 0 0 20px rgba(255, 230, 168, 0.28), 0 0 24px rgba(255, 218, 146, 0.62);
  transform: perspective(900px) rotateY(-7deg);
}

.door.is-opening .door__face {
  box-shadow: 12px 0 32px rgba(255, 222, 151, 0.72);
  transform: perspective(900px) rotateY(-56deg);
}

.door__sign {
  position: absolute;
  z-index: 5;
  right: -7%;
  bottom: calc(100% + 2.4%);
  left: -7%;
  display: grid;
  min-height: 3.1rem;
  padding: 0.42rem 0.5rem;
  place-content: center;
  color: var(--deep-blue-dark);
  background: var(--paper);
  border: 4px solid var(--gold);
  border-radius: 0.45rem;
  box-shadow: 0 7px 12px rgba(59, 38, 20, 0.21);
  line-height: 1.05;
  text-align: center;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.door:hover .door__sign,
.door:focus-visible .door__sign,
.door.is-opening .door__sign {
  background: #fff7cf;
  box-shadow: 0 8px 18px rgba(255, 217, 134, 0.46);
  transform: translateY(-3px) scale(1.035);
}

.door__sign strong {
  display: block;
  font: 700 clamp(0.6rem, 1vw, 1rem)/1.05 var(--font-display);
}

.door__sign small {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-friendly);
  font-size: clamp(0.38rem, 0.56vw, 0.62rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.door__window {
  position: absolute;
  top: 11%;
  right: 15%;
  left: 15%;
  display: grid;
  height: 25%;
  overflow: hidden;
  place-items: end center;
  background: linear-gradient(#ffdca7, #fff5dc);
  border: 6px solid rgba(111, 73, 44, 0.66);
  box-shadow: inset 0 0 13px rgba(83, 54, 32, 0.25);
}

.door__window::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.55), transparent 28% 72%, rgba(255, 255, 255, 0.28));
  content: "";
}

.door__window em {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0.25rem;
  color: var(--deep-blue-dark);
  background: rgba(255, 250, 234, 0.82);
  font: 700 clamp(0.34rem, 0.48vw, 0.55rem)/1.1 var(--font-hand);
  text-align: center;
}

.door__handle {
  position: absolute;
  z-index: 4;
  top: 54%;
  right: 8%;
  width: 9%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 35%, #fff0a8, var(--gold) 48%, #806219 74%);
  border: 1px solid #6f5416;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(57, 39, 19, 0.4);
}

.door__open-label {
  position: absolute;
  top: calc(100% + 0.25rem);
  right: 0;
  left: 0;
  opacity: 0;
  color: #fff9e8;
  font-family: var(--font-friendly);
  font-size: clamp(0.42rem, 0.6vw, 0.68rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
  text-shadow: 0 2px 5px rgba(20, 16, 12, 0.8);
  transform: translateY(-4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.door:hover .door__open-label,
.door:focus-visible .door__open-label {
  opacity: 1;
  transform: translateY(0);
}

.door--infant {
  --door-color: #f5e0d0;
  right: 4.4%;
  bottom: 9%;
  width: 18.8%;
  transform: perspective(1000px) rotateY(-8deg) skewY(-1deg);
}

.door--toddler {
  --door-color: #f0e0b0;
  bottom: 10%;
  left: 4.4%;
  width: 18.8%;
  transform: perspective(1000px) rotateY(8deg) skewY(1deg);
}

.door--preschool {
  --door-color: #2d83b9;
  right: 25.8%;
  bottom: 28.5%;
  width: 10.4%;
  transform: perspective(1000px) rotateY(-5deg) skewY(-0.5deg);
}

.door--play {
  --door-color: #33805a;
  bottom: 29%;
  left: 25.8%;
  width: 10.4%;
  transform: perspective(1000px) rotateY(5deg) skewY(0.5deg);
}

.door--admin {
  --door-color: #9b6745;
  bottom: 31%;
  left: 44.2%;
  width: 11.6%;
}

.door--admin .door__frame {
  background: linear-gradient(90deg, #6f472d, #b17b51 15%, #70472e 30%, #a06a44 80%, #5a3825);
}

.door--admin .door__sign {
  right: -22%;
  left: -22%;
}

.door__mobile {
  position: absolute;
  z-index: 7;
  bottom: calc(100% + 3.4rem);
  left: 50%;
  width: 40%;
  height: 3.2rem;
  border-top: 3px solid var(--deep-blue);
  border-radius: 50%;
  transform: translateX(-50%);
  transform-origin: top;
  animation: mobileSway 4.8s ease-in-out infinite alternate;
}

.door__mobile::before {
  position: absolute;
  top: -2.9rem;
  left: 50%;
  width: 2px;
  height: 3rem;
  background: var(--deep-blue);
  content: "";
}

.door__mobile i {
  position: absolute;
  top: 0;
  width: 2px;
  height: 2rem;
  background: var(--deep-blue);
}

.door__mobile i::after {
  position: absolute;
  bottom: -0.4rem;
  left: 50%;
  width: 0.75rem;
  height: 0.75rem;
  background: var(--mars-yellow);
  border-radius: 50% 50% 42% 58%;
  content: "";
  transform: translateX(-50%) rotate(20deg);
}

.door__mobile i:nth-child(1) { left: 8%; }
.door__mobile i:nth-child(2) { left: 50%; height: 2.7rem; }
.door__mobile i:nth-child(2)::after { background: var(--mars-blue-light); }
.door__mobile i:nth-child(3) { right: 8%; }
.door__mobile i:nth-child(3)::after { background: var(--mars-red); }

.felt-shape {
  position: absolute;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.75rem, 1.4vw, 1.6rem);
  text-shadow: 0 2px 2px rgba(72, 47, 30, 0.16);
}

.felt-shape--moon { right: 18%; bottom: 22%; color: #e9bd4a; transform: rotate(-12deg); }
.felt-shape--star { bottom: 32%; left: 20%; color: var(--mars-blue); transform: rotate(12deg); }

.crib-scene {
  position: absolute;
  right: 15%;
  bottom: 14%;
  left: 15%;
  height: 33%;
  border: 3px solid #b37f58;
  border-top: 0;
}

.crib-scene::before {
  position: absolute;
  top: -45%;
  left: 5%;
  width: 90%;
  height: 50%;
  background: #f7e6c6;
  border-radius: 50%;
  content: "";
}

.handprint {
  position: absolute;
  color: var(--mars-red);
  font-size: clamp(1rem, 1.8vw, 2rem);
  filter: saturate(0.85);
}

.handprint--one { bottom: 28%; left: 15%; transform: rotate(-14deg); }
.handprint--two { right: 18%; bottom: 19%; color: var(--mars-blue); transform: rotate(12deg); }
.handprint--three { bottom: 9%; left: 43%; color: var(--mars-green); transform: rotate(-5deg); }

.book-scene {
  position: absolute;
  right: 18%;
  bottom: 18%;
  left: 18%;
  height: 30%;
  background: linear-gradient(90deg, var(--mars-red) 0 18%, transparent 18% 23%, var(--mars-yellow) 23% 47%, transparent 47% 52%, var(--mars-blue) 52% 74%, transparent 74% 79%, var(--mars-green) 79%);
  transform: perspective(200px) rotateX(9deg);
}

.board-books {
  position: absolute;
  top: 86%;
  right: 70%;
  display: flex;
  height: 12%;
  align-items: end;
  gap: 2px;
}

.board-books i { display: block; width: 0.45rem; height: 100%; background: var(--mars-red); }
.board-books i:nth-child(2) { height: 75%; background: var(--mars-blue); }
.board-books i:nth-child(3) { height: 90%; background: var(--mars-yellow); }
.board-books i:nth-child(4) { height: 65%; background: var(--mars-green); }

.door__letters {
  position: absolute;
  z-index: 6;
  inset: 7% -9% auto;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.door__letters i {
  display: grid;
  width: 1.1rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--deep-blue-dark);
  background: var(--mars-yellow);
  border: 1px solid rgba(62, 40, 21, 0.25);
  font: 900 clamp(0.36rem, 0.55vw, 0.6rem)/1 var(--font-friendly);
  font-style: normal;
  transform: rotate(-8deg);
}

.door__letters i:nth-child(even) { background: #fff1cf; transform: rotate(7deg); }
.door__letters i:nth-child(3n) { background: var(--mars-green-light); }

.easel-scene {
  position: absolute;
  bottom: 17%;
  left: 35%;
  width: 30%;
  height: 55%;
  background: linear-gradient(135deg, #fff 0 45%, var(--mars-red) 46% 58%, var(--mars-yellow) 59% 72%, var(--mars-blue) 73%);
  border: 2px solid #855c3b;
}

.easel-scene::before,
.easel-scene::after {
  position: absolute;
  top: 100%;
  width: 2px;
  height: 70%;
  background: #755033;
  content: "";
}

.easel-scene::before { left: 18%; transform: rotate(8deg); }
.easel-scene::after { right: 18%; transform: rotate(-8deg); }

.alphabet-project {
  position: absolute;
  right: 10%;
  bottom: 19%;
  left: 10%;
  padding: 0.28rem;
  color: var(--deep-blue-dark);
  background: #fff4cc;
  font: 900 clamp(0.34rem, 0.55vw, 0.62rem)/1 var(--font-friendly);
  letter-spacing: 0.08em;
  text-align: center;
  transform: rotate(-2deg);
}

.learning-poster {
  position: absolute;
  top: 9%;
  right: 9%;
  left: 9%;
  display: flex;
  padding: 0.35rem;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem;
  background: #fff0b9;
  border: 1px solid rgba(61, 42, 24, 0.25);
  font-family: var(--font-hand);
  transform: rotate(1.5deg);
}

.learning-poster strong {
  width: 100%;
  font-size: clamp(0.35rem, 0.5vw, 0.58rem);
  line-height: 1;
  text-align: center;
}

.learning-poster i {
  padding: 0.12rem 0.2rem;
  color: white;
  background: var(--mars-red);
  font-size: clamp(0.28rem, 0.42vw, 0.48rem);
  font-style: normal;
}

.learning-poster i:nth-of-type(2) { background: var(--mars-blue); }
.learning-poster i:nth-of-type(3) { background: var(--mars-green); }

.door--play .door__window {
  top: 40%;
}

.sensory-scene {
  position: absolute;
  right: 12%;
  bottom: 16%;
  left: 12%;
  height: 36%;
  background: #66b4d0;
  border: 3px solid #8b5e3c;
  border-radius: 50% 50% 12% 12%;
}

.sensory-scene::before {
  position: absolute;
  top: -0.35rem;
  left: 20%;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--mars-yellow);
  border-radius: 50%;
  box-shadow: 1rem 0.2rem 0 var(--mars-red), 2rem -0.1rem 0 var(--mars-green-light);
  content: "";
}

.door__window--frosted {
  top: 10%;
  height: 31%;
  place-items: center;
  background:
    repeating-linear-gradient(110deg, rgba(255, 255, 255, 0.45) 0 5px, rgba(255, 255, 255, 0.12) 5px 10px),
    #c9d9d9;
}

.door__window--frosted b {
  position: relative;
  z-index: 2;
  padding: 0.25rem 0.4rem;
  color: var(--deep-blue-dark);
  background: rgba(255, 255, 255, 0.7);
  font: 700 clamp(0.32rem, 0.48vw, 0.54rem)/1 var(--font-friendly);
  text-align: center;
}

.office-plate {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 0.25rem 0.55rem;
  color: var(--deep-blue-dark);
  background: var(--gold-light);
  border: 1px solid #705818;
  font: 900 clamp(0.34rem, 0.5vw, 0.56rem)/1 var(--font-friendly);
  text-transform: uppercase;
  transform: translateX(-50%);
}

.parent-bench {
  position: absolute;
  top: 88%;
  left: -42%;
  width: 62%;
  height: 8%;
  background: #865838;
  border-radius: 3px;
  box-shadow: 0 0.7rem 0 -0.15rem #5d3b27;
}

.hallway-instruction {
  position: absolute;
  z-index: 44;
  bottom: 1rem;
  left: 50%;
  margin: 0;
  padding: 0.45rem 0.85rem;
  color: #fff7dd;
  background: rgba(16, 43, 70, 0.8);
  border: 1px solid rgba(234, 213, 143, 0.55);
  border-radius: 999px;
  font-family: var(--font-friendly);
  font-size: 0.7rem;
  font-weight: 800;
  transform: translateX(-50%);
}

.hallway-instruction span {
  color: var(--mars-yellow);
}

.room-panel {
  --room-color: var(--mars-blue);
  position: fixed;
  z-index: 200;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  background: rgba(12, 29, 44, 0.86);
  backdrop-filter: blur(8px);
  transition: opacity 220ms ease;
}

.room-panel.is-active {
  opacity: 1;
}

.room-panel--infant { --room-color: #d99472; }
.room-panel--toddler { --room-color: #d5a733; }
.room-panel--preschool { --room-color: var(--mars-blue); }
.room-panel--play { --room-color: var(--mars-green); }
.room-panel--admin { --room-color: #8d5d3d; }

.room-panel__surface {
  width: min(calc(100% - 2rem), var(--page-width));
  min-height: calc(100svh - 2rem);
  margin: 1rem auto;
  padding: clamp(1rem, 2.8vw, 2.2rem);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(26, 58, 92, 0.018) 1px, transparent 1px),
    linear-gradient(rgba(26, 58, 92, 0.018) 1px, transparent 1px),
    var(--warm-white);
  background-size: 18px 18px;
  border: 6px solid var(--gold);
  border-radius: 1.35rem;
  box-shadow: var(--shadow-deep);
  transform: translateY(1.5rem) scale(0.985);
  transition: transform 330ms cubic-bezier(0.2, 0.72, 0.24, 1);
}

.room-panel.is-active .room-panel__surface {
  transform: translateY(0) scale(1);
}

.back-to-hallway {
  position: sticky;
  z-index: 5;
  top: 0.75rem;
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--deep-blue);
  border: 2px solid var(--gold-light);
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(19, 43, 62, 0.25);
  font-family: var(--font-friendly);
  font-weight: 900;
  cursor: pointer;
}

.room-hero {
  display: grid;
  margin: 1.3rem 0 2rem;
  padding: clamp(1.5rem, 4vw, 3.2rem);
  gap: 1.5rem;
  align-items: end;
  color: rgba(255, 255, 255, 0.86);
  background:
    linear-gradient(130deg, color-mix(in srgb, var(--room-color) 80%, var(--deep-blue)), var(--deep-blue-dark));
  border-radius: 1rem;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.room-kicker,
.room-label {
  margin-bottom: 0.55rem;
  color: var(--room-color);
  font-family: var(--font-friendly);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.room-hero .room-kicker {
  color: var(--gold-light);
}

.room-hero h2 {
  margin-bottom: 0.55rem;
  color: var(--white);
  font-size: clamp(2.2rem, 6vw, 4.7rem);
  letter-spacing: -0.045em;
}

.room-hero p:last-child {
  max-width: 44rem;
  margin-bottom: 0;
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.room-badge {
  justify-self: start;
  padding: 0.7rem 1rem;
  color: var(--deep-blue-dark);
  background: var(--gold-light);
  border: 3px solid var(--gold);
  border-radius: 0.65rem;
  font-family: var(--font-friendly);
  font-size: 0.8rem;
  font-weight: 900;
  transform: rotate(-1deg);
}

.room-layout,
.admin-grid {
  display: grid;
  gap: 1.15rem;
}

.room-card,
.teacher-card,
.room-photo {
  position: relative;
  padding: clamp(1.35rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--soft-gray);
  border-top: 6px solid var(--room-color);
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
}

.room-card h3,
.teacher-card h3,
.donation-note h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.room-card > :last-child,
.teacher-card > div > :last-child {
  margin-bottom: 0;
}

.fact-strip {
  display: grid;
  margin: 1.4rem 0 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}

.fact-strip > div {
  padding: 1rem;
  background: var(--paper);
  border: 1px solid rgba(26, 58, 92, 0.1);
  border-radius: 0.7rem;
}

.fact-strip dt {
  color: #6e6258;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fact-strip dd {
  margin: 0.25rem 0 0;
  color: var(--deep-blue);
  font: 700 1.45rem/1 var(--font-display);
}

.room-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.65rem;
  list-style: none;
}

.room-list li {
  position: relative;
  padding-left: 1.55rem;
}

.room-list li::before {
  position: absolute;
  top: 0.15rem;
  left: 0;
  color: var(--room-color);
  font-family: var(--font-friendly);
  font-weight: 900;
  content: "✦";
}

.room-photo {
  display: grid;
  min-height: 18rem;
  padding: 0;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}

.room-photo > div {
  position: relative;
  min-height: 14rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f6e5c8 0 62%, #c99a6a 62% 100%);
}

.room-photo figcaption {
  padding: 1rem 1.2rem;
  color: var(--deep-blue);
  background: var(--paper);
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: center;
}

.room-photo figcaption strong {
  font-family: var(--font-friendly);
  font-size: 0.9rem;
}

.mini-crib {
  position: absolute;
  right: 17%;
  bottom: 20%;
  left: 17%;
  height: 30%;
  border: 8px solid #aa7a54;
  border-top-width: 4px;
  box-shadow: inset 0 8px 0 #f8e9d4;
}

.mini-crib::before {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 1.2rem, #aa7a54 1.2rem 1.45rem);
  content: "";
}

.mini-mobile {
  position: absolute;
  top: 10%;
  left: 50%;
  width: 9rem;
  height: 4rem;
  border-top: 4px solid var(--deep-blue);
  border-radius: 50%;
  transform: translateX(-50%);
}

.mini-mobile::after {
  position: absolute;
  top: 0;
  left: 18%;
  width: 0.8rem;
  height: 0.8rem;
  background: var(--mars-yellow);
  border-radius: 50%;
  box-shadow: 3.1rem 1.5rem 0 var(--mars-blue), 6.1rem 0.2rem 0 var(--mars-red);
  content: "";
}

.mini-rug {
  position: absolute;
  right: 10%;
  bottom: 5%;
  left: 10%;
  height: 15%;
  background: var(--mars-blue-light);
  border-radius: 50%;
}

.mini-books {
  position: absolute;
  bottom: 20%;
  left: 12%;
  width: 31%;
  height: 41%;
  background: linear-gradient(90deg, var(--mars-red) 0 18%, #f5e7cd 18% 23%, var(--mars-yellow) 23% 48%, #f5e7cd 48% 53%, var(--mars-blue) 53% 75%, #f5e7cd 75% 80%, var(--mars-green) 80%);
}

.mini-blocks {
  position: absolute;
  right: 15%;
  bottom: 18%;
  width: 2.8rem;
  height: 2.8rem;
  background: var(--mars-red);
  box-shadow: -3rem 0.8rem 0 var(--mars-blue), -1.5rem -2.2rem 0 var(--mars-yellow), 0 -3rem 0 var(--mars-green);
  transform: rotate(4deg);
}

.mini-sun {
  position: absolute;
  top: 10%;
  right: 10%;
  width: 3rem;
  height: 3rem;
  background: var(--mars-yellow);
  border-radius: 50%;
}

.mini-easel {
  position: absolute;
  bottom: 20%;
  left: 12%;
  width: 27%;
  height: 48%;
  background: linear-gradient(135deg, white 0 43%, var(--mars-red) 44% 57%, var(--mars-yellow) 58% 71%, var(--mars-blue) 72%);
  border: 6px solid #93643f;
}

.mini-library {
  position: absolute;
  right: 10%;
  bottom: 18%;
  width: 37%;
  height: 36%;
  background: repeating-linear-gradient(90deg, var(--mars-red) 0 9%, var(--mars-yellow) 9% 19%, var(--mars-blue) 19% 29%, var(--mars-green) 29% 39%);
  border: 7px solid #93643f;
}

.mini-letters {
  position: absolute;
  top: 9%;
  left: 14%;
  color: var(--deep-blue);
  font: 900 1.5rem/1 var(--font-friendly);
  letter-spacing: 0.65rem;
}

.mini-sensory {
  position: absolute;
  right: 18%;
  bottom: 18%;
  left: 18%;
  height: 27%;
  background: #69b8ce;
  border: 8px solid #966743;
  border-radius: 50% 50% 12% 12%;
}

.mini-music {
  position: absolute;
  top: 12%;
  left: 18%;
  color: var(--mars-red);
  font: 900 4rem/1 var(--font-friendly);
}

.mini-paint {
  position: absolute;
  top: 19%;
  right: 14%;
  width: 4rem;
  height: 4rem;
  background: var(--mars-yellow);
  border-radius: 50% 35% 55% 40%;
  box-shadow: -2.2rem 2rem 0 rgba(41, 128, 185, 0.78), 1.7rem 2.2rem 0 rgba(192, 57, 43, 0.75);
}

.teacher-card {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.1rem;
  align-items: center;
}

.teacher-card__portrait {
  display: grid;
  width: 5rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--deep-blue);
  background: var(--paper);
  border: 3px dashed var(--room-color);
  border-radius: 50%;
  font-family: var(--font-friendly);
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
}

.teacher-card__portrait--group {
  border-radius: 1rem;
}

.mars-framework__grid {
  display: grid;
  margin-top: 1.2rem;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
}

.mars-framework__grid > div {
  display: grid;
  padding: 0.85rem 0.35rem;
  place-items: center;
  background: var(--paper);
  border-radius: 0.7rem;
}

.mars-framework__grid strong {
  font: 900 2rem/1 var(--font-friendly);
}

.mars-framework__grid > div:nth-child(1) strong { color: var(--mars-red); }
.mars-framework__grid > div:nth-child(2) strong { color: var(--mars-green); }
.mars-framework__grid > div:nth-child(3) strong { color: var(--mars-blue); }
.mars-framework__grid > div:nth-child(4) strong { color: #d69212; }

.mars-framework__grid span {
  margin-top: 0.25rem;
  font-family: var(--font-friendly);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.room-action {
  display: flex;
  margin-top: 1.2rem;
  padding: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--paper);
  border: 2px solid var(--gold);
  border-radius: 1rem;
}

.room-action p {
  margin: 0;
  color: var(--deep-blue);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.1rem;
  border: 2px solid transparent;
  border-radius: 999px;
  box-shadow: 0 5px 0 rgba(32, 27, 23, 0.18);
  font-family: var(--font-friendly);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  box-shadow: 0 3px 0 rgba(32, 27, 23, 0.22);
  transform: translateY(2px);
}

.button--primary {
  color: var(--white);
  background: var(--deep-blue);
  border-color: var(--deep-blue);
}

.button--gold {
  color: var(--deep-blue-dark);
  background: var(--gold-light);
  border-color: var(--gold);
}

.button:disabled {
  opacity: 0.55;
  box-shadow: none;
  cursor: not-allowed;
}

.text-link {
  color: var(--deep-blue);
  font-family: var(--font-friendly);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25rem;
}

.small-note {
  margin: 1rem 0 0;
  color: #665e58;
  font-size: 0.78rem;
}

.contact-card address {
  font-style: normal;
}

.contact-card a {
  color: var(--deep-blue);
}

.staff-placeholder {
  display: grid;
  margin-bottom: 0.85rem;
  padding: 0.8rem;
  grid-template-columns: 3.5rem 1fr;
  gap: 0.8rem;
  align-items: center;
  background: var(--paper);
  border-radius: 0.7rem;
}

.staff-placeholder > span {
  display: grid;
  width: 3.5rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--deep-blue);
  border: 2px dashed var(--gold);
  border-radius: 50%;
  font-size: 0.56rem;
  font-weight: 900;
  text-transform: uppercase;
}

.staff-placeholder p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
}

.config-notice {
  padding: 0.85rem 1rem;
  color: #623b26;
  background: #fff1d6;
  border-left: 5px solid var(--mars-yellow);
  border-radius: 0.45rem;
  font-size: 0.82rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.form-grid label {
  display: grid;
  gap: 0.3rem;
  color: var(--deep-blue);
  font-family: var(--font-friendly);
  font-size: 0.75rem;
  font-weight: 900;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 0.72rem 0.78rem;
  color: var(--charcoal);
  background: #fffcf7;
  border: 2px solid #cfc3b6;
  border-radius: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--mars-blue);
  outline: 3px solid rgba(41, 128, 185, 0.2);
}

.turnstile-placeholder {
  margin: 1rem 0;
  padding: 0.8rem;
  color: #5f554d;
  background: var(--paper);
  border: 2px dashed #b8a895;
  border-radius: 0.6rem;
  font-size: 0.75rem;
  text-align: center;
}

.form-status {
  min-height: 1.5rem;
  margin: 0.75rem 0 0;
  font-weight: 700;
}

.donation-note {
  display: flex;
  padding: clamp(1.4rem, 3vw, 2rem);
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  color: rgba(255, 255, 255, 0.86);
  background: var(--deep-blue);
  border: 5px solid var(--gold);
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
}

.donation-note h3 {
  color: var(--white);
}

.donation-note p:last-child {
  margin: 0;
}

.donation-note .room-label {
  color: var(--gold-light);
}

.site-footer {
  position: relative;
  z-index: 40;
  padding: 2.3rem 1rem 1rem;
  color: rgba(255, 255, 255, 0.76);
  background: var(--deep-blue-dark);
  border-top: 5px solid var(--gold);
}

.site-footer__inner {
  display: grid;
  width: min(100%, var(--page-width));
  margin-inline: auto;
  gap: 1.5rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand img {
  width: 4rem;
  height: 4rem;
}

.footer-brand div {
  display: grid;
}

.footer-brand strong {
  color: var(--white);
  font-family: var(--font-display);
}

.footer-brand span {
  color: var(--gold-light);
  font-family: var(--font-friendly);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer address {
  font-style: normal;
  font-size: 0.82rem;
}

.site-footer a {
  color: var(--paper);
  text-underline-offset: 0.22rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  font-family: var(--font-friendly);
  font-size: 0.8rem;
  font-weight: 800;
}

.site-footer__bottom {
  width: min(100%, var(--page-width));
  margin: 1.4rem auto 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.7rem;
  text-align: center;
}

.privacy-page {
  color: var(--charcoal);
  background:
    linear-gradient(90deg, rgba(26, 58, 92, 0.028) 1px, transparent 1px),
    linear-gradient(rgba(26, 58, 92, 0.02) 1px, transparent 1px),
    var(--paper);
  background-size: 20px 20px;
}

.privacy-header {
  justify-content: space-between;
}

.privacy-back {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  gap: 0.45rem;
  padding: 0.62rem 0.9rem;
  color: var(--deep-blue);
  background: var(--paper);
  border: 2px solid var(--deep-blue);
  border-radius: 999px;
  font-family: var(--font-friendly);
  font-size: 0.8rem;
  font-weight: 900;
  text-decoration: none;
}

.privacy-main {
  padding: clamp(3rem, 8vw, 6rem) 1rem;
}

.privacy-sheet {
  width: min(100%, 52rem);
  margin-inline: auto;
  padding: clamp(1.5rem, 5vw, 4rem);
  background: var(--warm-white);
  border: 5px solid var(--gold);
  border-radius: 1.2rem;
  box-shadow: var(--shadow-deep);
}

.privacy-title {
  margin-bottom: 2.2rem;
  padding-bottom: 1.7rem;
  border-bottom: 2px dashed #cfc1ae;
}

.privacy-title p {
  margin-bottom: 0.25rem;
  color: var(--mars-red);
  font-family: var(--font-friendly);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.privacy-title h1 {
  margin-bottom: 0.45rem;
  font-size: clamp(2.8rem, 9vw, 5rem);
  letter-spacing: -0.045em;
}

.privacy-title span {
  color: #6f655d;
  font-size: 0.78rem;
  font-weight: 700;
}

.privacy-intro {
  color: var(--deep-blue);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 600;
  line-height: 1.5;
}

.privacy-sheet section {
  margin-top: 2.2rem;
}

.privacy-sheet h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.privacy-sheet a {
  color: var(--deep-blue);
  font-weight: 700;
  text-underline-offset: 0.22rem;
}

.privacy-sheet address {
  padding: 1rem;
  background: var(--paper);
  border-left: 5px solid var(--mars-blue);
  border-radius: 0.5rem;
  font-style: normal;
}

@keyframes lightBreath {
  from { opacity: 0.72; filter: brightness(0.96); }
  to { opacity: 1; filter: brightness(1.08); }
}

@keyframes mobileSway {
  from { transform: translateX(-50%) rotate(-3deg); }
  to { transform: translateX(-50%) rotate(3deg); }
}

@keyframes dustFloat {
  from { transform: translate(-0.2rem, 0.3rem); opacity: 0.28; }
  to { transform: translate(0.4rem, -0.5rem); opacity: 0.72; }
}

@media (min-width: 42rem) {
  .room-hero {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .room-badge {
    justify-self: end;
  }

  .room-layout,
  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .room-card--wide,
  .inquiry-card,
  .donation-note {
    grid-column: 1 / -1;
  }

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

  .form-grid__wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 64rem) {
  .room-layout {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .room-layout > .room-card--wide {
    grid-column: span 6;
  }

  .room-layout > .room-card:not(.room-card--wide) {
    grid-column: span 4;
  }

  .room-layout > .room-photo {
    grid-column: span 7;
  }

  .room-layout > .teacher-card {
    grid-column: span 5;
  }

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

  .admin-grid > .room-card {
    grid-column: span 4;
  }

  .admin-grid > .staff-directory {
    grid-column: span 8;
  }

  .admin-grid > .inquiry-card,
  .admin-grid > .donation-note {
    grid-column: 1 / -1;
  }

  .site-footer__inner {
    grid-template-columns: 1.2fr 1fr auto;
  }

  .site-footer nav {
    justify-content: flex-end;
  }
}

@media (min-width: 48rem) and (max-width: 68.74rem) {
  .site-header__inner {
    gap: 0.6rem;
  }

  .brand {
    min-width: auto;
  }

  .brand__words span,
  .header-give {
    display: none;
  }

  .primary-nav a {
    padding-inline: 0.5rem;
    font-size: 0.69rem;
  }

  .hallway-stage {
    height: 45rem;
  }

  .door--infant,
  .door--toddler {
    width: 21%;
  }

  .door--preschool,
  .door--play {
    width: 11.5%;
  }

  .bulletin-board {
    right: 0.4%;
    min-width: 7.2rem;
    padding: 0.42rem;
  }

  .height-chart {
    min-width: 3.4rem;
  }
}

@media (max-width: 47.99rem) {
  body.nav-is-open {
    overflow: hidden;
  }

  .site-header__inner {
    position: relative;
    min-height: 4.55rem;
  }

  .brand {
    min-width: 0;
    margin-right: auto;
  }

  .brand img {
    width: 3.4rem;
    height: 3.4rem;
  }

  .brand__words strong {
    font-size: 1rem;
  }

  .brand__words span {
    display: none;
  }

  .header-give {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    min-height: 2.9rem;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.8rem;
    color: var(--deep-blue);
    background: var(--paper);
    border: 2px solid var(--deep-blue);
    border-radius: 999px;
    font-family: var(--font-friendly);
    font-size: 0.78rem;
    font-weight: 900;
    cursor: pointer;
  }

  .nav-toggle__lines {
    display: grid;
    width: 1rem;
    gap: 3px;
  }

  .nav-toggle__lines i {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100svh - 6rem);
    margin: 0;
    padding: 0.7rem;
    overflow-y: auto;
    background: var(--warm-white);
    border: 2px solid var(--deep-blue);
    border-radius: 0.8rem;
    box-shadow: var(--shadow-deep);
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav a {
    padding: 0.85rem 0.9rem;
    font-size: 0.88rem;
  }

  .hallway-shell {
    min-height: auto;
    padding: 1rem 0 0;
    background:
      linear-gradient(90deg, rgba(26, 58, 92, 0.97) 0 1.1rem, transparent 1.1rem calc(100% - 1.1rem), rgba(26, 58, 92, 0.97) calc(100% - 1.1rem)),
      var(--cream-wall);
  }

  .hallway-intro {
    position: relative;
    top: auto;
    left: auto;
    width: min(calc(100% - 2rem), 31rem);
    margin: 0 auto 1.4rem;
    padding: 1.2rem 1rem;
    transform: rotate(-0.5deg);
  }

  .hallway-intro h1 {
    font-size: clamp(1.75rem, 8vw, 2.6rem);
  }

  .hallway-intro p:not(.hallway-intro__eyebrow) {
    font-size: 0.92rem;
  }

  .hallway-intro__prompt {
    display: inline-block;
    margin-top: 0.6rem;
    color: var(--gold-light);
    font-family: var(--font-friendly);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .hallway-stage {
    display: grid;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 2.5rem 1rem 5rem;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.7rem;
    overflow: visible;
    background:
      repeating-linear-gradient(90deg, rgba(26, 58, 92, 0.035) 0 1px, transparent 1px 20px),
      linear-gradient(180deg, var(--cream-wall) 0 86%, var(--wood) 86%);
    perspective: none;
  }

  .hallway-stage::before {
    position: absolute;
    z-index: 0;
    inset: 0 0 auto;
    height: 0.75rem;
    background: var(--gold);
    border-bottom: 4px solid var(--deep-blue);
    content: "";
  }

  .hallway-stage::after {
    z-index: 1;
    background: linear-gradient(90deg, rgba(60, 39, 23, 0.08), transparent 10% 90%, rgba(60, 39, 23, 0.08));
  }

  .hallway-stage.is-entering {
    transform: none;
  }

  .hallway-architecture,
  .hallway-wainscot,
  .ceiling-light,
  .light-beam,
  .plant,
  .hall-rug,
  .hallway-instruction {
    display: none;
  }

  .door,
  .hallway-decor {
    position: relative;
    inset: auto;
    z-index: 5;
    width: min(100%, 25rem);
    min-width: 0;
    margin-inline: auto;
    transform: none;
  }

  .door {
    margin-top: 3.6rem;
  }

  .door__frame {
    max-height: 32rem;
    aspect-ratio: 0.74;
    padding: 5%;
    border-width: 4px;
    border-radius: 0.35rem 0.35rem 0 0;
  }

  .door__sign,
  .door--admin .door__sign {
    right: 3%;
    bottom: calc(100% + 0.6rem);
    left: 3%;
    min-height: 3.9rem;
  }

  .door__sign strong {
    font-size: clamp(1.05rem, 5vw, 1.45rem);
  }

  .door__sign small {
    font-size: 0.64rem;
  }

  .door__window {
    border-width: 6px;
  }

  .door__window em {
    padding: 0.4rem;
    font-size: 0.72rem;
  }

  .door__open-label {
    top: auto;
    right: 9%;
    bottom: 1rem;
    left: auto;
    width: auto;
    padding: 0.55rem 0.8rem;
    opacity: 1;
    color: var(--deep-blue-dark);
    background: var(--gold-light);
    border: 2px solid var(--gold);
    border-radius: 999px;
    font-size: 0.68rem;
    text-shadow: none;
    transform: none;
  }

  .door__handle {
    width: 7%;
  }

  .door__mobile {
    bottom: calc(100% + 4.5rem);
    height: 3.3rem;
  }

  .door__mobile::before {
    top: -1.5rem;
    height: 1.6rem;
  }

  .door__letters {
    inset: 5% -1% auto;
  }

  .door__letters i {
    width: 1.8rem;
    font-size: 0.78rem;
  }

  .felt-shape,
  .handprint {
    font-size: 2.2rem;
  }

  .learning-poster strong {
    font-size: 0.78rem;
  }

  .learning-poster i {
    font-size: 0.66rem;
  }

  .door__window--frosted b,
  .office-plate {
    font-size: 0.75rem;
  }

  .welcome-sign {
    order: 0;
    padding: 1rem;
    border-width: 6px;
  }

  .welcome-sign > span,
  .welcome-sign small {
    font-size: 0.7rem;
  }

  .welcome-sign strong {
    font-size: 2.4rem;
  }

  .door--infant { order: 1; }
  .artwork--rainbow { order: 2; }
  .door--toddler { order: 3; }
  .height-chart { order: 4; }
  .door--preschool { order: 5; }
  .bulletin-board { order: 6; }
  .door--play { order: 7; }
  .artwork--garden { order: 8; }
  .door--admin { order: 9; }
  .cubbies { order: 10; }

  .artwork {
    width: min(70%, 17rem);
    padding: 0.7rem;
  }

  .artwork--rainbow {
    justify-self: start;
    margin-left: 1rem;
    transform: rotate(-3deg);
  }

  .artwork--garden {
    justify-self: end;
    margin-right: 1rem;
    transform: rotate(3deg);
  }

  .artwork--rainbow div,
  .artwork--garden div {
    height: 8rem;
  }

  .artwork--rainbow div i:nth-child(1) { width: 11rem; height: 8.5rem; }
  .artwork--rainbow div i:nth-child(2) { width: 9rem; height: 7rem; }
  .artwork--rainbow div i:nth-child(3) { width: 7rem; height: 5.5rem; }
  .artwork--rainbow div i:nth-child(4) { width: 5rem; height: 4rem; }

  .artwork small {
    font-size: 1rem;
  }

  .height-chart {
    justify-self: start;
    width: min(82%, 18rem);
    height: 18rem;
    margin-left: 1rem;
    background: rgba(255, 255, 255, 0.38);
  }

  .height-chart strong {
    top: -2rem;
    width: 13rem;
    font-size: 0.76rem;
  }

  .height-chart span {
    width: 8rem;
    font-size: 0.68rem;
  }

  .bulletin-board {
    justify-self: end;
    width: min(88%, 21rem);
    min-width: 0;
    margin-right: 0.5rem;
    padding: 1rem;
    gap: 0.7rem;
  }

  .bulletin-board > strong {
    font-size: 0.85rem;
  }

  .bulletin-note {
    padding: 0.7rem;
    font-size: 1rem;
  }

  .cubbies {
    display: grid;
    width: min(calc(100% - 1rem), 25rem);
    height: 9rem;
  }

  .parent-bench {
    top: auto;
    bottom: -1.2rem;
    left: -4%;
    width: 42%;
    height: 0.75rem;
  }

  .room-panel__surface {
    width: 100%;
    min-height: 100svh;
    margin: 0;
    padding: 0.8rem;
    border: 0;
    border-radius: 0;
  }

  .back-to-hallway {
    top: 0.5rem;
  }

  .room-hero {
    margin-top: 1rem;
  }

  .room-action,
  .donation-note {
    align-items: stretch;
  }

  .room-action .button,
  .donation-note .button {
    width: 100%;
  }

  .site-footer__inner {
    justify-items: start;
  }
}

@media (max-width: 23rem) {
  .site-header__inner {
    width: calc(100% - 1rem);
  }

  .brand__words {
    display: none;
  }

  .fact-strip,
  .mars-framework__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .teacher-card,
  .staff-placeholder {
    grid-template-columns: 1fr;
  }

  .teacher-card__portrait,
  .staff-placeholder > span {
    width: 4.2rem;
  }
}

/* Photoreal hallway recovery -------------------------------------------------
   The photograph, hotspot geometry, and labels share this one aspect-ratio
   canvas. That keeps each interaction aligned with its physical door. */

.hallway-shell {
  min-height: 0;
  overflow: hidden;
  background: #0d1722;
}

.hallway-intro {
  position: relative;
  top: auto;
  left: auto;
  display: grid;
  width: 100%;
  padding: clamp(0.62rem, 0.9vw, 0.88rem) clamp(1rem, 3vw, 3.2rem);
  grid-template-columns: auto minmax(15rem, 1fr) auto;
  align-items: center;
  gap: clamp(0.9rem, 2.4vw, 2.6rem);
  color: rgba(255, 255, 255, 0.94);
  background:
    linear-gradient(180deg, rgba(24, 53, 80, 0.88), rgba(10, 31, 49, 0.94)),
    url("../assets/mars-hallway-photoreal-v2.png") center 9% / 220% auto;
  border: 0;
  border-bottom: 1px solid rgba(248, 222, 141, 0.58);
  border-radius: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -14px 30px rgba(4, 13, 22, 0.2),
    0 14px 38px rgba(5, 14, 24, 0.32);
  text-align: left;
  transform: none;
  backdrop-filter: blur(12px) saturate(0.9);
}

.hallway-intro h1 {
  margin: 0;
  font-size: clamp(1.22rem, 2vw, 1.9rem);
}

.hallway-intro p:not(.hallway-intro__eyebrow) {
  max-width: 24rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  text-align: right;
}

.hallway-intro__eyebrow {
  margin: 0;
}

.hallway-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #15120e;
  box-shadow: inset 0 0 4rem rgba(0, 0, 0, 0.34);
}

.hallway-stage,
.hallway-stage--photoreal {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1672 / 941;
  overflow: hidden;
  background: #c7ad8a;
  perspective: none;
  transform-origin: 50% 53%;
  transition: filter 420ms ease, transform 620ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.hallway-stage--photoreal::after {
  z-index: 30;
  background:
    linear-gradient(90deg, rgba(7, 12, 17, 0.22), transparent 10% 90%, rgba(7, 12, 17, 0.22)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 20% 78%, rgba(7, 13, 20, 0.17));
  box-shadow: inset 0 0 4rem rgba(8, 11, 14, 0.14);
}

.hallway-stage.is-entering {
  filter: saturate(1.04) brightness(1.035);
  transform: scale(1.018);
}

.hallway-photo {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.004) translate3d(var(--hallway-shift-x, 0), var(--hallway-shift-y, 0), 0);
  transition: transform 850ms cubic-bezier(0.22, 0.72, 0.26, 1);
  will-change: transform;
}

.hallway-light {
  position: absolute;
  z-index: 2;
  inset: -4%;
  opacity: 0.52;
  background:
    radial-gradient(circle at var(--hallway-light-x, 50%) var(--hallway-light-y, 35%), rgba(255, 241, 199, 0.24), transparent 24%),
    linear-gradient(112deg, transparent 30%, rgba(255, 234, 185, 0.09) 50%, transparent 68%);
  mix-blend-mode: screen;
  pointer-events: none;
  transition: background-position 700ms ease;
}

.hallway-brand-plaque {
  position: absolute;
  z-index: 8;
  top: 14.2%;
  left: 50%;
  display: flex;
  width: clamp(10.5rem, 17.2%, 18rem);
  padding: clamp(0.3rem, 0.65vw, 0.65rem) clamp(0.45rem, 0.9vw, 0.9rem);
  align-items: center;
  gap: clamp(0.35rem, 0.75vw, 0.75rem);
  color: var(--deep-blue-dark);
  background:
    linear-gradient(135deg, rgba(255, 254, 245, 0.97), rgba(235, 223, 191, 0.97)),
    url("../assets/mars-hallway-photoreal-v2.png") 50% 28% / 420% auto;
  border: clamp(2px, 0.24vw, 4px) solid #ad8641;
  border-radius: 0.42rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -0.35rem 0.8rem rgba(92, 63, 27, 0.08),
    0 0.45rem 1rem rgba(47, 31, 17, 0.28);
  transform: translateX(-50%);
}

.hallway-brand-plaque img {
  width: clamp(2rem, 3.7vw, 4.1rem);
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 0.18rem 0.16rem rgba(14, 22, 32, 0.24));
}

.hallway-brand-plaque span {
  display: grid;
  min-width: 0;
  line-height: 1;
}

.hallway-brand-plaque small,
.hallway-brand-plaque em {
  font-family: var(--font-friendly);
  font-size: clamp(0.34rem, 0.54vw, 0.62rem);
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hallway-brand-plaque strong {
  margin-block: 0.1em;
  color: var(--mars-red);
  font: 900 clamp(0.8rem, 1.65vw, 1.7rem)/0.9 var(--font-friendly);
  letter-spacing: 0.08em;
}

.hallway-stage--photoreal .door {
  --door-accent: 238, 199, 75;
  position: absolute;
  z-index: 12;
  display: block;
  min-width: 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0.18rem;
  outline: 0;
  text-decoration: none;
  transform: none;
  transition: filter 240ms ease, transform 340ms cubic-bezier(0.18, 0.75, 0.25, 1);
}

.hallway-stage--photoreal .door::before,
.hallway-stage--photoreal .door::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
  pointer-events: none;
  transition: opacity 240ms ease, box-shadow 280ms ease, background 280ms ease;
}

.hallway-stage--photoreal .door::before {
  z-index: -1;
  opacity: 0;
  background: radial-gradient(circle at 50% 45%, rgba(var(--door-accent), 0.18), transparent 64%);
  box-shadow:
    inset 0 0 0 2px rgba(var(--door-accent), 0.82),
    inset 0 0 2.4rem rgba(var(--door-accent), 0.14),
    0 0 1.8rem rgba(var(--door-accent), 0.34);
}

.hallway-stage--photoreal .door::after {
  z-index: 1;
  opacity: 0;
  background: linear-gradient(105deg, transparent 28%, rgba(255, 255, 255, 0.19) 48%, transparent 66%);
  box-shadow: none;
  transform: translateX(-18%);
}

.hallway-stage--photoreal .door:hover,
.hallway-stage--photoreal .door:focus-visible {
  z-index: 20;
  filter: saturate(1.08) brightness(1.06);
  transform: translateY(-0.2%);
}

.hallway-stage--photoreal .door:hover::before,
.hallway-stage--photoreal .door:hover::after,
.hallway-stage--photoreal .door:focus-visible::before,
.hallway-stage--photoreal .door:focus-visible::after,
.hallway-stage--photoreal .door.is-opening::before,
.hallway-stage--photoreal .door.is-opening::after {
  opacity: 1;
}

.hallway-stage--photoreal .door:focus-visible {
  outline: clamp(2px, 0.22vw, 4px) solid #fff;
  outline-offset: clamp(2px, 0.2vw, 4px);
}

.hallway-stage--photoreal .door.is-opening {
  z-index: 21;
  filter: saturate(1.12) brightness(1.08);
}

.hallway-stage--photoreal .door__sign {
  position: absolute;
  z-index: 4;
  top: -11%;
  left: 50%;
  display: grid;
  width: max-content;
  min-width: 150%;
  max-width: 240%;
  padding: clamp(0.3rem, 0.62vw, 0.68rem) clamp(0.45rem, 0.85vw, 0.95rem);
  place-items: center;
  color: #162d48;
  background:
    linear-gradient(180deg, rgba(255, 253, 239, 0.98), rgba(226, 211, 170, 0.98)),
    url("../assets/mars-hallway-photoreal-v2.png") center 8% / 300% auto;
  border: clamp(1px, 0.16vw, 3px) solid #9b7538;
  border-radius: 0.32rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -0.35rem 0.55rem rgba(99, 65, 25, 0.08),
    0 0.35rem 0.9rem rgba(37, 25, 15, 0.3);
  line-height: 1.05;
  text-align: center;
  transform: translateX(-50%);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.hallway-stage--photoreal .door:hover .door__sign,
.hallway-stage--photoreal .door:focus-visible .door__sign,
.hallway-stage--photoreal .door.is-opening .door__sign {
  color: #162d48;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 2px rgba(var(--door-accent), 0.7),
    0 0.65rem 1.2rem rgba(25, 17, 11, 0.38);
  transform: translate(-50%, -0.16rem);
}

.hallway-stage--photoreal .door__sign strong {
  font: 800 clamp(0.48rem, 0.92vw, 1.02rem)/1 var(--font-display);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.hallway-stage--photoreal .door__sign small {
  margin-top: 0.2em;
  font: 900 clamp(0.26rem, 0.46vw, 0.52rem)/1 var(--font-friendly);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hallway-stage--photoreal .door__open-label {
  position: absolute;
  z-index: 5;
  bottom: 5%;
  left: 50%;
  display: block;
  width: max-content;
  max-width: 210%;
  padding: clamp(0.28rem, 0.55vw, 0.58rem) clamp(0.45rem, 0.8vw, 0.85rem);
  color: #fff;
  background: rgba(9, 27, 44, 0.91);
  border: 1px solid rgba(255, 236, 175, 0.75);
  border-radius: 999px;
  box-shadow: 0 0.4rem 1rem rgba(4, 11, 18, 0.34);
  font: 900 clamp(0.3rem, 0.52vw, 0.6rem)/1 var(--font-friendly);
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, 0.45rem);
  transition: opacity 200ms ease, transform 260ms ease;
  white-space: nowrap;
}

.hallway-stage--photoreal .door__open-label b {
  color: var(--gold-light);
}

.hallway-stage--photoreal .door:hover .door__open-label,
.hallway-stage--photoreal .door:focus-visible .door__open-label,
.hallway-stage--photoreal .door.is-opening .door__open-label {
  opacity: 1;
  transform: translate(-50%, 0);
}

.hallway-stage--photoreal .door--toddler {
  --door-accent: 235, 187, 50;
  top: 0.9%;
  left: 5.6%;
  width: 14.8%;
  height: 96.1%;
}

.hallway-stage--photoreal .door--toddler .door__sign {
  top: 10%;
  min-width: 130%;
}

.hallway-stage--photoreal .door--play {
  --door-accent: 88, 153, 82;
  top: 22.9%;
  left: 27.2%;
  width: 9.4%;
  height: 54.7%;
}

.hallway-stage--photoreal .door--admin {
  --door-accent: 199, 157, 91;
  top: 29.9%;
  left: 45.5%;
  width: 9.6%;
  height: 37.3%;
}

.hallway-stage--photoreal .door--admin .door__sign {
  top: -9%;
  min-width: 190%;
}

.hallway-stage--photoreal .door--preschool {
  --door-accent: 79, 149, 215;
  top: 22.9%;
  left: 62.8%;
  width: 9.4%;
  height: 54.7%;
}

.hallway-stage--photoreal .door--infant {
  --door-accent: 166, 217, 239;
  top: 0.9%;
  left: 80.2%;
  width: 14.4%;
  height: 95.6%;
}

.hallway-stage--photoreal .door--infant .door__sign {
  top: 10%;
  min-width: 142%;
}

.hallway-instruction {
  z-index: 22;
  bottom: 4.2%;
  padding: clamp(0.38rem, 0.75vw, 0.72rem) clamp(0.65rem, 1.2vw, 1.2rem);
  color: #fff;
  background: rgba(10, 30, 48, 0.9);
  border: 1px solid rgba(245, 218, 139, 0.68);
  box-shadow: 0 0.6rem 1.5rem rgba(3, 10, 17, 0.32);
  font-size: clamp(0.48rem, 0.78vw, 0.88rem);
  backdrop-filter: blur(10px);
}

.hallway-mobile-hint {
  display: none;
}

@media (max-width: 47.99rem) {
  .hallway-shell {
    overflow: visible;
    padding: 0;
  }

  .hallway-intro {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin: 0;
    padding: 0.8rem 1rem;
    display: block;
    background: linear-gradient(180deg, #183a5d, #102b46);
    border-width: 0 0 1px;
    border-radius: 0;
    text-align: center;
    transform: none;
  }

  .hallway-intro h1 {
    font-size: 1.32rem;
  }

  .hallway-intro p:not(.hallway-intro__eyebrow) {
    max-width: none;
    text-align: center;
  }

  .hallway-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-color: var(--gold) #0e2033;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .hallway-viewport::-webkit-scrollbar {
    height: 0.5rem;
  }

  .hallway-viewport::-webkit-scrollbar-track {
    background: #0e2033;
  }

  .hallway-viewport::-webkit-scrollbar-thumb {
    background: var(--gold);
    border: 2px solid #0e2033;
    border-radius: 999px;
  }

  .hallway-stage,
  .hallway-stage--photoreal {
    display: block;
    width: 66.25rem;
    max-width: none;
    min-height: 0;
    padding: 0;
    gap: 0;
    overflow: hidden;
    aspect-ratio: 1672 / 941;
  }

  .hallway-stage--photoreal::before {
    display: none;
    content: none;
  }

  .hallway-stage--photoreal .door,
  .hallway-stage--photoreal .hallway-brand-plaque,
  .hallway-stage--photoreal .hallway-instruction {
    position: absolute;
  }

  .hallway-stage--photoreal .door__sign,
  .hallway-stage--photoreal .door--admin .door__sign,
  .hallway-stage--photoreal .door--infant .door__sign,
  .hallway-stage--photoreal .door--toddler .door__sign {
    padding: 0.42rem 0.65rem;
  }

  .hallway-stage--photoreal .door__sign strong {
    font-size: 0.68rem;
  }

  .hallway-stage--photoreal .door__sign small {
    font-size: 0.35rem;
  }

  .hallway-stage--photoreal .door__open-label {
    font-size: 0.45rem;
  }

  .hallway-mobile-hint {
    display: block;
    margin: 0;
    padding: 0.6rem 1rem 0.7rem;
    color: #fff8e3;
    background: #102b46;
    border-top: 1px solid rgba(229, 195, 91, 0.45);
    font-family: var(--font-friendly);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-align: center;
  }
}

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

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