/* Layers: grain 8, skip 9, nav 5. Grain does not take clicks. */

@font-face {
  font-family: "Bebas Neue";
  src: url("/fonts/bebas-neue-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f8f5f0;
  --limestone: #ede8df;
  --ink: #171512;
  --ink-soft: #3f3a34;
  --rust: #b85c35;
  --quiet: #4a453e;
  --nav: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  color-scheme: light;
}

h2,
h3,
section {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("/grain.png");
}

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

a {
  color: inherit;
}

::selection {
  background: #ead3c6;
  color: var(--ink);
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 9;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 0.8rem;
  text-decoration: none;
}

.skip:focus {
  top: 0.7rem;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  height: var(--nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.25rem;
  background: rgb(248 245 240 / 0.94);
  border-bottom: 1px solid rgb(23 21 18 / 0.1);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  color: var(--ink);
  text-decoration: none;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.rust {
  color: var(--rust);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.98rem;
}

.nav-links a:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  padding: 88px 1.25rem 1.75rem;
}

.hero-stage {
  position: relative;
  height: 34dvh;
  min-height: 190px;
  margin-bottom: 0.5rem;
}

.hero-stage img,
.hero-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.mark-flat {
  transform: perspective(900px) rotateY(-18deg) rotateX(8deg);
  filter: drop-shadow(-12px 8px 0 var(--rust)) drop-shadow(0 18px 24px rgb(23 21 18 / 0.14));
}

.hero-stage canvas {
  opacity: 0;
}

.hero-stage.is-live .mark-flat {
  opacity: 0;
}

.hero-stage.is-live canvas {
  opacity: 1;
}

.hero h1 {
  margin: 0;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: clamp(4.4rem, 18vw, 5.6rem);
  line-height: 0.84;
  letter-spacing: 0.03em;
}

.hero h1 .line {
  display: block;
}

.rule {
  width: 4.5rem;
  height: 1px;
  margin: 0.85rem 0 0.9rem;
  background: var(--rust);
  border: 0;
}

.tagline,
.serif {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  line-height: 1.25;
  padding-bottom: 0.12em;
}

.tagline {
  margin: 0 0 1.25rem;
  max-width: 28ch;
  font-size: clamp(1.7rem, 4vw, 2.15rem);
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}

.btn:hover {
  background: var(--ink-soft);
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  background: var(--quiet);
  border-color: var(--quiet);
  cursor: wait;
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
}

.btn.ghost:hover {
  background: var(--limestone);
}

.message {
  padding: 11vh 1.25rem;
  background: var(--limestone);
}

.message p {
  margin: 0;
  max-width: 12em;
  font-size: clamp(2.1rem, 6vw, 4.15rem);
}

.section-intro,
.section {
  padding: 11vh 1.25rem 2.5rem;
}

.section {
  padding-bottom: 11vh;
}

.section h2,
.section-intro h2,
.bridge h2,
.admin-main h1 {
  margin: 0 0 0.8rem;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: 0.03em;
}

.lede {
  max-width: 38rem;
  margin: 0 0 2.5rem;
  color: var(--quiet);
  font-size: 1.125rem;
}

.moves {
  list-style: none;
  margin: 0;
  padding: 0;
}

.moves li {
  padding: 8vh 1.25rem;
}

.moves li:nth-child(even) {
  background: var(--limestone);
}

.moves h3 {
  margin: 0;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 0.9;
  letter-spacing: 0.03em;
}

.moves p,
.about-copy p,
.issue-index p,
.note p {
  max-width: 38rem;
  color: var(--ink-soft);
}

.issue-index {
  display: grid;
  gap: 2.4rem;
}

.issue-index h3,
.note h3 {
  margin: 0 0 0.45rem;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 2.7rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.issue-index p,
.note p {
  margin: 0 0 0.7rem;
}

.text-link {
  color: var(--ink);
  text-underline-offset: 0.2em;
}

.text-link:hover {
  color: var(--ink-soft);
}

.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.portrait {
  width: min(78vw, 280px);
  height: min(78vw, 280px);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  justify-self: center;
  align-self: center;
}

.quote {
  margin: 0 0 1rem;
  max-width: 16em;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.sign {
  margin: 1.4rem 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1.7rem;
  line-height: 1.25;
  padding-bottom: 0.08em;
  color: var(--ink);
}

.place {
  margin: 0.15rem 0 0;
  color: var(--quiet);
}

.connect {
  max-width: 36rem;
}

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.field label {
  display: grid;
  gap: 0.4rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 0.75rem 0.8rem;
  appearance: none;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--quiet);
  opacity: 1;
}

.err {
  margin: 0.2rem 0 0;
  color: var(--ink);
  font-size: 0.95rem;
}

.err:empty {
  margin: 0;
}

.form-note,
.quiet {
  color: var(--quiet);
}

.form-note {
  margin: 1rem 0 0;
}

#form-done {
  margin: 1rem 0 0;
  font-size: 1.15rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  justify-content: space-between;
  padding: 1.5rem 1.25rem 2.2rem;
  border-top: 1px solid rgb(23 21 18 / 0.14);
}

.footer p {
  margin: 0;
}

.admin-main {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--nav) + 2.5rem) 1.25rem 4rem;
}

