:root {
  --ink: #080705;
  --paper: #f3eee3;
  --muted: rgba(243, 238, 227, 0.66);
  --quiet: rgba(243, 238, 227, 0.42);
  --line: rgba(243, 238, 227, 0.16);
  --gold: #b88a45;
  --gold-soft: rgba(184, 138, 69, 0.18);
  --green: #465245;
  --wine: #663332;
  --sans: "Helvetica Neue", "Neue Haas Grotesk Text", "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  line-height: 1.45;
}

button,
a {
  font: inherit;
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
}

.labyrinth {
  position: relative;
  min-height: 100svh;
  overflow-x: clip;
  isolation: isolate;
}

.visuals,
.backdrop,
.smoke,
.veil,
.grain {
  position: fixed;
  inset: 0;
}

.visuals {
  z-index: -3;
  background: #050403;
}

.backdrop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.012);
  filter: saturate(0.86) contrast(1.03) brightness(0.7);
  transition: opacity 1200ms ease, transform 7000ms ease, filter 1200ms ease;
}

.backdrop.is-active {
  opacity: 1;
  transform: scale(1);
}

.smoke {
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  mix-blend-mode: screen;
  transform: translate3d(14vw, -3vh, 0) scale(1.08);
  filter: blur(0.2px) sepia(0.16) saturate(0.82) brightness(0.86);
  pointer-events: none;
}

[data-room="film"] .smoke,
[data-room="music"] .smoke,
[data-room="video"] .smoke,
[data-room="process"] .smoke {
  opacity: 0.14;
  transform: translate3d(18vw, -7vh, 0) scale(1.1);
}

[data-room="strategy"] .smoke,
[data-room="training"] .smoke,
[data-room="contact"] .smoke {
  opacity: 0.1;
}

.veil {
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 7, 5, 0.92), rgba(8, 7, 5, 0.52) 44%, rgba(8, 7, 5, 0.26)),
    linear-gradient(0deg, rgba(8, 7, 5, 0.88), rgba(8, 7, 5, 0.12) 46%, rgba(8, 7, 5, 0.56)),
    radial-gradient(circle at 22% 70%, rgba(184, 138, 69, 0.14), transparent 28%);
}

.grain {
  z-index: 4;
  opacity: 0.18;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px);
  background-size: 5px 5px, 9px 9px;
  mix-blend-mode: soft-light;
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 28px clamp(22px, 4.8vw, 72px);
  pointer-events: none;
}

.topbar .brand,
.topbar .map-toggle {
  pointer-events: auto;
}

.brand,
.map-toggle,
.eyebrow,
.status,
.node-number,
.doors button,
.listening-grid button small,
.contact-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.brand {
  display: block;
  width: max-content;
  color: rgba(243, 238, 227, 0.86);
  line-height: 0;
}

.brand-signature {
  display: block;
  width: auto;
  height: 224px;
  max-width: min(343px, calc(100vw - 180px));
  object-fit: contain;
  opacity: 0.45;
  filter:
    drop-shadow(0 0 14.4px rgba(243, 238, 227, 0.132))
    drop-shadow(0 0 33.6px rgba(221, 185, 112, 0.066));
}

.map-toggle {
  display: none;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 7, 5, 0.36);
  color: var(--paper);
  backdrop-filter: blur(18px);
}

.social-rail {
  position: fixed;
  right: clamp(22px, 4.8vw, 72px);
  top: 28px;
  z-index: 32;
  display: grid;
  grid-auto-rows: 45px;
  gap: 4px;
}

.social-link {
  position: relative;
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid rgba(221, 185, 112, 0.24);
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 48%),
    rgba(8, 7, 5, 0.28);
  color: rgba(243, 238, 227, 0.78);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  backdrop-filter: blur(22px);
}

.social-link::before,
.social-link::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.social-link::before {
  inset: 7px;
  border: 1px solid rgba(243, 238, 227, 0.09);
}

.social-link::after {
  left: 50%;
  bottom: 7px;
  width: 11px;
  height: 1px;
  background: rgba(221, 185, 112, 0.38);
  transform: translateX(-50%);
}

