@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");
:root {
  --paper: #fdfcf8;
  --paper-2: #f6f3ea;
  --rule: #e6dfce;
  --ink: #1a1613;
  --ink-2: #4a433b;
  --ink-3: #7a7267;
  --ink-4: #b7ae9f;
  --accent: oklch(0.68 0.13 75);
  --gutter: 20px;
  --gap: 24px;
  --r-thumb: 10px;
  --r-card: 14px;
  --r-chip: 999px;
  --r-tab: 18px;
  --appbar-h: 60px;
  --tabbar-h: 72px;
  --bottom-pad: 92px;
}

[data-cat=bike] {
  --accent: oklch(0.58 0.14 40);
}

[data-cat=hitch] {
  --accent: oklch(0.68 0.13 75);
}

[data-cat=hike] {
  --accent: oklch(0.52 0.08 150);
}

[data-cat=bikepack] {
  --accent: oklch(0.54 0.15 25);
}

[data-cat=backpack] {
  --accent: oklch(0.48 0.08 320);
}

[data-cat=gear] {
  --accent: oklch(0.35 0.03 60);
}

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

html {
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink-2);
  background: var(--paper-2);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Inter Tight", sans-serif;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

.mono {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (min-width: 640px) {
  body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    background: var(--paper-2);
  }
}

.shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  background: var(--paper);
  overflow-x: hidden;
}
@media (min-width: 640px) {
  .shell {
    min-height: 100vh;
    box-shadow: 0 4px 40px rgba(26, 22, 19, 0.18);
    border-radius: 24px;
    overflow: hidden;
  }
}

.app-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--appbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.app-bar.scrolled {
  border-color: var(--rule);
  box-shadow: 0 2px 12px rgba(26, 22, 19, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(253, 252, 248, 0.92);
}

.app-bar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.app-bar__mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  flex-shrink: 0;
  letter-spacing: -0.03em;
}

.app-bar__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.app-bar__name {
  font-family: "Inter Tight", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}

.app-bar__tagline {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 400;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.app-bar__actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.app-bar__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  transition: background 0.15s, color 0.15s;
}
.app-bar__btn svg {
  display: block;
}
.app-bar__btn:hover, .app-bar__btn:focus-visible {
  background: var(--paper-2);
  color: var(--ink);
}

.tab-bar {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  width: calc(100% - 32px);
  max-width: 390px;
  height: var(--tabbar-h);
  background: var(--ink);
  border-radius: var(--r-tab);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
  box-shadow: 0 4px 24px rgba(26, 22, 19, 0.28);
}
@media (min-width: 640px) {
  .tab-bar {
    width: 390px;
  }
}

.tab-bar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 12px;
  color: var(--ink-4);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  min-width: 0;
}
.tab-bar__item svg {
  display: block;
  flex-shrink: 0;
}
.tab-bar__item.active {
  color: var(--ink);
  background: var(--paper-2);
}
.tab-bar__item:hover:not(.active) {
  color: rgba(253, 252, 248, 0.6666666667);
}

.tab-bar__label {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-content {
  padding-bottom: var(--bottom-pad);
}

.chips-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-bottom: 1px solid var(--rule);
}
.chips-row::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--r-chip);
  border: 1.5px solid var(--rule);
  background: transparent;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.chip:hover:not(.active) {
  background: var(--paper-2);
  color: var(--ink-2);
  border-color: var(--ink-4);
}
.chip.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.chip[data-filter=all].active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}

.chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

.featured-card {
  margin: var(--gap) var(--gutter);
  background: var(--paper-2);
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--rule);
  text-decoration: none;
  display: block;
  transition: box-shadow 0.2s, transform 0.2s;
}
.featured-card:hover, .featured-card:focus-visible {
  box-shadow: 0 6px 24px rgba(26, 22, 19, 0.1);
  transform: translateY(-1px);
}

.featured-card__thumb {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.featured-card__thumb svg {
  width: 100%;
  height: 100%;
}
.featured-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-card__body {
  padding: 16px;
}

.featured-card__kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.featured-card__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 8px;
}

.featured-card__excerpt {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.featured-card__meta-sep {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--ink-4);
}

.stories-section {
  padding: 0 0 var(--gap);
}

.stories-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 20px var(--gutter) 12px;
}

