:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #6d7378;
  --paper: #f4f1ed;
  --line: rgba(21, 21, 21, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Inter", "Segoe UI", sans-serif;
  line-height: 1.5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 237, 0.92);
  backdrop-filter: blur(18px);
}

.site-header p,
.site-header h1 {
  margin: 0;
}

.site-header p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header h1 {
  margin-top: 2px;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.05;
}

.site-header nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-header a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(21, 21, 21, 0.22);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.64);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.site-header a:first-child {
  color: #fff;
  background: var(--ink);
}

.leaflet {
  width: min(100%, 940px);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 48px) clamp(14px, 4vw, 36px) 72px;
}

.leaflet figure {
  margin: 0 0 clamp(22px, 5vw, 54px);
}

.leaflet img {
  width: min(100%, 620px);
  height: auto;
  margin: 0 auto;
  border-radius: 2px;
  box-shadow: 0 24px 80px rgba(40, 34, 28, 0.2);
}

.leaflet figcaption {
  width: min(100%, 620px);
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-align: right;
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    width: 100%;
    justify-content: flex-start;
  }

  .site-header a {
    flex: 1 1 140px;
    justify-content: center;
  }
}
