nav .nav-explore { color: #ffb0d4; }

.hero[data-scene="vice"] { --scene-light: #ff75bb; --scene-warm: #ffc79a; }
.hero[data-scene="keys"] { --scene-light: #78eadb; --scene-warm: #ffe2a9; }
.hero[data-scene="port"] { --scene-light: #ff927a; --scene-warm: #ffd2a1; }
.hero[data-scene="grass"] { --scene-light: #cee998; --scene-warm: #ffe1a8; }
.hero[data-scene="vice"] .hero-media { background-image: url("assets/leonida/vice-city-27.jpg"); }
.hero[data-scene="keys"] .hero-media { background-image: url("assets/leonida/leonida-keys-01.jpg"); }
.hero[data-scene="port"] .hero-media { background-image: url("assets/leonida/port-gellhorn-01.jpg"); }
.hero[data-scene="grass"] .hero-media { background-image: url("assets/leonida/grassrivers-08.jpg"); }
.scene-art[data-frame="vice"] { object-position: 56% 57%; }
.scene-art[data-frame="keys"] { object-position: 64% 58%; }
.scene-art[data-frame="port"] { object-position: 40% 52%; }
.scene-art[data-frame="grass"] { object-position: 53% 63%; }
.scene-switcher button {
  display: flex;
  position: relative;
  isolation: isolate;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 64px;
  overflow: hidden;
  padding: 8px;
  color: #f8e8f1;
  text-align: left;
  line-height: 1.2;
}
.scene-switcher button img,
.scene-switcher button::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.scene-switcher button::after {
  content: "";
  background: linear-gradient(0deg, #180d1bf5, #180d1b40 92%);
}
.scene-switcher button[aria-pressed="true"] span { color: var(--scene-light); }
.scene-credit {
  right: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.scene-credit a {
  padding: 6px 8px;
  border: 1px solid #ffcced65;
  border-radius: 4px;
  background: #180e1dc9;
  text-transform: none;
  letter-spacing: 0;
}
.scene-credit a:hover { border-color: var(--scene-light); color: var(--scene-light); }

.explorer-heading h2 {
  color: #fff0f4;
  font: italic 900 clamp(44px, 6.4vw, 84px)/.86 "Barlow Condensed", var(--display);
  text-transform: uppercase;
  letter-spacing: -.02em;
}
.district-browser {
  --district-accent: #ff89c0;
  display: grid;
  grid-template-columns: minmax(0, .28fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 13px;
  padding: 13px;
  border: 1px solid #75456e;
  border-radius: 13px;
  background: radial-gradient(ellipse at 87% 10%, #36203e, transparent 65%), #16101e;
}
.district-browser[data-district="keys"] { --district-accent: #88ecda; }
.district-browser[data-district="port"] { --district-accent: #ffc593; }
.district-browser[data-district="grass"] { --district-accent: #e0e994; }
.district-selector {
  display: grid;
  grid-template-rows: repeat(4, minmax(68px, 1fr));
  gap: 7px;
  min-width: 0;
}
.district-selector button {
  display: flex;
  align-items: end;
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: 11px 10px;
  border: 1px solid #693d5e;
  border-radius: 7px;
  overflow: hidden;
  color: #fff2f7;
  background: #291a31;
  text-align: left;
  transition: border-color .2s, box-shadow .2s;
}
.district-selector img, .district-selector button::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.district-selector button::after {
  content: "";
  background: linear-gradient(0deg, #170e1bf7 0%, #170e1b8c 51%, #170e1b36 100%);
}
.district-selector button span {
  font: italic 800 clamp(17px, 2.2vw, 28px)/1 "Barlow Condensed", var(--display);
  text-transform: uppercase;
}
.district-selector button:is(:hover, [aria-pressed="true"]) { border-color: var(--district-accent); }
.district-selector button[aria-pressed="true"] { box-shadow: inset 3px 0 var(--district-accent), 0 0 18px #ff73ab20; }
.district-selector button[aria-pressed="true"] span { color: var(--district-accent); }
#district-view { min-width: 0; }
.district-stage {
  display: block;
  position: relative;
  border: 1px solid var(--district-accent);
  border-radius: 9px;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  background: #160f1e;
}
.district-stage > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.district-stage:hover > img { transform: scale(1.025); }
.district-caption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 36px 16px 13px;
  background: linear-gradient(transparent, #160e1ef0);
}
#district-title {
  color: #fff8f5;
  font: italic 900 clamp(24px, 5.6vw, 59px)/.86 "Barlow Condensed", var(--display);
  text-transform: uppercase;
}
.district-open {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  border: 1px solid #d396b280;
  border-radius: 5px;
  background: #211225d9;
  padding: 5px 8px;
  color: #ffdded;
  font: 700 12px var(--display);
}
.district-shots { display: flex; gap: 8px; margin-top: 8px; }
.district-shots button {
  padding: 2px;
  width: min(112px, 25%);
  border: 1px solid #754861;
  border-radius: 6px;
  background: #231629;
}
.district-shots button:is(:hover, [aria-pressed="true"]) { border-color: var(--district-accent); }
.district-shots img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 3px; }

.photo-dialog {
  width: min(1050px, calc(100% - 24px));
  padding: 12px;
  background: #160f1d;
  border-color: #a6639c;
  border-radius: 13px;
}
.photo-head { display: flex; align-items: start; justify-content: space-between; gap: 10px; padding: 6px 44px 0 4px; }
.photo-head h2 { font-size: clamp(23px, 4vw, 34px); }
#photo-image { display: block; width: 100%; height: min(66vh, 690px); object-fit: contain; background: #0e0a14; border-radius: 6px; touch-action: pan-y pinch-zoom; }
.photo-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 10px; }
.photo-controls p { width: 74px; text-align: center; color: #ead1e2; font: 700 13px var(--display); }

@media (max-width: 700px) {
  .district-browser { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 7px; }
  .district-selector { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto; gap: 4px; }
  .district-selector button { min-height: 63px; padding: 6px 5px; }
  .district-selector button span { font-size: clamp(13px, 4vw, 20px); }
  .district-caption { padding: 32px 8px 8px; }
  .explorer-heading { flex-wrap: wrap; gap: 10px; }
  .scene-switcher { gap: 4px; }
  .scene-switcher button { font-size: 11px; min-height: 56px; padding: 5px; }
  #photo-image { height: auto; max-height: 65vh; }
}