.admin-main h1 {
  font-size: clamp(3.2rem, 8vw, 5rem);
}

.admin-main h2 {
  margin: 2rem 0 0.4rem;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
}

.issue-edit + .issue-edit,
.note + .note {
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgb(23 21 18 / 0.16);
}

.row-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin: 0.4rem 0 1rem;
}

#save-status,
#inbox-status {
  min-height: 1.4em;
}

.inbox {
  margin-top: 3.5rem;
}

.bridge {
  padding: 8vh 1.25rem 10vh;
}

.bridge-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
}

.mind-page h1 {
  margin: 0 0 0.6rem;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: clamp(3.4rem, 8vw, 6rem);
  line-height: 0.9;
  letter-spacing: 0.03em;
}

.field-center {
  max-width: 16em;
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.field-stage {
  position: relative;
  height: min(68dvh, 640px);
  min-height: 320px;
  margin: 0 1.25rem;
}

.field-stage canvas {
  width: 100%;
  height: 100%;
}

.particle-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle-label {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ink);
  font-size: 0.82rem;
  white-space: nowrap;
}

.field-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.field-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  max-width: 40rem;
}

.particle-button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.journal {
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  max-width: 38rem;
}

.journal li + li {
  margin-top: 0.35rem;
}

.choices {
  display: grid;
  gap: 0.8rem;
  max-width: 40rem;
}

.choice {
  display: grid;
  gap: 0.25rem;
  text-align: left;
  padding: 0.9rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.choice:hover {
  background: var(--limestone);
}

.choice:active {
  transform: translateY(1px);
}

.conclusion {
  max-width: 18em;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.mind-node {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 1rem;
  max-width: 40rem;
}

.mind-node label {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

@media (max-width: 699px) {
  .particle-label {
    display: none;
  }
}

@media (max-width: 380px) {
  .nav {
    padding-inline: 0.8rem;
  }

  .nav-links {
    gap: 0.7rem;
  }

  .brand {
    font-size: 1.4rem;
  }

  .nav-links a {
    font-size: 0.92rem;
  }
}

@media (max-height: 740px) and (max-width: 899px) {
  .hero-stage {
    height: 26dvh;
    min-height: 140px;
  }

  .hero h1 {
    font-size: 3.5rem;
  }
}

@media (min-width: 900px) {
  .nav {
    padding-inline: 6vw;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    align-items: center;
    column-gap: 4vw;
    padding: 96px 6vw 3rem;
  }

  .hero-stage {
    height: auto;
    min-height: 0;
    aspect-ratio: 540 / 430;
    margin: 0;
    order: 2;
  }

  .hero-copy {
    order: 1;
  }

  .hero h1 {
    font-size: clamp(5.5rem, 8vw, 7.4rem);
  }

  .message,
  .section-intro,
  .section,
  .bridge,
  .moves li,
  .footer {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .field-stage {
    margin-left: 6vw;
    margin-right: 6vw;
  }

  .message p {
    max-width: 14em;
  }

  .issue-index {
    grid-template-columns: 1fr 1fr;
    gap: 2.8rem 3.5rem;
  }

  .issue-index article:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1rem 3rem;
    align-items: end;
    padding-bottom: 2.2rem;
    border-bottom: 1px solid rgb(23 21 18 / 0.16);
  }

  .issue-index article:first-child h3 {
    font-size: clamp(3.4rem, 6vw, 5.6rem);
    margin: 0;
  }

  .about-grid {
    grid-template-columns: minmax(240px, 0.7fr) 1.3fr;
    gap: 6rem;
  }

  .portrait {
    width: min(100%, 380px);
    height: min(100%, 380px);
    justify-self: start;
  }
}

.pavilion-hero {
  position: relative;
  display: block;
  padding: 0;
  overflow: clip;
}

.universe-stage {
  position: absolute;
  inset: 0;
  background: #070b12;
  overflow: hidden;
}

.universe-field {
  position: absolute;
  inset: -8%;
  background: url("/universe.jpg") center 42% / cover no-repeat;
  transform: scale(1.08);
  animation: universe-drift 46s ease-in-out infinite alternate;
}

@keyframes universe-drift {
  from { transform: scale(1.08) translate3d(-1.1%, -0.5%, 0); }
  to { transform: scale(1.12) translate3d(1.3%, 0.7%, 0); }
}

.universe-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 42%, rgb(5 8 12 / 0.5) 100%),
    linear-gradient(180deg, rgb(7 11 18 / 0.2), transparent 22%);
}

.outside-mark {
  position: absolute;
  z-index: 2;
  top: calc(var(--nav) + 1.4rem);
  right: 7vw;
  width: min(34vw, 260px);
  pointer-events: none;
}

.outside-mark::before {
  content: "";
  position: absolute;
  inset: -22% -16%;
  z-index: -1;
  background: radial-gradient(circle, rgb(248 245 240 / 0.9) 0%, rgb(248 245 240 / 0.22) 46%, transparent 72%);
  filter: blur(12px);
}

.outside-mark img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 16px rgb(248 245 240 / 0.8));
}

