:root {
  --black: #050505;
  --black-soft: #0b0a09;
  --black-warm: #15100b;
  --ivory: #f2eadb;
  --ivory-muted: #bdb3a2;
  --gold: #c8a45d;
  --gold-light: #e4cb8d;
  --gold-deep: #75582b;
  --line: rgba(200, 164, 93, 0.28);
  --line-soft: rgba(242, 234, 219, 0.12);
  --display: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --page-padding: clamp(1.25rem, 4vw, 4.5rem);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  color: var(--ivory);
  background: var(--black);
  font-family: var(--display);
}

body.is-locked {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.8rem 1rem;
  color: var(--black);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 5px;
}

.eyebrow {
  color: var(--gold);
  font-family: var(--sans);
  font-size: clamp(0.62rem, 1vw, 0.72rem);
  font-weight: 500;
  letter-spacing: 0.38em;
  line-height: 1.5;
  text-transform: uppercase;
}

.monogram {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(228, 203, 141, 0.65);
  transform: rotate(45deg);
  box-shadow: 0 0 34px rgba(200, 164, 93, 0.11), inset 0 0 24px rgba(200, 164, 93, 0.04);
}

.monogram span {
  color: var(--gold-light);
  font-family: var(--sans);
  letter-spacing: 0.16em;
  margin-left: 0.16em;
  transform: rotate(-45deg);
}

.monogram--large {
  width: 74px;
  height: 74px;
}

.monogram--large span {
  font-size: 0.8rem;
}

.monogram--small {
  width: 32px;
  height: 32px;
}

.monogram--small span {
  font-size: 0.48rem;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.55rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.67rem;
  letter-spacing: 0.24em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 250ms ease, background 250ms ease, border-color 250ms ease, transform 250ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--gold {
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: var(--gold-light);
}

.button--gold:hover {
  background: var(--ivory);
  border-color: var(--ivory);
}

.button--quiet {
  color: var(--ivory-muted);
  background: rgba(5, 5, 5, 0.48);
  border-color: var(--line);
}

.button--quiet:hover {
  color: var(--ivory);
  border-color: var(--gold);
}

/* Entrance */
.entrance {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(206, 171, 99, 0.16), transparent 23%),
    linear-gradient(180deg, #030303 0%, #0b0805 52%, #020202 100%);
  isolation: isolate;
  transition: visibility 0s linear 1.8s;
}

.entrance::before,
.entrance::after {
  content: "";
  position: absolute;
  z-index: 8;
  inset: 18px;
  pointer-events: none;
  border: 1px solid var(--line);
}

.entrance::after {
  inset: 26px;
  border-color: rgba(200, 164, 93, 0.09);
}

.entrance__atmosphere,
.entrance__atmosphere::before {
  position: absolute;
  inset: 0;
}

.entrance__atmosphere::before {
  content: "";
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 78%);
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.mist {
  position: absolute;
  left: 50%;
  bottom: -18%;
  width: min(1200px, 130vw);
  aspect-ratio: 2.4;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(228, 203, 141, 0.1), transparent 66%);
  filter: blur(28px);
  transform: translateX(-50%);
  animation: mist-breathe 8s ease-in-out infinite;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 12px 2px rgba(228, 203, 141, 0.5);
  animation: shimmer 5s ease-in-out infinite;
}

.star--one { top: 17%; left: 22%; }
.star--two { top: 30%; right: 19%; animation-delay: -1.7s; }
.star--three { bottom: 24%; left: 15%; animation-delay: -3s; }
.star--four { bottom: 18%; right: 24%; animation-delay: -4.2s; }

.gate {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 50.2%;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.015), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.7)),
    linear-gradient(145deg, #090806, #171009 52%, #050505);
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.9);
  transition: transform 1.75s cubic-bezier(0.77, 0, 0.18, 1);
}

.gate::before {
  content: "";
  position: absolute;
  inset: 4.5vh 3vw;
  border: 1px solid rgba(200, 164, 93, 0.35);
  box-shadow: inset 0 0 0 8px rgba(200, 164, 93, 0.025), inset 0 0 70px rgba(0, 0, 0, 0.76);
}

