/* Sauna, region, county and city pages (scripts/build-pages.ts): the map's paper and ink, as a plain readable page. */
@font-face {
  font-family: 'Geist';
  src: url('/fonts/geist.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('/fonts/geist-mono.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #fafafa;
  --ground: #f2f2f0;
  --ink: #000;
  --ink-2: #6c6c6c;
  --hair: rgb(0 0 0 / 12%);
  --accent: #ff5b29;
  --accent-ink: #c43c10;
  --spot: #f5ff80;
  --hard: 5px 5px 0 #000;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 16px/1.5 'Geist', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
.top,
main,
.foot {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 0 16px;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.wordmark {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.05em;
  text-decoration: none;
}
.deg {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 2px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  vertical-align: 18px;
}
.pill,
.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}
.button.primary {
  background: var(--ink);
  color: var(--paper);
}
main {
  padding-bottom: 32px;
}
.crumbs {
  margin: 8px 0 12px;
  font: 500 13px 'Geist Mono', ui-monospace, monospace;
  color: var(--ink-2);
}
h1 {
  margin: 0;
  font-size: clamp(32px, 7vw, 48px);
  line-height: 1.05;
  font-weight: 650;
  letter-spacing: -0.035em;
}
h2 {
  margin: 0 0 8px;
  font: 500 13px 'Geist Mono', ui-monospace, monospace;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.lead,
.where {
  margin: 8px 0 0;
  font-size: 18px;
  color: var(--ink-2);
}
.lead a {
  color: var(--ink);
}
.sauna,
.nearby {
  margin-top: 4px;
}
.photo {
  margin: 0 0 20px;
}
.photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--ink);
  border-radius: 12px;
  box-shadow: var(--hard);
  background: var(--paper);
}
.photo figcaption {
  margin-top: 10px;
  font: 12px 'Geist Mono', ui-monospace, monospace;
  color: var(--ink-2);
}
.featured {
  display: inline-block;
  margin: 12px 0 0;
  padding: 3px 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--spot);
  font-size: 13px;
  font-weight: 600;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 3px 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font: 500 12px 'Geist Mono', ui-monospace, monospace;
  text-transform: uppercase;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 8px;
}
section {
  margin-top: 28px;
}
section p {
  margin: 0;
}
.hours {
  border-collapse: collapse;
  font: 15px 'Geist Mono', ui-monospace, monospace;
}
.hours th {
  padding: 4px 24px 4px 0;
  text-align: left;
  font-weight: 500;
}
.note,
.checked {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-2);
}
.checked {
  margin-top: 28px;
}
.list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--hard);
  overflow: hidden;
}
.nearby .list {
  margin-top: 0;
}
.list li + li {
  border-top: 1px solid var(--hair);
}
.list a {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  text-decoration: none;
}
.list a:hover {
  background: rgb(0 0 0 / 4%);
}
.list span {
  font-size: 14px;
  color: var(--ink-2);
}
.regions a {
  grid-template-columns: 1fr auto;
  align-items: baseline;
}
.regions span {
  font-family: 'Geist Mono', ui-monospace, monospace;
}
.foot {
  padding-top: 24px;
  padding-bottom: 40px;
  border-top: 1px solid var(--hair);
  font-size: 14px;
  color: var(--ink-2);
}
.foot nav {
  line-height: 1.9;
}
a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.summary {
  margin: 16px 0 0;
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.55;
}
.featured a {
  text-decoration: none;
}
h2.group {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 32px 0 10px;
}
h2.group span {
  color: var(--ink-2);
}
.group + .list {
  margin-top: 0;
}
/* Small text links still get a 44px row to tap. */
.crumbs a,
.foot nav a,
.checked a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.crumbs {
  margin: 0 0 4px;
}
.foot nav {
  line-height: 1.4;
}
.list a {
  min-height: 44px;
}
