/* Tower is a separate theme; Destiny keeps its original homepage. */
.tower-overlook, .tower-destinations { display: none; }
.tower-concourse { display: contents; }
.tower-gallery { display: none; }
html.theme-tower .tower-gallery.is-open { display: block; padding: 50px clamp(24px, 5vw, 90px) 80px; background: #101720; color: #dce0de; scroll-margin-top: var(--nav-height, 92px); }
.tower-gallery-eyebrow { color: #c1ae83; font: 11px 'Segoe UI', sans-serif; letter-spacing: .2em; }
.tower-gallery h2 { font: 300 32px 'Segoe UI', sans-serif; margin: 16px 0; }
.tower-gallery p { color: #9aa8b2; line-height: 1.6; }
.tower-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
.tower-gallery figure { margin: 0; min-width: 0; }
.tower-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 2.5; object-fit: cover; border: 1px solid #354452; }
.tower-gallery figcaption { padding: 14px 0; }
.tower-gallery figcaption strong { display: block; font: 18px 'Segoe UI', sans-serif; margin-bottom: 8px; }
.tower-gallery figcaption a, .tower-art-notice { font-size: 12px; }
.tower-lightbox { max-width: min(1200px, 92vw); max-height: 90vh; padding: 24px; border: 1px solid #647482; background: #101720; color: #dce0de; }
.tower-lightbox::backdrop { background: #030810eb; }
.tower-lightbox img { display: block; width: 100%; max-height: 65vh; object-fit: contain; margin-bottom: 20px; }
.tower-lightbox button { float: right; width: auto; min-height: 44px; padding: 8px 16px; }
@media (max-width: 700px) { .tower-gallery-grid { grid-template-columns: 1fr; } }

html.theme-tower .tower-overlook {
  display: block;
  position: relative;
  height: calc(100svh - var(--nav-height, 92px));
  min-height: 650px;
  overflow: hidden;
  isolation: isolate;
  background: #101720;
}
html.theme-tower .tower-vista {
  position: absolute;
  inset: 0;
  background: url('/assets/tower/tower-director-night.png') center / cover no-repeat;
}
.tower-traffic, .tower-atmosphere {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.tower-atmosphere {
  background: linear-gradient(90deg, #080e1699, #080e1640 52%, transparent 78%), linear-gradient(0deg, #080e16bb, transparent 35%);
}
.tower-arrival {
  position: absolute;
  left: clamp(24px, 5vw, 90px);
  top: 40px;
  color: #e1e4e4;
  text-shadow: 0 2px 14px #080e16;
}
.tower-arrival .tower-location {
  font: 11px 'Segoe UI', Arial, sans-serif;
  letter-spacing: .26em;
  color: #c1ae83;
}
body.theme-tower .tower-arrival h1 {
  margin: 10px 0;
  font: 300 clamp(38px, 5vw, 70px)/1.15 'Segoe UI', Arial, sans-serif;
  letter-spacing: .1em;
}
.tower-arrival p { font: 15px 'Segoe UI', Arial, sans-serif; color: #b4c0c9; }
.tower-overlook-footer {
  position: absolute;
  inset: auto max(100px, 5vw) 34px clamp(24px, 5vw, 90px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
body.theme-tower .tower-explore,
body.theme-tower .tower-motion {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  width: auto;
  padding: 6px 0;
  margin: 0;
  font: 12px 'Segoe UI', Arial, sans-serif;
  letter-spacing: .12em;
  text-decoration: none;
  color: #dce0de;
  border: 0;
  border-bottom: 1px solid #64748288;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}
body.theme-tower .tower-motion[hidden] { display: none; }
body.theme-tower .tower-motion { color: #9aa8b2; }
html.theme-tower .tower-destinations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 36px clamp(24px, 5vw, 90px);
  gap: 24px;
  background: #101720;
}
body.theme-tower .tower-destinations a {
  padding: 20px 0;
  border-top: 1px solid #354452;
  text-decoration: none;
  color: #dce0de;
  font: 17px 'Segoe UI', Arial, sans-serif;
}
.tower-destinations span {
  display: block;
  margin-bottom: 14px;
  font: 10px 'Segoe UI', Arial, sans-serif;
  letter-spacing: .15em;
  color: #9aa8b2;
}
body.theme-tower .tower-destinations a:hover { border-color: #c1ae83; color: #c1ae83; }
html.theme-tower .tower-concourse {
  display: none !important;
  padding: 12px 0 64px;
  background: linear-gradient(#101720, #101720e8);
  scroll-margin-top: calc(var(--nav-height, 92px) + 20px);
}
html.theme-tower .tower-concourse > .name { display: none; }
html.theme-tower body:has(.tower-overlook) .fake-ad { display: none; }
@media (max-width: 700px) {
  html.theme-tower .tower-destinations { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .tower-arrival { top: 28px; }
  .tower-overlook-footer { right: 24px; bottom: 85px; }
}

/* Director controls remain real links/buttons: mouse, keyboard and touch all work. */
.tower-director { position: absolute; left: 5%; top: 35%; width: 58%; display: grid; grid-template-columns: 1fr 1fr; gap: 38px 26px; }
body.theme-tower .director-node { display: flex; align-items: center; gap: 16px; width: auto; min-width: 0; min-height: 76px; padding: 8px; margin: 0; border: 0; background: transparent; box-shadow: none; color: #edf0ef; text-align: left; text-decoration: none; text-shadow: 0 2px 8px #02070d; font: 16px 'Segoe UI', sans-serif; cursor: pointer; }
.director-node > span:last-child { font: inherit; }
.director-node small { display: block; font: 9px 'Segoe UI', sans-serif; letter-spacing: .2em; color: #c1ae83; margin-bottom: 6px; }
.director-symbol { flex: 0 0 54px; height: 54px; display: grid; place-items: center; border: 1px solid #dce0deaa; outline: 1px solid #aebdc244; outline-offset: 5px; border-radius: 50%; background: #0c172077; font: 28px 'Segoe UI', sans-serif; transition: background .18s, outline-offset .18s; }
.director-node:nth-child(even) { transform: translateY(26px); }
.director-node:hover .director-symbol, .director-node:focus-visible .director-symbol { background: #b4c3cf40; outline-color: #edf0ef; outline-offset: 9px; }
body.theme-tower .director-node:focus-visible { outline: 2px solid #e1dbc8; outline-offset: 5px; }
.tower-director-hint { color: #aebac4; font: 10px 'Segoe UI', sans-serif; letter-spacing: .18em; }
.tower-director-hint span { margin: 0 12px; }
.tower-cursor { display: none; position: fixed; left: 0; top: 0; width: 38px; height: 38px; border: 2px solid #edf0ef; border-radius: 50%; box-shadow: 0 0 0 5px #e7eef026, 0 0 20px #080e1666; transform: translate(-50%, -50%); pointer-events: none; z-index: 10; }
.tower-cursor::after { content: ''; position: absolute; inset: 15px; border-radius: 50%; background: #edf0ef; }
.tower-cursor.is-target { width: 52px; height: 52px; border-color: #e6d3a1; }
.tower-cursor.is-target::after { inset: 22px; }
.tower-cursor.is-pressed { background: #e6d3a133; }
@media (hover: hover) and (pointer: fine) {
  .tower-overlook.has-cursor, body.theme-tower .tower-overlook.has-cursor :is(a, button) { cursor: none; }
  .tower-overlook.has-cursor .tower-cursor { display: block; }
}
body.theme-tower .tower-archives-close { width: auto; min-height: 44px; padding: 10px 18px; margin-bottom: 28px; background: transparent; border: 1px solid #647482; color: #dce0de; }
@media (max-width: 900px) {
  .tower-director { width: 85%; }
  .tower-atmosphere { background: linear-gradient(90deg, #080e16bb, #080e1633); }
}
@media (max-width: 600px) {
  html.theme-tower .tower-overlook { min-height: 740px; height: calc(100svh - var(--nav-height, 92px)); }
  html.theme-tower .tower-vista { background-position: 65% center; }
  .tower-director { top: 220px; left: 24px; right: 24px; width: auto; gap: 26px 18px; }
  body.theme-tower .director-node { flex-direction: column; align-items: flex-start; gap: 14px; font-size: 14px; }
  .director-node:nth-child(even) { transform: none; }
  .director-symbol { flex-basis: auto; width: 46px; height: 46px; }
  .tower-director-hint { font-size: 9px; letter-spacing: .08em; }
  .tower-director-hint span { margin: 0 4px; }
}
@media (prefers-reduced-motion: reduce) { .director-symbol { transition: none; } }