.gate::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(228, 203, 141, 0.7);
  background: #0b0805;
  box-shadow: 0 0 25px rgba(200, 164, 93, 0.18);
  transform: translateY(-50%) rotate(45deg);
}

.gate--left {
  left: 0;
  transform-origin: left center;
  border-right: 1px solid rgba(228, 203, 141, 0.36);
}

.gate--left::after {
  right: -14px;
}

.gate--right {
  right: 0;
  transform-origin: right center;
  border-left: 1px solid rgba(228, 203, 141, 0.36);
}

.gate--right::after {
  left: -14px;
}

.gate__line {
  position: absolute;
  top: 8vh;
  bottom: 8vh;
  width: 1px;
  background: linear-gradient(transparent, rgba(200, 164, 93, 0.5), transparent);
}

.gate--left .gate__line--outer,
.gate--right .gate__line--inner { left: 20%; }

.gate--left .gate__line--inner,
.gate--right .gate__line--outer { right: 20%; }

.gate__arc {
  position: absolute;
  top: 14%;
  width: min(32vw, 380px);
  aspect-ratio: 1;
  border: 1px solid rgba(200, 164, 93, 0.22);
  border-radius: 50%;
}

.gate--left .gate__arc { right: -24%; }
.gate--right .gate__arc { left: -24%; }

.entrance__content {
  position: relative;
  z-index: 5;
  width: min(700px, calc(100% - 3rem));
  padding: 4rem 1rem;
  text-align: center;
  transition: opacity 500ms ease, transform 650ms ease;
}

.entrance__content .monogram {
  margin: 0 auto 2.2rem;
}

.entrance h1 {
  margin-top: 1.25rem;
  font-size: clamp(3rem, 8vw, 7.1rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 0.82;
  text-transform: uppercase;
  text-shadow: 0 6px 38px #000;
}

.entrance h1 span {
  color: var(--gold-light);
  font-size: 0.45em;
  letter-spacing: 0.28em;
  margin-left: 0.28em;
}

.ornament {
  display: flex;
  width: min(360px, 65vw);
  align-items: center;
  gap: 1rem;
  margin: 2rem auto;
}

.ornament::before,
.ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.ornament::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.ornament span {
  width: 7px;
  height: 7px;
  background: var(--gold-light);
  box-shadow: 0 0 18px rgba(228, 203, 141, 0.38);
  transform: rotate(45deg);
}

.entrance__prologue {
  color: var(--ivory-muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic;
  letter-spacing: 0.035em;
  line-height: 1.75;
}

.entrance__actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.entrance__note {
  margin-top: 1rem;
  color: rgba(242, 234, 219, 0.48);
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.entrance__status {
  position: absolute;
  z-index: 12;
  bottom: 3rem;
  left: 50%;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.entrance.is-opening .entrance__content {
  opacity: 0;
  transform: scale(0.96);
}

.entrance.is-opening .gate--left {
  transform: translateX(-102%);
}

.entrance.is-opening .gate--right {
  transform: translateX(102%);
}

.entrance.is-complete {
  visibility: hidden;
  pointer-events: none;
}

/* Interior */
.house {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 5%, rgba(200, 164, 93, 0.08), transparent 25%),
    var(--black);
}

.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.35rem var(--page-padding);
  border-bottom: 1px solid rgba(242, 234, 219, 0.09);
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 1.1rem;
  text-decoration: none;
}

.brand__name {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
}

.primary-navigation a {
  position: relative;
  padding: 0.5rem 0;
  color: var(--ivory-muted);
  font-family: var(--sans);
  font-size: 0.61rem;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-navigation a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 200ms ease;
}

.primary-navigation a:hover {
  color: var(--ivory);
}

.primary-navigation a:hover::after,
.primary-navigation a:focus-visible::after {
  transform: scaleX(1);
}

.sound-toggle {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem;
  border: 0;
  color: var(--ivory-muted);
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sound-toggle__bars {
  display: flex;
  height: 15px;
  align-items: flex-end;
  gap: 2px;
}

.sound-toggle__bars i {
  display: block;
  width: 2px;
  height: 5px;
  background: var(--gold);
}

.sound-toggle[aria-pressed="true"] .sound-toggle__bars i {
  animation: sound-bar 900ms ease-in-out infinite alternate;
}

.sound-toggle[aria-pressed="true"] .sound-toggle__bars i:nth-child(2) {
  animation-delay: -300ms;
}

.sound-toggle[aria-pressed="true"] .sound-toggle__bars i:nth-child(3) {
  animation-delay: -600ms;
}

.menu-toggle {
  display: none;
}

.great-hall {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 8rem var(--page-padding) 4rem;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.12), rgba(5, 5, 5, 0.78) 78%, var(--black)),
    radial-gradient(ellipse at 50% 20%, #3b2a14 0%, #15100a 28%, #070605 64%, #020202 100%);
  isolation: isolate;
}

.great-hall::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 75%);
  mask-image: radial-gradient(circle at center, black, transparent 75%);
}

