:root {
  color-scheme: dark;
  --ink: #f7f2e8;
  --muted: #b9c1c0;
  --dim: #7f8a8b;
  --panel: rgba(11, 17, 24, 0.78);
  --panel-solid: #101820;
  --line: rgba(247, 242, 232, 0.16);
  --accent: #58d6c7;
  --accent-2: #f0b35b;
  --accent-3: #e66f6f;
  --accent-4: #87a8ff;
  --paper: #f7f2e8;
  --dark: #060a0e;
  --radius: 8px;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--dark);
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(6, 10, 14, 0.55), rgba(6, 10, 14, 0.98) 52rem),
    #060a0e;
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.app-shell {
  min-height: 100vh;
  overflow: hidden;
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(15rem, 1.2fr) auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem max(1rem, calc((100vw - 1180px) / 2));
  background: rgba(6, 10, 14, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(88, 214, 199, 0.6);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 800;
  background: rgba(88, 214, 199, 0.09);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  margin-top: 0.14rem;
  max-width: 31rem;
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topnav {
  display: flex;
  gap: 0.2rem;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem;
  background: rgba(255, 255, 255, 0.05);
}

.topnav a {
  padding: 0.55rem 0.68rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.top-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.menu-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid rgba(247, 242, 232, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 1.05rem;
  height: 0.12rem;
  border-radius: 999px;
  background: var(--ink);
}

.menu-button:hover,
.menu-button:focus-visible,
.menu-button[aria-expanded="true"] {
  border-color: rgba(88, 214, 199, 0.7);
  background: rgba(88, 214, 199, 0.12);
}

.info-button {
  display: inline-grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid rgba(216, 137, 47, 0.28);
  border-radius: 50%;
  background: rgba(255, 250, 239, 0.78);
  color: #2f7167;
  cursor: pointer;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(88, 64, 35, 0.08);
}

.info-button span {
  display: grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 0.82rem;
  line-height: 1;
}

.info-button:hover,
.info-button:focus-visible {
  border-color: rgba(47, 143, 131, 0.5);
  background: #e2f1e9;
}

.icon-button {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  border: 1px solid rgba(240, 179, 91, 0.55);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  background: rgba(240, 179, 91, 0.1);
  cursor: pointer;
}

.icon-button[aria-pressed="true"] {
  background: rgba(240, 179, 91, 0.24);
}

.icon-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 18px rgba(240, 179, 91, 0.65);
}

main {
  position: relative;
}

section {
  position: relative;
  padding: 6.25rem max(1rem, calc((100vw - 1180px) / 2));
}

.hero {
  min-height: 94vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  align-items: end;
  padding-top: 9rem;
  padding-bottom: 4.5rem;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    radial-gradient(circle at 82% 18%, rgba(247, 242, 232, 0.34), transparent 5rem),
    radial-gradient(circle at 72% 58%, rgba(88, 214, 199, 0.2), transparent 12rem),
    linear-gradient(90deg, rgba(6, 10, 14, 0.96), rgba(6, 10, 14, 0.72), rgba(6, 10, 14, 0.9)),
    linear-gradient(180deg, rgba(90, 178, 214, 0.42) 0 36%, rgba(36, 47, 52, 0.72) 36% 48%, rgba(6, 10, 14, 0.98) 72%),
    repeating-linear-gradient(90deg, transparent 0 3rem, rgba(247, 242, 232, 0.12) 3rem 3.18rem, transparent 3.18rem 5.4rem);
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.04);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: 12rem;
  background: linear-gradient(180deg, rgba(6, 10, 14, 0), #060a0e);
}

.hero-copy {
  max-width: 55rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 52rem;
  margin-bottom: 1.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  font-weight: 640;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.7rem;
  font-weight: 620;
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1rem;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow),
.section-heading > p:not(.eyebrow) {
  max-width: 49rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.runway {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 54rem;
  margin-top: 1.3rem;
}

.runway span {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  border: 1px solid rgba(247, 242, 232, 0.18);
  border-radius: 999px;
  padding: 0.52rem 0.72rem;
  background: rgba(6, 10, 14, 0.54);
  color: var(--muted);
  font-size: 0.82rem;
}

.runway strong {
  color: var(--accent-2);
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  min-height: 2.85rem;
  border-radius: 999px;
  padding: 0 1rem;
  font-weight: 800;
}

.primary-action {
  background: var(--paper);
  color: #0b1118;
}

.secondary-action {
  border: 1px solid rgba(247, 242, 232, 0.35);
  background: rgba(247, 242, 232, 0.06);
}

.search-console {
  align-self: stretch;
  display: flex;
  min-height: 24rem;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(6, 10, 14, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.search-scrim {
  position: fixed;
  inset: 0;
  z-index: 58;
  background: rgba(6, 10, 14, 0.5);
}

.search-scrim[hidden],
.search-drawer[hidden] {
  display: none;
}

.search-drawer {
  position: fixed;
  top: 5.2rem;
  right: max(1rem, calc((100vw - 1180px) / 2));
  z-index: 60;
  width: min(25rem, calc(100vw - 2rem));
  max-height: calc(100vh - 6.3rem);
  min-height: 0;
  justify-content: flex-start;
  overflow: hidden;
}

.search-console label {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.search-row input,
.search-row button {
  border: 1px solid var(--line);
  border-radius: 999px;
  min-width: 0;
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  outline: none;
}

.search-row input:focus {
  border-color: rgba(88, 214, 199, 0.85);
  box-shadow: 0 0 0 3px rgba(88, 214, 199, 0.14);
}

.search-row button {
  cursor: pointer;
}

.search-results {
  display: grid;
  gap: 0.55rem;
  max-height: 18rem;
  min-height: 10rem;
  margin-top: 0.9rem;
  overflow: auto;
  padding-right: 0.25rem;
}

.result-card {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.07);
  text-align: left;
  cursor: pointer;
}

.result-card:hover {
  border-color: rgba(88, 214, 199, 0.55);
}

.result-card strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink);
  font-size: 0.88rem;
}

.result-card span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.section-heading {
  max-width: 59rem;
  margin-bottom: 2rem;
}

.timing-section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  background: #070c10;
}

.show-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 0.8fr;
  gap: 0.9rem;
}

.show-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.055);
}

.show-grid article:nth-child(2) {
  border-color: rgba(88, 214, 199, 0.42);
  background: rgba(88, 214, 199, 0.075);
}

.show-grid span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  padding: 0.34rem 0.58rem;
  background: rgba(240, 179, 91, 0.12);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
}

.show-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.section-heading.compact {
  margin-bottom: 1.25rem;
}

.journey-section {
  padding-top: 5.25rem;
}

.journey-layout {
  display: grid;
  grid-template-columns: minmax(20rem, 1.06fr) minmax(21rem, 0.94fr);
  gap: 1.5rem;
  align-items: stretch;
}

.globe-stage {
  position: sticky;
  top: 5.8rem;
  height: min(66vh, 42rem);
  min-height: 35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(17, 42, 52, 0.58), rgba(9, 14, 20, 0.96)),
    #0a1018;
  box-shadow: var(--shadow);
  overflow: hidden;
}

#globe {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
}

#globe:active {
  cursor: grabbing;
}

.globe-hud {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(247, 242, 232, 0.16);
  border-radius: var(--radius);
  padding: 0.8rem;
  background: rgba(6, 10, 14, 0.68);
  backdrop-filter: blur(16px);
}

.globe-hud span:first-child {
  font-weight: 800;
}

.globe-hud span:last-child {
  color: var(--muted);
}

.journey-panel {
  display: grid;
  gap: 1rem;
}

.timeline {
  display: grid;
  gap: 0.6rem;
}

.timeline-button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.055);
  text-align: left;
  cursor: pointer;
}

.timeline-button:hover,
.timeline-button.is-active {
  border-color: rgba(88, 214, 199, 0.64);
  background: rgba(88, 214, 199, 0.1);
}

.timeline-index {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(247, 242, 232, 0.08);
  color: var(--accent-2);
  font-weight: 800;
}

.timeline-button strong {
  display: block;
  font-size: 0.95rem;
}

.timeline-button small {
  display: block;
  margin-top: 0.16rem;
  color: var(--muted);
}

.timeline-chip {
  grid-column: 2;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
}

.location-detail {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.location-image {
  min-height: 13rem;
  background: var(--image) center / cover;
  border-bottom: 1px solid var(--line);
}

.location-copy {
  padding: 1rem;
}

.location-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.mini-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.streetview-section {
  min-height: max(52rem, 105vh);
  display: grid;
  align-items: start;
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 3.5rem;
  scroll-margin-top: 5.5rem;
}

.streetview-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 10, 14, 0.28), rgba(6, 10, 14, 0.94)),
    var(--image) center / cover;
  transform: scale(1.03);
  transition: background-image 360ms ease, filter 360ms ease;
}

.streetview-section::before,
.streetview-section::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.streetview-section::before {
  left: 0;
  right: 0;
  bottom: 0;
  height: 31%;
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(247, 242, 232, 0.12) 10.2% 10.55%, transparent 10.8% 23%, rgba(247, 242, 232, 0.12) 23.2% 23.55%, transparent 23.8% 38%, rgba(247, 242, 232, 0.12) 38.2% 38.55%, transparent 38.8%),
    linear-gradient(90deg, rgba(88, 214, 199, 0.24), rgba(240, 179, 91, 0.18)),
    #10151b;
  clip-path: polygon(0 32%, 100% 13%, 100% 100%, 0 100%);
}

.streetview-section::after {
  left: 5%;
  right: 5%;
  bottom: 5.7rem;
  height: 0.24rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  opacity: 0.72;
}

.streetview-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
}

.walk-controls {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32rem;
  background: rgba(6, 10, 14, 0.72);
  backdrop-filter: blur(12px);
}

.walk-controls button {
  border: 0;
  border-radius: 999px;
  padding: 0.48rem 0.72rem;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.walk-controls button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.walk-controls span {
  min-width: 7rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.walking-avatar {
  position: absolute;
  left: calc(8% + var(--walk-progress, 0) * 10%);
  bottom: 5.4rem;
  z-index: 3;
  width: 3.1rem;
  height: 3.1rem;
  border: 2px solid rgba(247, 242, 232, 0.82);
  border-radius: 50% 50% 50% 8px;
  background: rgba(88, 214, 199, 0.9);
  box-shadow: 0 0 30px rgba(88, 214, 199, 0.5);
  transform: rotate(-45deg);
  transition: left 360ms ease;
}

.walking-avatar span {
  position: absolute;
  inset: 0.72rem;
  border-radius: 50%;
  background: #061017;
}

.buildings {
  position: relative;
  display: flex;
  gap: 1.1rem;
  align-items: end;
  min-height: 32rem;
  margin-top: 1rem;
  padding: 3.5rem 1rem 4.4rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(88, 214, 199, 0.65) rgba(255, 255, 255, 0.08);
}

.buildings::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4rem;
  height: 3.2rem;
  background:
    repeating-linear-gradient(90deg, rgba(247, 242, 232, 0.14) 0 4rem, transparent 4rem 7rem),
    linear-gradient(180deg, rgba(247, 242, 232, 0.08), rgba(6, 10, 14, 0));
  transform: skewY(-2deg);
  pointer-events: none;
}

.building {
  position: relative;
  flex: 0 0 clamp(15.5rem, 25vw, 22rem);
  height: var(--height, 20rem);
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(247, 242, 232, 0.2);
  border-radius: 8px 8px 2px 2px;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(247, 242, 232, 0.08), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #18242a, #0b1118);
  box-shadow: var(--shadow);
  cursor: pointer;
  text-align: left;
  scroll-snap-align: center;
}

.building-style-1 {
  background:
    linear-gradient(180deg, rgba(88, 214, 199, 0.14), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #14323a, #0b1118);
}

.building-style-2 {
  background:
    linear-gradient(180deg, rgba(240, 179, 91, 0.16), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #332617, #0b1118);
}

.building-style-3 {
  background:
    linear-gradient(180deg, rgba(135, 168, 255, 0.16), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #1a2540, #0b1118);
}

.building-style-4 {
  background:
    linear-gradient(180deg, rgba(230, 111, 111, 0.15), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #351d22, #0b1118);
}

.building::before {
  content: "";
  position: absolute;
  inset: 0.8rem 0.8rem 5.1rem;
  background:
    repeating-linear-gradient(90deg, transparent 0 1.15rem, rgba(247, 242, 232, 0.13) 1.15rem 1.85rem, transparent 1.85rem 3rem),
    repeating-linear-gradient(180deg, transparent 0 1.2rem, rgba(88, 214, 199, 0.16) 1.2rem 1.95rem, transparent 1.95rem 3.15rem);
  border: 1px solid rgba(247, 242, 232, 0.1);
  opacity: 0.92;
  transition: transform 260ms ease, filter 260ms ease;
}

.building:hover::before {
  transform: translateY(-0.25rem);
  filter: saturate(1.1);
}

.building-roof {
  position: absolute;
  top: 0;
  left: -0.2rem;
  right: -0.2rem;
  height: 1.1rem;
  background: rgba(247, 242, 232, 0.16);
  border-bottom: 1px solid rgba(247, 242, 232, 0.24);
}

.place-photo {
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 2rem;
  height: 42%;
  border: 2px solid rgba(247, 242, 232, 0.24);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(6, 10, 14, 0.08), rgba(6, 10, 14, 0.36)),
    var(--image) center / cover;
  box-shadow: inset 0 0 0 1px rgba(6, 10, 14, 0.5), 0 14px 28px rgba(0, 0, 0, 0.22);
  z-index: 1;
}

.place-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 48%, rgba(247, 242, 232, 0.18) 49% 51%, transparent 52%),
    linear-gradient(180deg, transparent 48%, rgba(247, 242, 232, 0.16) 49% 51%, transparent 52%);
  mix-blend-mode: screen;
}

.building-windows {
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: calc(42% + 2.7rem);
  bottom: 6.2rem;
  background:
    radial-gradient(circle at 20% 28%, rgba(240, 179, 91, 0.5) 0 0.22rem, transparent 0.26rem),
    radial-gradient(circle at 72% 52%, rgba(88, 214, 199, 0.42) 0 0.22rem, transparent 0.26rem);
  opacity: 0.68;
}

.building-door {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 3.2rem;
  height: 4.7rem;
  transform: translateX(-50%);
  border: 1px solid rgba(247, 242, 232, 0.22);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: rgba(6, 10, 14, 0.66);
}

.building-door::after {
  content: "";
  position: absolute;
  right: 0.58rem;
  top: 2.25rem;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: var(--accent-2);
}

.building-sign {
  position: relative;
  display: block;
  width: 100%;
  margin-top: auto;
  border-top: 1px solid rgba(247, 242, 232, 0.2);
  padding: 0.82rem 0.95rem 1.05rem;
  background:
    linear-gradient(180deg, rgba(6, 10, 14, 0.72), rgba(6, 10, 14, 0.95)),
    var(--image) center / cover;
  z-index: 2;
}

.building strong {
  display: block;
  font-size: 1rem;
}

.building small {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  line-height: 1.4;
}

.project-section {
  background:
    linear-gradient(180deg, #060a0e, #0d1216 22rem, #060a0e);
}

.project-lab {
  display: grid;
  grid-template-columns: minmax(12rem, 17rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.architecture {
  display: grid;
  gap: 0.75rem;
}

.flow-node {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.78rem 0.82rem;
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
}

.flow-node::after {
  content: "";
  position: absolute;
  left: 1.4rem;
  bottom: -0.76rem;
  width: 1px;
  height: 0.76rem;
  background: var(--line);
}

.flow-node:last-child::after {
  display: none;
}

.flow-node:hover,
.flow-node.is-active {
  border-color: rgba(240, 179, 91, 0.62);
  background: rgba(240, 179, 91, 0.09);
}

.flow-node strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.24;
}

.flow-node span {
  display: block;
  margin-top: 0.22rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.32;
}

.project-reader {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.reader-tabs {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem;
  background: rgba(0, 0, 0, 0.22);
}

.reader-tabs button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.48rem 0.72rem;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.84rem;
}

.reader-tabs button.is-active {
  color: #0b1118;
  background: var(--paper);
}

.reader-body {
  min-height: 31rem;
  padding: clamp(1.25rem, 2vw, 1.65rem);
}

.reader-body h3 {
  color: var(--accent-2);
  font-size: clamp(1.45rem, 2.25vw, 2rem);
  line-height: 1.08;
  margin-bottom: 0.7rem;
}

.reader-body p,
.reader-body li {
  color: var(--muted);
  font-size: clamp(1rem, 1.05vw, 1.1rem);
  line-height: 1.72;
}

.reader-body ul {
  display: grid;
  gap: 0.62rem;
  padding-left: 1.1rem;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.signal {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
}

.signal strong {
  display: block;
  color: var(--ink);
}

.signal span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.impact-section {
  background: #091016;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.impact-context {
  max-width: 54rem;
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.metric {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.055);
}

.metric span {
  display: block;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1;
}

.metric p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.impact-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 48rem;
}

th,
td {
  padding: 0.9rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--accent-2);
  font-size: 0.78rem;
  text-transform: uppercase;
}

td {
  color: var(--muted);
  line-height: 1.5;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.045);
}

.fit-section {
  min-height: 44rem;
  background:
    radial-gradient(circle at 78% 20%, rgba(240, 179, 91, 0.28), transparent 8rem),
    radial-gradient(circle at 86% 52%, rgba(88, 214, 199, 0.16), transparent 11rem),
    linear-gradient(90deg, rgba(6, 10, 14, 0.96), rgba(6, 10, 14, 0.78)),
    repeating-linear-gradient(90deg, transparent 0 4.2rem, rgba(247, 242, 232, 0.12) 4.2rem 4.42rem, transparent 4.42rem 7rem),
    linear-gradient(180deg, #22313a, #060a0e);
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.fit-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(6, 10, 14, 0.68);
  backdrop-filter: blur(14px);
}

.fit-grid p {
  color: var(--muted);
  line-height: 1.65;
}

dialog {
  width: min(45rem, calc(100vw - 2rem));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  background: #0c1218;
  color: var(--ink);
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.dialog-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

#dialogContent {
  padding: 1.25rem;
}

#dialogContent .modal-image {
  min-height: 15rem;
  margin: -1.25rem -1.25rem 1rem;
  background: var(--image) center / cover;
  border-bottom: 1px solid var(--line);
}

#dialogContent p,
#dialogContent li {
  color: var(--muted);
  line-height: 1.65;
}

#dialogContent ul {
  padding-left: 1.1rem;
}

