* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Arial, sans-serif;
  background: #f7f5f0;
  color: #222;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.88);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}
h1, h2, p { margin: 0; }
.eyebrow {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 6px;
}
.button {
  border: 1px solid rgba(0,0,0,.18);
  background: white;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  min-height: calc(100vh - 81px);
}
.board-wrap {
  overflow: auto;
  padding: 24px;
}
.board {
  position: relative;
  min-height: 760px;
  min-width: 1200px;
}
.panel {
  border-left: 1px solid rgba(0,0,0,.08);
  background: #fbfaf7;
  padding: 24px;
}
.meta {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}
.meta div {
  display: grid;
  gap: 2px;
}
.meta dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #666;
}
.summary {
  line-height: 1.5;
  color: #444;
}
.viewer {
  margin-top: 20px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  background: white;
  min-height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.viewer.empty {
  color: #777;
  font-size: 14px;
  padding: 20px;
  text-align: center;
}
.viewer img {
  display: block;
  width: 100%;
  height: auto;
}
.card {
  position: absolute;
  width: 250px;
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  padding: 12px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover,
.card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
  outline: none;
}
.card-image {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  background: #ece8de;
}
.card-caption {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
}
.card.is-selected {
  box-shadow: 0 0 0 2px #0b6, 0 10px 30px rgba(0,0,0,.08);
}
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .panel { border-left: 0; border-top: 1px solid rgba(0,0,0,.08); }
}