.social-link span {
  position: relative;
  z-index: 1;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.social-link[data-social="facebook"] span {
  font-size: 15px;
  transform: translateY(-1px);
}

.social-link[data-social="linkedin"] span {
  font-size: 11px;
  text-transform: lowercase;
}

.social-link:hover,
.social-link:focus-visible {
  border-color: rgba(221, 185, 112, 0.52);
  color: rgba(255, 250, 239, 0.98);
  background:
    linear-gradient(135deg, rgba(221, 185, 112, 0.12), transparent 50%),
    rgba(8, 7, 5, 0.42);
}

.social-link:focus-visible {
  outline: 1px solid rgba(243, 238, 227, 0.72);
  outline-offset: 4px;
}

.room-stage {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 118px clamp(22px, 4.8vw, 72px) 96px;
}

.room {
  position: relative;
  grid-area: 1 / 1;
  width: min(760px, 100%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  pointer-events: none;
}

.labyrinth.is-ready .room {
  transition: opacity 720ms ease, transform 720ms ease, visibility 720ms ease;
}

.room.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.room > .eyebrow,
.room > h1,
.room > h2,
.room > p:not(.eyebrow),
.room > .doors,
.room > .skill-list,
.room > .contact-link {
  position: relative;
  z-index: 2;
}

.photo-presence-layer {
  --presence-left: calc(clamp(22px, 4.8vw, 72px) + clamp(110px, calc(100vw - 790px), 620px));
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.photo-presence {
  --photo-opacity: 0.22;
  --photo-mask-x: 50%;
  --photo-mask-y: 45%;
  position: absolute;
  z-index: 1;
  display: block;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms ease;
  -webkit-mask-image: radial-gradient(
    ellipse at var(--photo-mask-x) var(--photo-mask-y),
    #000 0%,
    rgba(0, 0, 0, 0.92) 42%,
    rgba(0, 0, 0, 0.26) 70%,
    transparent 88%
  );
  mask-image: radial-gradient(
    ellipse at var(--photo-mask-x) var(--photo-mask-y),
    #000 0%,
    rgba(0, 0, 0, 0.92) 42%,
    rgba(0, 0, 0, 0.26) 70%,
    transparent 88%
  );
}

.photo-presence img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(0.94) brightness(0.68) sepia(0.08) saturate(0.55);
  mix-blend-mode: screen;
  transform: scale(1.045);
}

.photo-presence::before,
.photo-presence::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.photo-presence::before {
  background:
    radial-gradient(circle at 52% 38%, transparent 0 28%, rgba(8, 7, 5, 0.34) 62%, rgba(8, 7, 5, 0.92) 100%),
    linear-gradient(90deg, rgba(8, 7, 5, 0.86), transparent 26%, transparent 58%, rgba(8, 7, 5, 0.9));
}

.photo-presence::after {
  opacity: 0.16;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px);
  background-size: 4px 4px, 9px 9px;
  mix-blend-mode: soft-light;
}

.photo-presence-poetry {
  --photo-opacity: 0.16;
  --photo-mask-x: 54%;
  --photo-mask-y: 43%;
  left: var(--presence-left);
  top: 0;
  width: min(29vw, 440px);
  height: min(72vh, 720px);
}

.photo-presence-poetry img {
  object-position: 48% 40%;
  filter: grayscale(1) contrast(0.88) brightness(0.56) sepia(0.1) saturate(0.48);
}

.photo-presence-process {
  --photo-opacity: 0.24;
  --photo-mask-x: 50%;
  --photo-mask-y: 48%;
  left: var(--presence-left);
  top: 0;
  width: min(31vw, 500px);
  height: min(58vh, 600px);
}

.photo-presence-process img {
  object-position: 50% 46%;
  filter: grayscale(1) contrast(0.9) brightness(0.58) sepia(0.08) saturate(0.46);
}

.photo-presence-contact {
  --photo-opacity: 0.24;
  --photo-mask-x: 51%;
  --photo-mask-y: 39%;
  left: var(--presence-left);
  top: 0;
  width: min(34vw, 500px);
  height: min(68vh, 650px);
}

[data-room="poetry"] .photo-presence-poetry,
[data-room="process"] .photo-presence-process,
[data-room="contact"] .photo-presence-contact {
  opacity: var(--photo-opacity);
}

.photo-presence-contact img {
  object-position: 50% 26%;
  filter: grayscale(1) contrast(0.96) brightness(0.62) sepia(0.07) saturate(0.5);
}

.room-wide {
  width: min(880px, 100%);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--gold);
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(26px, 3.15vw, 45px);
  line-height: 1.06;
}

h2 {
  font-size: clamp(23px, 2.66vw, 41px);
  line-height: 1.07;
}

.room > p:not(.eyebrow),
blockquote {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 350;
  line-height: 1.48;
}

blockquote {
  padding-left: 22px;
  border-left: 1px solid rgba(184, 138, 69, 0.55);
  color: rgba(243, 238, 227, 0.82);
}

.doors,
.listening-grid,
.material-grid,
.word-fragments,
.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.doors button,
.listening-grid button,
.material-grid button,
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 7, 5, 0.3);
  color: var(--paper);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.doors button,