.project-doors {
  position: absolute;
  z-index: 3;
  top: 46%;
  left: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.project-doors a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--paper);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid var(--rust);
}

.project-doors a:hover {
  color: #f3d2c4;
}



.universe-hero h1,
.universe-hero .tagline,
.universe-hero .proof a {
  color: var(--paper);
}

.universe-hero .rust {
  color: #e39a74;
}

.universe-hero .btn.ghost {
  color: var(--paper);
  border-color: rgb(248 245 240 / 0.72);
}

.universe-hero .btn.ghost:hover {
  background: rgb(248 245 240 / 0.1);
}

.universe-hero :focus-visible {
  outline-color: var(--paper);
}

.pavilion-stage {
  position: absolute;
  inset: 0;
  background: var(--paper);
}

.round-table .pavilion-stage {
  background: #070b12;
}

.round-table .universe-field {
  z-index: 0;
}

.round-table .universe-stage::after {
  z-index: 1;
}

.pavilion-stage canvas {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: auto;
}

.pavilion-stage.is-live canvas {
  opacity: 1;
}

.pavilion-hero .hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(100%, 34rem);
  min-height: 100dvh;
  margin: 0;
  padding: calc(var(--nav) + 1rem) 1.25rem 1.4rem;
  background: linear-gradient(180deg, rgb(248 245 240 / 0) 38%, rgb(248 245 240 / 0.94) 68%);
  pointer-events: none;
}

.pavilion-hero .hero-copy a {
  pointer-events: auto;
}

.universe-hero .hero-copy {
  color: var(--paper);
  background: linear-gradient(180deg, rgb(7 11 18 / 0) 28%, rgb(7 11 18 / 0.55) 52%, rgb(7 11 18 / 0.92) 100%);
}

.round-table .hero-copy {
  width: 100%;
  background:
    linear-gradient(90deg, rgb(7 11 18 / 0.82) 0%, rgb(7 11 18 / 0.28) 24%, rgb(7 11 18 / 0) 46%),
    linear-gradient(180deg, rgb(7 11 18 / 0) 58%, rgb(7 11 18 / 0.78) 100%);
}

.pavilion-hero h1 {
  font-size: clamp(3.6rem, 8vw, 5.4rem);
}

.pavilion-hero .tagline {
  margin-bottom: 0.35rem;
}

.proof {
  margin: 0 0 1.15rem;
  font-size: 1rem;
}

.proof a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rust);
  text-underline-offset: 0.22em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0;
}

.pavilion-labels {
  position: absolute;
  z-index: 3;
  top: calc(var(--nav) + 0.75rem);
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  pointer-events: none;
}

.pavilion-labels.is-spatial {
  inset: 0;
  top: 0;
  display: block;
}

.pavilion-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.2rem 0.6rem;
  border: 1px solid rgb(23 21 18 / 0.28);
  background: rgb(248 245 240 / 0.94);
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  pointer-events: auto;
}

.pavilion-labels.is-spatial .pavilion-label {
  position: absolute;
  transform: translate(-50%, -130%);
}

.pavilion-label:hover,
.pavilion-label:focus-visible,
.pavilion-label.is-hot {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.round-table .pavilion-label {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08rem;
  min-height: 44px;
  padding: 0.15rem 0.35rem;
  border: 0;
  background: transparent;
  color: var(--paper);
  text-align: center;
  text-shadow: 0 2px 18px rgb(0 0 0 / 0.9);
}

.round-table .pillar-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.85rem;
  line-height: 0.85;
  letter-spacing: 0.01em;
}

.round-table .pillar-tie {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #e7b08a;
}

.round-table .pavilion-labels.is-spatial .pavilion-label {
  transform: translate(-50%, -108%);
}

.round-table .pavilion-label:hover,
.round-table .pavilion-label:focus-visible,
.round-table .pavilion-label.is-hot {
  background: transparent;
  border: 0;
  color: var(--paper);
}

