/* Shawn Photo Art — Adventures (adventures.shawnphotoart.com) */
:root {
  --paper: #f6f1e8;
  --ink: #1f1c19;
  --muted: #5c564e;
  --rule: #d4cbb8;
  --link: #3d5344;
  --link-hover: #7a5a28;
  --art: #7a5a28;
  --placeholder: #e8e0d2;
}

* { box-sizing: border-box; }

html { font-size: 18px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  line-height: 1.65;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}
a:hover { color: var(--link-hover); }

.wrap {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 3.5rem;
}

/* Top nav — every page */
nav.top {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: baseline;
  padding-bottom: 1rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
}
nav.top a { color: var(--ink); text-decoration: none; }
nav.top a:hover { color: var(--link-hover); text-decoration: underline; }
nav.top .brand {
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-right: 0.25rem;
}
nav.top .sep { color: var(--rule); user-select: none; }

header.page {
  margin-bottom: 1.75rem;
}

.kicker {
  margin: 0 0 0.4rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0 0 0.65rem;
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.lede, .intro { margin: 0 0 1rem; }
.muted, .note, .when, .where {
  color: var(--muted);
  font-size: 0.98rem;
}
.when, .where { margin: 0.15rem 0; }

.crumbs {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  color: var(--muted);
}

ul.hub-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}
ul.hub-list li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--rule);
}
ul.hub-list li:last-child { border-bottom: 1px solid var(--rule); }
ul.hub-list .meta {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.day-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.day-list li {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 0.35rem 0.85rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--rule);
}
.day-list .num {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  padding-top: 0.15rem;
}
.day-list .meta {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

article.journal p { margin: 0 0 1rem; }

.reach-back {
  margin: 1.5rem 0;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--art);
  background: rgba(122, 90, 40, 0.06);
}
.reach-back p { margin: 0; }
.reach-back .label {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--art);
  margin-bottom: 0.3rem;
}

.photo-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}
.photo-slot {
  margin: 0;
}
.photo-slot .frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
  background: var(--placeholder);
  border: 1px solid var(--rule);
  color: var(--muted);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}
.photo-slot figcaption {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.photo-slot .title {
  color: var(--ink);
  font-style: italic;
}
.photo-slot .badge {
  display: inline-block;
  margin-top: 0.25rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--art);
}

/* Under Construction */
.uc {
  display: inline-block;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--rule);
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  background: rgba(92, 86, 78, 0.06);
}
.uc-block {
  margin: 1.5rem 0;
  padding: 1.25rem 1rem;
  border: 1px dashed var(--rule);
  text-align: center;
  color: var(--muted);
}
.uc-block .uc { margin-bottom: 0.5rem; }

/* Day bottom nav */
.day-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
  align-items: baseline;
  margin: 2.5rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--rule);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.9rem;
}
.day-nav .muted-link,
.day-nav .muted {
  color: var(--muted);
  opacity: 0.65;
  text-decoration: none;
  pointer-events: none;
  cursor: default;
}

/* Art of the Divide block on daily pages */
.art-block {
  margin: 2.25rem 0 1.5rem;
}
.art-block > .intro {
  margin-bottom: 1.25rem;
}
.art-box {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--rule);
  background: rgba(122, 90, 40, 0.05);
}
.art-box .art-title {
  margin: 0 0 0.35rem;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
}
.art-box .art-meta {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.art-box .view-art {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.85rem;
}

.from-journey {
  margin: 2rem 0 1rem;
}
.from-journey .photo-grid {
  margin-top: 1rem;
}

.ride-info {
  margin: 0 0 1.5rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
  color: var(--muted);
}
.ride-info p { margin: 0.2rem 0; }

.section-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.section-list li {
  padding: 0.65rem 0;
  border-top: 1px solid var(--rule);
}
.section-list li:last-child { border-bottom: 1px solid var(--rule); }

.redirect-note {
  margin: 2rem 0;
  padding: 1.25rem 1rem;
  border: 1px solid var(--rule);
  background: rgba(61, 83, 68, 0.05);
}

footer.site {
  margin-top: 2.75rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--rule);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}
footer.site p { margin: 0.35rem 0; }

@media (max-width: 520px) {
  html { font-size: 17px; }
  .wrap { padding: 1.25rem 1.1rem 3rem; }
  h1 { font-size: 1.65rem; }
  nav.top { gap: 0.25rem 0.75rem; }
  .day-nav { flex-direction: column; gap: 0.65rem; }
}

.photo-slot .frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 36rem;
  object-fit: contain;
  background: #111;
}
.photo-slot .frame:has(img) {
  min-height: 0;
  padding: 0;
  background: #111;
}
