:root {
  --bg: #eaf3ee;
  --ink: #203e34;
  --muted: #657b70;
  --line: #ccdcd1;
  --paper: #fbfcf6;
  --gold: #b28444;
  --teal: #427b70;
  --control-accent: #203e34;
  --control-accent-hover: #345747;
  --header-control-height: 38px;
  font-family: var(--font-site);
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100svh;
  background-color: var(--bg);
  background-image: url("./assets/page-grain.svg"),
    radial-gradient(ellipse at 50% 0%, #f4f7ed, transparent 70%);
  background-size: 180px 180px, 100% 100%;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: -70px;
  left: 20px;
  z-index: 50;
  padding: 12px 20px;
  border-radius: 6px;
  background: var(--ink);
  color: white;
}
.skip-link:focus {
  top: 12px;
}
.site-shell {
  max-width: 1920px;
  margin: auto;
  padding: 0 clamp(20px, 3.4vw, 66px);
  overflow-x: clip;
}
.site-header {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.wordmark {
  font-size: 26px;
  font-weight: bold;
  letter-spacing: -1.8px;
}
.wordmark span {
  color: var(--gold);
}
.header-note {
  font-size: 11px;
  letter-spacing: 0.35px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 9px;
}
.tiny-star {
  font-size: 19px;
  color: var(--gold);
}
.hello-link {
  background: var(--control-accent);
  color: #fff;
  min-height: var(--header-control-height);
  padding: 0 16px;
  border-radius: 7px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.hello-link:hover {
  background: var(--control-accent-hover);
}
.hello-link > span {
  font-size: 19px;
}
.introduction {
  text-align: center;
  padding: 6px 0 20px;
}
.eyebrow {
  font-size: clamp(13px, 1vw, 17px);
  letter-spacing: 0.14em;
  font-weight: 650;
  margin: 0 0 21px;
  line-height: 1.6;
}
.introduction h1 {
  font-size: clamp(48px, 5.15vw, 86px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -4px;
  margin: 0 0 12px;
}
.introduction .name-wordmark {
  --name-size: clamp(48px, 5.15vw, 86px);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.12em;
  font-size: var(--name-size);
  line-height: 1.12;
  letter-spacing: 0;
  overflow: visible;
}
.name-wordmark-lettering {
  display: block;
  flex: 0 0 auto;
  width: min(calc(100% - 8px), 8.4em);
  max-width: 100%;
  aspect-ratio: 904 / 156;
  mix-blend-mode: darken;
}
.name-wordmark-lettering img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(1.06);
}
@media (max-width: 700px) {
  .introduction .name-wordmark { --name-size: 57px; }
}
@media (max-width: 420px) {
  .introduction .name-wordmark { --name-size: 44px; }
}
.linkedin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 7px;
}
.linkedin-link:hover { background: var(--paper); }
.linkedin-link:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.linkedin-link .linkedin-logo { width: var(--header-control-height); height: var(--header-control-height); fill: #0a66c2; stroke: none; }
.world-section {
  position: relative;
}
.world-container {
  position: relative;
  width: 100%;
  height: clamp(620px, 74svh, 980px);
  min-height: 560px;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #cbded1;
  border-radius: 24px;
  background: radial-gradient(ellipse at 50% 30%, #edf5ed, #d8eae2);
  box-shadow: 0 12px 50px -32px #234d4040;
}
#world-canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
  touch-action: none;
  cursor: grab;
}
#world-canvas:active {
  cursor: grabbing;
}
.first-person-crosshair {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #ffffffe0;
  box-shadow:
    0 0 0 1px #203e3460,
    0 1px 4px #173b3260;
  pointer-events: none;
  z-index: 4;
}
body[data-camera="first-person"] .first-person-crosshair {
  display: block;
}
body[data-camera="first-person"] .camera-caption,
body[data-camera="first-person"] .control-hint {
  display: none;
}
body[data-camera="first-person"] .world-controls {
  justify-content: flex-end;
}
.camera-caption {
  position: absolute;
  top: 24px;
  left: 26px;
  max-width: calc(100% - 185px);
  margin: 0;
  padding: 9px 13px;
  border: 1px solid #effaf04d;
  border-radius: 10px;
  color: #f7faf2;
  background: #193c31f2;
  font-size: 20px;
  line-height: 1.5;
  font-style: italic;
  text-shadow: 0 1px 2px #0005;
  box-shadow: 0 3px 12px #10271d26;
  pointer-events: none;
  z-index: 4;
}
.character-caption {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  gap: 4px;
  width: min(520px, calc(100% - 190px));
  margin: 0;
  padding: 12px 17px;
  border: 1px solid #d9c89a80;
  border-radius: 12px;
  background: #173d32f2;
  color: #fffdec;
  box-shadow: 0 4px 24px #10271d33;
  font-size: 14px;
  line-height: 1.55;
  pointer-events: none;
  z-index: 14;
}
.character-caption[hidden] { display: none; }
.character-caption-speaker { color: #dfcda7; font-size: 11px; font-weight: 600; }
.sound-settings .sound-caption-option { display: flex; justify-content: flex-start; gap: 9px; }
.sound-settings .sound-caption-option input { width: 16px; height: 16px; min-height: 16px; flex-shrink: 0; accent-color: #d9c89a; }
body.world-expanded .character-caption, .world-section:fullscreen .character-caption {
  bottom: calc(var(--world-dock-height, 60px) + 28px + env(safe-area-inset-bottom));
}
@media (max-width: 600px) {
  .character-caption { bottom: 215px; width: calc(100% - 28px); padding: 10px 13px; font-size: 12px; }
  body.world-expanded .character-caption, .world-section:fullscreen .character-caption {
    bottom: calc(var(--world-dock-height, 110px) + 213px + env(safe-area-inset-bottom));
  }
}
.landmark-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}
.landmark {
  position: absolute;
  left: -1000px;
  top: -1000px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 37px;
  padding: 8px 11px;
  border: 1px solid #fff9;
  border-radius: 7px;
  background: #fbfcf5ed;
  backdrop-filter: blur(7px);
  box-shadow: 0 3px 13px #23483822;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  transform: translate(-50%, -100%);
  pointer-events: auto;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
.landmark:hover,
.landmark:focus-visible {
  background: #fff;
  box-shadow: 0 4px 20px #23483840;
  z-index: 5;
}
.landmark[data-place="orendessa"] {
  z-index: 6;
}
.landmark[data-place="orendessa"]:hover,
.landmark[data-place="orendessa"]:focus-visible {
  z-index: 7;
}
.landmark-plus {
  color: #6d8877;
  font-size: 16px;
  font-weight: 400;
  margin-left: 2px;
}
.landmark-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.education-dot {
  background: #d47e43;
}
.northrop-dot {
  background: #79909f;
}
.cia-dot {
  background: #697c69;
}
.universal-dot {
  background: #497eab;
}
.character-label {
  position: absolute;
  left: -1000px;
  top: -1000px;
  z-index: 4;
  pointer-events: none;
  transform: translate(-50%, -100%);
  background: #234c3e;
  color: #ffffed;
  font-size: 10px;
  font-weight: 550;
  border-radius: 20px;
  padding: 5px 9px;
  box-shadow: 0 2px 8px #193c3428;
  border: 1px solid #ffffff80;
}
.places-menu {
  position: absolute;
  right: 22px;
  top: 22px;
  z-index: 21;
}
.places-toggle,
.places-list > button {
  touch-action: manipulation;
}
.places-toggle {
  height: 39px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 7px;
  background: #fbfcf3ed;
  box-shadow: 0 2px 10px #203e3312;
  border: 1px solid #ffffffe6;
  padding: 0 13px;
  font-size: 12px;
  transition: box-shadow .08s ease-out, transform .06s ease-out;
}
.places-toggle:hover,
.places-toggle:focus-visible,
.places-toggle[aria-expanded="true"] {
  background: white;
  box-shadow: 0 3px 14px #203e3326;
}
.places-toggle:active {
  transform: translateY(1px);
  transition: none;
}
.places-toggle svg {
  width: 16px;
  height: 16px;
}
.chevron {
  display: block;
  margin-left: 4px;
  transform-origin: center;
  transition: transform .1s ease-out;
}
.places-toggle:hover .chevron,
.places-toggle:focus-visible .chevron { transform: translateY(2px); }
.places-toggle[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}
.places-toggle[aria-expanded="true"]:hover .chevron,
.places-toggle[aria-expanded="true"]:focus-visible .chevron {
  transform: translateY(-2px) rotate(180deg);
}
.places-list {
  position: absolute;
  top: 48px;
  right: 0;
  width: 224px;
  max-width: calc(100vw - 52px);
  border: 1px solid #fff;
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 10px 40px #173b3225;
  padding: 8px;
}
.places-list > p {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 2px 10px;
  margin: 8px 0 9px;
}
.places-list > button {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 8px;
  background: transparent;
  border-radius: 5px;
  width: 100%;
  text-align: left;
  min-height: 48px;
  padding: 10px 8px;
  font-size: 12px;
  line-height: 1.35;
}
.places-list .place-arrow {
  width: 16px;
  height: 16px;
  display: block;
  justify-self: center;
  align-self: center;
  color: var(--teal);
  stroke-width: 1.8;
  transition: transform .09s ease-out;
}
.places-list > button:hover,
.places-list > button:focus-visible {
  background: #e9f0e5;
}
.places-list > button:hover .place-arrow,
.places-list > button:focus-visible .place-arrow {
  color: var(--ink);
  transform: translateX(3px);
}
.places-list > button:active { background: #d9e6d7; }
.places-list > button:active .place-arrow {
  transform: translateX(5px) scale(.92);
  transition: none;
}
.world-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.world-loading {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #f4f4e8;
  padding: 28px;
  overflow: hidden;
  color: #294d3b;
  isolation: isolate;
  opacity: 1;
  transition: opacity .35s cubic-bezier(.4, 0, .2, 1);
}
.world-loading[data-revealing="true"] {
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}
.loading-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  contain: layout paint;
  transform: translateZ(0);
}
.loading-status-panel {
  width: min(100%, 280px);
  padding: 15px 22px 17px;
  border-radius: 18px;
  background: #f6f8ef;
  box-shadow: 0 3px 18px rgba(25, 57, 64, .12);
  transition: opacity .35s ease;
}
.loading-message {
  margin: 0 0 13px;
  font-size: clamp(18px, 2.1vw, 27px);
  font-weight: 400;
  line-height: 1.5;
}
.world-loading[data-revealing="true"] .loading-status-panel {
  opacity: 0;
}
.loading-progress {
  display: block;
  width: 100%;
  height: 5px;
  appearance: none;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  background: #d6dfcc;
  color: #476b49;
  accent-color: #476b49;
}
.loading-progress::-webkit-progress-bar { background: #d6dfcc; border-radius: 999px; }
.loading-progress::-webkit-progress-value { background: #476b49; border-radius: 999px; }
.loading-progress::-moz-progress-bar { background: #476b49; border-radius: 999px; }
.loading-progress-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  font-size: 11px;
  line-height: 1.5;
  text-align: left;
}
#loading-percent { font-variant-numeric: tabular-nums; }
.loading-dots {
  display: inline-flex;
  gap: .08em;
  margin-left: .06em;
}
.loading-dots > span {
  opacity: .3;
  animation: loading-dot 1.2s ease-in-out infinite;
}
.loading-dots > span:nth-child(2) { animation-delay: .16s; }
.loading-dots > span:nth-child(3) { animation-delay: .32s; }
@keyframes loading-dot {
  0%, 70%, 100% { opacity: .3; }
  30% { opacity: 1; }
}
.world-fallback {
  position: absolute;
  inset: 0;
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 40px;
  text-align: center;
}
.fallback-mark {
  font-size: 45px;
  color: var(--gold);
  margin-bottom: 12px;
}
.world-fallback h2 {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -1px;
  margin: 0 0 13px;
}
.world-fallback > p {
  max-width: 420px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 24px;
}
.fallback-places {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 520px;
}
.fallback-places button {
  padding: 11px 14px;
  border: 1px solid #cfdbca;
  border-radius: 7px;
  background: var(--paper);
  font-size: 12px;
}
.world-controls {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 5px;
  outline: none;
}
.control-hint {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  line-height: 1.7;
  max-width: 280px;
  color: var(--muted);
  margin: 0;
}
.control-hint svg {
  width: 16px;
  height: 16px;
  color: #6d8977;
}
.control-hint i {
  font-style: normal;
  margin: 0 8px;
  color: #93a595;
}
.world-control-scroll {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  padding: 4px;
  margin: -4px;
}
.control-buttons {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: none;
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: max-content;
  margin-inline: auto;
}
.control-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  height: 44px;
  flex: none;
  border-radius: 6px;
  background: transparent;
  font-size: 12px;
  padding: 0 10px;
  color: #355747;
}
.control-button:hover {
  background: #dfe9dd;
}
.control-button svg {
  width: 17px;
  height: 17px;
  flex: none;
}
.control-button[aria-pressed="true"] {
  color: #fff;
  background: var(--control-accent);
}
.sound-controls { position: relative; display: flex; flex: none; align-items: center; gap: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.compact-control-labels #sound-toggle,
.compact-control-labels #fullscreen-toggle,
.compact-mode-labels .camera-mode,
.compact-mode-labels .lighting-mode { width: 44px; padding: 0; gap: 0; }
.compact-control-labels #sound-toggle > span,
.compact-control-labels #fullscreen-toggle > span,
.compact-mode-labels .camera-mode > span,
.compact-mode-labels .lighting-mode > span {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.sound-settings { position: absolute; right: 0; bottom: calc(100% + 12px); z-index: 30; display: grid; gap: 14px; width: 260px; max-width: calc(100vw - 32px); padding: 18px; border: 1px solid #b9cfc1; border-radius: 12px; background: #173d32f7; color: #f6faee; box-shadow: 0 8px 30px #173b3233; }
.world-controls > .sound-settings { right: auto; bottom: auto; transform: none; max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
.sound-settings[hidden] { display: none; }
.sound-settings p { margin: 0; font-size: 14px; font-weight: 600; }
.sound-settings label { display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 10px; font-size: 12px; }
.sound-settings input { width: 100%; min-height: 28px; accent-color: #dfeab4; }
.sound-settings > span { font-size: 11px; line-height: 1.6; color: #d6e6d9; }
.sound-controls button:focus-visible, .sound-settings input:focus-visible { outline: 2px solid #b6b850; outline-offset: 3px; }
.camera-modes,
.lighting-modes {
  display: flex;
  flex: none;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid #c3d3c6;
  border-radius: 10px;
  background: #f9fbf5e6;
}
.camera-mode {
  padding: 0 12px;
  white-space: nowrap;
  gap: 7px;
}
.lighting-modes {
  margin-left: 4px;
}
.lighting-mode {
  white-space: nowrap;
  padding: 0 10px;
  gap: 6px;
}
.camera-mode[aria-pressed="true"],
.lighting-mode[aria-pressed="true"] {
  background: var(--control-accent);
  color: #fff;
  box-shadow: 0 2px 5px #203e3420;
}
.control-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.control-divider {
  flex: none;
  width: 1px;
  height: 18px;
  background: var(--line);
  margin: 0 6px;
}
.icon-control {
  padding: 0;
  flex-shrink: 0;
}
.help-toggle > svg {
  display: block;
  width: 19px;
  height: 19px;
  flex: none;
}
.help-toggle {
  margin-left: auto;
}
.play-icon {
  display: none;
}
.motion-paused .pause-icon {
  display: none;
}
.motion-paused .play-icon {
  display: block;
}
.world-help {
  position: fixed;
  left: var(--help-left, 16px);
  top: var(--help-top, 16px);
  width: 355px;
  max-width: calc(100vw - 32px);
  max-height: min(620px, calc(100dvh - 32px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 10px 40px #173b3225;
  z-index: 40;
  font-size: 13px;
  line-height: 1.6;
}
.world-help-heading {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 16px 16px 12px 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  z-index: 1;
}
.world-help-content {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 9px 10px 0;
  padding: 16px 11px 8px 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--teal) transparent;
}
.world-help-content:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: -3px;
  border-radius: 6px;
}
@supports selector(::-webkit-scrollbar) {
  .world-help-content { scrollbar-width: auto; scrollbar-color: auto; }
  .world-help-content::-webkit-scrollbar { width: 5px; }
  .world-help-content::-webkit-scrollbar-track { background: transparent; margin-block: 4px; }
  .world-help-content::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 999px; }
  .world-help-content::-webkit-scrollbar-thumb:hover { background: var(--control-accent); }
  .world-help-content::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
}
.world-help h2 {
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.7px;
  margin: 0;
}
.help-close { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 6px; background: transparent; }
.help-close:hover { background: #e9f0e5; }
.world-help p {
  margin: 0 0 12px;
  color: #59715f;
}
.world-help p strong {
  font-weight: 600;
  color: var(--ink);
}
.world-help .help-aside {
  font-style: italic;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  margin: 17px 0 0;
  font-size: 14px;
}
.walk-controls {
  position: absolute;
  right: 23px;
  bottom: 21px;
  display: grid;
  grid-template-columns: 44px 44px 44px;
  grid-template-rows: 44px 44px;
  gap: 4px;
  z-index: 11;
}
.walk-controls button {
  display: grid;
  place-items: center;
  background: #f9fcf1ed;
  border: 1px solid #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px #203e3318;
  touch-action: none;
  user-select: none;
}
.walk-controls button:active,
.walk-controls button.is-active {
  background: #d4e5d2;
}
.walk-controls svg {
  width: 18px;
  height: 18px;
}
.walk-forward {
  grid-column: 2;
  grid-row: 1;
}
.walk-controls .jump-button {
  grid-column: 3;
  grid-row: 1;
  padding: 4px 3px;
  gap: 0;
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  color: #496353;
}
.walk-controls .jump-button svg {
  width: 16px;
  height: 16px;
}
.walk-left {
  grid-column: 1;
  grid-row: 2;
}
.walk-backward {
  grid-column: 2;
  grid-row: 2;
}
.walk-right {
  grid-column: 3;
  grid-row: 2;
}
.site-footer {
  padding: 18px 5px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #708274;
  font-size: 10px;
  letter-spacing: 0.1px;
}
.footer-signoff {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-signoff > span {
  font-size: 17px;
  color: #9a956e;
}
.place-dialog {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #ffffff;
  border-radius: 18px;
  padding: 27px 31px 0;
  width: min(460px, calc(100% - 32px));
  max-height: calc(100svh - 48px);
  box-shadow: 0 25px 100px #183a3738;
  margin: auto;
  overflow: auto;
}
#place-dialog {
  width: min(520px, calc(100% - 32px));
}
.place-dialog::backdrop {
  background: #1d3e3a3d;
}
.dialog-topline {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: -12px -16px 8px 0;
}
.close-dialog {
  display: grid;
  place-items: center;
  background: transparent;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}
.close-dialog:hover {
  color: var(--teal);
}
.close-dialog svg {
  width: 16px;
  height: 16px;
}
.place-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
  gap: 18px;
  margin-bottom: 25px;
}
.place-emblem {
  --place-logo-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  max-width: 100%;
  height: calc(var(--place-logo-height) + 4px);
  margin: 0;
  overflow: hidden;
}
.place-logo {
  display: block;
  flex-shrink: 0;
  width: auto;
  height: var(--place-logo-height);
  max-width: none;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}
/* Crop transparent source margins inside the shared logo row. */
.place-dialog[data-place="orendessa"] .place-logo {
  /* The 24px canvas has ink from y=4.65 to 17.05, centered at y=10.85. */
  height: calc(var(--place-logo-height) * 24 / 12.4);
  transform: translateY(4.791667%);
}
.place-dialog[data-place="northrop"] .place-logo,
.landmark-logo.northrop-logo {
  filter: brightness(0);
}
.landmark-logo.universal-logo {
  width: 46px;
}
.place-dialog h2 {
  font-size: 38px;
  line-height: 1.07;
  font-weight: 400;
  letter-spacing: -1.6px;
  margin: 0 0 12px;
}
.place-heading h2 {
  font-size: 32px;
  letter-spacing: -1.1px;
  max-width: 100%;
  text-wrap: balance;
  margin: 0;
}
.place-details {
  font-size: 14px;
  line-height: 1.8;
  color: #5e7263;
  text-align: left;
  overflow-wrap: break-word;
  margin-bottom: 25px;
}
.place-details p {
  margin: 0 0 16px;
}
.dialog-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 0 21px;
  gap: 16px;
}
.visit-place {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  text-align: center;
  background: var(--ink);
  color: #f7f9ec;
  padding: 12px 17px;
  border-radius: 6px;
  font-size: 12px;
}
.visit-place:hover {
  background: #345747;
}
.visit-place:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.noscript-message {
  position: relative;
  padding: 24px;
  background: var(--paper);
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
}
.noscript-message a {
  text-decoration: underline;
}
@keyframes turn-world {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1600px) {
  .introduction {
    padding: 6px 0 24px;
  }
  .world-container {
    height: clamp(720px, 76svh, 1120px);
  }
}
@media (max-width: 1500px) {
  .world-controls {
    flex-direction: column-reverse;
    gap: 11px;
  }
  .control-hint {
    max-width: none;
    text-align: center;
  }
  .world-control-scroll { width: 100%; }
}
@media (max-width: 1000px) {
  .site-header {
    height: 48px;
  }
  .introduction {
    padding: 6px 0 20px;
  }
  .introduction h1 {
    font-size: 62px;
    letter-spacing: -3px;
  }
  .world-container {
    height: clamp(620px, 74svh, 920px);
  }
  .places-menu {
    right: 19px;
    top: 20px;
  }
  .landmark {
    font-size: 10px;
    gap: 6px;
    padding: 8px;
  }
  .landmark-plus {
    font-size: 13px;
  }
  .control-hint {
    font-size: 10px;
  }
  .world-controls {
    flex-direction: column-reverse;
    gap: 11px;
  }
  .control-hint {
    max-width: none;
  }
}
@media (max-width: 700px) {
  .site-shell {
    padding: 0 17px;
  }
  .site-header {
    height: 48px;
    gap: 12px;
  }
  .wordmark {
    font-size: 24px;
  }
  .header-note {
    display: none;
  }
  .hello-link {
    font-size: 11px;
  }
  .introduction {
    padding: 9px 0 20px;
  }
  .introduction .eyebrow {
    font-size: 11px;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
  }
  .introduction h1 {
    font-size: clamp(39px, 9vw, 62px);
    letter-spacing: -2.5px;
    line-height: 1.07;
    margin-bottom: 11px;
    white-space: nowrap;
  }
  .world-container {
    width: calc(100% + 14px);
    margin-left: -7px;
    border-radius: 18px;
    min-height: 560px;
    height: 76svh;
    max-height: 840px;
  }
  .camera-caption {
    top: 17px;
    left: 16px;
    max-width: calc(100% - 133px);
    font-size: 15px;
    line-height: 1.4;
  }
  .places-menu {
    top: 16px;
    right: 13px;
  }
  .places-toggle {
    font-size: 11px;
    gap: 7px;
    height: 35px;
    padding: 0 10px;
  }
  .places-toggle svg {
    width: 14px;
    height: 14px;
  }
  .places-toggle .chevron {
    margin-left: 0;
  }
  .places-list {
    top: 43px;
    width: 212px;
  }
  .places-list > button {
    grid-template-columns: 24px minmax(0, 1fr) 20px;
  }
  .landmark {
    min-height: 33px;
    font-size: 9px;
    padding: 7px 8px;
    gap: 5px;
    max-width: 160px;
    border-radius: 5px;
  }
  .landmark-dot {
    width: 5px;
    height: 5px;
  }
  .landmark-plus {
    display: none;
  }
  .walk-controls {
    right: 14px;
    bottom: 17px;
    grid-template-columns: 44px 44px 44px;
    grid-template-rows: 44px 44px;
    gap: 4px;
  }
  .walk-controls button {
    border-radius: 7px;
  }
  .walk-controls svg {
    width: 16px;
    height: 16px;
  }
  .world-controls {
    padding: 15px 0;
    flex-direction: column-reverse;
    gap: 13px;
  }
  .world-control-scroll {
    overflow: visible;
    padding: 0;
    margin: 0;
  }
  .control-buttons {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
  }
  .control-button {
    height: 44px;
    min-width: 44px;
  }
  .lighting-modes {
    margin-left: 0;
  }
  .camera-modes,
  .lighting-modes {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .camera-mode,
  .lighting-mode { flex: 1 0 auto; }
  .help-toggle { margin-left: 0; }
  .camera-mode {
    padding: 0 8px;
    font-size: 11px;
    gap: 6px;
  }
  .control-divider {
    display: none;
  }
  .control-hint {
    font-size: 10px;
    text-align: center;
    max-width: 360px;
  }
  .control-hint svg {
    width: 14px;
    height: 14px;
  }
  .control-hint i {
    display: none;
  }
  .world-help {
    font-size: 12px;
  }
  .world-help h2 {
    font-size: 24px;
  }
  .site-footer {
    padding: 11px 0 24px;
    flex-direction: column;
    gap: 11px;
    font-size: 9px;
  }
  .footer-signoff {
    font-size: 10px;
  }
  .footer-signoff > span {
    font-size: 15px;
  }
  .place-dialog {
    padding: 23px 24px 0;
    border-radius: 15px;
    max-height: calc(100svh - 28px);
  }
  .place-dialog h2 {
    font-size: 35px;
  }
  .place-heading {
    gap: 15px;
    margin-bottom: 23px;
  }
  .place-emblem {
    --place-logo-height: 64px;
    width: 144px;
  }
  .place-heading h2 {
    font-size: 27px;
    letter-spacing: -0.8px;
  }
  .place-details {
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 23px;
  }
  .dialog-bottom {
    padding: 17px 0 19px;
  }
  .world-fallback {
    padding: 25px;
  }
  .world-fallback h2 {
    font-size: 29px;
  }
  .world-fallback > p {
    font-size: 12px;
  }
  .fallback-places {
    gap: 7px;
  }
  .fallback-places button {
    font-size: 11px;
    padding: 11px 12px;
  }
  .world-loading { padding: 22px; }
  .loading-video {
    width: 160%;
    height: auto;
    aspect-ratio: 16 / 9;
    top: 50%;
    bottom: auto;
    left: -30%;
    right: auto;
    transform: translateY(-50%);
    object-fit: contain;
    mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 94%, transparent);
  }

}
@media (max-width: 370px) {
  .site-shell {
    padding: 0 14px;
  }
  .introduction h1 {
    font-size: 36px;
    letter-spacing: -2.4px;
  }
  .introduction .eyebrow {
    font-size: 11px;
    letter-spacing: 0.08em;
  }
  .world-container {
    width: calc(100% + 14px);
    height: 560px;
    min-height: 560px;
  }
  .control-buttons {
    gap: 3px;
  }
  .control-divider {
    margin: 0 3px;
  }
  .control-button {
    min-width: 44px;
  }
  .camera-mode {
    padding: 0 5px;
    gap: 5px;
    font-size: 10px;
  }
  .camera-mode svg {
    width: 15px;
    height: 15px;
  }
  .control-hint {
    font-size: 9px;
  }
  .landmark {
    font-size: 8px;
    max-width: 145px;
  }
  .landmark-dot {
    display: none;
  }
}
@media (max-height: 700px) and (min-width: 701px) {
  .site-header {
    height: 46px;
  }
  .introduction {
    padding: 4px 0 16px;
  }
  .introduction h1 {
    font-size: 57px;
  }
  .introduction .eyebrow {
    margin-bottom: 16px;
  }
  .world-container {
    height: 620px;
  }
  .world-controls {
    padding: 13px 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .loading-dots > span { opacity: 1; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* A full-browser fallback also works where the native Fullscreen API is blocked. */
body.world-expanded { overflow: hidden; }
body.world-expanded .world-section, .world-section:fullscreen {
  position: fixed; inset: 0; z-index: 100; width: 100%; height: 100dvh;
  margin: 0; background: var(--bg);
}
body.world-expanded .world-container, .world-section:fullscreen .world-container {
  width: 100%; height: 100%; min-height: 0; max-height: none; margin: 0;
  border: 0; border-radius: 0; box-shadow: none;
}
body.world-expanded .world-controls, .world-section:fullscreen .world-controls {
  position: absolute; bottom: max(7px, env(safe-area-inset-bottom)); left: 50%;
  transform: translateX(-50%); z-index: 10; padding: 5px;
  width: min(1120px, calc(100% - 20px)); border: 1px solid #c3d3c6;
  border-radius: 11px; background: #f9fbf5f2; box-shadow: 0 5px 24px #203e3420;
  backdrop-filter: blur(12px);
}
body.world-expanded .control-hint, .world-section:fullscreen .control-hint { display: none; }
body.world-expanded .control-buttons { flex-shrink: 1; }
body.world-expanded .control-button { height: 44px; }
body.world-expanded .camera-modes, body.world-expanded .lighting-modes { padding: 3px; }
body.world-expanded .walk-controls { bottom: calc(var(--world-dock-height, 60px) + 18px + env(safe-area-inset-bottom)); }
.contact-dialog { max-width: 540px; padding-bottom: 28px; }
.contact-dialog h2 { margin-top: 8px; }
.contact-dialog[open][data-contact-state="sent"] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: min(420px, calc(100svh - 48px));
  overflow: hidden;
  background: #fff;
}
.contact-dialog[data-contact-state="sent"] > #contact-title,
.contact-dialog[data-contact-state="sent"] > #contact-form { display: none; }
.contact-success {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 0;
  gap: 20px;
  padding-bottom: 12px;
  text-align: center;
}
.contact-success:focus { outline: none; }
.contact-success-mark {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--control-accent);
  color: #fff;
  box-shadow: 0 12px 30px #203e341a;
  animation: contact-success-pop 450ms cubic-bezier(.2, .75, .25, 1.15) both;
}
.contact-success-mark svg { width: 64px; height: 64px; }
.contact-success-mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  animation: contact-success-check 400ms ease 160ms both;
}
.contact-success h2 { margin: 0; color: var(--control-accent); font-size: 32px; line-height: 1.15; }
@keyframes contact-success-pop {
  from { opacity: 0; transform: scale(.72); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes contact-success-check {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-success-mark, .contact-success-mark path { animation: none; }
}
#contact-form { display: grid; gap: 17px; margin-top: 24px; }
#contact-form label { display: grid; gap: 7px; font-size: 12px; font-weight: 600; }
#contact-form input, #contact-form textarea {
  width: 100%; border: 1px solid #b7c9be; border-radius: 8px; padding: 12px;
  background: #fffefa; color: var(--ink); font: 14px/1.5 var(--font-site);
}
#contact-form textarea { resize: vertical; min-height: 125px; max-height: 320px; }
#contact-form input:focus-visible, #contact-form textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
#contact-form .contact-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-privacy { color: var(--muted); font-size: 11px; line-height: 1.5; margin: 0; }
#contact-result { margin: 0; font-size: 13px; line-height: 1.6; }
#contact-result:empty { display: none; }
#contact-result[data-state="error"] { color: #98432d; }
#contact-result[data-state="success"] { color: #24603f; }
#send-contact { justify-self: stretch; }
#send-contact:disabled { opacity: .6; cursor: wait; }
.site-shell { padding-bottom: 28px; }
@media (max-width: 700px) {
  .site-header { height: 58px; }
  body.world-expanded .control-button { min-width: 44px; height: 44px; padding: 0 7px; font-size: 11px; }
  body.world-expanded .camera-modes, body.world-expanded .lighting-modes { padding: 2px; }
  body.world-expanded .world-controls { max-width: calc(100% - 16px); }
  body.world-expanded .walk-controls { bottom: calc(var(--world-dock-height, 110px) + 15px + env(safe-area-inset-bottom)); }
}

/* Authentic place emblems remain legible at every label size. */
.landmark-logo { width: 30px; height: 30px; object-fit: contain; object-position: center; flex: 0 0 auto; }
.places-list .landmark-logo { width: 28px; height: 28px; justify-self: center; }
.ride-button { position: absolute; right: 24px; bottom: 176px; z-index: 14; display: flex; align-items: center; gap: 10px; min-height: 44px; max-width: 235px; padding: 10px 14px; border-radius: 9px; border: 1px solid #ffffffcc; background: #234c3ef2; color: #fffdec; box-shadow: 0 3px 18px #173b3233; font-size: 12px; }
.ride-button[hidden] { display: none; }
.ride-button kbd { border: 1px solid #ffffff77; padding: 2px 5px; border-radius: 4px; font: inherit; }
.ride-button:hover { background: #356653; }
.ride-speed { position: absolute; left: 24px; bottom: 24px; z-index: 14; display: grid; gap: 3px; min-width: 112px; padding: 11px 15px; border: 1px solid #d9c89a99; border-radius: 12px; background: #173e34ed; color: #fffdec; box-shadow: 0 3px 18px #173b3233; pointer-events: none; }
.ride-speed[hidden], .ride-speed-hint[hidden], .ride-speed-gauge[hidden] { display: none; }
.ride-speed-label { font-size: 10px; font-weight: 600; letter-spacing: .06em; }
.ride-speed-reading { display: flex; align-items: baseline; gap: 6px; font-size: 10px; color: #d6e8da; }
.ride-speed-value { font-size: 27px; line-height: 1.1; font-weight: 600; font-variant-numeric: tabular-nums; color: #fffdec; }
.ride-speed-hint { font-size: 10px; color: #e5d5ac; }
.ride-speed[data-boosting="true"] { border-color: #8ee6d4; background: #164e44f2; }
.ride-speed[data-vehicle="kart"], .ride-speed[data-vehicle="jetski"] { width: 154px; align-items: center; text-align: center; background: linear-gradient(155deg, #244e42f5, #102e29f5); border-color: #d9be7980; border-radius: 16px; box-shadow: 0 6px 24px #102e2940, inset 0 1px #fffdec16; }
.ride-speed-gauge { display: block; width: 124px; height: auto; margin: 0 auto; overflow: visible; }
.ride-speed-track { fill: none; stroke: #fffdec16; stroke-width: 5; stroke-linecap: round; }
.ride-speed-arc { fill: none; stroke: url(#ride-gauge-glow); stroke-width: 3; stroke-linecap: round; }
.ride-speed-ticks { fill: none; stroke: #d5d8bf; stroke-width: 1.1; opacity: .8; }
.ride-speed-gauge text { fill: #f5f2de; stroke: none; font-size: 12px; font-family: inherit; font-weight: 400; font-variant-numeric: tabular-nums; letter-spacing: .35px; text-anchor: middle; }
.ride-speed-needle { fill: #f0d596; filter: drop-shadow(0 0 2px #e9ca7966); }
.ride-speed-hub { fill: #294c41; stroke: #e2c887; stroke-width: 1.2; }
.ride-speed-hub-center { fill: #fffdec; }
.ride-speed[data-vehicle="kart"] .ride-speed-reading, .ride-speed[data-vehicle="jetski"] .ride-speed-reading { justify-content: center; }
body.world-expanded .ride-speed, .world-section:fullscreen .ride-speed { bottom: calc(var(--world-dock-height, 60px) + 18px + env(safe-area-inset-bottom)); }
body.world-expanded .ride-button, .world-section:fullscreen .ride-button { bottom: calc(var(--world-dock-height, 60px) + 122px + env(safe-area-inset-bottom)); }
@media (max-width: 600px) { .ride-speed { left: 12px; bottom: 14px; min-width: 92px; padding: 9px 11px; } .ride-speed-value { font-size: 24px; } body.world-expanded .ride-speed, .world-section:fullscreen .ride-speed { bottom: calc(var(--world-dock-height, 110px) + 15px + env(safe-area-inset-bottom)); } body.world-expanded .ride-button, .world-section:fullscreen .ride-button { bottom: calc(var(--world-dock-height, 110px) + 119px + env(safe-area-inset-bottom)); } }
@media (max-width: 600px) { .ride-speed[data-vehicle="kart"], .ride-speed[data-vehicle="jetski"] { width: 128px; } .ride-speed-gauge { width: 104px; } .ride-speed-gauge text { font-size: 13px; } }
@media (max-width: 600px) { .landmark-logo, .places-list .landmark-logo { width: 24px; height: 24px; } .ride-button { right: 12px; bottom: 157px; max-width: 190px; font-size: 11px; } }
.landmark-labels[data-compact="true"] .landmark {
  width: 44px;
  min-height: 38px;
  height: 38px;
  padding: 4px;
  justify-content: center;
  gap: 0;
}
.landmark-labels[data-compact="true"] .landmark > span { display: none; }
.landmark-labels[data-compact="true"] .landmark .landmark-logo { width: 30px; height: 30px; }

/* Places can be read while the world prepares. */
#place-dialog .dialog-bottom { gap: 0; }
.visit-place-status { color: var(--muted); font-size: 12px; text-align: center; line-height: 1.5; margin: 10px 0 0; }