.stories-section__title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-family: "JetBrains Mono", monospace;
}

.stories-section__count {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  color: var(--ink-4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px var(--gutter);
  border-top: 1px solid var(--rule);
  text-decoration: none;
  transition: background 0.15s;
}
.story-row:hover, .story-row:focus-visible {
  background: var(--paper-2);
}

.story-row__thumb {
  width: 88px;
  height: 88px;
  border-radius: var(--r-thumb);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--paper-2);
}
.story-row__thumb svg, .story-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-row__body {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.story-row__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-row__excerpt {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-row__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  flex-wrap: wrap;
}

.story-row__cat {
  color: var(--accent);
}

.story-row__meta-sep {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--ink-4);
  flex-shrink: 0;
}

.hero-greeting {
  padding: 24px var(--gutter) 8px;
}

.hero-greeting__eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.hero-greeting__title {
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 10px;
}

.hero-greeting__sub {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.5;
}

.stories-empty {
  padding: 40px var(--gutter);
  text-align: center;
  display: none;
}
.stories-empty.visible {
  display: block;
}

.stories-empty__icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.stories-empty__text {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.post-view {
  padding-bottom: var(--bottom-pad);
}

.post-view__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px var(--gutter) 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-decoration: none;
  transition: color 0.15s;
}
.post-view__back svg {
  flex-shrink: 0;
}
.post-view__back:hover {
  color: var(--accent);
}

.post-view__header {
  padding: 16px var(--gutter) 20px;
}

.post-view__kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.post-view__title {
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 12px;
}

.post-view__dek {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: 14px;
}

.post-view__byline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}

.post-view__byline-sep {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--ink-4);
}

.post-view__hero {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--paper-2);
}
.post-view__hero svg, .post-view__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-body {
  padding: 0 var(--gutter);
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.7;
}
.post-body > p:first-child::first-letter {
  font-family: "Inter Tight", sans-serif;
  font-size: 48px;
  font-weight: 600;
  color: var(--accent);
  float: left;
  line-height: 0.85;
  margin-right: 6px;
  margin-top: 4px;
}
.post-body p {
  margin-bottom: 1.4em;
}
.post-body img {
  display: block;
  width: calc(100% + 2 * var(--gutter));
  margin-left: calc(-1 * var(--gutter));
  margin-top: 1.8em;
  margin-bottom: 1.8em;
  object-fit: cover;
}
.post-body h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 2em 0 0.7em;
}
.post-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 1.6em 0 0.5em;
}
.post-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-body em {
  font-style: italic;
  color: var(--ink-3);
}
.post-body strong {
  font-weight: 600;
  color: var(--ink);
}
.post-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 2px 0 2px 16px;
  margin: 1.5em 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-style: italic;
}

.post-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 24px var(--gutter) 16px;
  border-top: 1px solid var(--rule);
  margin-top: 32px;
}

.post-tag {
  height: 26px;
  padding: 0 10px;
  border-radius: var(--r-chip);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  margin-top: 8px;
}

.post-nav__item {
  background: var(--paper);
  padding: 16px var(--gutter);
  text-decoration: none;
  transition: background 0.15s;
}
.post-nav__item:hover {
  background: var(--paper-2);
}
.post-nav__item--next {
  text-align: right;
}

.post-nav__label {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 4px;
}

.post-nav__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stats-view {
  padding-bottom: var(--bottom-pad);
}

.stats-hero {
  padding: 24px var(--gutter) 20px;
  border-bottom: 1px solid var(--rule);
}

.stats-hero__label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.stats-hero__title {
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.stats-hero__sub {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--rule);
}

.stats-cell {
  padding: 18px 16px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stats-cell:nth-child(even) {
  border-right: none;
}
.stats-cell--full {
  grid-column: 1/-1;
  border-right: none;
  background: var(--accent);
}
.stats-cell--full .stats-cell__value,
.stats-cell--full .stats-cell__label {
  color: var(--paper);
}
.stats-cell--full .stats-cell__unit {
  color: rgba(253, 252, 248, 0.7);
}

.stats-cell__value {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.stats-cell__unit {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-3);
  margin-left: 3px;
}

.stats-cell__label {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 2px;
}

.distance-section {
  padding: 20px var(--gutter);
}

.distance-section__title {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}

.distance-bar {
  margin-bottom: 16px;
}

.distance-bar__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 5px;
}