.great-hall__light {
  position: absolute;
  z-index: -1;
  top: -20%;
  left: 50%;
  width: min(760px, 85vw);
  height: 95%;
  background: conic-gradient(from 165deg at 50% 0%, transparent 0deg, rgba(228, 203, 141, 0.14) 12deg, transparent 25deg);
  filter: blur(10px);
  transform: translateX(-50%);
}

.great-hall__architecture {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.column {
  position: absolute;
  top: 14%;
  bottom: 9%;
  width: 4.5vw;
  min-width: 38px;
  max-width: 74px;
  border-right: 1px solid rgba(200, 164, 93, 0.13);
  border-left: 1px solid rgba(200, 164, 93, 0.13);
  background: linear-gradient(90deg, #060504, #1b140c 45%, #080604);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
}

.column::before,
.column::after {
  content: "";
  position: absolute;
  right: -20%;
  left: -20%;
  height: 3.5%;
  border: 1px solid rgba(200, 164, 93, 0.16);
  background: #0d0a06;
}

.column::before { top: 0; }
.column::after { bottom: 0; }
.column--one { left: 6%; }
.column--two { left: 23%; opacity: 0.78; }
.column--three { right: 23%; opacity: 0.78; }
.column--four { right: 6%; }

.arch {
  position: absolute;
  top: 10%;
  width: 33vw;
  height: 56vh;
  border: 1px solid rgba(200, 164, 93, 0.12);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}

.arch--one { left: -8%; }
.arch--two { right: -8%; }

.floor-line {
  position: absolute;
  right: 8%;
  bottom: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(228, 203, 141, 0.26), transparent);
  box-shadow: 0 -28px 60px rgba(200, 164, 93, 0.12);
}

.great-hall__content {
  max-width: 820px;
  text-align: center;
}

.great-hall h2 {
  margin-top: 1.5rem;
  font-size: clamp(3.4rem, 9vw, 8.6rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.82;
  text-transform: uppercase;
}

.great-hall h2 span {
  color: var(--gold-light);
  font-size: 0.72em;
  font-style: italic;
  text-transform: none;
}

.great-hall__intro {
  max-width: 610px;
  margin: 2.2rem auto;
  color: var(--ivory-muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.85;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--gold);
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-decoration: none;
  text-transform: uppercase;
}

.great-hall__edition {
  position: absolute;
  right: var(--page-padding);
  bottom: 2rem;
  color: rgba(242, 234, 219, 0.42);
  font-family: var(--sans);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-shell {
  padding: clamp(5rem, 10vw, 10rem) var(--page-padding);
}

.manifesto {
  display: grid;
  max-width: 1500px;
  grid-template-columns: 0.25fr 1.1fr 0.9fr;
  align-items: start;
  gap: clamp(2rem, 6vw, 7rem);
  margin: 0 auto;
  border-bottom: 1px solid var(--line-soft);
}

.section-number {
  color: var(--gold-deep);
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.75;
}

.manifesto h2,
.section-heading h2,
.journal h2,
.about h2,
.invitation h2 {
  margin-top: 1rem;
  font-size: clamp(2.3rem, 5vw, 5.2rem);
  font-weight: 400;
  line-height: 1.06;
}

.manifesto blockquote {
  padding-left: clamp(1.5rem, 4vw, 3rem);
  border-left: 1px solid var(--gold);
  color: var(--ivory-muted);
  font-size: clamp(1.1rem, 2.1vw, 1.55rem);
  font-style: italic;
  line-height: 1.65;
}

.exhibitions {
  max-width: 1500px;
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.section-heading > p {
  max-width: 420px;
  color: var(--ivory-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.wing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.wing-card {
  position: relative;
  display: grid;
  min-height: 470px;
  grid-template-columns: 1fr;
  align-content: space-between;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 4rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 72% 28%, rgba(200, 164, 93, 0.08), transparent 24%),
    linear-gradient(145deg, rgba(18, 14, 9, 0.88), rgba(6, 6, 6, 0.98));
  isolation: isolate;
}

.wing-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(200, 164, 93, 0.06));
  opacity: 0;
  transition: opacity 450ms ease;
}

.wing-card:hover::after {
  opacity: 1;
}

.wing-card__number {
  color: rgba(228, 203, 141, 0.42);
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
}

.wing-card__mark {
  position: absolute;
  top: 18%;
  right: 8%;
  width: clamp(100px, 14vw, 190px);
  aspect-ratio: 1;
  border: 1px solid rgba(200, 164, 93, 0.22);
  border-radius: 50%;
}

.wing-card__mark span {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(200, 164, 93, 0.22);
  border-radius: 50%;
}

.wing-card__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -20%;
  left: -20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(228, 203, 141, 0.45), transparent);
}

.wing-card__mark--eclipse {
  box-shadow: inset 28px -12px 0 rgba(5, 5, 5, 0.95), 0 0 35px rgba(200, 164, 93, 0.11);
}

.wing-card__mark--thread {
  border-radius: 0;
  transform: rotate(45deg);
}

.wing-card__mark--thread span {
  border-radius: 0;
}

.wing-card__mark--frame {
  border-radius: 0;
  box-shadow: inset 0 0 0 10px rgba(200, 164, 93, 0.025);
}

.wing-card h3 {
  max-width: 75%;
  margin: 0.8rem 0 1.2rem;
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  font-weight: 400;
  line-height: 1;
}

.wing-card > div:last-child > p:not(.eyebrow) {
  max-width: 440px;
  color: var(--ivory-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.wing-card__status {
  display: block;
  margin-top: 1.6rem;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.journal {
  position: relative;
  display: grid;
  min-height: 760px;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.96), rgba(5, 5, 5, 0.45), rgba(5, 5, 5, 0.96)),
    radial-gradient(circle at center, #322312, #0a0805 58%, #030303);
  text-align: center;
}

.journal::before,
.journal::after {
  content: "";
  position: absolute;
  width: 44vw;
  height: 44vw;
  border: 1px solid rgba(200, 164, 93, 0.1);
  transform: rotate(45deg);
}

.journal::before { left: -33%; }
.journal::after { right: -33%; }

.journal__content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.journal h2 span {
  color: var(--gold-light);
  font-style: italic;
}

.journal__content > p:not(.eyebrow) {
  max-width: 620px;
  margin: 2rem auto;
  color: var(--ivory-muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

.journal__signature {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
}

.about {
  display: grid;
  max-width: 1300px;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(3rem, 10vw, 10rem);
  margin: 0 auto;
}

.about__crest {
  display: grid;
  min-height: 480px;
  place-items: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle, rgba(200, 164, 93, 0.12), transparent 30%),
    linear-gradient(145deg, #100c08, #050505);
}

.about__crest .monogram {
  width: 118px;
  height: 118px;
}

.about__crest .monogram span {
  font-size: 1.2rem;
}

.about__content > p:not(.eyebrow) {
  max-width: 580px;
  margin-top: 2rem;
  color: var(--ivory-muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

.invitation {
  padding: var(--page-padding);
  background: linear-gradient(180deg, var(--black), #0d0905);
}

.invitation__frame {
  display: grid;
  min-height: 520px;
  place-items: center;
  align-content: center;
  padding: 3rem;
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 8px rgba(200, 164, 93, 0.02);
  text-align: center;
}

.invitation__frame > p:not(.eyebrow) {
  margin: 1.5rem 0 2rem;
  color: var(--ivory-muted);
  font-size: 1.05rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 2rem var(--page-padding);
  border-top: 1px solid var(--line-soft);
  color: rgba(242, 234, 219, 0.47);
  font-family: var(--sans);
  font-size: 0.55rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.site-footer p:last-child {
  justify-self: end;
}

.brand--footer .brand__name {
  color: var(--ivory);
}

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 2rem;
  background:
    radial-gradient(circle at center, rgba(200, 164, 93, 0.13), transparent 27%),
    var(--black);
}

.error-room {
  max-width: 720px;
  text-align: center;
}

.error-room .monogram {
  margin: 0 auto 2.5rem;
}

.error-room h1 {
  margin: 1rem 0;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1;
}

.error-room > p:not(.eyebrow) {
  margin-bottom: 2rem;
  color: var(--ivory-muted);
}

@keyframes mist-breathe {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(0.94); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.04); }
}

@keyframes shimmer {
  0%, 100% { opacity: 0.25; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes sound-bar {
  from { height: 4px; }
  to { height: 15px; }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .menu-toggle {
    position: relative;
    z-index: 35;
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 6px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 23px;
    height: 1px;
    background: var(--ivory);
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .primary-navigation {
    position: fixed;
    z-index: 32;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 1.25rem;
    background: rgba(5, 5, 5, 0.97);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms ease, visibility 0s linear 200ms;
  }

  .primary-navigation.is-open {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }

  .primary-navigation a {
    font-family: var(--display);
    font-size: 1.8rem;
    letter-spacing: 0.08em;
    text-transform: none;
  }

  .sound-toggle {
    margin-left: 0.25rem;
  }

  .sound-toggle #sound-label {
    display: none;
  }

  .manifesto {
    grid-template-columns: 0.2fr 1fr;
  }

  .manifesto blockquote {
    grid-column: 2;
  }

  .wing-card {
    min-height: 420px;
  }

  .about {
    gap: 3rem;
  }
}

@media (max-width: 720px) {
  .entrance::before { inset: 10px; }
  .entrance::after { inset: 16px; }

  .entrance__content {
    padding-top: max(4rem, env(safe-area-inset-top));
    padding-bottom: max(4rem, env(safe-area-inset-bottom));
  }

  .entrance__content .monogram {
    width: 58px;
    height: 58px;
    margin-bottom: 1.5rem;
  }

  .entrance__actions {
    width: min(360px, 100%);
    flex-direction: column;
    margin-right: auto;
    margin-left: auto;
  }

  .entrance__status {
    display: none;
  }

  .site-header {
    padding-top: max(1rem, env(safe-area-inset-top));
  }

  .brand__name {
    display: none;
  }

  .great-hall {
    min-height: 100svh;
  }

  .great-hall__edition {
    right: 50%;
    width: 100%;
    text-align: center;
    transform: translateX(50%);
  }

  .column--two,
  .column--three {
    display: none;
  }

  .column--one { left: 4%; }
  .column--four { right: 4%; }

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

  .section-number {
    font-size: 4rem;
  }

  .manifesto blockquote {
    grid-column: auto;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

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

  .wing-card {
    min-height: 430px;
  }

  .wing-card h3 {
    max-width: 85%;
  }

  .journal {
    min-height: 640px;
  }

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

  .about__crest {
    min-height: 340px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer p:last-child {
    justify-self: center;
  }
}

@media (max-height: 700px) and (min-width: 721px) {
  .entrance__content {
    padding: 2rem 1rem;
    transform: scale(0.86);
  }

  .entrance__status {
    bottom: 1.2rem;
  }
}

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

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