.contact-link {
  position: relative;
  min-height: 34px;
  padding: 0 0 5px;
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.doors button::after,
.contact-link::after {
  content: "";
  width: 24px;
  height: 1px;
  margin-left: 12px;
  background: var(--gold);
  opacity: 0.4;
  transform: scaleX(0.5);
  transform-origin: left;
  transition: opacity 180ms ease, transform 180ms ease;
}

.listening-grid,
.material-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  width: min(760px, 100%);
}

.listening-grid button,
.material-grid button {
  min-height: 104px;
  align-items: flex-start;
  justify-content: flex-end;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  text-align: left;
  border-radius: 8px;
}

.material-grid {
  margin-top: 18px;
}

.listening-grid button span,
.material-grid button span {
  font-size: 19px;
  font-weight: 400;
}

.listening-grid button small,
.material-grid button small {
  color: var(--quiet);
}

.doors button:hover,
.doors button:focus-visible,
.contact-link:hover,
.contact-link:focus-visible {
  border-color: rgba(184, 138, 69, 0.76);
  background: transparent;
  transform: none;
  outline: none;
}

.doors button:hover::after,
.doors button:focus-visible::after,
.contact-link:hover::after,
.contact-link:focus-visible::after {
  opacity: 0.9;
  transform: scaleX(1);
}

.listening-grid button:hover,
.listening-grid button:focus-visible,
.listening-grid button.is-playing,
.material-grid button:hover,
.material-grid button:focus-visible,
.map-toggle:hover,
.map-toggle:focus-visible {
  border-color: rgba(184, 138, 69, 0.76);
  background: var(--gold-soft);
  transform: translateY(-1px);
  outline: none;
}

.word-fragments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(880px, 100%);
}

.word-fragments blockquote {
  min-height: 138px;
  margin: 0;
  padding: 0 0 0 18px;
  font-size: 17px;
  line-height: 1.48;
}

