:root {
  color-scheme: light;
  --ink: #183c35;
  --muted: #49574a;
  --rust: #903d27;
  --line: #c8bda6;
  --paper: #fffaf0;
  --ground: #f7f0e3;
  background: var(--ground);
  color: var(--ink);
  font: 16px/1.55 system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.wrap { width: min(calc(100% - 2.4rem), 1180px); margin-inline: auto; }
a { color: var(--rust); text-underline-offset: .22em; }
button {
  min-height: 44px;
  background: var(--paper);
  color: var(--ink);
  padding: .48rem .8rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  font: inherit;
  cursor: pointer;
}
button:hover { border-color: var(--rust); }
button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fffaf0; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.skip { position: absolute; inset: .4rem auto auto .4rem; z-index: 9; transform: translateY(-180%); padding: .6rem; background: var(--ground); }
.skip:focus { transform: none; }
.top { display: flex; align-items: center; justify-content: space-between; gap: .7rem; min-height: 4rem; border-bottom: 1px solid var(--line); }
.top > a { font-size: .9rem; }
.brand { color: var(--ink); font-weight: 800; text-decoration: none; }
.brand span { color: var(--rust); margin-right: .3rem; }
.intro { padding: clamp(1.2rem, 4vw, 3.1rem) 0 1.25rem; }
h1 { font: 700 clamp(2.6rem, 7.8vw, 6rem)/1.03 Georgia, serif; letter-spacing: -.055em; margin: 0; }
.intro p { margin: .55rem 0 0; color: var(--muted); }
.viewer { min-width: 0; }
.places { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .4rem; }
.places button { padding-inline: .35rem; font-size: .88rem; }
.scene-label { color: var(--rust); font-weight: 700; font-size: .87rem; margin: .6rem 0 .4rem; }
.controls { display: flex; align-items: center; justify-content: space-between; gap: .65rem; margin: .65rem 0 1.15rem; }
.controls p { margin: 0; font-size: .86rem; color: var(--muted); }
.walk, .point-list, .sources { display: flex; flex-wrap: wrap; gap: .45rem; }
.walk { flex-shrink: 0; }
.walk button { min-width: 44px; font-weight: 750; font-size: 1.13rem; touch-action: none; user-select: none; }
.walk button:active { background: var(--ink); color: var(--paper); }
.viewpoints { padding: clamp(.85rem, 2.4vw, 1.4rem); border: 1px solid var(--line); border-radius: .8rem; background: var(--paper); }
h2 { margin: 0 0 .6rem; font: 700 clamp(1.4rem, 3.2vw, 2.1rem)/1.2 Georgia, serif; }
h3 { color: var(--rust); margin: .85rem 0 .23rem; font-size: 1.02rem; }
.viewpoints p, .about p { color: var(--muted); margin: .35rem 0; }
.about { padding: 2rem 0 1.6rem; max-width: 52rem; }
.sources { margin-top: .8rem; gap: .45rem 1rem; font-size: .88rem; }
.footer { border-top: 1px solid var(--line); padding: .85rem 0; font-size: .85rem; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 640px) {
  .wrap { width: calc(100% - 1.25rem); }
  .top { min-height: 3.4rem; }
  .intro { padding-bottom: .85rem; }
  .intro p { font-size: .92rem; }
  .places { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .controls { flex-direction: column-reverse; align-items: stretch; }
  .walk button { flex: 1; }
}
