/* Shared tokens for the three views.

   Palette, taken from the island rather than from a chart library: volcanic ash
   lightened to paper, basalt for ink, the dusty brick red of Timanfaya soil for
   complaints, the sea green of the north coast for praise, ochre for heat and a
   cold Atlantic blue for its opposite.

     sand   #efe9df   story background
     shell  #fbfaf7   explorer background
     mist   #dfe6e9   map water
     paper  #ffffff   cards
     basalt #2b2621   ink
     slate  #574f47   secondary ink
     ash    #8a8175   muted
     rule   #ddd6ca   hairlines
     clay   #c2695f   complaints
     sage   #5f9e91   praise
     ochre  #dda94f   heat
     sky    #7fa8c9   cold
     plum   #9b7b96   fourth series

   Hex values are written out rather than kept in custom properties so each file
   stays readable on its own and the pages need no build step.
*/

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  color: #2b2621;
  font-family: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  font-optical-sizing: auto;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

:focus-visible { outline: 2px solid #2b2621; outline-offset: 2px; }

.viewnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 18px;
  font-size: 13px;
  z-index: 500;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #ddd6ca;
}
.viewnav .brand { font-weight: 700; margin-right: 16px; letter-spacing: -0.01em; }
.viewnav a {
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 999px;
  color: #574f47;
}
.viewnav a:hover { background: #efe9df; }
.viewnav a.on { background: #2b2621; color: #fbfaf7; }

.viewnav .langpick { margin-left: auto; display: flex; gap: 2px; }
.viewnav .langpick button {
  font: inherit; font-size: 12px; font-weight: 600; letter-spacing: 0.03em;
  padding: 4px 8px; border: 0; border-radius: 999px;
  background: none; color: #8a8175; cursor: pointer;
}
.viewnav .langpick button:hover { background: #efe9df; color: #2b2621; }
.viewnav .langpick button.on { background: #2b2621; color: #fbfaf7; }

/* Partner marks sit at the far right, quiet enough not to compete with the nav */
.viewnav .logos { margin-left: 18px; display: flex; align-items: center; gap: 16px; }
.viewnav .logos a { padding: 0; border-radius: 0; line-height: 0; }
.viewnav .logos a:hover { background: none; }
.viewnav .logos img { display: block; width: auto; opacity: 0.72; transition: opacity 0.2s ease; }
.viewnav .logos a:hover img { opacity: 1; }
.viewnav .logo-lz { height: 19px; }
.viewnav .logo-nt { height: 25px; }
@media (max-width: 720px) {
  .viewnav .logos { gap: 10px; }
  .viewnav .logo-lz { height: 15px; }
  .viewnav .logo-nt { height: 19px; }
}
@media (max-width: 460px) { .viewnav .logo-lz { display: none; } }

.tier {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  vertical-align: 1px;
  margin-left: 6px;
}
.tier.high { background: #5f9e91; }
.tier.medium { background: #dda94f; }
.tier.low { background: #c9c2b5; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