.round-table .pavilion-label:hover .pillar-name,
.round-table .pavilion-label:focus-visible .pillar-name,
.round-table .pavilion-label.is-hot .pillar-name {
  color: #f3d2c4;
}

.desk-page {
  min-height: 100dvh;
}

.desk-stage {
  position: fixed;
  inset: 0;
  touch-action: none;
}

.desk-panel {
  position: fixed;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 40rem;
  padding: 1.4rem 1.25rem 1.25rem;
  background: linear-gradient(180deg, rgb(248 245 240 / 0) 0%, rgb(248 245 240 / 0.94) 32%);
  pointer-events: none;
}

.desk-panel h1 {
  margin: 0;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  line-height: 0.9;
  letter-spacing: 0.03em;
}

.desk-panel p {
  max-width: 36rem;
  margin: 0.45rem 0 0;
  color: var(--ink-soft);
}

.desk-actions {
  margin-top: 0.85rem;
}

.desk-panel .btn {
  pointer-events: auto;
}

@media (min-width: 900px) {
  .hero.pavilion-hero {
    display: block;
    padding: 0;
  }

  .pavilion-hero .hero-copy {
    padding-left: 6vw;
    padding-bottom: 2rem;
  }

  .project-doors {
    left: 6vw;
  }

  .outside-mark {
    right: 9vw;
  }

  .pavilion-labels {
    left: 6vw;
    right: 6vw;
  }

  .pavilion-labels.is-spatial {
    left: 0;
    right: 0;
  }

  .desk-panel {
    padding-left: 6vw;
  }
}

@media (max-width: 799px) {
  .nav {
    padding-inline: 0.75rem;
    gap: 0.45rem;
  }

  .brand {
    font-size: 1.35rem;
    letter-spacing: 0.04em;
  }

  .nav-links {
    gap: 0.5rem;
  }

  .nav-links a {
    font-size: 0.78rem;
  }

  .pavilion-labels {
    left: 0.7rem;
    right: auto;
    width: calc(100vw - 1.4rem);
    max-width: calc(100vw - 1.4rem);
  }

  .outside-mark {
    width: 124px;
    right: 18px;
  }

  .round-table .pillar-name {
    font-size: 1.2rem;
  }

  .round-table .pillar-tie {
    font-size: 0.55rem;
    letter-spacing: 0.12em;
  }

  .project-doors {
    top: 38%;
  }
}

body.night {
  background: #070b12;
  color: #f4efe6;
  color-scheme: dark;
}

body.night .nav {
  background: rgb(7 11 18 / 0.78);
  border-bottom-color: rgb(244 239 230 / 0.12);
  backdrop-filter: blur(14px);
}

body.night .brand,
body.night .nav-links a,
body.night h2,
body.night h3,
body.night .sign,
body.night .issue-index h3,
body.night .text-link,
body.night .choice {
  color: #f4efe6;
}

body.night .rust {
  color: #e39a74;
}

body.night .message,
body.night #work,
body.night .section,
body.night .bridge,
body.night .footer {
  border-top: 1px solid rgb(227 154 116 / 0.28);
}

body.night .message,
body.night .moves li:nth-child(even) {
  background: transparent;
}

body.night .lede,
body.night .quiet,
body.night .place,
body.night .moves p,
body.night .about-copy p,
body.night .issue-index p,
body.night .note p,
body.night .form-note {
  color: #c9c0b4;
}

body.night .text-link {
  text-decoration-color: #e39a74;
}

body.night .btn {
  background: #e39a74;
  border-color: #e39a74;
  color: #170f0c;
}

body.night .btn.ghost {
  background: transparent;
  color: #f4efe6;
  border-color: rgb(244 239 230 / 0.55);
}

body.night .btn.ghost:hover,
body.night .choice:hover {
  background: rgb(244 239 230 / 0.08);
}

body.night input,
body.night textarea,
body.night .choice {
  background: rgb(244 239 230 / 0.04);
  border-color: rgb(244 239 230 / 0.28);
  color: #f4efe6;
}

body.night .footer,
body.night .issue-index article:first-child,
body.night .issue-edit + .issue-edit,
body.night .note + .note {
  border-color: rgb(227 154 116 / 0.28);
}

body.night .portrait {
  box-shadow: 0 0 0 1px rgb(227 154 116 / 0.7);
}

body.night :focus-visible {
  outline-color: #f4efe6;
}

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

  .pavilion-stage canvas,
  .universe-field {
    transition: none;
    animation: none;
  }

  .mark-flat {
    transform: none;
    filter: none;
  }

  .hero-stage canvas,
  .btn {
    transition: none;
  }
}
