@font-face {
  font-family: Fell;
  src: url("/fonts/IMFellEnglish-normal-400.woff2");
}
@font-face {
  font-family: Garamond;
  src: url("/fonts/EBGaramond-normal-400.woff2");
}
:root {
  color-scheme: light;
  --paper: #f7f3e9;
  --ink: #302f29;
  --rule: #d9d2bf;
  --sea: #345a56;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    20px Garamond,
    Georgia,
    serif;
}
a {
  color: var(--sea);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  padding: 24px 5vw;
}
.brand {
  font:
    27px Fell,
    Georgia,
    serif;
  color: var(--ink);
}
.brand small {
  display: block;
  font:
    15px Garamond,
    serif;
  letter-spacing: 0.08em;
  margin-left: 30px;
}
nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 17px;
}
main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 55px 28px;
  min-height: 65vh;
}
h1,
h2,
h3 {
  font-family: Fell, Georgia, serif;
  font-weight: 400;
}
h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.1;
  margin: 18px 0;
}
h2 {
  font-size: 30px;
}
.intro {
  padding: 15px 0 30px;
}
.eyebrow {
  font:
    12px system-ui,
    sans-serif;
  letter-spacing: 0.18em;
  color: var(--sea);
}
.muted,
time,
small {
  color: #746f61;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  padding: 24px 0;
  margin: 20px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stats div {
  flex: 1;
  min-width: 105px;
}
.stats strong {
  display: block;
  font:
    34px Fell,
    serif;
}
.stats small {
  font:
    14px Garamond,
    serif;
  margin-left: 5px;
}
.stats span {
  display: block;
  font-size: 16px;
}
.map {
  height: 380px;
  border: 1px solid var(--rule);
  background: #eae5d9;
  margin: 30px 0;
}
.entries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.entry {
  display: block;
  color: var(--ink);
  padding: 25px 0;
  border-bottom: 1px solid var(--rule);
}
.entry h2 {
  margin: 12px 0;
}
.entry p {
  font-size: 17px;
}
.badge {
  font:
    11px system-ui,
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.empty {
  padding: 50px 0;
  max-width: 650px;
}
.remark,
.record {
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 760px;
  border-bottom: 1px solid var(--rule);
  padding: 10px 0 25px;
}
.remark p {
  line-height: 1.6;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 35px 0;
}
figure {
  margin: 0;
}
img {
  max-width: 100%;
  height: auto;
}
figcaption {
  font-size: 16px;
  padding: 8px 0;
}
details,
section {
  margin-bottom: 32px;
}
summary {
  cursor: pointer;
  font-family: Fell, serif;
  font-size: 25px;
}
aside,
.error,
.success {
  padding: 16px;
  border-left: 3px solid #a2543d;
  background: #eee7db;
  margin: 20px 0;
}
.success {
  border-color: var(--sea);
}
label {
  display: block;
  font-size: 18px;
  margin: 15px 0;
}
input,
textarea,
select,
button {
  font:
    17px system-ui,
    sans-serif;
}
input,
textarea,
select {
  display: block;
  margin-top: 8px;
  max-width: 100%;
  padding: 10px;
  border: 1px solid #aaa28f;
  background: #fffdf7;
  color: var(--ink);
  border-radius: 2px;
}
textarea {
  width: 100%;
}
button {
  padding: 12px 20px;
  background: var(--sea);
  color: #fff;
  border: 0;
  cursor: pointer;
  border-radius: 2px;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
pre {
  font:
    13px/1.6 ui-monospace,
    monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #eee9dd;
  padding: 18px;
  max-height: 500px;
  overflow: auto;
}
footer {
  text-align: center;
  border-top: 1px solid var(--rule);
  padding: 30px;
  font-size: 15px;
  line-height: 1.8;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #a2543d;
  outline-offset: 4px;
}
@media (max-width: 600px) {
  header {
    display: block;
    padding: 20px;
  }
  nav {
    margin-top: 20px;
    gap: 14px;
  }
  main {
    padding: 30px 20px;
  }
  .map {
    height: 300px;
  }
  .stats {
    gap: 22px;
  }
  .stats div {
    min-width: 110px;
  }
}