.intro-mode .project-section,
.intro-mode .impact-section {
  display: none;
}

.intro-mode .icon-button {
  border-color: rgba(88, 214, 199, 0.7);
  background: rgba(88, 214, 199, 0.16);
}

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

  .topnav {
    display: none;
  }

  .hero,
  .journey-layout,
  .project-lab,
  .fit-grid,
  .show-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 8rem;
  }

  h1 {
    font-size: 2.85rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .globe-stage {
    position: relative;
    top: auto;
  }

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

@media (max-width: 640px) {
  section {
    padding: 4.5rem 1rem;
  }

  .topbar {
    padding: 0.75rem 1rem;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding-top: 7rem;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .search-console {
    min-height: 20rem;
  }

  .search-drawer {
    top: 4.8rem;
    right: 1rem;
    min-height: 0;
  }

  .globe-stage,
  #globe {
    min-height: 25rem;
  }

  .globe-hud {
    display: grid;
  }

  .timeline-button {
    grid-template-columns: auto 1fr;
  }

  .impact-grid,
  .buildings,
  .signal-strip {
    grid-template-columns: 1fr;
  }
}

/* 2.5D ground-level street view */
.streetview-section {
  min-height: 100vh;
  padding-top: 5.5rem;
  padding-bottom: 2rem;
  overflow: hidden;
  background: #061017;
  scroll-margin-top: 4.75rem;
}

.streetview-backdrop {
  filter: saturate(1.08) contrast(1.06);
}

.streetview-overlay {
  min-height: calc(100vh - 7.5rem);
  display: flex;
  flex-direction: column;
}

.streetview-overlay .section-heading.compact {
  margin-bottom: 0.6rem;
}

.street-city-card {
  position: absolute;
  top: 0.2rem;
  right: max(1rem, calc((100vw - 1180px) / 2));
  z-index: 9;
  width: min(34rem, 48vw);
  border: 1px solid rgba(247, 242, 232, 0.2);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  background: rgba(6, 10, 14, 0.42);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.street-city-card span,
.street-city-card small {
  display: block;
}

.street-city-card span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.street-city-card strong {
  display: block;
  margin-top: 0.18rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3.65rem);
  line-height: 0.96;
}

.street-city-card small {
  margin-top: 0.45rem;
  color: var(--paper);
  font-size: 0.92rem;
  font-weight: 800;
}

.walk-controls,
.place-controls {
  position: relative;
  z-index: 8;
  display: inline-flex;
  width: fit-content;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.32rem;
  background: rgba(6, 10, 14, 0.76);
  backdrop-filter: blur(12px);
}

.place-controls {
  margin-bottom: 0.8rem;
}

.walk-controls button,
.place-controls button {
  border: 0;
  border-radius: 999px;
  padding: 0.48rem 0.72rem;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.walk-controls button:disabled,
.place-controls button:disabled {
  cursor: default;
  opacity: 0.4;
}

.walk-controls span,
.place-controls span {
  min-width: 7.2rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.street-scene {
  position: relative;
  flex: 1;
  min-height: 34rem;
  border: 1px solid rgba(247, 242, 232, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  perspective: 1050px;
  background:
    radial-gradient(circle at 50% 18%, rgba(247, 242, 232, 0.24), transparent 5rem),
    linear-gradient(180deg, #6fb5d6 0%, #b8d9df 38%, #426174 39%, #12222a 65%, #071017 100%);
  box-shadow: var(--shadow);
}

.scene-skyline {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: 34%;
  height: 24%;
  background:
    linear-gradient(90deg, transparent 0 3%, rgba(7, 16, 23, 0.72) 3% 7%, transparent 7% 12%, rgba(7, 16, 23, 0.66) 12% 17%, transparent 17% 25%, rgba(7, 16, 23, 0.7) 25% 31%, transparent 31% 38%, rgba(7, 16, 23, 0.64) 38% 43%, transparent 43% 52%, rgba(7, 16, 23, 0.68) 52% 59%, transparent 59% 67%, rgba(7, 16, 23, 0.74) 67% 73%, transparent 73% 100%);
  opacity: 0.72;
}

.scene-road {
  position: absolute;
  inset: auto -8% 0;
  height: 45%;
  background:
    linear-gradient(90deg, rgba(247, 242, 232, 0.22), transparent 14% 86%, rgba(247, 242, 232, 0.22)),
    linear-gradient(180deg, #3b4037, #171b1b);
  clip-path: polygon(31% 0, 69% 0, 100% 100%, 0 100%);
}

.scene-road span {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0.45rem;
  height: 100%;
  transform: translateX(-50%);
  background: repeating-linear-gradient(180deg, rgba(240, 179, 91, 0.9) 0 2rem, transparent 2rem 4rem);
}

.street-scene .buildings {
  position: absolute;
  inset: 0;
  display: block;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  scroll-snap-type: none;
}

.street-scene .buildings::before {
  display: none;
}

.street-scene .building {
  position: absolute;
  left: 50%;
  bottom: 7.1rem;
  width: clamp(16rem, 25vw, 26rem);
  height: var(--height, 24rem);
  min-height: 0;
  display: block;
  border: 2px solid rgba(80, 52, 37, 0.42);
  border-radius: 10px 10px 2px 2px;
  overflow: hidden;
  opacity: var(--opacity, 1);
  z-index: var(--z, 1);
  transform:
    translateX(calc(-50% + var(--x, 0vw)))
    translateY(var(--y, 0rem))
    scale(var(--scale, 1))
    rotateY(var(--tilt, 0deg));
  transform-origin: bottom center;
  transition: transform 360ms ease, opacity 260ms ease, filter 260ms ease;
  box-shadow: 0 2rem 3rem rgba(0, 0, 0, 0.38);
}

.street-scene .building.is-active-place {
  filter: saturate(1.08) contrast(1.04);
}

.street-scene .building::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -1.4rem;
  height: 1.8rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.32);
  filter: blur(10px);
}

.street-scene .building::before {
  inset: 0;
  border: 0;
  opacity: 1;
  background:
    repeating-linear-gradient(90deg, transparent 0 2.8rem, rgba(247, 242, 232, 0.2) 2.8rem 3.35rem, transparent 3.35rem 5.2rem),
    repeating-linear-gradient(180deg, transparent 0 3.2rem, rgba(88, 214, 199, 0.18) 3.2rem 4rem, transparent 4rem 6rem);
}

.street-scene .building-roof {
  height: 1.35rem;
  background: rgba(87, 53, 37, 0.5);
}

.street-scene .place-photo {
  top: 2.25rem;
  left: 1.1rem;
  right: 1.1rem;
  height: 46%;
  border-radius: 7px;
}

.street-scene .building-windows {
  top: calc(46% + 3rem);
  bottom: 6.6rem;
  opacity: 0.9;
}

.street-scene .building-door {
  bottom: 0;
  z-index: 3;
}

.street-scene .building-sign {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  min-height: 5.8rem;
  border-top: 2px solid rgba(247, 242, 232, 0.22);
  background: rgba(6, 10, 14, 0.86);
}

.street-scene .building-sign strong,
.street-scene .building-sign small {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.street-scene .building-sign strong {
  font-size: clamp(0.95rem, 1.6vw, 1.35rem);
}

.street-scene .walking-avatar,
.streetview-overlay > .walking-avatar {
  left: 50%;
  bottom: 2.65rem;
  transform: translateX(-50%) rotate(-45deg);
}

@media (max-width: 760px) {
  .street-scene {
    min-height: 31rem;
  }

  .street-scene .building {
    width: 17rem;
    bottom: 6.1rem;
  }
}

/* Caricature street-view pass */
.location-illustration {
  position: relative;
  min-height: 13rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 18%, rgba(247, 242, 232, 0.54), transparent 2.2rem),
    linear-gradient(180deg, color-mix(in srgb, var(--city-tone) 30%, #8fd7ee), #d8e8dc 46%, #3d443b 47%, #161c1c 100%);
}

.location-illustration .landmark-art {
  position: absolute;
  inset: 0.45rem 0.7rem 0.25rem;
}

.location-illustration .toon-caption {
  display: none;
}

.location-illustration .city-route {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0.75rem;
  height: 0.34rem;
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, var(--paper) 0 1.4rem, transparent 1.4rem 2.6rem),
    rgba(6, 10, 14, 0.32);
  opacity: 0.75;
}

.streetview-section {
  padding-right: 0;
  padding-left: 0;
  background: #061017;
}

.streetview-section::before,
.streetview-section::after {
  display: none;
}

.streetview-backdrop {
  background:
    radial-gradient(circle at 22% 16%, rgba(247, 242, 232, 0.38), transparent 4.8rem),
    linear-gradient(180deg, rgba(86, 185, 218, 0.84), rgba(190, 227, 224, 0.96) 36%, rgba(61, 68, 59, 0.98) 37%, rgba(12, 18, 20, 1) 100%);
  transform: none;
  filter: none;
}

.streetview-section[data-city="portland"] .streetview-backdrop {
  background:
    radial-gradient(circle at 20% 14%, rgba(247, 242, 232, 0.45), transparent 4.8rem),
    linear-gradient(180deg, #8fd5ef 0%, #d9ecdd 38%, #52695d 39%, #101915 100%);
}

.streetview-section[data-city="boston"] .streetview-backdrop {
  background:
    radial-gradient(circle at 74% 16%, rgba(247, 242, 232, 0.42), transparent 4.5rem),
    linear-gradient(180deg, #7fc3e4 0%, #bddbe2 36%, #56616a 37%, #111b23 100%);
}

.streetview-section[data-city="dc"] .streetview-backdrop {
  background:
    radial-gradient(circle at 50% 13%, rgba(247, 242, 232, 0.52), transparent 5rem),
    linear-gradient(180deg, #91cdea 0%, #e4e5d6 36%, #70665b 37%, #171919 100%);
}

.streetview-section[data-city="nashville"] .streetview-backdrop {
  background:
    radial-gradient(circle at 28% 16%, rgba(247, 242, 232, 0.5), transparent 4.4rem),
    linear-gradient(180deg, #89cbe8 0%, #d6dac0 36%, #625d48 37%, #181713 100%);
}

.streetview-section[data-city="haifa"] .streetview-backdrop {
  background:
    radial-gradient(circle at 76% 14%, rgba(247, 242, 232, 0.5), transparent 4.7rem),
    linear-gradient(180deg, #80cbe7 0%, #d9e7d4 34%, #82725f 35%, #171512 100%);
}

.streetview-section[data-city="nyc"] .streetview-backdrop {
  background:
    radial-gradient(circle at 18% 18%, rgba(247, 242, 232, 0.35), transparent 4.6rem),
    linear-gradient(180deg, #74b7d4 0%, #b9d3d8 34%, #404a52 35%, #0e1218 100%);
}

.streetview-overlay {
  width: 100%;
}

.streetview-overlay .section-heading.compact,
.walk-controls,
.place-controls {
  margin-left: max(1rem, calc((100vw - 1180px) / 2));
}

.streetview-overlay .section-heading.compact {
  max-width: min(1180px, calc(100vw - 2rem));
}

.street-scene {
  width: 100%;
  min-height: clamp(34rem, 68vh, 48rem);
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  overflow: hidden;
  perspective: 1200px;
  background:
    linear-gradient(180deg, transparent 0 36%, rgba(6, 10, 14, 0.08) 36% 100%);
  box-shadow: inset 0 1px 0 rgba(247, 242, 232, 0.16), inset 0 -1px 0 rgba(247, 242, 232, 0.12);
}

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

.street-scene::before {
  left: -8%;
  right: -8%;
  bottom: 0;
  height: 42%;
  background:
    linear-gradient(90deg, rgba(247, 242, 232, 0.26), transparent 15% 85%, rgba(247, 242, 232, 0.22)),
    linear-gradient(180deg, #504c3f, #1d1f1f);
  clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
}

.street-scene::after {
  left: 50%;
  bottom: 0;
  width: 0.6rem;
  height: 40%;
  transform: translateX(-50%);
  background: repeating-linear-gradient(180deg, rgba(240, 179, 91, 0.95) 0 2.1rem, transparent 2.1rem 4.2rem);
  filter: drop-shadow(0 0 8px rgba(240, 179, 91, 0.32));
}

.scene-skyline {
  bottom: 34%;
  height: 24%;
  background:
    linear-gradient(90deg, transparent 0 4%, rgba(6, 10, 14, 0.42) 4% 7%, transparent 7% 10%, rgba(6, 10, 14, 0.36) 10% 13%, transparent 13% 18%, rgba(6, 10, 14, 0.46) 18% 23%, transparent 23% 29%, rgba(6, 10, 14, 0.34) 29% 33%, transparent 33% 41%, rgba(6, 10, 14, 0.42) 41% 49%, transparent 49% 58%, rgba(6, 10, 14, 0.36) 58% 63%, transparent 63% 71%, rgba(6, 10, 14, 0.44) 71% 79%, transparent 79% 100%);
  opacity: 0.72;
}

.scene-road {
  display: none;
}

.street-scene .buildings {
  position: absolute;
  inset: 0;
  z-index: 6;
  overflow: visible;
  pointer-events: none;
}

.street-scene .building {
  pointer-events: auto;
}

.street-scene .pov-building {
  position: absolute;
  display: block;
  width: min(36rem, 44vw);
  height: min(31rem, 58vh);
  min-height: 23rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  text-align: left;
  transform-style: preserve-3d;
  transition: transform 380ms ease, opacity 260ms ease, filter 260ms ease;
}

.street-scene .pov-building::before,
.street-scene .pov-building::after {
  display: none;
}

.pov-building.slot-center {
  left: 50%;
  bottom: 4.4rem;
  z-index: 10;
  opacity: 1;
  transform: translateX(-50%) translateZ(2rem);
}

.pov-building.slot-left {
  left: 2.5%;
  bottom: 5.6rem;
  z-index: 7;
  width: min(29rem, 31vw);
  height: min(27rem, 52vh);
  opacity: 0.78;
  filter: saturate(0.88) brightness(0.88);
  transform: perspective(1050px) rotateY(25deg) rotateZ(-1deg) scale(0.9);
  transform-origin: bottom right;
}

.pov-building.slot-right {
  right: 2.5%;
  bottom: 5.6rem;
  z-index: 7;
  width: min(29rem, 31vw);
  height: min(27rem, 52vh);
  opacity: 0.78;
  filter: saturate(0.88) brightness(0.88);
  transform: perspective(1050px) rotateY(-25deg) rotateZ(1deg) scale(0.9);
  transform-origin: bottom left;
}

.pov-building:hover,
.pov-building:focus-visible {
  filter: saturate(1.08) brightness(1.04);
}

.building-depth {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -1.15rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.36);
  filter: blur(8px);
}

.landmark-art {
  position: absolute;
  inset: 0 0 3.3rem;
  display: block;
  overflow: visible;
}

.toon-sky,
.toon-cloud,
.toon-building,
.toon-roof,
.toon-tower,
.toon-windows,
.toon-feature,
.toon-marquee,
.toon-door,
.toon-prop,
.toon-caption {
  position: absolute;
  display: block;
}

.toon-sky {
  inset: 0;
  border-radius: 18px 18px 4px 4px;
  background:
    radial-gradient(circle at 70% 18%, rgba(247, 242, 232, 0.7), transparent 2.5rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 46%);
  opacity: 0.62;
}

.toon-cloud {
  width: 4.8rem;
  height: 1.7rem;
  border-radius: 999px;
  background: rgba(247, 242, 232, 0.74);
  box-shadow:
    1.2rem -0.45rem 0 0.28rem rgba(247, 242, 232, 0.74),
    2.4rem 0.04rem 0 0.1rem rgba(247, 242, 232, 0.74);
}

.cloud-one {
  left: 10%;
  top: 10%;
}

.cloud-two {
  right: 14%;
  top: 17%;
  transform: scale(0.78);
}

.toon-building {
  left: 13%;
  right: 13%;
  bottom: 0;
  height: 73%;
  border: 3px solid #2b2119;
  border-bottom-width: 5px;
  border-radius: 13px 13px 4px 4px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 18% 76%, rgba(0, 0, 0, 0.16)),
    color-mix(in srgb, var(--landmark-tone) 36%, #374247);
  box-shadow:
    inset 0 0 0 2px rgba(247, 242, 232, 0.16),
    0 1rem 1.8rem rgba(0, 0, 0, 0.3);
}

.toon-roof {
  left: -6%;
  right: -6%;
  top: -1.1rem;
  height: 1.5rem;
  border: 3px solid #2b2119;
  border-radius: 8px 8px 2px 2px;
  background: color-mix(in srgb, var(--landmark-tone) 56%, #5b3428);
}

.toon-tower {
  left: 8%;
  top: -5.2rem;
  width: 4.6rem;
  height: 5.6rem;
  border: 3px solid #2b2119;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: color-mix(in srgb, var(--landmark-tone) 40%, #25323a);
}

.toon-windows {
  left: 12%;
  right: 12%;
  top: 20%;
  bottom: 33%;
  background:
    repeating-linear-gradient(90deg, transparent 0 11%, rgba(247, 242, 232, 0.64) 11% 18%, transparent 18% 28%),
    repeating-linear-gradient(180deg, transparent 0 28%, rgba(6, 10, 14, 0.28) 28% 34%, transparent 34% 56%);
  border-radius: 8px;
}

.toon-marquee {
  left: 16%;
  right: 16%;
  bottom: 23%;
  min-height: 2rem;
  display: grid;
  place-items: center;
  border: 3px solid #2b2119;
  border-radius: 9px;
  background: #f7f2e8;
  color: #111821;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  box-shadow: 0 0.55rem 0 rgba(43, 33, 25, 0.2);
}

.toon-marquee span {
  display: block;
  max-width: 100%;
  padding: 0.14rem 0.45rem;
  overflow: hidden;
  font-size: clamp(0.68rem, 1.35vw, 1rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toon-door {
  left: 50%;
  bottom: 0;
  width: 4.2rem;
  height: 5rem;
  transform: translateX(-50%);
  border: 3px solid #2b2119;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background:
    radial-gradient(circle at 74% 54%, var(--accent-2) 0 0.22rem, transparent 0.26rem),
    #162027;
}

.toon-feature {
  opacity: 0.95;
}

.feature-a {
  left: 7%;
  right: 7%;
  top: 9%;
  height: 1rem;
  border-radius: 999px;
  background: rgba(247, 242, 232, 0.34);
}

.feature-b {
  left: 8%;
  right: 8%;
  bottom: 12%;
  height: 1.15rem;
  border-radius: 999px;
  background: rgba(6, 10, 14, 0.22);
}

.feature-c {
  right: 8%;
  top: 5%;
  width: 3.2rem;
  height: 3.2rem;
  border: 3px solid rgba(43, 33, 25, 0.7);
  border-radius: 50%;
  background: rgba(247, 242, 232, 0.24);
}

.toon-prop {
  z-index: 4;
}

.prop-a {
  left: 5%;
  bottom: 1.6rem;
  width: 3.4rem;
  height: 5.4rem;
  border-radius: 999px 999px 0 0;
  background: color-mix(in srgb, var(--city-tone) 70%, #071017);
  box-shadow: inset 0 -1rem 0 rgba(6, 10, 14, 0.28);
}

.prop-b {
  right: 6%;
  bottom: 1.4rem;
  width: 3rem;
  height: 4.8rem;
  border-radius: 999px 999px 0 0;
  background: color-mix(in srgb, var(--landmark-tone) 70%, #071017);
  box-shadow: inset 0 -0.9rem 0 rgba(6, 10, 14, 0.26);
}

.prop-c {
  left: 50%;
  bottom: -0.18rem;
  width: 70%;
  height: 0.65rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(247, 242, 232, 0.18);
}

.toon-caption {
  left: 50%;
  bottom: -1.1rem;
  max-width: 16rem;
  transform: translateX(-50%);
  padding: 0.22rem 0.52rem;
  border: 2px solid rgba(43, 33, 25, 0.55);
  border-radius: 999px;
  background: rgba(247, 242, 232, 0.9);
  color: #111821;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.street-scene .building-sign {
  position: absolute;
  left: 50%;
  bottom: -1.15rem;
  z-index: 12;
  width: min(24rem, 88%);
  min-height: auto;
  padding: 0.72rem 0.9rem 0.82rem;
  transform: translateX(-50%) rotate(-0.8deg);
  border: 3px solid #2b2119;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent),
    #f7f2e8;
  color: #111821;
  box-shadow: 0 0.8rem 0 rgba(43, 33, 25, 0.22), 0 1.5rem 2.2rem rgba(0, 0, 0, 0.26);
}

.street-scene .building-sign strong,
.street-scene .building-sign em,
.street-scene .building-sign small {
  display: block;
  color: inherit;
}

.street-scene .building-sign em {
  margin-bottom: 0.22rem;
  color: color-mix(in srgb, var(--landmark-tone) 62%, #111821);
  font-size: clamp(0.66rem, 0.95vw, 0.78rem);
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.street-scene .building-sign strong {
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  line-height: 1.05;
}

.street-scene .building-sign small {
  color: rgba(17, 24, 33, 0.72);
  font-size: clamp(0.76rem, 1.1vw, 0.93rem);
}

.slot-left .building-sign,
.slot-right .building-sign {
  bottom: -0.85rem;
  width: min(19rem, 84%);
  padding: 0.54rem 0.68rem;
}

.slot-left .building-sign small,
.slot-left .building-sign em,
.slot-right .building-sign small,
.slot-right .building-sign em,
.slot-left .toon-caption,
.slot-right .toon-caption {
  display: none;
}

.slot-left .toon-marquee span,
.slot-right .toon-marquee span {
  font-size: 0.66rem;
}

.landmark-roots .toon-building {
  left: 18%;
  right: 18%;
  height: 45%;
  border-radius: 16px 16px 4px 4px;
  background: #5a3d2b;
}

.landmark-roots .toon-roof {
  top: -3.4rem;
  height: 4rem;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  background: #8e5736;
}

.landmark-roots .toon-windows {
  top: 28%;
  bottom: 38%;
}

.landmark-roots .feature-a {
  left: -18%;
  right: -18%;
  top: -9rem;
  height: 8rem;
  clip-path: polygon(0 100%, 18% 46%, 32% 72%, 48% 22%, 64% 76%, 82% 40%, 100% 100%);
  background: linear-gradient(180deg, #f7f2e8 0 20%, #52695d 20% 100%);
}

.landmark-roots .feature-b {
  left: 10%;
  right: 10%;
  bottom: 10%;
  height: 0.45rem;
  background: repeating-linear-gradient(90deg, #f7f2e8 0 1rem, transparent 1rem 1.8rem);
}

.landmark-school .toon-building {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent), #c0a984;
}

.landmark-school .toon-roof {
  top: -3.3rem;
  height: 3.7rem;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  background: #d8c7a6;
}

.landmark-school .feature-a {
  top: 12%;
  bottom: 11%;
  height: auto;
  background:
    linear-gradient(90deg, transparent 0 13%, rgba(247, 242, 232, 0.48) 13% 17%, transparent 17% 32%, rgba(247, 242, 232, 0.48) 32% 36%, transparent 36% 51%, rgba(247, 242, 232, 0.48) 51% 55%, transparent 55% 70%, rgba(247, 242, 232, 0.48) 70% 74%, transparent 74% 100%);
}

.landmark-school .feature-b {
  bottom: 7%;
  height: 4.2rem;
  background:
    radial-gradient(ellipse at 22% 100%, transparent 0 1.15rem, #2b2119 1.2rem 1.32rem, rgba(247, 242, 232, 0.35) 1.36rem 1.7rem, transparent 1.74rem),
    radial-gradient(ellipse at 50% 100%, transparent 0 1.15rem, #2b2119 1.2rem 1.32rem, rgba(247, 242, 232, 0.35) 1.36rem 1.7rem, transparent 1.74rem),
    radial-gradient(ellipse at 78% 100%, transparent 0 1.15rem, #2b2119 1.2rem 1.32rem, rgba(247, 242, 232, 0.35) 1.36rem 1.7rem, transparent 1.74rem);
}

.landmark-campus .toon-building,
.landmark-roux .toon-building {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent), #304a64;
}

.landmark-campus .toon-roof {
  top: -2.1rem;
  height: 2.6rem;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  background: #657991;
}

.landmark-campus .feature-c,
.landmark-roux .feature-c {
  border-radius: 6px;
  background:
    linear-gradient(90deg, transparent 0 20%, rgba(247, 242, 232, 0.56) 20% 24%, transparent 24% 48%, rgba(247, 242, 232, 0.56) 48% 52%, transparent 52% 76%, rgba(247, 242, 232, 0.56) 76% 80%, transparent 80%),
    #17222a;
}

.landmark-policy .toon-building {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 24% 74%, rgba(6, 10, 14, 0.18)),
    #2d5c61;
}

.landmark-policy .feature-a {
  top: 12%;
  height: 5.6rem;
  border: 3px solid #2b2119;
  border-radius: 12px;
  background:
    linear-gradient(90deg, transparent 0 16%, #f7f2e8 16% 19%, transparent 19% 36%, #f7f2e8 36% 39%, transparent 39% 58%, #f7f2e8 58% 61%, transparent 61% 100%),
    linear-gradient(180deg, rgba(88, 214, 199, 0.7) 0 22%, transparent 22% 100%),
    #132229;
}

.landmark-policy .feature-b {
  bottom: 9%;
  height: 1rem;
  background:
    repeating-linear-gradient(90deg, #58d6c7 0 1rem, transparent 1rem 1.8rem),
    #132229;
}

.landmark-policy .feature-c {
  border-radius: 8px;
  background:
    linear-gradient(180deg, #f7f2e8 0 18%, transparent 18% 100%),
    repeating-linear-gradient(180deg, transparent 0 18%, rgba(17, 24, 33, 0.52) 18% 22%, transparent 22% 32%),
    #d8e4dc;
}

.landmark-roux .prop-a,
.landmark-roux .prop-b {
  height: 2.2rem;
  border-radius: 50% 50% 12px 12px;
}

.landmark-roux .feature-a {
  top: -4.7rem;
  left: 2%;
  right: 2%;
  height: 4.9rem;
  clip-path: polygon(0 100%, 18% 50%, 30% 72%, 45% 34%, 62% 76%, 82% 44%, 100% 100%);
  background: linear-gradient(180deg, #f7f2e8 0 14%, #7c8d91 14% 100%);
}

.landmark-roux .feature-b {
  bottom: 8%;
  height: 1rem;
  background:
    repeating-linear-gradient(90deg, rgba(88, 214, 199, 0.9) 0 1.2rem, transparent 1.2rem 2.2rem),
    #20323a;
}

.landmark-oratorio .toon-building,
.landmark-firstparish .toon-building {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent), #6d6250;
}

.landmark-oratorio .toon-roof,
.landmark-firstparish .toon-roof {
  top: -3.5rem;
  height: 4rem;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  background: #8b7a5c;
}

.landmark-firstparish .toon-tower {
  left: 50%;
  top: -9rem;
  width: 4.2rem;
  height: 9.3rem;
  transform: translateX(-50%);
  border-radius: 12px 12px 0 0;
  background: #eee4cc;
}

.landmark-firstparish .toon-tower::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -2.4rem;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-right: 2.2rem solid transparent;
  border-bottom: 2.7rem solid #2b2119;
  border-left: 2.2rem solid transparent;
}

.landmark-oratorio .feature-a,
.landmark-firstparish .feature-a {
  top: 15%;
  height: 4.4rem;
  border: 3px solid #2b2119;
  border-radius: 12px;
  background:
    radial-gradient(circle at 18% 56%, #f0b35b 0 0.34rem, transparent 0.38rem),
    radial-gradient(circle at 32% 42%, #f0b35b 0 0.34rem, transparent 0.38rem),
    radial-gradient(circle at 47% 56%, #f0b35b 0 0.34rem, transparent 0.38rem),
    radial-gradient(circle at 62% 42%, #f0b35b 0 0.34rem, transparent 0.38rem),
    radial-gradient(circle at 77% 56%, #f0b35b 0 0.34rem, transparent 0.38rem),
    #151b1f;
}

.landmark-concert .toon-building,
.landmark-symphonyhall .toon-building,
.landmark-bgmc .toon-building,
.landmark-tanglewood .toon-building {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent), #7c4b31;
}

.landmark-concert .feature-a,
.landmark-symphonyhall .feature-a,
.landmark-bgmc .feature-a,
.landmark-tanglewood .feature-a {
  top: 14%;
  height: 4.2rem;
  border: 3px solid #2b2119;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 60%, #f0b35b 0 0.36rem, transparent 0.4rem),
    radial-gradient(circle at 55% 42%, #f0b35b 0 0.36rem, transparent 0.4rem),
    radial-gradient(circle at 74% 62%, #f0b35b 0 0.36rem, transparent 0.4rem),
    #141b20;
}

.landmark-concert .toon-roof {
  top: -2.9rem;
  height: 3.3rem;
  clip-path: polygon(0 100%, 15% 32%, 85% 32%, 100% 100%);
  background: #9d7542;
}

.landmark-concert .feature-b {
  bottom: 8%;
  height: 1.1rem;
  background: repeating-linear-gradient(90deg, #f0b35b 0 0.8rem, transparent 0.8rem 1.4rem);
}

.landmark-tanglewood .toon-roof {
  top: -2.2rem;
  height: 2.8rem;
  transform: skewX(-12deg);
  background: #6b4b2d;
}

.landmark-symphonyhall .toon-building {
  background: #9a7b55;
}

.landmark-symphonyhall .toon-roof {
  top: -2.8rem;
  height: 3.2rem;
  clip-path: polygon(0 100%, 10% 34%, 90% 34%, 100% 100%);
  background: #c7a46b;
}

.landmark-symphonyhall .feature-b {
  bottom: 9%;
  height: 4.6rem;
  background:
    linear-gradient(90deg, transparent 0 12%, #2b2119 12% 15%, transparent 15% 29%, #2b2119 29% 32%, transparent 32% 46%, #2b2119 46% 49%, transparent 49% 63%, #2b2119 63% 66%, transparent 66% 80%, #2b2119 80% 83%, transparent 83% 100%),
    rgba(247, 242, 232, 0.36);
}

.landmark-bgmc .toon-building {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent),
    #48395f;
}

.landmark-bgmc .feature-b {
  bottom: 8%;
  height: 1.2rem;
  background: linear-gradient(90deg, #e66f6f, #f0b35b, #58d6c7, #87a8ff, #c58cff);
}

.landmark-bgmc .prop-a,
.landmark-bgmc .prop-b {
  width: 2rem;
  height: 4rem;
  border-radius: 50% 50% 8px 8px;
}

.landmark-lab .toon-building {
  left: 7%;
  right: 7%;
  height: 82%;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.landmark-lab .toon-building::before,
.landmark-lab .toon-building::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 43%;
  height: 100%;
  border: 3px solid #2b2119;
  border-radius: 14px 14px 4px 4px;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.36), transparent 22% 74%, rgba(6, 10, 14, 0.2)),
    repeating-linear-gradient(90deg, rgba(247, 242, 232, 0.54) 0 11%, transparent 11% 18%),
    repeating-linear-gradient(180deg, transparent 0 9%, rgba(6, 10, 14, 0.26) 9% 12%, transparent 12% 20%),
    #2b6071;
  box-shadow: inset 0 0 0 2px rgba(247, 242, 232, 0.16);
}

.landmark-lab .toon-building::before {
  left: 0;
  transform: skewY(-1deg);
}

.landmark-lab .toon-building::after {
  right: 0;
  transform: skewY(1deg);
}

.landmark-lab .toon-roof,
.landmark-lab .toon-tower,
.landmark-lab .toon-windows {
  display: none;
}

.landmark-lab .feature-a {
  left: 31%;
  right: 31%;
  top: 44%;
  height: 2.7rem;
  z-index: 3;
  border: 3px solid #2b2119;
  border-radius: 10px;
  background: #d7e4df;
}

.landmark-lab .feature-b {
  left: -3%;
  right: -3%;
  bottom: -0.35rem;
  height: 1rem;
  z-index: 4;
  background:
    repeating-linear-gradient(90deg, rgba(247, 242, 232, 0.75) 0 1.2rem, transparent 1.2rem 2.2rem),
    #375d6c;
}

.landmark-lab .feature-c {
  z-index: 5;
  background:
    radial-gradient(circle at 34% 42%, #58d6c7 0 0.38rem, transparent 0.44rem),
    radial-gradient(circle at 68% 52%, #f0b35b 0 0.3rem, transparent 0.36rem),
    linear-gradient(45deg, transparent 43%, rgba(247, 242, 232, 0.72) 44% 48%, transparent 49%),
    #142229;
}

.landmark-factory .toon-building {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent), #6c5a3a;
}

.landmark-factory .toon-roof {
  height: 3.6rem;
  top: -3.1rem;
  clip-path: polygon(0 100%, 12% 25%, 23% 100%, 35% 25%, 48% 100%, 60% 25%, 72% 100%, 84% 25%, 100% 100%);
  background: #a87d3d;
}

.landmark-factory .feature-c {
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 0.58rem, #2b2119 0.62rem 0.8rem, transparent 0.84rem),
    repeating-conic-gradient(from 0deg, #f0b35b 0 14deg, #2b2119 14deg 20deg);
}

.landmark-kennedy .toon-building {
  background: #ddd8c8;
}

.landmark-kennedy .toon-roof {
  top: -2.6rem;
  height: 3rem;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  background: #f7f2e8;
}

.landmark-kennedy .feature-a {
  top: 8%;
  bottom: 6%;
  height: auto;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(17, 24, 33, 0.22) 8% 12%, transparent 12% 24%, rgba(17, 24, 33, 0.22) 24% 28%, transparent 28% 40%, rgba(17, 24, 33, 0.22) 40% 44%, transparent 44% 56%, rgba(17, 24, 33, 0.22) 56% 60%, transparent 60% 72%, rgba(17, 24, 33, 0.22) 72% 76%, transparent 76% 88%, rgba(17, 24, 33, 0.22) 88% 92%, transparent 92% 100%);
}

.landmark-kennedy .feature-b {
  bottom: -0.1rem;
  height: 0.9rem;
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(135, 168, 255, 0.65) 12% 88%, transparent 88% 100%);
}

.landmark-hotel .toon-building {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent),
    #8b4d3d;
}

.landmark-hotel .toon-roof {
  background: #594037;
}

.landmark-hotel .feature-a {
  top: 11%;
  height: 4.6rem;
  border: 3px solid #2b2119;
  border-radius: 12px;
  background:
    radial-gradient(circle at 18% 58%, #f7f2e8 0 0.35rem, transparent 0.4rem),
    radial-gradient(circle at 36% 58%, #f7f2e8 0 0.35rem, transparent 0.4rem),
    radial-gradient(circle at 54% 58%, #f7f2e8 0 0.35rem, transparent 0.4rem),
    radial-gradient(circle at 72% 58%, #f7f2e8 0 0.35rem, transparent 0.4rem),
    #1b1515;
}

.landmark-hotel .feature-b {
  bottom: 9%;
  height: 1.05rem;
  background: repeating-linear-gradient(90deg, #f7f2e8 0 0.65rem, transparent 0.65rem 1.15rem);
}

.landmark-wd-dc .toon-building {
  height: 78%;
  background:
    linear-gradient(90deg, rgba(247, 242, 232, 0.22), transparent 20% 76%, rgba(6, 10, 14, 0.18)),
    #a79682;
}

.landmark-wd-dc .toon-roof {
  top: -1.7rem;
  height: 2.1rem;
  background: #7e715f;
}

.landmark-wd-dc .toon-windows {
  top: 12%;
  bottom: 30%;
  background:
    repeating-linear-gradient(90deg, transparent 0 8%, rgba(247, 242, 232, 0.62) 8% 15%, transparent 15% 23%),
    repeating-linear-gradient(180deg, transparent 0 13%, rgba(6, 10, 14, 0.28) 13% 16%, transparent 16% 25%);
}

.landmark-wd-dc .feature-a {
  top: -4rem;
  left: 80%;
  right: auto;
  width: 2.2rem;
  height: 4.5rem;
  border-radius: 999px 999px 2px 2px;
  background: #f7f2e8;
}

.landmark-wd-dc .feature-b {
  bottom: 8%;
  height: 1.3rem;
  background: repeating-linear-gradient(90deg, #e66f6f 0 1rem, #f7f2e8 1rem 1.9rem, #87a8ff 1.9rem 2.8rem);
}

.landmark-backstage .toon-building,
.landmark-geico .toon-building {
  background: #243143;
}

.landmark-backstage .feature-a,
.landmark-geico .feature-a {
  height: 5rem;
  border: 3px solid #2b2119;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(88, 214, 199, 0.7) 0 18%, transparent 18% 28%, rgba(240, 179, 91, 0.72) 28% 54%, transparent 54% 64%, rgba(230, 111, 111, 0.72) 64% 100%),
    #111821;
}

.landmark-geico .feature-c {
  border-radius: 12px;
  background:
    radial-gradient(circle at 20% 30%, #58d6c7 0 0.35rem, transparent 0.4rem),
    linear-gradient(90deg, transparent 0 30%, rgba(247, 242, 232, 0.75) 30% 36%, transparent 36% 100%),
    linear-gradient(180deg, #18232b 0 76%, #f0b35b 76% 100%);
}

.landmark-clocktower .toon-tower {
  left: 50%;
  top: -8.5rem;
  height: 9rem;
  transform: translateX(-50%);
  background: #9f7450;
}

.landmark-clocktower .feature-c {
  left: 50%;
  right: auto;
  top: -5.3rem;
  transform: translateX(-50%);
  background:
    radial-gradient(circle, #f7f2e8 0 0.85rem, #2b2119 0.9rem 1rem, transparent 1.05rem);
}

.landmark-clocktower .toon-tower::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -3.2rem;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-right: 2rem solid transparent;
  border-bottom: 3.4rem solid #314b53;
  border-left: 2rem solid transparent;
}

.landmark-clocktower .toon-roof {
  top: -2.4rem;
  height: 2.8rem;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  background: #7d5634;
}

.landmark-community .toon-building,
.landmark-housing .toon-building {
  background: #74584a;
}

.landmark-community .feature-a {
  top: 14%;
  height: 4.8rem;
  border-radius: 12px;
  background:
    radial-gradient(circle at 20% 44%, #58d6c7 0 0.5rem, transparent 0.54rem),
    radial-gradient(circle at 45% 44%, #f0b35b 0 0.5rem, transparent 0.54rem),
    radial-gradient(circle at 70% 44%, #e66f6f 0 0.5rem, transparent 0.54rem),
    linear-gradient(180deg, transparent 54%, rgba(247, 242, 232, 0.55) 55% 65%, transparent 66%);
}

.landmark-housing .toon-building {
  background: #80574f;
}

.landmark-housing .toon-windows {
  background:
    repeating-linear-gradient(90deg, rgba(247, 242, 232, 0.62) 0 12%, transparent 12% 20%),
    repeating-linear-gradient(180deg, transparent 0 21%, rgba(6, 10, 14, 0.3) 21% 27%, transparent 27% 48%);
}

.landmark-anzie .toon-building {
  background: #8a4f3a;
}

.landmark-anzie .feature-a {
  top: 7%;
  height: 3.8rem;
  border: 3px solid #2b2119;
  border-radius: 0 0 18px 18px;
  background: repeating-linear-gradient(90deg, #58d6c7 0 14%, #f7f2e8 14% 28%);
}

.landmark-anzie .feature-c {
  width: 4.2rem;
  border-radius: 12px;
  background:
    radial-gradient(circle at 32% 50%, #f0b35b 0 0.28rem, transparent 0.32rem),
    radial-gradient(circle at 62% 50%, #f0b35b 0 0.28rem, transparent 0.32rem),
    #122024;
}

.landmark-startup .toon-building {
  background: #476b5a;
}

.landmark-startup .feature-a {
  top: -7.8rem;
  height: 7rem;
  clip-path: polygon(0 100%, 22% 38%, 42% 68%, 62% 22%, 100% 100%);
  background: #6a7d64;
}

.landmark-startup .feature-c {
  background:
    radial-gradient(circle at 52% 48%, #58d6c7 0 0.8rem, transparent 0.85rem),
    conic-gradient(from 40deg, #58d6c7 0 25%, transparent 25% 50%, #58d6c7 50% 75%, transparent 75%);
}

.landmark-communications .toon-building {
  height: 86%;
  background: #2d3855;
}

.landmark-communications .feature-a {
  top: 11%;
  height: 7rem;
  border: 3px solid #2b2119;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(88, 214, 199, 0.72) 0 18%, transparent 18% 22%, rgba(240, 179, 91, 0.75) 22% 47%, transparent 47% 51%, rgba(135, 168, 255, 0.74) 51% 76%, transparent 76% 80%, rgba(230, 111, 111, 0.74) 80% 100%),
    repeating-linear-gradient(180deg, transparent 0 23%, rgba(247, 242, 232, 0.45) 23% 27%, transparent 27% 50%),
    #111821;
}

.landmark-wd-nyc .toon-building {
  left: 25%;
  right: 25%;
  height: 94%;
  border-radius: 4px 4px 0 0;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.34), transparent 20% 72%, rgba(6, 10, 14, 0.2)),
    repeating-linear-gradient(180deg, rgba(247, 242, 232, 0.56) 0 5%, transparent 5% 9%),
    #2d3855;
}

.landmark-wd-nyc .toon-roof {
  left: -28%;
  right: -28%;
  top: -4.5rem;
  height: 5rem;
  clip-path: polygon(18% 100%, 42% 8%, 60% 100%, 100% 100%, 100% 78%, 63% 62%, 50% 0, 34% 68%, 0 78%, 0 100%);
  background: #51607e;
}

.landmark-wd-nyc .toon-windows {
  left: 13%;
  right: 13%;
  top: 10%;
  bottom: 26%;
  background:
    repeating-linear-gradient(90deg, rgba(247, 242, 232, 0.58) 0 10%, transparent 10% 18%),
    repeating-linear-gradient(180deg, transparent 0 9%, rgba(6, 10, 14, 0.32) 9% 12%, transparent 12% 21%);
}

.landmark-wd-nyc .feature-a {
  left: -42%;
  right: -42%;
  top: 22%;
  height: 5.8rem;
  border: 3px solid #2b2119;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(88, 214, 199, 0.72) 0 18%, transparent 18% 22%, rgba(240, 179, 91, 0.75) 22% 47%, transparent 47% 51%, rgba(135, 168, 255, 0.74) 51% 76%, transparent 76% 80%, rgba(230, 111, 111, 0.74) 80% 100%),
    repeating-linear-gradient(180deg, transparent 0 23%, rgba(247, 242, 232, 0.45) 23% 27%, transparent 27% 50%),
    #111821;
}

.landmark-wd-nyc .feature-b {
  bottom: 8%;
  height: 0.9rem;
  background: #f0b35b;
}

.landmark-goldtower .toon-building {
  height: 84%;
  background: #40323c;
}

.landmark-goldtower .toon-roof {
  top: -4.6rem;
  height: 5.1rem;
  clip-path: polygon(0 100%, 18% 18%, 32% 100%, 50% 18%, 68% 100%, 82% 18%, 100% 100%);
  background: #bf8b32;
}

.landmark-goldtower .feature-c {
  background:
    linear-gradient(135deg, transparent 0 42%, #f0b35b 42% 58%, transparent 58%),
    linear-gradient(45deg, transparent 0 42%, #f0b35b 42% 58%, transparent 58%),
    #17121a;
}

.modal-illustration {
  position: relative;
  height: 18rem;
  margin-bottom: 1.2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 75% 20%, rgba(247, 242, 232, 0.42), transparent 3rem),
    linear-gradient(180deg, #74b7d4, #e3e6d8 42%, #30372f 43%, #111717);
}

.modal-illustration .landmark-art {
  inset: 1rem 8% 1.6rem;
}

.modal-illustration .toon-caption {
  bottom: -0.6rem;
}

.modal-meta {
  margin-top: -0.4rem;
  color: var(--accent-2);
  font-weight: 800;
}

#dialogContent .modal-image {
  display: none;
}

@media (max-width: 980px) {
  .street-scene {
    min-height: 35rem;
  }

  .street-scene .pov-building {
    width: min(31rem, 78vw);
    height: 28rem;
  }

  .pov-building.slot-left,
  .pov-building.slot-right {
    width: 14rem;
    height: 22rem;
    bottom: 6.4rem;
    opacity: 0.38;
  }

  .pov-building.slot-left {
    left: 1rem;
    transform: perspective(1050px) rotateY(25deg) rotateZ(-1deg) scale(0.72);
  }

  .pov-building.slot-right {
    right: 1rem;
    transform: perspective(1050px) rotateY(-25deg) rotateZ(1deg) scale(0.72);
  }
}

@media (max-width: 640px) {
  .streetview-overlay .section-heading.compact,
  .street-city-card,
  .walk-controls,
  .place-controls {
    margin-right: 1rem;
    margin-left: 1rem;
  }

  .street-city-card {
    position: relative;
    top: auto;
    right: auto;
    width: calc(100% - 2rem);
    margin-bottom: 0.7rem;
  }

  .walk-controls,
  .place-controls {
    width: calc(100% - 2rem);
    justify-content: space-between;
  }

  .walk-controls span,
  .place-controls span {
    min-width: auto;
  }

  .street-scene {
    min-height: 32rem;
  }

  .street-scene .pov-building {
    width: min(27rem, 88vw);
    height: 25.5rem;
  }

  .pov-building.slot-left,
  .pov-building.slot-right {
    display: none;
  }

  .street-scene .building-sign {
    width: 92%;
  }
}

/* Full illustrated scene pass */
.walking-avatar,
.streetview-overlay > .walking-avatar {
  display: none !important;
}

.street-scene .pov-building {
  width: min(56rem, 72vw);
  height: min(38rem, 66vh);
  min-height: 29rem;
}

.pov-building.slot-center {
  bottom: 2.4rem;
}

.pov-building.slot-left,
.pov-building.slot-right {
  width: min(38rem, 38vw);
  height: min(31rem, 54vh);
  bottom: 4.6rem;
}

.landmark-art {
  inset: 0 0 3.8rem;
  overflow: hidden;
  border: 3px solid rgba(43, 33, 25, 0.55);
  border-radius: 18px;
  background: #78a6bd;
  box-shadow: 0 1.4rem 2.2rem rgba(0, 0, 0, 0.28);
}

.landmark-illustration {
  display: block;
  width: 100%;
  height: 100%;
}

.portland-poster-scene {
  display: block;
  width: 100%;
  height: 100%;
}

.custom-stop-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f6f0e5;
}

.street-scene .custom-stop-image {
  object-fit: cover;
}

.landmark-illustration .scene-label {
  display: none;
}

.street-scene .building-sign {
  bottom: 0.6rem;
  width: min(27rem, 78%);
  padding: 0.58rem 0.78rem 0.66rem;
  border-width: 2px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(247, 242, 232, 0.94)),
    #f7f2e8;
}

.street-scene .building-sign strong {
  font-size: clamp(0.95rem, 1.45vw, 1.22rem);
}

.street-scene .building-sign small {
  font-size: clamp(0.68rem, 0.92vw, 0.82rem);
}

.slot-left .building-sign,
.slot-right .building-sign {
  bottom: 0.55rem;
  width: min(17rem, 76%);
  transform: translateX(-50%) rotate(-0.4deg);
}

.slot-left .landmark-art,
.slot-right .landmark-art {
  filter: saturate(0.92) contrast(0.98);
}

.location-illustration .landmark-art {
  inset: 0.2rem;
  border-width: 2px;
  border-radius: 10px;
}

.location-illustration .landmark-illustration {
  transform: scale(1.08);
  transform-origin: center;
}

.modal-illustration .landmark-art {
  inset: 0;
  border: 0;
  border-radius: 0;
}

@media (max-width: 980px) {
  .street-scene .pov-building {
    width: min(40rem, 86vw);
    height: 31rem;
  }

  .pov-building.slot-left,
  .pov-building.slot-right {
    width: 17rem;
    height: 23rem;
  }
}

@media (max-width: 640px) {
  .street-scene .pov-building {
    width: min(31rem, 92vw);
    height: 26rem;
    min-height: 25rem;
  }

  .landmark-art {
    inset: 0 0 3.6rem;
  }
}

/* Portland waterfront illustration supplied by the user, scoped to the tour art frame */
.portland-waterfront-scene {
  --pws-paper: #f6f0e5;
  --pws-ink: #172737;
  --pws-water: #2c7482;
  --pws-water-dark: #15505d;
  --pws-sky: #bcd3ef;
  --pws-brick: #9b4f2f;
  --pws-cream: #e9dfcc;
  --pws-green: #536b4a;
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 16%, rgba(145, 177, 215, 0.38), transparent 20%),
    radial-gradient(circle at 64% 11%, rgba(150, 184, 225, 0.36), transparent 23%),
    radial-gradient(circle at 42% 32%, rgba(185, 207, 232, 0.36), transparent 18%),
    linear-gradient(var(--pws-paper), #efe4d5 78%, #dfd1bf);
}

.portland-waterfront-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.28;
  pointer-events: none;
}

.portland-waterfront-scene span {
  position: absolute;
  display: block;
  box-sizing: border-box;
}

.pws-wash {
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.42;
  background: var(--pws-sky);
}

.pws-one {
  width: 36%;
  height: 26%;
  top: 2.5%;
  left: 18.5%;
}

.pws-two {
  width: 38%;
  height: 30%;
  top: 1%;
  right: 8%;
}

.pws-three {
  width: 32%;
  height: 25%;
  top: 17%;
  left: 40%;
}

.pws-harbor {
  left: -5%;
  right: -5%;
  bottom: 0;
  height: 34%;
  background:
    radial-gradient(ellipse at 25% 8%, rgba(255, 255, 255, 0.6), transparent 20%),
    linear-gradient(180deg, #7bb2bb 0%, var(--pws-water) 32%, var(--pws-water-dark) 100%);
  clip-path: polygon(0 20%, 45% 8%, 64% 15%, 100% 2%, 100% 100%, 0 100%);
}

.pws-harbor::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(170deg, transparent 0 28px, rgba(255, 255, 255, 0.35) 29px 32px, transparent 34px 58px),
    repeating-linear-gradient(8deg, transparent 0 44px, rgba(0, 0, 0, 0.12) 45px 48px, transparent 49px 78px);
  opacity: 0.5;
}

.pws-dock {
  right: -2%;
  bottom: 29%;
  width: 56%;
  height: 9%;
  background: linear-gradient(#8a6644, #5d3c21);
  transform: skewX(-10deg);
  box-shadow: 0 13px 20px rgba(0, 0, 0, 0.25);
}

.pws-dock::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 3px, transparent 4px 68px);
}

.pws-pier-posts {
  right: 3%;
  bottom: 17%;
  width: 51%;
  height: 20%;
  background: repeating-linear-gradient(90deg, transparent 0 58px, #4b311d 59px 68px, transparent 69px 94px);
  opacity: 0.95;
}

.pws-city {
  left: 8%;
  right: 3%;
  bottom: 37%;
  height: 42%;
  z-index: 3;
  display: flex !important;
  align-items: flex-end;
  gap: 0.45%;
}

.pws-building {
  position: relative !important;
  width: var(--pws-w);
  height: var(--pws-h);
  background: var(--pws-brick);
  border: 3px solid var(--pws-ink);
  border-bottom-width: 5px;
  box-shadow: 8px 10px 0 rgba(41, 35, 30, 0.15);
  overflow: hidden;
}

.pws-building::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(56, 24, 16, 0.25) 23px 25px),
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(255, 255, 255, 0.13) 45px 47px);
  mix-blend-mode: multiply;
  opacity: 0.55;
}

.pws-building::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 16%;
  bottom: 22%;
  background:
    repeating-linear-gradient(90deg, transparent 0 12%, #1c3140 12.5% 24%, transparent 24.5% 34%),
    repeating-linear-gradient(0deg, transparent 0 24%, rgba(234, 226, 207, 0.88) 24.5% 38%, transparent 38.5% 50%);
  opacity: 0.9;
}

.pws-bld1 { --pws-w: 7%; --pws-h: 52%; background: #d7d0c3; }
.pws-bld2 { --pws-w: 8%; --pws-h: 66%; background: #a65734; }
.pws-bld3 { --pws-w: 7%; --pws-h: 72%; background: #e5ddd0; }
.pws-bld4 { --pws-w: 10%; --pws-h: 88%; background: #b85e36; }
.pws-bld5 { --pws-w: 13%; --pws-h: 100%; background: #8e4a2f; }
.pws-bld6 { --pws-w: 9%; --pws-h: 83%; background: #be6b38; }
.pws-bld7 { --pws-w: 11%; --pws-h: 92%; background: #7e3e2b; }
.pws-bld8 { --pws-w: 10%; --pws-h: 76%; background: #c47a42; }
.pws-bld9 { --pws-w: 8%; --pws-h: 69%; background: #e8dfcf; }
.pws-bld10 { --pws-w: 9%; --pws-h: 86%; background: #9c4f2f; }

.pws-roof {
  left: -4px;
  right: -4px;
  top: -15px;
  height: 22px;
  background: #2d3741;
  border: 3px solid var(--pws-ink);
  transform: skewX(-8deg);
}

.pws-awning {
  left: 7%;
  right: 7%;
  bottom: 7%;
  height: 11%;
  background: repeating-linear-gradient(90deg, #efe2bf 0 18px, #477463 19px 36px);
  border: 2px solid var(--pws-ink);
  z-index: 2;
}

.pws-church {
  left: 23.5%;
  bottom: 37%;
  width: 5.2%;
  height: 44%;
  z-index: 6;
}

.pws-tower {
  bottom: 0;
  width: 86%;
  height: 48%;
  background: #ebe2d6;
  border: 3px solid var(--pws-ink);
  box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.13);
}

.pws-steeple {
  left: 14%;
  bottom: 45%;
  width: 58%;
  height: 54%;
  background: #e8e1d7;
  border: 3px solid var(--pws-ink);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.pws-tip {
  left: 41%;
  bottom: 95%;
  width: 6%;
  height: 15%;
  background: var(--pws-ink);
}

.pws-lighthouse-scene {
  left: 4%;
  bottom: 1%;
  width: 24%;
  height: 23%;
  z-index: 8;
}

.pws-rocks {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 34%;
  background: linear-gradient(135deg, #4f5557, #24292b);
  clip-path: polygon(0 75%, 12% 36%, 25% 55%, 41% 18%, 59% 46%, 75% 24%, 100% 62%, 100% 100%, 0 100%);
}

.pws-lighthouse {
  left: 26%;
  bottom: 24%;
  width: 21%;
  height: 78%;
  background: #f4efe7;
  border: 3px solid var(--pws-ink);
  clip-path: polygon(28% 0, 72% 0, 88% 100%, 12% 100%);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.15);
}

.pws-lighthouse::before {
  content: "";
  position: absolute;
  left: 13%;
  right: 13%;
  top: 36%;
  height: 11%;
  background: #111f2a;
  box-shadow: 0 52px 0 #111f2a;
}

.pws-lamp {
  left: 31%;
  bottom: 101%;
  width: 15%;
  height: 20%;
  background: #1e3342;
  border: 3px solid var(--pws-ink);
}

.pws-house {
  left: 2%;
  bottom: 26%;
  width: 24%;
  height: 25%;
  background: #efe7d8;
  border: 3px solid var(--pws-ink);
}

.pws-house::before {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  top: -35px;
  height: 40px;
  background: #994330;
  border: 3px solid var(--pws-ink);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.pws-boat {
  left: 31%;
  bottom: 19%;
  width: 35%;
  height: 20%;
  z-index: 10;
  filter: drop-shadow(9px 13px 0 rgba(0, 0, 0, 0.18));
}

.pws-hull {
  bottom: 0;
  width: 100%;
  height: 43%;
  background: linear-gradient(180deg, #2d7a78, #103f46);
  border: 4px solid var(--pws-ink);
  clip-path: polygon(3% 12%, 86% 8%, 98% 35%, 88% 82%, 18% 100%, 6% 68%);
}

.pws-cabin {
  left: 20%;
  bottom: 35%;
  width: 26%;
  height: 44%;
  background: #e6ded0;
  border: 4px solid var(--pws-ink);
  border-radius: 7px 7px 0 0;
}

.pws-cabin::before {
  content: "";
  position: absolute;
  inset: 17% 9% 42%;
  background: repeating-linear-gradient(90deg, #213b4b 0 28%, #dce6e8 30% 35%, #213b4b 36% 64%, #dce6e8 66% 72%, #213b4b 73% 100%);
  border: 2px solid var(--pws-ink);
}

.pws-mast {
  left: 45%;
  bottom: 58%;
  width: 6px;
  height: 150px;
  background: var(--pws-ink);
  transform: rotate(-8deg);
  transform-origin: bottom center;
}

.pws-rope {
  left: 45%;
  bottom: 58%;
  width: 180px;
  height: 2px;
  background: var(--pws-ink);
  transform: rotate(28deg);
  transform-origin: left center;
  opacity: 0.7;
}

.pws-traps {
  right: 6%;
  bottom: 36%;
  width: 23%;
  height: 26%;
  background:
    repeating-linear-gradient(0deg, transparent 0 13px, var(--pws-ink) 14px 16px),
    repeating-linear-gradient(90deg, transparent 0 18px, var(--pws-ink) 19px 21px),
    rgba(177, 117, 57, 0.65);
  border: 3px solid var(--pws-ink);
  opacity: 0.88;
}

.pws-people {
  left: 12%;
  right: 8%;
  bottom: 37%;
  height: 6%;
  z-index: 12;
  background: repeating-linear-gradient(90deg, transparent 0 24px, #162a34 25px 30px, transparent 31px 46px);
  opacity: 0.8;
}

.pws-lobster-roll {
  left: 53%;
  bottom: 3%;
  width: 12.8%;
  height: 12.6%;
  z-index: 12;
  transform: rotate(4deg);
}

.pws-bun {
  left: 6%;
  bottom: 15%;
  width: 89%;
  height: 55%;
  background: #d9a35d;
  border: 3px solid var(--pws-ink);
  border-radius: 50px 50px 35px 35px;
}

.pws-lobster {
  left: 12%;
  bottom: 45%;
  width: 75%;
  height: 42%;
  background:
    radial-gradient(circle at 12% 45%, #d85b32 0 13px, transparent 14px),
    radial-gradient(circle at 36% 25%, #e46a3a 0 15px, transparent 16px),
    radial-gradient(circle at 62% 48%, #c94c2d 0 16px, transparent 17px),
    radial-gradient(circle at 86% 28%, #e07543 0 14px, transparent 15px);
}

.pws-beer {
  left: 65%;
  bottom: 4%;
  width: 5.3%;
  height: 16.7%;
  z-index: 11;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), transparent 28%), linear-gradient(#dfb052, #a96c23);
  border: 3px solid var(--pws-ink);
  border-radius: 0 0 18px 18px;
  opacity: 0.93;
}

.pws-beer::before {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  top: -15px;
  height: 26px;
  border: 3px solid var(--pws-ink);
  background: rgba(255, 248, 230, 0.72);
  border-radius: 50%;
}

.pws-brick-wall {
  right: -1%;
  bottom: 0;
  width: 27%;
  height: 18%;
  background:
    repeating-linear-gradient(0deg, transparent 0 19px, rgba(255, 255, 255, 0.2) 20px 22px),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(0, 0, 0, 0.18) 43px 45px),
    #9a4a2c;
  border: 3px solid var(--pws-ink);
  z-index: 9;
}

.pws-bike {
  right: 24%;
  bottom: 4%;
  width: 10.7%;
  height: 12%;
  z-index: 15;
}

.pws-wheel {
  bottom: 0;
  width: 36%;
  height: 60%;
  border: 5px solid var(--pws-ink);
  border-radius: 50%;
}

.pws-front { right: 0; }
.pws-back { left: 0; }

.pws-bike-frame {
  left: 16%;
  right: 19%;
  bottom: 31%;
  height: 4px;
  background: var(--pws-ink);
  transform: rotate(-6deg);
}

.pws-bike-frame::before,
.pws-bike-frame::after {
  content: "";
  position: absolute;
  width: 86px;
  height: 4px;
  background: var(--pws-ink);
  transform-origin: left center;
}

.pws-bike-frame::before {
  left: 16px;
  transform: rotate(48deg);
}

.pws-bike-frame::after {
  left: 33px;
  transform: rotate(-50deg);
}

.pws-trees {
  right: 17%;
  bottom: 16%;
  width: 12.8%;
  height: 20%;
  z-index: 10;
}

.pws-tree {
  bottom: 0;
  width: 9%;
  height: 48%;
  background: #553a22;
}

.pws-tree::before {
  content: "";
  position: absolute;
  left: -42px;
  top: -80px;
  width: 100px;
  height: 110px;
  background: radial-gradient(circle at 40% 35%, #6f874c, #374d31 72%);
  border-radius: 48% 52% 55% 45%;
  opacity: 0.93;
}

.pws-t1 { left: 11%; height: 42%; }
.pws-t2 { left: 49%; height: 56%; }
.pws-t3 { left: 81%; height: 37%; }

.pws-sailboat {
  left: 17%;
  bottom: 13%;
  width: 6.4%;
  height: 17.3%;
  z-index: 5;
}

.pws-sail {
  left: 40%;
  bottom: 25%;
  width: 48%;
  height: 66%;
  background: rgba(255, 255, 255, 0.82);
  border: 3px solid var(--pws-ink);
  clip-path: polygon(0 100%, 100% 100%, 0 0);
}

.pws-mast-small {
  left: 38%;
  bottom: 22%;
  width: 4px;
  height: 77%;
  background: var(--pws-ink);
}

.pws-small-hull {
  bottom: 15%;
  left: 11%;
  width: 84%;
  height: 14%;
  background: #2a5964;
  border: 3px solid var(--pws-ink);
  clip-path: polygon(0 0, 100% 0, 82% 100%, 18% 100%);
}

.pws-birds {
  left: 18%;
  top: 25%;
  width: 12.8%;
  height: 8%;
  z-index: 20;
  opacity: 0.75;
}

.pws-bird {
  width: 26px;
  height: 12px;
  border-top: 3px solid var(--pws-ink);
  border-radius: 50%;
  transform: rotate(8deg);
}

.pws-bird::after {
  content: "";
  position: absolute;
  left: 13px;
  top: -3px;
  width: 26px;
  height: 12px;
  border-top: 3px solid var(--pws-ink);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.pws-b1 { left: 0; top: 20%; }
.pws-b2 { left: 41%; top: 5%; transform: scale(0.75); }
.pws-b3 { left: 69%; top: 50%; transform: scale(0.6); }

.pws-mist-line {
  height: 2px;
  background: rgba(23, 39, 55, 0.38);
  z-index: 17;
}

.pws-m1 { left: 10%; bottom: 26%; width: 18%; }
.pws-m2 { left: 72%; bottom: 31%; width: 22%; }
.pws-m3 { left: 46%; bottom: 12%; width: 15%; }

.location-illustration .portland-waterfront-scene {
  transform: scale(1.15);
  transform-origin: center;
}

@media (max-width: 760px) {
  .pws-church,
  .pws-lobster-roll,
  .pws-beer,
  .pws-bike {
    transform: scale(0.78);
    transform-origin: bottom center;
  }
}

/* Cozy autumn presentation theme */
:root {
  color-scheme: light;
  --ink: #2f2a22;
  --muted: #695f51;
  --dim: #8c7a66;
  --panel: rgba(255, 249, 238, 0.9);
  --panel-solid: #fff6e8;
  --line: rgba(101, 78, 52, 0.22);
  --accent: #2f8f83;
  --accent-2: #d8892f;
  --accent-3: #b95f4b;
  --accent-4: #6d8f6f;
  --paper: #fffaf0;
  --dark: #f6efe1;
  --shadow: 0 20px 48px rgba(112, 78, 42, 0.18);
}

html {
  background: #f6efe1;
}

body {
  background:
    radial-gradient(circle at 12% 7%, rgba(151, 192, 164, 0.32), transparent 18rem),
    radial-gradient(circle at 86% 12%, rgba(232, 154, 70, 0.24), transparent 20rem),
    linear-gradient(180deg, #dff3f3 0, #f8e7c9 34rem, #f6efe1 100%);
  color: var(--ink);
}

.topbar {
  background: rgba(255, 250, 239, 0.86);
  border-bottom-color: rgba(101, 78, 52, 0.18);
  box-shadow: 0 10px 32px rgba(103, 76, 45, 0.1);
}

.brand-mark {
  border-color: rgba(47, 143, 131, 0.42);
  background: #e2f1e9;
  color: #2e7167;
}

.brand strong,
.topnav a:hover,
.topnav a:focus-visible,
.menu-button:hover,
.menu-button:focus-visible,
.menu-button[aria-expanded="true"] {
  color: var(--ink);
}

.brand small,
.topnav a,
.show-grid p,
.location-copy p,
.mini-tags span,
.timeline-button small,
.globe-hud span:last-child,
.flow-node span,
.reader-tabs button,
.reader-body p,
.reader-body li,
.signal span,
.metric p,
td,
.fit-grid p,
#dialogContent p,
#dialogContent li,
.street-scene .building-sign small {
  color: var(--muted);
}

.topnav,
.menu-button,
.icon-button,
.runway span,
.search-console,
.show-grid article,
.globe-stage,
.globe-hud,
.timeline-button,
.location-detail,
.flow-node,
.project-reader,
.reader-tabs,
.signal,
.metric,
.impact-table-wrap,
.fit-grid article,
dialog {
  border-color: var(--line);
  background: rgba(255, 249, 238, 0.82);
  box-shadow: var(--shadow);
}

.topnav,
.menu-button,
.runway span,
.reader-tabs,
.globe-hud {
  box-shadow: none;
}

.menu-button span {
  background: #3a3228;
}

.menu-button:hover,
.menu-button:focus-visible,
.menu-button[aria-expanded="true"] {
  border-color: rgba(47, 143, 131, 0.42);
  background: #deeee5;
}

.icon-button {
  border-color: rgba(216, 137, 47, 0.42);
  background: #fff0d3;
  color: #5d442a;
}

.icon-dot {
  background: var(--accent-2);
  box-shadow: 0 0 0 5px rgba(216, 137, 47, 0.14);
}

.hero::before {
  background-image:
    radial-gradient(circle at 84% 18%, rgba(255, 250, 239, 0.86), transparent 8rem),
    radial-gradient(circle at 72% 60%, rgba(151, 192, 164, 0.34), transparent 13rem),
    linear-gradient(90deg, rgba(255, 250, 239, 0.92), rgba(255, 246, 230, 0.7), rgba(255, 250, 239, 0.88)),
    linear-gradient(180deg, #bfe3eb 0 34%, #dae8c9 34% 48%, #f1d3a9 72%),
    repeating-linear-gradient(90deg, transparent 0 4rem, rgba(119, 97, 70, 0.08) 4rem 4.12rem, transparent 4.12rem 7rem);
  filter: saturate(1.03);
}

.hero::after {
  background: linear-gradient(180deg, rgba(246, 239, 225, 0), #f6efe1);
}

h1,
h2,
h3,
.hero-copy > p:not(.eyebrow),
.section-heading > p:not(.eyebrow) {
  color: var(--ink);
}

.eyebrow,
.timeline-chip,
.metric span {
  color: #2f8f83;
}

.primary-action {
  background: #2f7167;
  color: #fffaf0;
  box-shadow: 0 12px 24px rgba(47, 113, 103, 0.22);
}

.secondary-action {
  border-color: rgba(101, 78, 52, 0.24);
  background: rgba(255, 250, 239, 0.76);
  color: var(--ink);
}

.timing-section,
.journey-section,
.project-section,
.impact-section,
.fit-section {
  background:
    radial-gradient(circle at 10% 10%, rgba(151, 192, 164, 0.18), transparent 16rem),
    radial-gradient(circle at 90% 20%, rgba(216, 137, 47, 0.14), transparent 17rem),
    linear-gradient(180deg, #fff8eb, #f6efe1);
}

.show-grid article:nth-child(2),
.timeline-button:hover,
.timeline-button.is-active,
.flow-node:hover,
.flow-node.is-active {
  border-color: rgba(216, 137, 47, 0.48);
  background: rgba(255, 237, 205, 0.86);
}

.timeline-index {
  background: #f4dfbd;
  color: #9a5b1f;
}

.globe-stage {
  background:
    radial-gradient(circle at 22% 16%, rgba(255, 250, 239, 0.56), transparent 7rem),
    linear-gradient(180deg, #bfe3eb, #f2dfba);
}

.location-image,
.place-photo {
  border-color: var(--line);
}

.mini-tags span,
.show-grid span {
  border-color: rgba(216, 137, 47, 0.2);
  background: rgba(255, 237, 205, 0.72);
  color: #8b5b25;
}

.search-scrim {
  background: rgba(73, 55, 35, 0.28);
}

.search-console label,
th,
.reader-body h3,
.modal-meta {
  color: #a96422;
}

.search-row input,
.search-row button,
.result-card,
.reader-tabs button,
.dialog-close {
  border-color: var(--line);
  background: rgba(255, 250, 239, 0.9);
  color: var(--ink);
}

.search-row input:focus {
  border-color: rgba(47, 143, 131, 0.58);
  box-shadow: 0 0 0 3px rgba(47, 143, 131, 0.14);
}

.result-card:hover {
  border-color: rgba(47, 143, 131, 0.45);
  background: #fff1d6;
}

.reader-tabs button.is-active {
  background: #2f7167;
  color: #fffaf0;
}

tbody tr:hover {
  background: rgba(255, 237, 205, 0.58);
}

dialog {
  background: #fffaf0;
  color: var(--ink);
}

dialog::backdrop {
  background: rgba(76, 58, 39, 0.42);
}

.intro-mode .icon-button {
  border-color: rgba(47, 143, 131, 0.46);
  background: #deeee5;
}

.streetview-section {
  background: #f0e4ce;
  color: var(--ink);
}

.streetview-backdrop,
.streetview-section[data-city="portland"] .streetview-backdrop,
.streetview-section[data-city="boston"] .streetview-backdrop,
.streetview-section[data-city="dc"] .streetview-backdrop,
.streetview-section[data-city="nashville"] .streetview-backdrop,
.streetview-section[data-city="haifa"] .streetview-backdrop,
.streetview-section[data-city="nyc"] .streetview-backdrop {
  background:
    radial-gradient(circle at 17% 12%, rgba(255, 241, 168, 0.65), transparent 5.4rem),
    linear-gradient(180deg, #a7dfe8 0%, #dcebd8 35%, #b9a677 36%, #6f6147 100%);
}

.streetview-section[data-city="boston"] .streetview-backdrop {
  background:
    radial-gradient(circle at 75% 14%, rgba(255, 241, 168, 0.58), transparent 5rem),
    linear-gradient(180deg, #a2d7e6 0%, #dae8dd 34%, #aa9b74 35%, #665b45 100%);
}

.streetview-section[data-city="dc"] .streetview-backdrop {
  background:
    radial-gradient(circle at 49% 13%, rgba(255, 241, 168, 0.66), transparent 5.4rem),
    linear-gradient(180deg, #b8dbe8 0%, #efe6cd 35%, #b7a178 36%, #6b5842 100%);
}

.streetview-section[data-city="nashville"] .streetview-backdrop {
  background:
    radial-gradient(circle at 28% 14%, rgba(255, 222, 134, 0.62), transparent 5.2rem),
    linear-gradient(180deg, #9fd2e8 0%, #e5dfbd 35%, #b5955d 36%, #695238 100%);
}

.streetview-section[data-city="haifa"] .streetview-backdrop {
  background:
    radial-gradient(circle at 78% 13%, rgba(255, 227, 137, 0.66), transparent 5.2rem),
    linear-gradient(180deg, #9fd9ee 0%, #e8e1bd 34%, #c2a67b 35%, #705942 100%);
}

.streetview-section[data-city="nyc"] .streetview-backdrop {
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 225, 149, 0.54), transparent 5rem),
    linear-gradient(180deg, #9bcfe0 0%, #d7dfd5 34%, #94856a 35%, #554a3b 100%);
}

.streetview-overlay .section-heading.compact {
  width: fit-content;
  max-width: min(43rem, calc(100vw - 2rem));
  border: 1px solid rgba(101, 78, 52, 0.2);
  border-radius: 18px;
  padding: 0.9rem 1.1rem 1rem;
  background: rgba(255, 250, 239, 0.74);
  box-shadow: 0 14px 34px rgba(88, 64, 35, 0.14);
  backdrop-filter: blur(10px);
}

.streetview-overlay .section-heading.compact h2,
.streetview-overlay .section-heading.compact p {
  color: var(--ink);
  text-shadow: none;
}

.streetview-overlay .section-heading.compact .eyebrow {
  color: #2f8f83;
}

.street-city-card {
  border-color: rgba(101, 78, 52, 0.22);
  background: rgba(255, 250, 239, 0.84);
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(88, 64, 35, 0.15);
}

.street-city-card span {
  color: #2f8f83;
}

.street-city-card strong {
  color: #5b3b24;
}

.street-city-card small {
  color: #8b5b25;
}

.walk-controls,
.place-controls {
  border-color: rgba(101, 78, 52, 0.22);
  background: rgba(255, 250, 239, 0.86);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(88, 64, 35, 0.12);
}

.walk-controls button,
.place-controls button {
  background: #6f785d;
  color: #fffaf0;
}

.walk-controls button:hover,
.place-controls button:hover {
  background: #596a52;
}

.walk-controls button:disabled,
.place-controls button:disabled {
  background: rgba(105, 95, 81, 0.22);
  color: rgba(47, 42, 34, 0.58);
}

.walk-controls span,
.place-controls span {
  color: #5d5348;
}

.street-scene {
  background: linear-gradient(180deg, transparent 0 36%, rgba(255, 250, 239, 0.12) 36% 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 239, 0.42),
    inset 0 -1px 0 rgba(101, 78, 52, 0.24);
}

.street-scene::before {
  background:
    linear-gradient(90deg, rgba(255, 250, 239, 0.24), transparent 17% 83%, rgba(255, 250, 239, 0.22)),
    linear-gradient(180deg, #968365, #675a44);
}

.street-scene::after {
  background:
    repeating-linear-gradient(90deg, var(--paper) 0 1.4rem, transparent 1.4rem 2.6rem),
    rgba(93, 73, 49, 0.28);
}

.landmark-art {
  border-color: rgba(77, 55, 34, 0.5);
  background: #a7dfe8;
  box-shadow: 0 1.4rem 2.2rem rgba(92, 62, 31, 0.22);
}

.street-scene .building-sign {
  border-color: #4d3722;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 250, 239, 0.96)),
    #fffaf0;
  color: var(--ink);
  box-shadow: 0 0.62rem 0 rgba(77, 55, 34, 0.17), 0 1.3rem 2rem rgba(88, 64, 35, 0.2);
}

.street-scene .building-sign em {
  color: #2f8f83;
}

.custom-stop-image {
  background: #fffaf0;
}

.modal-illustration {
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 241, 168, 0.48), transparent 3.5rem),
    linear-gradient(180deg, #a7dfe8, #e7ead4 42%, #9a8b68 43%, #64543c);
}

@media (max-width: 640px) {
  .streetview-overlay .section-heading.compact {
    width: calc(100% - 2rem);
  }
}

.journey-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin: -0.7rem 0 1.2rem;
}

.mode-toggle,
.filter-group,
.globe-zoom-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(101, 78, 52, 0.2);
  background: rgba(255, 250, 239, 0.82);
  box-shadow: 0 10px 24px rgba(88, 64, 35, 0.1);
  backdrop-filter: blur(10px);
}

.mode-toggle,
.filter-group {
  border-radius: 999px;
  padding: 0.28rem;
}

.filter-group span {
  padding: 0 0.5rem;
  color: #6d5f50;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mode-toggle button,
.filter-group button {
  min-height: 2.2rem;
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.72rem;
  background: transparent;
  color: #5d5348;
  cursor: pointer;
  font-weight: 800;
}

.mode-toggle button.is-active,
.filter-group button.is-active,
.filter-group button[aria-pressed="true"] {
  background: #2f7167;
  color: #fffaf0;
}

.filter-group button:not(.is-active)[aria-pressed="false"] {
  opacity: 0.66;
}

.globe-zoom-controls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 4;
  flex-direction: column;
  border-radius: 999px;
  padding: 0.28rem;
}

.globe-zoom-controls button {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 0;
  border-radius: 50%;
  background: #fffaf0;
  color: #2f2a22;
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
}

.globe-zoom-controls button:hover {
  background: #fff1d6;
}

.globe-zoom-controls button:disabled {
  cursor: default;
  opacity: 0.45;
}

.timeline-category {
  grid-column: 2;
  width: fit-content;
  border: 1px solid rgba(47, 143, 131, 0.24);
  border-radius: 999px;
  padding: 0.26rem 0.48rem;
  background: rgba(226, 241, 233, 0.82);
  color: #2f7167;
  font-size: 0.72rem;
  font-weight: 900;
}

.empty-state {
  border: 1px dashed rgba(101, 78, 52, 0.28);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 250, 239, 0.72);
  color: var(--muted);
  line-height: 1.5;
}

.streetview-section[data-mode="timeline"] .place-controls {
  display: none;
}

.contact-section {
  background:
    radial-gradient(circle at 18% 18%, rgba(47, 143, 131, 0.14), transparent 15rem),
    radial-gradient(circle at 82% 24%, rgba(216, 137, 47, 0.14), transparent 15rem),
    linear-gradient(180deg, #f6efe1, #fff8eb);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

@media (max-width: 760px) {
  .journey-controls,
  .mode-toggle,
  .filter-group,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .mode-toggle button,
  .filter-group button,
  .contact-actions a {
    justify-content: center;
  }
}

.section-menu {
  gap: 0.75rem;
}

.menu-label {
  margin: 0;
  color: #a96422;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-links {
  max-height: min(28rem, calc(100vh - 9rem));
  min-height: 0;
  margin-top: 0;
}

.section-result {
  border-radius: 14px;
  padding: 0.95rem 1rem;
}

.section-result strong {
  margin-bottom: 0;
  font-size: 0.96rem;
}

.hero {
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 22rem);
  align-items: center;
}

.hero-portrait {
  position: relative;
  width: min(22rem, 100%);
  margin: 0;
  justify-self: end;
  border: 1px solid rgba(101, 78, 52, 0.2);
  border-radius: 28px;
  padding: 0.75rem;
  background:
    radial-gradient(circle at 30% 14%, rgba(255, 241, 168, 0.38), transparent 7rem),
    linear-gradient(180deg, rgba(255, 250, 239, 0.92), rgba(255, 238, 210, 0.86));
  box-shadow: 0 22px 54px rgba(99, 67, 35, 0.18);
}

.hero-portrait::before {
  content: "";
  position: absolute;
  inset: -0.75rem;
  z-index: -1;
  border-radius: 34px;
  background:
    radial-gradient(circle at 20% 20%, rgba(47, 143, 131, 0.22), transparent 42%),
    radial-gradient(circle at 80% 82%, rgba(216, 137, 47, 0.2), transparent 44%);
}

.hero-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  object-fit: cover;
  object-position: center 22%;
}

.overview-section,
.skills-section {
  background:
    radial-gradient(circle at 10% 10%, rgba(151, 192, 164, 0.18), transparent 16rem),
    radial-gradient(circle at 90% 20%, rgba(216, 137, 47, 0.14), transparent 17rem),
    linear-gradient(180deg, #fff8eb, #f6efe1);
}

.overview-section {
  display: none;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.overview-grid article,
.skills-cloud,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 249, 238, 0.86);
  box-shadow: var(--shadow);
}

.overview-grid article {
  padding: 1rem;
}

.overview-grid span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  background: #f4dfbd;
  color: #9a5b1f;
  font-weight: 900;
}

.overview-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.skills-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 1rem;
}

.skills-cloud span {
  border: 1px solid rgba(216, 137, 47, 0.22);
  border-radius: 999px;
  padding: 0.55rem 0.78rem;
  background: rgba(255, 237, 205, 0.72);
  color: #704b23;
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-layout {
  max-width: 48rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: #5d442a;
  font-size: 0.82rem;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(101, 78, 52, 0.24);
  border-radius: 14px;
  padding: 0.78rem 0.85rem;
  background: rgba(255, 250, 239, 0.92);
  color: var(--ink);
  font: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(47, 143, 131, 0.58);
  box-shadow: 0 0 0 3px rgba(47, 143, 131, 0.14);
}

.message-field,
.contact-form .contact-actions,
.contact-status {
  grid-column: 1 / -1;
}

.contact-form button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.contact-status {
  min-height: 1.3rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.intro-mode .overview-section {
  display: block;
}

.intro-mode .journey-section,
.intro-mode .streetview-section,
.intro-mode .project-section,
.intro-mode .impact-section,
.intro-mode .fit-section,
.intro-mode .skills-section {
  display: none;
}

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

  .hero-portrait {
    justify-self: start;
    max-width: 18rem;
  }

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

@media (max-width: 640px) {
  .overview-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }
}

/* Final polish: richer location cards, globe hints, music resume, and tighter walk controls */
.location-detail[hidden] {
  display: none;
}

.timeline-card {
  border: 1px solid rgba(101, 78, 52, 0.16);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 10%, rgba(216, 137, 47, 0.13), transparent 9rem),
    rgba(255, 250, 239, 0.74);
  box-shadow: 0 14px 36px rgba(88, 64, 35, 0.1);
  overflow: hidden;
}

.timeline-card > .timeline-button {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.timeline-card.is-active {
  border-color: rgba(47, 143, 131, 0.42);
  background:
    radial-gradient(circle at 10% 0%, rgba(47, 143, 131, 0.13), transparent 11rem),
    linear-gradient(180deg, rgba(255, 250, 239, 0.92), rgba(255, 243, 221, 0.84));
}

.inline-location-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin: 0 0.85rem 0.85rem;
  border: 1px solid rgba(101, 78, 52, 0.18);
  border-radius: 18px;
  padding: 0.85rem;
  background:
    linear-gradient(135deg, rgba(255, 250, 239, 0.96), rgba(255, 237, 205, 0.62)),
    #fffaf0;
}

.location-art-wrap {
  min-height: 14rem;
  border: 1px solid rgba(101, 78, 52, 0.18);
  border-radius: 16px;
  overflow: hidden;
  background: #f2dfba;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 239, 0.5);
}

.inline-location-detail .location-illustration {
  width: 100%;
  height: 100%;
  min-height: 14rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.inline-location-detail .location-illustration .landmark-art,
.inline-location-detail .custom-stop-image {
  width: 100%;
  height: 100%;
}

.inline-location-detail .location-illustration .landmark-art {
  inset: 0;
  border: 0;
  border-radius: 0;
}

.inline-location-detail .city-route {
  display: none;
}

.inline-location-detail .custom-stop-image {
  object-fit: cover;
}

.location-story-card {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  padding: 0.15rem 0.2rem;
}

.location-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.location-kicker span,
.performance-label,
.recording-card span,
.location-stop-card span {
  color: #2f8f83;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.location-kicker strong {
  border: 1px solid rgba(216, 137, 47, 0.24);
  border-radius: 999px;
  padding: 0.32rem 0.58rem;
  background: #fff1d6;
  color: #8b5b25;
  font-size: 0.82rem;
}

.location-story-card h3 {
  margin: 0;
  color: #3a2e23;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2vw, 2.15rem);
}

.story-note-grid {
  display: grid;
  gap: 0.65rem;
}

.story-note-grid p {
  margin: 0;
  border-left: 4px solid rgba(216, 137, 47, 0.36);
  border-radius: 0 12px 12px 0;
  padding: 0.65rem 0.75rem;
  background: rgba(255, 249, 238, 0.74);
  color: #5d5348;
  line-height: 1.58;
}

.story-pill-row,
.location-stop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.story-pill-row span {
  border: 1px solid rgba(47, 143, 131, 0.2);
  border-radius: 999px;
  padding: 0.34rem 0.56rem;
  background: rgba(226, 241, 233, 0.78);
  color: #2f7167;
  font-size: 0.76rem;
  font-weight: 800;
}

.location-stop-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: 23rem;
  margin-top: 0.15rem;
  padding-right: 0.25rem;
  overflow: auto;
}

.location-stop-card {
  display: grid;
  gap: 0.24rem;
  border: 1px solid rgba(101, 78, 52, 0.16);
  border-radius: 16px;
  padding: 0.72rem;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--stop-color) 14%, transparent), transparent 70%),
    rgba(255, 250, 239, 0.88);
}

.location-stop-card strong {
  color: #2f2a22;
  font-size: 0.92rem;
}

.location-stop-card em {
  color: #8b5b25;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.location-stop-card small {
  color: #6d5f50;
  line-height: 1.35;
}

.globe-tooltip {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 8;
  width: min(22rem, calc(100% - 1.5rem));
  border: 1px solid rgba(101, 78, 52, 0.22);
  border-radius: 18px;
  padding: 0.78rem 0.86rem;
  background: rgba(255, 250, 239, 0.94);
  box-shadow: 0 18px 42px rgba(88, 64, 35, 0.22);
  color: #2f2a22;
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.globe-tooltip.is-sticky {
  pointer-events: auto;
}

.globe-tooltip[hidden] {
  display: none;
}

.globe-tooltip strong,
.globe-tooltip span,
.globe-tooltip small {
  display: block;
}

.globe-tooltip strong {
  font-size: 0.95rem;
}

.globe-tooltip span {
  margin-top: 0.18rem;
  color: #2f8f83;
  font-size: 0.78rem;
  font-weight: 900;
}

.globe-tooltip small,
.globe-tooltip li {
  color: #6d5f50;
  line-height: 1.38;
}

.globe-tooltip ul {
  display: grid;
  gap: 0.4rem;
  max-height: 16rem;
  margin: 0.62rem 0 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.streetview-overlay {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.86fr);
  grid-template-areas:
    "title city"
    "walk place"
    "scene scene";
  gap: 0.85rem 1rem;
  align-items: start;
}

.streetview-overlay .section-heading.compact {
  grid-area: title;
}

.street-city-card {
  position: static;
  grid-area: city;
  width: 100%;
  max-width: none;
}

.walk-controls {
  grid-area: walk;
}

.place-controls {
  grid-area: place;
  justify-self: end;
}

.walk-controls,
.place-controls {
  position: sticky;
  top: 5rem;
  z-index: 15;
  margin-bottom: 0;
}

.street-scene {
  grid-area: scene;
  min-height: min(64vh, 42rem);
}

.streetview-section[data-mode="timeline"] .walk-controls {
  grid-column: 1 / -1;
}

.streetview-section[data-mode="timeline"] .street-scene {
  min-height: min(66vh, 44rem);
}

.contact-form textarea {
  max-width: 100%;
  min-height: 11rem;
  resize: vertical;
}

.performance-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(47, 143, 131, 0.13), transparent 17rem),
    radial-gradient(circle at 88% 20%, rgba(216, 137, 47, 0.16), transparent 16rem),
    linear-gradient(180deg, #fff8eb, #f6efe1);
}

.performance-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.performance-card,
.recording-card {
  border: 1px solid rgba(101, 78, 52, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 14% 10%, rgba(216, 137, 47, 0.13), transparent 9rem),
    rgba(255, 250, 239, 0.86);
  box-shadow: 0 18px 44px rgba(88, 64, 35, 0.12);
}

.performance-card {
  padding: 1.1rem;
}

.performance-list {
  display: grid;
  gap: 0.72rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.performance-list li {
  display: grid;
  gap: 0.18rem;
  border-left: 4px solid rgba(47, 143, 131, 0.28);
  border-radius: 0 14px 14px 0;
  padding: 0.56rem 0.7rem;
  background: rgba(255, 249, 238, 0.76);
}

.compact-list {
  gap: 0.48rem;
}

.performance-list strong {
  color: #2f2a22;
}

.performance-list span {
  color: #6d5f50;
  line-height: 1.4;
}

.recording-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.recording-card {
  overflow: hidden;
}

.recording-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #2f2a22;
}

.recording-card div {
  padding: 1rem;
}

.recording-card h3 {
  margin: 0.28rem 0 0;
  color: #3a2e23;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.85rem);
}

.recording-card p {
  margin: 0.35rem 0 0;
  color: #6d5f50;
  line-height: 1.5;
}

.intro-mode .performance-section {
  display: none;
}

@media (max-width: 980px) {
  .inline-location-detail,
  .performance-layout,
  .recording-gallery {
    grid-template-columns: 1fr;
  }

  .streetview-overlay {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "city"
      "walk"
      "place"
      "scene";
  }

  .place-controls {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .location-stop-list {
    grid-template-columns: 1fr;
  }

  .walk-controls,
  .place-controls {
    position: relative;
    top: auto;
  }
}

/* Current interaction pass */
.topbar {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  padding-top: 0.72rem;
  padding-bottom: 0.72rem;
  transition: transform 240ms ease, opacity 220ms ease;
}

body.topbar-hidden .topbar {
  transform: translateY(-115%);
  opacity: 0;
}

.topnav {
  display: none;
}

.brand small {
  max-width: min(43vw, 34rem);
}

.journey-section .section-heading h2 {
  color: #2f8f83;
}

.panel-toggle {
  border: 1px solid rgba(101, 78, 52, 0.2);
  border-radius: 999px;
  padding: 0.62rem 0.9rem;
  background: rgba(255, 250, 239, 0.82);
  color: #5d442a;
  box-shadow: 0 10px 24px rgba(88, 64, 35, 0.1);
  cursor: pointer;
  font-weight: 900;
}

.panel-toggle:hover,
.panel-toggle:focus-visible {
  border-color: rgba(47, 143, 131, 0.38);
  background: #e2f1e9;
}

.journey-section.is-list-collapsed .journey-layout {
  grid-template-columns: minmax(0, 1fr);
}

.journey-section.is-list-collapsed .journey-panel {
  display: none;
}

.journey-section.is-list-collapsed .globe-stage {
  aspect-ratio: 1 / 1;
  width: min(100%, 58rem);
  height: auto;
  min-height: 0;
  justify-self: center;
}

.journey-section[data-view="timeline"] .journey-layout {
  grid-template-columns: minmax(18rem, 0.9fr) minmax(30rem, 1.1fr);
}

.timeline[data-view="timeline"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 0.75rem;
}

.timeline[data-view="timeline"] .timeline-button {
  min-height: 8.2rem;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  padding: 0.72rem;
}

.timeline[data-view="timeline"] .timeline-button strong {
  font-size: 0.88rem;
}

.timeline[data-view="timeline"] .timeline-button small {
  font-size: 0.75rem;
  line-height: 1.35;
}

.timeline[data-view="timeline"] .timeline-chip,
.timeline[data-view="timeline"] .timeline-category {
  grid-column: 2;
}

.timeline[data-view="timeline"] .timeline-category {
  margin-top: 0.1rem;
}

.journey-section.is-list-collapsed[data-view="timeline"] .journey-layout {
  grid-template-columns: minmax(0, 1fr);
}

.journey-section.is-list-collapsed[data-view="timeline"] .globe-stage {
  aspect-ratio: 1 / 1;
  width: min(100%, 58rem);
  height: auto;
  justify-self: center;
}

@media (max-width: 1120px) {
  .journey-section[data-view="timeline"] .journey-layout {
    grid-template-columns: 1fr;
  }

  .timeline[data-view="timeline"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .timeline[data-view="timeline"] {
    grid-template-columns: 1fr;
  }
}

.reader-tabs {
  display: none;
}

.reader-body h4 {
  margin: 1rem 0 0.35rem;
  color: #2f7167;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 950;
  letter-spacing: 0;
}

.case-dashboard {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.case-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.case-kpi {
  border: 1px solid rgba(216, 137, 47, 0.22);
  border-radius: 1rem;
  padding: 0.8rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 194, 104, 0.32), transparent 3rem),
    rgba(255, 250, 239, 0.86);
  box-shadow: 0 12px 26px rgba(93, 68, 42, 0.08);
}

.case-kpi strong {
  display: block;
  color: #6b3d22;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.8rem);
  line-height: 1;
}

.case-kpi span {
  display: block;
  margin-top: 0.32rem;
  color: #6d6258;
  font-size: 0.78rem;
  font-weight: 850;
}

.case-bars {
  display: grid;
  gap: 0.62rem;
  border: 1px solid rgba(47, 143, 131, 0.16);
  border-radius: 1rem;
  padding: 0.8rem;
  background: rgba(226, 241, 233, 0.6);
}

.case-chart-note {
  margin: 0 0 0.2rem;
  color: #6d6258;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.45;
}

.case-bar-wrap {
  display: grid;
  gap: 0.45rem;
}

.case-bar {
  width: 100%;
  border: 0;
  border-radius: 0.8rem;
  padding: 0.4rem 0.45rem;
  background: rgba(255, 250, 239, 0.34);
  display: grid;
  grid-template-columns: minmax(7rem, 1fr) auto;
  gap: 0.6rem;
  align-items: center;
  color: #4f473e;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
  text-align: left;
  transition: background 180ms ease, transform 180ms ease;
}

.case-bar:hover,
.case-bar:focus-visible,
.case-bar[aria-expanded="true"] {
  background: rgba(255, 250, 239, 0.88);
  outline: none;
}

.case-bar:hover {
  transform: translateY(-1px);
}

.case-bar strong {
  color: #2f7167;
}

.case-bar em {
  grid-column: 1 / -1;
  color: #8b5b25;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  opacity: 0.78;
}

.case-bar[aria-expanded="true"] em {
  color: #2f7167;
}

.case-bar i {
  grid-column: 1 / -1;
  display: block;
  height: 0.62rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 250, 239, 0.95);
  box-shadow: inset 0 0 0 1px rgba(47, 143, 131, 0.1);
}

.case-bar i::before {
  content: "";
  display: block;
  width: var(--bar-value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f7167, #f0b35b);
}

.case-bar-note {
  margin: 0;
  border-left: 3px solid #f0b35b;
  border-radius: 0 0.8rem 0.8rem 0;
  padding: 0.65rem 0.75rem;
  background: rgba(255, 250, 239, 0.84);
  color: #4f473e;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.55;
}

.case-copy {
  border-top: 1px dashed rgba(216, 137, 47, 0.26);
  padding-top: 0.35rem;
}

.case-step-nav {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) auto minmax(8rem, 1fr);
  gap: 0.75rem;
  align-items: stretch;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(216, 137, 47, 0.28);
}

.case-step-nav button {
  display: grid;
  gap: 0.2rem;
  border: 1px solid rgba(216, 137, 47, 0.32);
  border-radius: 1rem;
  padding: 0.72rem 0.9rem;
  background:
    radial-gradient(circle at 90% 18%, rgba(255, 194, 104, 0.28), transparent 3rem),
    rgba(255, 250, 239, 0.86);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-sans);
  text-align: left;
  box-shadow: 0 12px 26px rgba(93, 68, 42, 0.08);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.case-step-nav button:last-child {
  text-align: right;
}

.case-step-nav button:hover,
.case-step-nav button:focus-visible {
  border-color: rgba(47, 143, 131, 0.48);
  background: rgba(226, 241, 233, 0.78);
  outline: none;
  transform: translateY(-1px);
}

.case-step-nav button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
}

.case-step-nav button span {
  color: #2f7167;
  font-weight: 950;
}

.case-step-nav button small {
  color: #6d6258;
  font-weight: 800;
  line-height: 1.35;
}

.case-step-count {
  align-self: center;
  justify-self: center;
  border: 1px solid rgba(47, 143, 131, 0.18);
  border-radius: 999px;
  padding: 0.48rem 0.8rem;
  background: rgba(226, 241, 233, 0.66);
  color: #2f7167;
  font-size: 0.78rem;
  font-weight: 950;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .case-kpis {
    grid-template-columns: 1fr;
  }

  .case-step-nav {
    grid-template-columns: 1fr;
  }

  .case-step-count {
    order: -1;
  }
}

.streetview-section {
  padding-top: 3.25rem;
}

.streetview-overlay {
  grid-template-columns: minmax(0, 0.82fr) minmax(16rem, 0.68fr);
  gap: 0.65rem 0.9rem;
}

.streetview-overlay .section-heading.compact {
  max-width: min(30rem, 100%);
  padding: 0.62rem 0.82rem 0.7rem;
}

.streetview-overlay .section-heading.compact h2 {
  font-size: clamp(2rem, 4.2vw, 4.1rem);
  line-height: 0.95;
}

.street-city-card {
  padding: 0.74rem 0.9rem;
}

.street-city-card strong {
  font-size: clamp(1.35rem, 2.6vw, 2.65rem);
  line-height: 0.98;
}

.walk-controls,
.place-controls {
  top: 1rem;
}

.street-scene {
  min-height: min(72vh, 49rem);
}

.street-scene .pov-building {
  width: min(66rem, 78vw);
  height: min(43rem, 70vh);
  min-height: 29rem;
}

.pov-building.slot-center {
  bottom: 1.5rem;
}

.pov-building.slot-left,
.pov-building.slot-right {
  width: min(38rem, 33vw);
  height: min(35rem, 58vh);
}

.landmark-art {
  inset: 0 0 3.35rem;
}

.street-scene .custom-stop-image {
  object-fit: contain;
}

@media (max-width: 980px) {
  .brand small {
    display: none;
  }

  .streetview-overlay {
    grid-template-columns: 1fr;
  }
}

/* Scale stability pass for browser zoom and very wide viewports */
:root {
  --content-max: clamp(73.75rem, 82vw, 108rem);
  --content-gutter: max(1rem, calc((100vw - var(--content-max)) / 2));
}

section {
  padding-right: var(--content-gutter);
  padding-left: var(--content-gutter);
}

.topbar {
  padding-right: var(--content-gutter);
  padding-left: var(--content-gutter);
}

.hero {
  min-height: clamp(42rem, 72vh, 58rem);
  grid-template-columns: minmax(28rem, 0.95fr) minmax(18rem, clamp(22rem, 20vw, 30rem));
  align-items: center;
}

.hero-copy {
  max-width: clamp(55rem, 50vw, 72rem);
}

h1 {
  max-width: 62rem;
  font-size: clamp(4rem, 3vw, 5.7rem);
}

h2 {
  font-size: clamp(2.7rem, 2vw, 4rem);
}

.hero-copy > p:not(.eyebrow),
.section-heading > p:not(.eyebrow) {
  font-size: clamp(1.05rem, 0.72vw, 1.24rem);
}

.hero-portrait {
  width: clamp(22rem, 18vw, 30rem);
}

.show-grid,
.overview-grid,
.impact-grid {
  gap: clamp(0.8rem, 0.8vw, 1.25rem);
}

.project-lab {
  grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr);
}

.streetview-section {
  min-height: auto;
  padding: clamp(3.2rem, 4.5vw, 5.8rem) 0 clamp(3.4rem, 5vw, 6.25rem);
}

.streetview-overlay {
  width: min(var(--content-max), calc(100vw - 2rem));
  margin-right: auto;
  margin-left: auto;
  grid-template-columns: minmax(24rem, 0.88fr) minmax(24rem, 0.72fr);
  column-gap: clamp(1.25rem, 2.5vw, 3.5rem);
}

.streetview-overlay .section-heading.compact {
  width: fit-content;
  max-width: min(32rem, 100%);
  justify-self: start;
}

.streetview-overlay .section-heading.compact h2,
.street-city-card strong {
  font-size: clamp(1.7rem, 2.35vw, 3.25rem);
  line-height: 0.98;
}

@media (max-width: 1180px) {
  .streetview-overlay {
    grid-template-columns: 1fr;
  }
}

.street-scene {
  width: 100%;
  min-height: clamp(38rem, 54vw, 62rem);
  border: 1px solid rgba(101, 78, 52, 0.22);
  border-radius: 28px;
}

.street-scene .pov-building {
  width: clamp(34rem, 58vw, 88rem);
  height: clamp(28rem, 42vw, 54rem);
  min-height: 0;
}

.pov-building.slot-center {
  bottom: clamp(1.5rem, 3vw, 3.4rem);
}

.pov-building.slot-left,
.pov-building.slot-right {
  width: clamp(24rem, 28vw, 42rem);
  height: clamp(24rem, 34vw, 44rem);
}

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

  .hero-portrait {
    width: min(22rem, 100%);
    justify-self: start;
  }

  .streetview-overlay {
    grid-template-columns: 1fr;
  }

  .streetview-overlay .section-heading.compact h2,
  .street-city-card strong {
    font-size: clamp(1.85rem, 7vw, 3rem);
  }

  .street-scene {
    min-height: 34rem;
  }

  .street-scene .pov-building {
    width: min(44rem, 90vw);
    height: min(34rem, 68vh);
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2.85rem;
  }

  h2 {
    font-size: 2.2rem;
  }
}

/* Presentation density and guided walkthrough pass */
@media (min-width: 1100px) {
  html {
    font-size: 14px;
  }
}

section {
  padding-top: clamp(3.1rem, 5vh, 4.75rem);
  padding-bottom: clamp(3.1rem, 5vh, 4.75rem);
}

.section-heading {
  margin-bottom: clamp(0.9rem, 1.6vh, 1.35rem);
}

h2,
.journey-section .section-heading h2 {
  font-size: clamp(2.05rem, 2.7vw, 3.55rem);
  line-height: 0.98;
}

.icon-button {
  max-width: min(22rem, 28vw);
  white-space: normal;
  text-align: left;
}

.top-actions {
  flex-wrap: nowrap;
}

.overview-section {
  min-height: calc(100vh - 4.6rem);
  padding-top: clamp(2rem, 4vh, 3.4rem);
  padding-bottom: clamp(2rem, 4vh, 3.4rem);
}

.overview-stage {
  display: grid;
  grid-template-columns: minmax(34rem, 1.08fr) minmax(22rem, 0.72fr);
  gap: clamp(1rem, 2vw, 2rem);
  align-items: stretch;
}

.overview-story,
.overview-gallery {
  border: 1px solid rgba(101, 78, 52, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 14% 10%, rgba(216, 137, 47, 0.11), transparent 10rem),
    rgba(255, 250, 239, 0.86);
  box-shadow: 0 20px 48px rgba(88, 64, 35, 0.12);
}

.overview-story {
  padding: clamp(1.2rem, 2vw, 1.8rem);
}

.overview-story h2 {
  margin-bottom: 0.7rem;
  color: #5b3b24;
}

.overview-lede {
  max-width: 58rem;
  margin: 0 0 1rem;
  color: #5d5348;
  font-size: clamp(1rem, 1.05vw, 1.18rem);
  line-height: 1.55;
}

.overview-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}

.overview-grid article {
  min-height: 11.4rem;
  border-radius: 18px;
  padding: 0.82rem;
  box-shadow: 0 10px 24px rgba(88, 64, 35, 0.08);
}

.overview-grid h3 {
  margin-bottom: 0.35rem;
  color: #2f2a22;
  font-size: 0.95rem;
}

.overview-grid p {
  font-size: 0.88rem;
  line-height: 1.42;
}

.overview-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(8rem, 1fr);
  gap: 0.55rem;
  padding: 0.7rem;
}

.overview-gallery img {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 1px solid rgba(101, 78, 52, 0.16);
  border-radius: 16px;
  object-fit: cover;
  background: #fffaf0;
}

.overview-gallery img:first-child {
  grid-row: span 2;
  object-position: center 18%;
}

.intro-mode main > section:not(.overview-section) {
  display: none;
}

.journey-section {
  min-height: 100vh;
  padding-top: clamp(2.6rem, 4vh, 3.8rem);
  padding-bottom: clamp(2.6rem, 4vh, 3.8rem);
}

.journey-controls {
  margin: -0.2rem 0 0.75rem;
  gap: 0.55rem;
}

.mode-toggle,
.filter-group {
  transform: scale(0.92);
  transform-origin: left center;
}

.journey-layout {
  gap: 1rem;
}

.globe-stage {
  height: min(54vh, 35rem);
  min-height: 27rem;
  top: 4.7rem;
}

.journey-panel {
  min-height: 0;
}

.timeline {
  max-height: min(54vh, 35rem);
  overflow: auto;
  padding-right: 0.25rem;
}

.timeline-button {
  min-height: auto;
  padding: 0.58rem 0.68rem;
}

.timeline-card {
  border-radius: 16px;
}

.timeline-index {
  width: 1.75rem;
  height: 1.75rem;
}

.streetview-section {
  min-height: 100vh;
  padding: clamp(1.3rem, 2.5vh, 2rem) 0 clamp(1.6rem, 3vh, 2.5rem);
}

.streetview-overlay {
  row-gap: 0.55rem;
}

.streetview-overlay .section-heading.compact {
  max-width: min(26rem, 100%);
  padding: 0.58rem 0.9rem 0.68rem;
}

.streetview-overlay .section-heading.compact h2,
.street-city-card strong {
  font-size: clamp(1.75rem, 2.25vw, 3rem);
}

.street-city-card {
  padding: 0.58rem 0.85rem 0.7rem;
}

.walk-controls,
.place-controls {
  top: 0.65rem;
  min-height: 3.1rem;
}

.street-scene {
  min-height: min(58vh, 36rem);
}

.street-scene .pov-building {
  width: clamp(30rem, 52vw, 72rem);
  height: clamp(22rem, 33vw, 38rem);
}

.pov-building.slot-center {
  bottom: clamp(0.9rem, 2vw, 1.7rem);
}

.pov-building.slot-left,
.pov-building.slot-right {
  width: clamp(20rem, 24vw, 34rem);
  height: clamp(20rem, 26vw, 32rem);
}

.fit-grid article ul {
  display: grid;
  gap: 0.42rem;
  margin: 0.65rem 0 0.85rem;
  padding-left: 1.1rem;
  color: #5d5348;
  line-height: 1.45;
}

.fit-grid article li::marker {
  color: #2f8f83;
}

.music-education-card {
  margin-bottom: 1rem;
}

.education-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.education-list li {
  margin: 0;
}

.guide-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
}

.guide-overlay[hidden] {
  display: none;
}

.guide-spotlight {
  position: fixed;
  z-index: 121;
  border: 3px solid rgba(255, 250, 239, 0.96);
  border-radius: 18px;
  box-shadow:
    0 0 0 9999px rgba(45, 33, 22, 0.58),
    0 0 0 7px rgba(47, 143, 131, 0.34),
    0 18px 48px rgba(42, 27, 16, 0.28);
  transition: transform 180ms ease, width 180ms ease, height 180ms ease;
  pointer-events: none;
}

.guide-card {
  position: fixed;
  z-index: 122;
  width: min(26rem, calc(100vw - 2rem));
  border: 1px solid rgba(101, 78, 52, 0.22);
  border-radius: 22px;
  padding: 1.1rem;
  background:
    radial-gradient(circle at 92% 10%, rgba(216, 137, 47, 0.16), transparent 7rem),
    #fffaf0;
  color: #2f2a22;
  box-shadow: 0 22px 62px rgba(42, 27, 16, 0.28);
  pointer-events: auto;
}

.guide-card h2 {
  margin: 0.1rem 2rem 0.5rem 0;
  color: #5b3b24;
  font-size: clamp(1.6rem, 2.1vw, 2.25rem);
}

.guide-card p:not(.eyebrow) {
  margin: 0;
  color: #5d5348;
  line-height: 1.55;
}

.guide-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(101, 78, 52, 0.22);
  border-radius: 50%;
  background: rgba(255, 250, 239, 0.9);
  color: #5b3b24;
  cursor: pointer;
  font-weight: 900;
}

.guide-actions {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.6rem;
  align-items: center;
  margin-top: 1rem;
}

.guide-actions button {
  border: 1px solid rgba(47, 143, 131, 0.24);
  border-radius: 999px;
  padding: 0.56rem 0.78rem;
  background: #2f7167;
  color: #fffaf0;
  cursor: pointer;
  font-weight: 850;
}

.guide-actions button:disabled {
  opacity: 0.42;
  cursor: default;
}

.guide-actions span {
  color: #8b5b25;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .overview-stage,
  .journey-layout,
  .education-list {
    grid-template-columns: 1fr;
  }

  .timeline {
    max-height: none;
  }
}

@media (max-width: 780px) {
  .icon-button {
    max-width: 11rem;
    font-size: 0.78rem;
  }

  .overview-grid,
  .overview-gallery {
    grid-template-columns: 1fr;
  }
}

/* Interaction finish: five-minute gallery, equal timeline cards, music taxonomy, and carousel peeks */
.overview-stage {
  grid-template-columns: minmax(18rem, 0.55fr) minmax(0, 1.45fr);
  align-items: start;
}

.intro-mode .overview-section {
  min-height: auto;
  padding-top: clamp(5.8rem, 9vh, 7rem);
}

.overview-gallery {
  order: -1;
  align-content: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: clamp(4.8rem, 8vh, 6.4rem);
  max-height: none;
  overflow: visible;
}

.overview-story {
  max-height: none;
  overflow: visible;
}

.overview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.overview-grid article {
  min-height: 7.45rem;
  padding: 0.78rem;
}

.overview-grid article span {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.84rem;
}

.overview-grid h3 {
  font-size: 0.98rem;
  line-height: 1.12;
}

.overview-grid p {
  font-size: clamp(0.85rem, 0.72vw, 0.94rem);
  line-height: 1.38;
}

.overview-closing {
  grid-column: span 2;
  min-height: 7.45rem;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(47, 143, 131, 0.16), transparent 12rem),
    rgba(255, 250, 239, 0.92);
}

.overview-closing p {
  max-width: 46rem;
  font-size: clamp(0.95rem, 0.86vw, 1.08rem);
  line-height: 1.48;
}

.overview-photo {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  background: #fffaf0;
  cursor: zoom-in;
  box-shadow: 0 10px 24px rgba(88, 64, 35, 0.1);
}

.overview-photo::before,
.overview-photo::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.overview-photo::before {
  content: "";
  background: rgba(45, 33, 22, 0.56);
}

.overview-photo::after {
  content: attr(data-caption);
  display: grid;
  place-items: center;
  padding: 0.75rem;
  color: #fffaf0;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
  transform: translateY(0.3rem);
}

.overview-photo:hover::before,
.overview-photo:hover::after,
.overview-photo:focus-visible::before,
.overview-photo:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.overview-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 1px solid rgba(101, 78, 52, 0.16);
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
  transition: transform 220ms ease, filter 220ms ease;
}

.overview-photo:hover img,
.overview-photo:focus-visible img {
  transform: scale(1.04);
  filter: saturate(0.96);
}

.overview-photo.is-portrait {
  grid-row: span 2;
}

.overview-photo.is-portrait img {
  object-position: center 30%;
}

.overview-gallery > img,
.overview-gallery img:first-child {
  grid-row: auto;
}

.image-lightbox {
  width: auto;
  max-width: 92vw;
  max-height: 92vh;
  border: 0;
  padding: 0;
  background: transparent;
  overflow: visible;
}

.image-lightbox::backdrop {
  background: rgba(45, 33, 22, 0.68);
  backdrop-filter: blur(8px);
}

.image-lightbox img {
  display: block;
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  border: 8px solid #fffaf0;
  border-radius: 22px;
  object-fit: contain;
  background: #fffaf0;
  box-shadow: 0 28px 80px rgba(27, 19, 12, 0.48);
}

.image-lightbox-close {
  position: absolute;
  top: -1rem;
  right: -1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(101, 78, 52, 0.2);
  border-radius: 50%;
  background: #fffaf0;
  color: #5b3b24;
  cursor: pointer;
  font: 950 1rem/1 var(--font-sans);
  box-shadow: 0 12px 30px rgba(42, 27, 16, 0.26);
}

.timeline-card[data-location-card] {
  cursor: pointer;
}

.inline-location-detail {
  cursor: default;
}

.timeline[data-view="timeline"] {
  align-items: stretch;
}

.timeline[data-view="timeline"] .timeline-button {
  min-height: 8.7rem;
  height: 8.7rem;
  overflow: hidden;
}

.timeline[data-view="location"] {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.timeline[data-view="location"] .timeline-card {
  overflow: visible;
}

.timeline[data-view="location"] .timeline-button {
  min-height: 6.15rem;
  height: auto;
  align-items: start;
  padding: 1rem 1.05rem;
  overflow: visible;
}

.timeline[data-view="location"] .timeline-button > span:nth-child(2) {
  display: grid;
  gap: 0.22rem;
}

.timeline[data-view="location"] .timeline-button small,
.timeline[data-view="location"] .timeline-chip {
  white-space: normal;
  overflow: visible;
  line-height: 1.35;
}

.timeline[data-view="location"] .timeline-chip {
  margin-top: 0.28rem;
}

.performance-list li {
  border-left-color: var(--performance-line, rgba(47, 143, 131, 0.28));
}

.performance-list li.performance-musical {
  --performance-line: rgba(216, 137, 47, 0.64);
}

.performance-list li.performance-theatre {
  --performance-line: rgba(47, 143, 131, 0.54);
}

.performance-list li.performance-concert {
  --performance-line: rgba(138, 92, 145, 0.64);
}

.street-scene .pov-building.slot-center {
  width: clamp(28rem, 48vw, 62rem);
  z-index: 10;
}

.street-scene .pov-building.slot-left,
.street-scene .pov-building.slot-right {
  width: clamp(18rem, 24vw, 32rem);
  height: clamp(19rem, 27vw, 33rem);
  z-index: 8;
}

.street-scene .pov-building.slot-left {
  left: auto;
  right: calc(50% + clamp(13rem, 20vw, 23rem));
}

.street-scene .pov-building.slot-right {
  left: calc(50% + clamp(13rem, 20vw, 23rem));
  right: auto;
}

@media (max-width: 1200px) {
  .overview-stage {
    grid-template-columns: 1fr;
  }

  .overview-gallery,
  .overview-story {
    max-height: none;
  }

  .overview-gallery {
    order: 0;
  }

  .overview-closing {
    grid-column: 1 / -1;
  }
}