.distance-bar__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.distance-bar__value {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}

.distance-bar__track {
  height: 6px;
  background: var(--paper-2);
  border-radius: 999px;
  overflow: hidden;
}

.distance-bar__fill {
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
  transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

[data-mode=hitch] .distance-bar__fill {
  background: oklch(68% 0.13 75deg);
}

[data-mode=hike] .distance-bar__fill {
  background: oklch(52% 0.08 150deg);
}

[data-mode=bike] .distance-bar__fill {
  background: oklch(58% 0.14 40deg);
}

[data-mode=bikepack] .distance-bar__fill {
  background: oklch(54% 0.15 25deg);
}

[data-mode=backpack] .distance-bar__fill {
  background: oklch(48% 0.08 320deg);
}

.gear-view {
  padding-bottom: var(--bottom-pad);
}

.gear-hero {
  padding: 24px var(--gutter) 20px;
  border-bottom: 1px solid var(--rule);
}

.gear-hero__label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.gear-hero__title {
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.gear-totals {
  display: flex;
  gap: 16px;
  margin-top: 14px;
}

.gear-total {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gear-total__value {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.gear-total__label {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.gear-group {
  border-bottom: 1px solid var(--rule);
}

.gear-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--gutter);
  background: var(--paper-2);
}

.gear-group__name {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.gear-group__weight {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-4);
}

.gear-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px var(--gutter);
  border-top: 1px solid var(--rule);
  transition: background 0.15s;
}
.gear-item:hover {
  background: var(--paper-2);
}

.gear-item__info {
  flex: 1;
  min-width: 0;
}

.gear-item__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 2px;
}

.gear-item__note {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.4;
}

.gear-item__weight {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
  white-space: nowrap;
  padding-top: 2px;
  letter-spacing: 0.03em;
}

.map-view {
  padding-bottom: var(--bottom-pad);
}

.map-hero {
  padding: 24px var(--gutter) 20px;
  border-bottom: 1px solid var(--rule);
}

.map-hero__label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.map-hero__title {
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 6px;
}

.map-hero__sub {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.5;
}

.region-card {
  border-bottom: 1px solid var(--rule);
}

.region-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter) 10px;
}

.region-card__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.region-card__flag {
  font-size: 20px;
  line-height: 1;
}

.region-card__count {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.region-card__map {
  margin: 0 var(--gutter) 12px;
  background: var(--paper-2);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--rule);
  aspect-ratio: 5/3;
  position: relative;
}
.region-card__map svg {
  width: 100%;
  height: 100%;
}

.pin {
  position: absolute;
  transform: translate(-50%, -50%);
}
.pin__ring {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid var(--accent);
  background: rgba(253, 252, 248, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(26, 22, 19, 0.2);
  transition: transform 0.15s;
}
.pin__ring:hover {
  transform: scale(1.2);
}
.pin__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.pin-list {
  padding: 0 var(--gutter) 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pin-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--rule);
  text-decoration: none;
  transition: background 0.15s;
}
.pin-list__item:hover {
  background: var(--paper-2);
  margin: 0 calc(-1 * var(--gutter));
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  border-radius: 4px;
}

.pin-list__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--paper);
  flex-shrink: 0;
}

.pin-list__info {
  flex: 1;
  min-width: 0;
}

.pin-list__title {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pin-list__meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-top: 2px;
}

.page-view {
  padding-bottom: var(--bottom-pad);
}

.page-view__header {
  padding: 24px var(--gutter) 20px;
  border-bottom: 1px solid var(--rule);
}

.page-view__label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.page-view__title {
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.page-body {
  padding: 24px var(--gutter);
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
}
.page-body p {
  margin-bottom: 1.4em;
}
.page-body h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 2em 0 0.7em;
}
.page-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 1.6em 0 0.5em;
}
.page-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-body strong {
  font-weight: 600;
  color: var(--ink);
}
.page-body ul, .page-body ol {
  list-style: disc;
  padding-left: 1.4em;
  margin-bottom: 1.4em;
}
.page-body ul li, .page-body ol li {
  margin-bottom: 0.4em;
}

/*# sourceMappingURL=main.css.map */