:root {
  --ink: #24312c;
  --muted: #5e6a62;
  --paper: #f4efe6;
  --card: #fffcf7;
  --line: #e3dace;
  --green: #2f5d45;
  --warn: #8a3b2a;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font: 16px/1.5 "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
a { color: var(--green); }
.top {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--card);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mark {
  color: inherit;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
}
.tag { color: var(--muted); font-size: 0.85rem; }
main { max-width: 1180px; margin: 0 auto; padding: 1.25rem; }
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.1rem 1.2rem;
  margin-bottom: 1rem;
}
h1 { font-size: 1.35rem; margin: 0.2rem 0; }
h2 { font-size: 1rem; margin: 0 0 0.6rem; }
.lede, .muted { color: var(--muted); }
.error { color: var(--warn); }
.ok { color: var(--green); }
.upload { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
button {
  background: var(--green);
  color: white;
  border: 0;
  border-radius: 6px;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
}
button.quiet { background: transparent; color: var(--warn); padding-left: 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; padding: 0.35rem 0.45rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.control { display: flex; gap: 1.5rem; flex-wrap: wrap; margin: 0.5rem 0; }
.control dt { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
.control dd { margin: 0; font-variant-numeric: tabular-nums; font-size: 1.15rem; }
.dims { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.8rem; }
.dims a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  color: var(--ink);
}
.dims a.on { background: var(--green); color: white; border-color: var(--green); }
.filters span, .view-totals { font-size: 0.9rem; }
.filters span {
  display: inline-block;
  margin-right: 0.4rem;
  background: var(--paper);
  border-radius: 4px;
  padding: 0.05rem 0.35rem;
}
.k-journal td { color: #6a5a28; }
.k-review td:nth-child(5) { color: var(--warn); }
.pager { display: flex; gap: 0.8rem; }
.crumbs { margin: 0; font-size: 0.85rem; }
.inline { margin-top: 0.4rem; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 6vw;
  background: #fffcf7;
  border-bottom: 1px solid var(--line);
}
.nav img { display: block; width: min(240px, 58vw); height: auto; }
.nav a.signin { color: var(--ink); text-decoration: none; font-weight: 600; }
.landing { max-width: 1080px; margin: 0 auto; padding: 2.2rem 6vw 4rem; }
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem;
  align-items: center;
}
.product {
  margin: 0 0 0.4rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 650;
}
.landing h1 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 520;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
  margin: 0 0 0.7rem;
}
.landing .lede { font-size: 1.08rem; max-width: 36em; }
.frame {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  line-height: 0;
}
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero .frame { min-height: 280px; }
.button {
  display: inline-block;
  background: var(--green);
  color: white;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.split h2, .help h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 520;
  font-size: 1.55rem;
  margin: 0 0 0.6rem;
}
.split ul { margin: 0; padding-left: 1.1rem; }
.split li { margin: 0.45rem 0; }
.story { margin-top: 3.2rem; }
.story .photos { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 0.85rem; margin-bottom: 1.6rem; }
.story .photos .frame { height: 360px; }
.frame img { object-position: center; }
.story .help { max-width: 40em; }
.help p { margin-top: 0; }
.contact { color: var(--muted); margin-bottom: 0; }
@media (max-width: 800px) {
  .hero, .split, .story .photos { grid-template-columns: 1fr; }
  .story .photos .frame { height: 240px; }
  .landing { padding-top: 1.6rem; }
}