.skill-list {
  display: grid;
  width: min(760px, 100%);
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.skill-list li {
  padding: 14px 0 14px 22px;
  border-left: 1px solid rgba(184, 138, 69, 0.44);
  color: rgba(243, 238, 227, 0.78);
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 350;
  line-height: 1.42;
}

.skill-list li + li {
  border-top: 1px solid rgba(243, 238, 227, 0.08);
}

.constellation-wrap {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(190px, 240px);
  gap: clamp(22px, 3vw, 42px);
  width: min(980px, calc(100vw - 540px));
  min-height: 380px;
  margin-top: 34px;
  align-items: stretch;
}

.constellation {
  position: relative;
  min-height: 380px;
}

.media-dot {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  transform: translate(-50%, -50%);
}

.media-dot:focus-visible {
  outline: none;
}

.dot-core {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(243, 238, 227, 0.72);
  border-radius: 50%;
  background: rgba(8, 7, 5, 0.72);
  box-shadow: 0 0 0 0 rgba(184, 138, 69, 0);
  transform: translate(-50%, -50%);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.media-dot:hover .dot-core,
.media-dot:focus-visible .dot-core,
.media-dot.is-selected .dot-core,
.media-dot.is-playing .dot-core {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(184, 138, 69, 0.12);
  transform: translate(-50%, -50%) scale(1.2);
}

.media-dot.is-playing .dot-core {
  box-shadow: 0 0 0 10px rgba(184, 138, 69, 0.16), 0 0 30px rgba(184, 138, 69, 0.32);
}

.dot-label {
  position: absolute;
  left: calc(50% + 26px);
  top: 50%;
  width: 190px;
  padding-left: 0;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translate(0, -50%);
  transition: opacity 180ms ease;
}

.media-dot:hover .dot-label,
.media-dot:focus-visible .dot-label {
  opacity: 1;
  transform: translate(0, -50%);
}

.media-dot.is-selected .dot-label,
.media-dot.is-selected:hover .dot-label,
.media-dot.is-selected:focus-visible .dot-label {
  opacity: 0;
  transform: translate(0, -50%);
}

.dot-label small,
.dot-panel small {
  display: block;
  color: var(--gold);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dot-label strong,
.dot-panel strong {
  display: block;
  margin-top: 5px;
  color: rgba(243, 238, 227, 0.9);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.18;
}

.dot-panel {
  align-self: end;
  min-height: 144px;
  padding-left: 18px;
  border-left: 1px solid rgba(184, 138, 69, 0.36);
  pointer-events: none;
}

.dot-panel.is-idle {
  display: grid;
  min-height: 0;
  place-items: center;
  padding: 0;
  border: 0;
  text-align: center;
  pointer-events: none;
}

.dot-panel span {
  display: block;
  margin-top: 12px;
  color: var(--quiet);
  font-size: 14px;
  line-height: 1.38;
}

.dot-panel .dot-performer {
  margin-top: 8px;
  color: rgba(243, 238, 227, 0.68);
  font-size: 13px;
}

.dot-panel.is-idle strong {
  max-width: none;
  margin-top: 0;
  color: rgba(243, 238, 227, 0.2);
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
  text-transform: lowercase;
  filter: blur(0.25px);
  text-shadow: 0 0 28px rgba(243, 238, 227, 0.2);
}

.constellation-stop {
  display: inline-grid;
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-top: 18px;
  padding: 0;
  border: 1px solid rgba(184, 138, 69, 0.58);
  border-radius: 50%;
  background: rgba(8, 7, 5, 0.36);
  color: rgba(243, 238, 227, 0.72);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0;
  pointer-events: auto;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.constellation-stop:hover,
.constellation-stop:focus-visible {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--paper);
  outline: none;
  transform: scale(1.06);
}

.word-panel span {
  color: rgba(243, 238, 227, 0.78);
  font-size: 16px;
}

.process-field {
  width: min(560px, 100%);
  margin-top: 34px;
  padding-left: 22px;
  border-left: 1px solid rgba(184, 138, 69, 0.42);
}

.process-field p {
  max-width: 500px;
  margin: 0;
  color: rgba(243, 238, 227, 0.74);
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 350;
  line-height: 1.5;
}

.process-field p + p {
  margin-top: 22px;
}

@media (min-width: 761px) {
  .room-field {
    --copy-w: clamp(110px, calc(100vw - 790px), 620px);
    position: relative;
    width: min(1500px, calc(100vw - 122px));
    min-height: min(520px, calc(100vh - 190px));
  }

  .room-field h2,
  .room-field > p:not(.eyebrow) {
    max-width: var(--copy-w);
  }

  [data-room-panel="strategy"],
  [data-room-panel="training"] {
    --copy-w: clamp(110px, calc(100vw - 790px), 620px);
    position: relative;
    width: min(1500px, calc(100vw - 122px));
    min-height: min(520px, calc(100vh - 190px));
  }

  [data-room-panel="strategy"] h2,
  [data-room-panel="strategy"] > p:not(.eyebrow),
  [data-room-panel="training"] h2,
  [data-room-panel="training"] > p:not(.eyebrow) {
    max-width: var(--copy-w);
  }

  .constellation-wrap {
    position: absolute;
    left: calc(var(--copy-w) + 60px);
    right: 455px;
    top: 0;
    height: min(470px, calc(100vh - 250px));
    z-index: 24;
    display: block;
    width: auto;
    min-height: 0;
    margin-top: 0;
    pointer-events: auto;
  }

  .constellation {
    height: 100%;
    min-height: 0;
    pointer-events: auto;
  }

  .media-dot {
    pointer-events: auto;
  }

  .dot-panel {
    position: absolute;
    left: calc(var(--selected-x, 50) * 1%);
    top: calc(var(--selected-y, 50) * 1%);
    width: clamp(168px, 18vw, 240px);
    min-height: 0;
    padding: 14px 20px 14px 14px;
    border-right: 1px solid rgba(184, 138, 69, 0.48);
    border-left: 0;
    background: rgba(8, 7, 5, 0.5);
    box-shadow: 0 0 18px 10px rgba(8, 7, 5, 0.18);
    text-align: right;
    transform: translate(calc(-100% - 26px), -50%);
    backdrop-filter: none;
  }

  .dot-panel.is-idle {
    left: 50%;
    top: 0;
    width: max-content;
    background: transparent;
    box-shadow: none;
    transform: translate(-50%, -170%);
    backdrop-filter: none;
  }

  .process-field {
    position: absolute;
    left: calc(var(--copy-w) + 40px);
    right: 405px;
    top: 34px;
    z-index: 24;
    width: auto;
    margin-top: 0;
    padding: 18px 0 18px 24px;
    background: linear-gradient(90deg, rgba(8, 7, 5, 0.5), rgba(8, 7, 5, 0));
    box-shadow: -22px 0 42px rgba(8, 7, 5, 0.34);
  }

  [data-room-panel="strategy"] .skill-list,
  [data-room-panel="training"] .skill-list {
    position: absolute;
    left: calc(var(--copy-w) + 40px);
    right: 405px;
    top: 34px;
    z-index: 24;
    display: grid;
    width: auto;
    margin-top: 0;
    padding: 18px 0 18px 24px;
    background: linear-gradient(90deg, rgba(8, 7, 5, 0.5), rgba(8, 7, 5, 0));
    box-shadow: -22px 0 42px rgba(8, 7, 5, 0.34);
  }
}

@media (min-width: 1700px) {
  .constellation-wrap,
  .process-field {
    left: calc(var(--copy-w) + 180px);
    right: clamp(80px, calc(2091px - 100vw), 405px);
  }

  .process-field {
    left: calc(var(--copy-w) + 150px);
    right: clamp(80px, calc(2010px - 100vw), 405px);
  }

  [data-room-panel="strategy"] .skill-list,
  [data-room-panel="training"] .skill-list {
    left: calc(var(--copy-w) + 150px);
    right: clamp(80px, calc(2010px - 100vw), 405px);
  }
}

.contact-link,
.contact-form button {
  margin-top: 34px;
}

.contact-room {
  width: min(980px, 100%);
}

.contact-paths {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(320px, 560px);
  gap: clamp(26px, 4vw, 54px);
  align-items: start;
  margin-top: 34px;
}

.contact-paths .contact-link {
  margin-top: 0;
  justify-self: start;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 18px;
  width: min(560px, 100%);
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form span,
.form-status {
  color: var(--quiet);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: rgba(8, 7, 5, 0.22);
  color: var(--paper);
  font: inherit;
  font-size: 15px;
  line-height: 1.35;
  outline: none;
  padding: 9px 0 10px;
  resize: vertical;
}

.contact-form textarea {
  min-height: 116px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(184, 138, 69, 0.78);
}

.contact-form button {
  justify-self: start;
  min-height: 34px;
  padding: 0 0 5px;
  border-width: 0 0 1px;
  border-style: solid;
  border-color: var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
}

.contact-form button::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  margin-left: 12px;
  background: var(--gold);
  opacity: 0.4;
  transform: scaleX(0.5);
  transform-origin: left;
  transition: opacity 180ms ease, transform 180ms ease;
  vertical-align: middle;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  border-color: rgba(184, 138, 69, 0.76);
  outline: none;
}

.contact-form button:hover::after,
.contact-form button:focus-visible::after {
  opacity: 0.9;
  transform: scaleX(1);
}

.form-wide,
.form-status {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 18px;
  margin: 0;
}

.form-trap {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.youtube-popup {
  width: min(920px, calc(100vw - 40px));
  padding: 0;
  border: 1px solid rgba(243, 238, 227, 0.16);
  border-radius: 8px;
  background: rgba(8, 7, 5, 0.78);
  color: var(--paper);
  backdrop-filter: blur(28px);
}

.youtube-popup::backdrop {
  background: rgba(8, 7, 5, 0.58);
}

.youtube-popup-card {
  padding: clamp(26px, 4vw, 42px);
}

.youtube-popup h2 {
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.04;
}

.youtube-frame {
  width: 100%;
  margin-top: 24px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(243, 238, 227, 0.14);
  border-radius: 8px;
  background: #000;
}

.youtube-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.youtube-popup p:not(.eyebrow) {
  max-width: 460px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.youtube-popup a {
  color: var(--paper);
  border-bottom: 1px solid rgba(184, 138, 69, 0.58);
}

.youtube-popup .popup-dot-link {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  margin: 0 7px;
  border-bottom: 0;
  vertical-align: -4px;
}

.youtube-popup .popup-dot-link::before {
  content: "";
  width: 12px;
  height: 12px;
  border: 1px solid rgba(243, 238, 227, 0.72);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(184, 138, 69, 0.12);
}

.youtube-actions {
  margin-top: 28px;
}

.word-popup {
  width: min(760px, calc(100vw - 40px));
  max-height: min(82vh, 860px);
  padding: 0;
  border: 1px solid rgba(243, 238, 227, 0.16);
  border-radius: 8px;
  background: rgba(8, 7, 5, 0.84);
  color: var(--paper);
  backdrop-filter: blur(30px);
}

.word-popup::backdrop {
  background: rgba(8, 7, 5, 0.62);
}

.word-popup-card {
  padding: clamp(26px, 4vw, 46px);
}

.word-popup h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
}

.word-popup-content {
  max-height: min(48vh, 520px);
  margin-top: 28px;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scrollbar-color: rgba(184, 138, 69, 0.62) rgba(243, 238, 227, 0.1);
  scrollbar-width: thin;
  padding-right: 18px;
  border-right: 1px solid rgba(184, 138, 69, 0.5);
  box-shadow:
    inset -9px 0 0 rgba(243, 238, 227, 0.06),
    inset -4px 0 0 rgba(184, 138, 69, 0.28);
  color: rgba(243, 238, 227, 0.78);
  font-size: 17px;
  font-weight: 350;
  line-height: 1.58;
  white-space: pre-wrap;
}

.word-popup-content::-webkit-scrollbar {
  width: 8px;
}

.word-popup-content::-webkit-scrollbar-track {
  background: rgba(243, 238, 227, 0.1);
}

.word-popup-content::-webkit-scrollbar-thumb {
  background: rgba(184, 138, 69, 0.62);
  border-radius: 999px;
}

.word-actions {
  margin-top: 30px;
}

.lab-map {
  position: fixed;
  right: clamp(22px, 4.8vw, 72px);
  top: 50%;
  z-index: 25;
  width: 377px;
  height: 521px;
  transform: translateY(-50%);
  color: rgba(243, 238, 227, 0.62);
}

.path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.path path {
  fill: none;
  stroke: rgba(243, 238, 227, 0.2);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.map-dot {
  fill: var(--ink);
  stroke: rgba(243, 238, 227, 0.58);
  stroke-width: 1;
  transition: fill 160ms ease, stroke 160ms ease;
}

.map-dot.is-active {
  fill: var(--gold);
  stroke: var(--gold);
}

.map-label,
.map-number {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
}

.map-label {
  fill: rgba(243, 238, 227, 0.68);
}

.map-number {
  fill: var(--gold);
}

.node {
  position: absolute;
  left: calc(var(--x) * 1px);
  top: calc(var(--y) * 1px);
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(243, 238, 227, 0.54);
  text-align: left;
  transform: translate(-50%, -50%);
}

.node-number,
.node-label {
  display: none;
}

.node:hover,
.node:focus-visible,
.node.is-active {
  color: var(--paper);
  outline: none;
}

.status {
  position: fixed;
  left: clamp(22px, 4.8vw, 72px);
  top: 28px;
  z-index: 33;
  display: flex;
  gap: 14px;
  color: var(--quiet);
  opacity: 1;
}

.status span:first-child {
  color: var(--gold);
}

.site-author {
  position: fixed;
  left: clamp(22px, 4.8vw, 72px);
  bottom: 28px;
  z-index: 34;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(243, 238, 227, 0.28);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.site-author span {
  color: rgba(184, 138, 69, 0.44);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 5px;
}

.language-switch button {
  width: 25px;
  height: 18px;
  padding: 0;
  border: 1px solid rgba(221, 185, 112, 0.2);
  border-radius: 2px;
  background: rgba(8, 7, 5, 0.2);
  color: rgba(243, 238, 227, 0.34);
  font: inherit;
  font-size: 9px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.language-switch button[aria-pressed="true"] {
  border-color: rgba(221, 185, 112, 0.44);
  background: rgba(184, 138, 69, 0.1);
  color: rgba(243, 238, 227, 0.76);
}

.language-switch button:hover,
.language-switch button:focus-visible {
  border-color: rgba(221, 185, 112, 0.5);
  color: rgba(243, 238, 227, 0.82);
  outline: none;
}

.site-author a {
  position: relative;
  color: rgba(243, 238, 227, 0.36);
  transition: color 180ms ease;
}

.site-author a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: rgba(184, 138, 69, 0.34);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 180ms ease, background 180ms ease;
}

.site-author a:hover,
.site-author a:focus-visible {
  color: rgba(243, 238, 227, 0.82);
  outline: none;
}

.site-author a:hover::after,
.site-author a:focus-visible::after {
  background: rgba(184, 138, 69, 0.72);
  transform: scaleX(1);
}

.audio-dock {
  --volume: 72%;
  position: fixed;
  right: clamp(22px, 4.8vw, 72px);
  bottom: 28px;
  z-index: 35;
  width: min(390px, calc(100vw - 44px));
  padding: 15px 16px 14px;
  border: 1px solid rgba(243, 238, 227, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 7, 5, 0.72), rgba(8, 7, 5, 0.36)),
    linear-gradient(90deg, rgba(184, 138, 69, 0.12), rgba(243, 238, 227, 0.025));
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(243, 238, 227, 0.08);
  color: rgba(243, 238, 227, 0.8);
  backdrop-filter: blur(24px);
}

.audio-dock::before {
  content: "";
  position: absolute;
  left: 16px;
  top: -1px;
  width: 54px;
  height: 1px;
  background: rgba(184, 138, 69, 0.68);
  opacity: 0.54;
}

.audio-dock-meta {
  min-width: 0;
}

.audio-dock-meta span {
  display: block;
  overflow: hidden;
  color: rgba(184, 138, 69, 0.78);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.audio-dock-meta strong {
  display: block;
  overflow: hidden;
  margin-top: 7px;
  color: rgba(243, 238, 227, 0.88);
  font-size: 15px;
  font-weight: 350;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audio-dock-progress {
  overflow: hidden;
  height: 1px;
  margin-top: 13px;
  background: rgba(243, 238, 227, 0.12);
}

.audio-dock-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(184, 138, 69, 0.35), rgba(184, 138, 69, 0.95));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms linear;
}

.audio-dock-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 13px;
}

.audio-volume {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  min-width: 116px;
}

.audio-volume-mark {
  position: relative;
  width: 13px;
  height: 13px;
  border: 1px solid rgba(243, 238, 227, 0.2);
  border-radius: 50%;
  opacity: 0.72;
}

.audio-volume-mark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(184, 138, 69, 0.8), rgba(184, 138, 69, 0));
  transform: rotate(-28deg);
  transform-origin: left;
}

.audio-volume input {
  width: 86px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
}

.audio-volume input:focus-visible {
  outline: none;
}

.audio-volume input::-webkit-slider-runnable-track {
  height: 1px;
  background: linear-gradient(90deg, rgba(184, 138, 69, 0.86) 0 var(--volume), rgba(243, 238, 227, 0.14) var(--volume) 100%);
}

.audio-volume input::-webkit-slider-thumb {
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border: 1px solid rgba(184, 138, 69, 0.9);
  border-radius: 50%;
  background: rgba(8, 7, 5, 0.95);
  box-shadow: 0 0 0 5px rgba(184, 138, 69, 0.06);
  appearance: none;
}

.audio-volume input::-moz-range-track {
  height: 1px;
  background: linear-gradient(90deg, rgba(184, 138, 69, 0.86) 0 var(--volume), rgba(243, 238, 227, 0.14) var(--volume) 100%);
}

.audio-volume input::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(184, 138, 69, 0.9);
  border-radius: 50%;
  background: rgba(8, 7, 5, 0.95);
  box-shadow: 0 0 0 5px rgba(184, 138, 69, 0.06);
}

.audio-dock-controls {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 0;
}

.audio-dock-controls button {
  display: inline-grid;
  position: relative;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(243, 238, 227, 0.16);
  border-radius: 50%;
  background: rgba(8, 7, 5, 0.18);
  color: rgba(243, 238, 227, 0.74);
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.audio-dock-controls button:hover,
.audio-dock-controls button:focus-visible {
  border-color: rgba(184, 138, 69, 0.8);
  background: rgba(184, 138, 69, 0.16);
  color: var(--paper);
  outline: none;
  transform: translateY(-1px);
}

.audio-dock-controls button:disabled {
  cursor: default;
  opacity: 0.28;
  transform: none;
}

.audio-dock-main {
  border-color: rgba(184, 138, 69, 0.56) !important;
}

.audio-dock.is-playing .audio-dock-main {
  background: rgba(184, 138, 69, 0.22);
  box-shadow: 0 0 0 8px rgba(184, 138, 69, 0.07);
}

.audio-icon {
  display: block;
  position: relative;
  width: 14px;
  height: 14px;
  color: currentColor;
}

.audio-icon-play {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
}

.audio-icon-pause {
  width: 12px;
  height: 14px;
  margin-left: 0;
  border: 0;
}

.audio-icon-pause::before,
.audio-icon-pause::after {
  content: "";
  position: absolute;
  top: 1px;
  width: 3px;
  height: 12px;
  background: currentColor;
}

.audio-icon-pause::before {
  left: 2px;
}

.audio-icon-pause::after {
  right: 2px;
}

.audio-icon-prev::before,
.audio-icon-next::before {
  content: "";
  position: absolute;
  top: 3px;
  width: 8px;
  height: 8px;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.audio-icon-prev::before {
  left: 4px;
  transform: rotate(45deg);
}

.audio-icon-next::before {
  right: 4px;
  transform: rotate(-135deg);
}

.audio-icon-stop::before {
  content: "";
  position: absolute;
  inset: 4px;
  background: currentColor;
}

@media (max-width: 1060px) {
  .social-rail {
    right: 22px;
    top: 28px;
  }

  .photo-presence-layer {
    display: none;
  }

  .lab-map {
    right: 22px;
    width: 377px;
    height: 521px;
    opacity: 1;
    transform: translateY(-50%);
    transform-origin: right center;
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    padding: 44px 20px 20px;
  }

  .brand-signature {
    height: 83px;
    max-width: calc(100vw - 166px);
  }

  .social-rail {
    left: 20px;
    right: auto;
    top: 136px;
    grid-auto-flow: column;
    grid-auto-columns: 32px;
    grid-auto-rows: 32px;
    gap: 5px;
  }

  .social-link {
    width: 32px;
    height: 32px;
    font-size: 9px;
  }

  .social-link::before {
    inset: 5px;
  }

  .social-link::after {
    bottom: 5px;
    width: 8px;
  }

  .map-toggle {
    display: inline-flex;
    align-items: center;
  }

  .room-stage {
    display: block;
    min-height: 100svh;
    padding: 184px 20px 260px;
  }

  .room {
    display: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: none;
  }

  .room.is-active {
    display: block;
    pointer-events: auto;
  }

  .labyrinth.is-ready .room {
    transition: none;
  }

  h1 {
    font-size: 23px;
  }

  h2 {
    font-size: 21px;
  }

  .room > p:not(.eyebrow),
  blockquote {
    font-size: 17px;
  }

  .listening-grid,
  .material-grid,
  .word-fragments {
    grid-template-columns: 1fr;
  }

  .constellation-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
  }

  .constellation {
    display: grid;
    gap: 9px;
    min-height: 0;
  }

  .media-dot {
    position: relative;
    left: auto;
    top: auto;
    display: grid;
    width: 100%;
    min-height: 44px;
    grid-template-columns: 18px 1fr;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    transform: none;
    text-align: left;
  }

  .dot-core {
    position: static;
    transform: none;
  }

  .media-dot:hover .dot-core,
  .media-dot:focus-visible .dot-core,
  .media-dot.is-selected .dot-core,
  .media-dot.is-playing .dot-core {
    transform: scale(1.15);
  }

  .dot-label {
    position: static;
    width: auto;
    padding-left: 0;
    opacity: 1;
    transform: none;
  }

  .media-dot:hover .dot-label,
  .media-dot:focus-visible .dot-label,
  .media-dot.is-selected .dot-label {
    opacity: 1;
    transform: none;
  }

  .dot-panel {
    min-height: 0;
    margin-top: 18px;
    padding-left: 14px;
  }

  .dot-panel.is-idle {
    order: -1;
    margin: 0 0 18px;
  }

  .dot-panel.is-idle strong {
    font-size: 13px;
  }

  .status {
    left: 20px;
    top: 20px;
  }

  .audio-dock {
    right: 16px;
    bottom: 14px;
    left: 16px;
    width: auto;
    padding: 13px 14px 12px;
    background: rgba(8, 7, 5, 0.93);
    box-shadow:
      0 -18px 48px rgba(8, 7, 5, 0.68),
      0 0 0 1px rgba(243, 238, 227, 0.08);
  }

  .audio-dock-meta strong {
    font-size: 14px;
  }

  .audio-dock-footer {
    gap: 12px;
  }

  .audio-volume {
    min-width: 96px;
  }

  .audio-volume input {
    width: 68px;
  }

  .audio-dock-controls {
    justify-content: flex-end;
    gap: 8px;
  }

  .audio-dock-controls button {
    width: 38px;
    height: 38px;
  }

  .site-author {
    position: relative;
    left: auto;
    bottom: auto;
    width: calc(100% - 40px);
    margin: -204px 20px 156px;
  }

  .contact-paths,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .lab-map {
    inset: 182px 18px 156px 18px;
    width: auto;
    height: auto;
    max-height: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 12px 14px;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transform-origin: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 7, 5, 0.76);
    backdrop-filter: blur(24px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
  }

  .lab-map.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .path {
    display: none;
  }

  .node {
    position: relative;
    left: auto;
    top: auto;
    display: flex;
    width: auto;
    height: 42px;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0 8px;
    transform: none;
    border-bottom: 1px solid rgba(243, 238, 227, 0.1);
  }

  .node::before {
    content: "";
    position: static;
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    inset: auto;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: rgba(8, 7, 5, 0.76);
  }

  .node-number,
  .node-label {
    display: block;
  }

  .node-number {
    flex: 0 0 auto;
    color: var(--gold);
    font-size: 12px;
    font-weight: 500;
  }

  .node-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgba(243, 238, 227, 0.5);
    font-size: 13px;
    font-weight: 350;
    opacity: 0.8;
  }

  .node:hover .node-label,
  .node:focus-visible .node-label,
  .node.is-active .node-label {
    color: var(--paper);
    opacity: 1;
  }

  .status {
    left: 20px;
    right: auto;
    top: 20px;
    bottom: auto;
    justify-content: flex-start;
  }
}

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

  .smoke {
    display: none;
  }
}
