/* 23a2e2ad45712d073308096f */
:root {
  --bg: #0d1b2a;
  --bg-2: #14263a;
  --ink: #e6ecf1;
  --muted: #9fb0bf;
  --line: #243a52;
  --lamp: #f2b84b;
  --stone: #cfd8df;
  --stripe: #c8553d;
  --sea: #1b3a57;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f3efe7;
    --bg-2: #e9e3d6;
    --ink: #1b2733;
    --muted: #5a6a78;
    --line: #d6cfbf;
    --lamp: #d9941c;
    --stone: #fbf8f2;
    --stripe: #b9452f;
    --sea: #5f87a8;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 Georgia, "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  max-width: 760px;
  margin: 0 auto;
  padding: 1.4rem 1.25rem 0;
}

.brand {
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
}

.top nav a {
  margin-left: 1.4rem;
  text-decoration: none;
  color: var(--muted);
  font-size: .95rem;
}

.top nav a:hover { color: var(--lamp); }

main, .foot {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero {
  text-align: center;
  padding: 2.2rem 0 1.4rem;
}

/* the scene is always a night view, so the beam reads in both themes */
.tower {
  width: min(320px, 78vw);
  height: auto;
  background: linear-gradient(#0a1420, #16314a 72%);
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}

.rock    { fill: #2c3e50; }
.shaft   { fill: var(--stone); }
.band    { fill: var(--stripe); }
.gallery { fill: #3b4a58; }
.lamp    { fill: var(--lamp); }
.roof    { fill: var(--stripe); }
.waves   { fill: var(--sea); }

.beam {
  opacity: .1;
  animation: sweep 6s ease-in-out infinite;
}
.beam-b { animation-delay: 3s; }

@keyframes sweep {
  0%, 100% { opacity: .08; }
  50%      { opacity: .95; }
}

@media (prefers-reduced-motion: reduce) {
  .beam { animation: none; opacity: .5; }
  html { scroll-behavior: auto; }
}

h1 {
  margin: .4rem 0 .5rem;
  font-size: 2.3rem;
  font-weight: 400;
  letter-spacing: .02em;
}

.lead {
  max-width: 34rem;
  margin: 0 auto;
  color: var(--muted);
  font-style: italic;
}

h2 {
  margin: 3rem 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lamp);
}

article {
  margin: 0 0 1.4rem;
  padding: 1rem 1.2rem;
  background: var(--bg-2);
  border-left: 3px solid var(--lamp);
  border-radius: 0 6px 6px 0;
}

article header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .3rem 1rem;
  margin-bottom: .3rem;
}

article time {
  font-weight: 700;
}

article dl {
  display: flex;
  gap: .3rem .6rem;
  margin: 0;
  font-size: .85rem;
  color: var(--muted);
}

article dt { text-transform: uppercase; letter-spacing: .08em; }
article dd { margin: 0 .8rem 0 0; color: var(--ink); }

article p { margin: 0; }

.visit p { margin: 0 0 1rem; }

.foot {
  margin-top: 3rem;
  padding-top: 1.2rem;
  padding-bottom: 2.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
  text-align: center;
}

.foot p { margin: 0; }

@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 1.9rem; }
}

details { margin: 0 0 .6rem; }

summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

summary::before {
  content: "\25B8";
  margin-right: .6rem;
  color: var(--lamp);
  transition: transform .15s;
}

summary span {
  margin-left: auto;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: none;
}

summary:hover { color: var(--ink); }

details[open] > summary { color: var(--ink); margin-bottom: 1rem; }
details[open] > summary::before { transform: rotate(90deg); }
