* { box-sizing: border-box; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
::selection { background: #2c3a54; }
body {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 300;
}

/* ---------- homepage ---------- */
body.home {
  background: #171d2b;
  color: #e6e9f0;
}
.row {
  padding: 72px 72px 120px 72px;
  display: flex;
  flex-direction: row;
  gap: 380px;
  max-width: 1440px;
}
.identity {
  width: 200px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.identity .name { font-size: 12px; font-weight: 500; }
.identity .tagline { font-size: 12px; font-weight: 300; color: #7a86a3; margin-top: 2px; }
.identity .about-link { margin-top: 36px; font-size: 12px; font-weight: 300; color: #e6e9f0; }
.identity .contact { font-size: 12px; font-weight: 300; color: #7a86a3; margin-top: 2px; transition: color 0.15s ease; }
.identity .contact:hover { color: #e6e9f0; }
.identity .footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  color: #5c6884;
  padding-top: 40px;
}
.quote-list {
  width: 540px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.quote-list a {
  font-size: 12px;
  line-height: 1.6;
  font-weight: 300;
  color: #e6e9f0;
  transition: color 0.15s ease;
}
.quote-list a:hover { color: #ffffff; }

/* ---------- detail pages ---------- */
body.detail {
  background: #faf9f6;
  color: #171d2b;
}
.detail .row { gap: 380px; }
.detail .left {
  width: 200px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.detail .back-link {
  font-size: 12px;
  font-weight: 300;
  color: #171d2b;
  transition: opacity 0.15s ease;
}
.detail .back-link:hover { opacity: 0.55; }
.detail .attribution { margin-top: 36px; font-size: 12px; font-weight: 300; color: #171d2b; }
.detail .meta { font-size: 12px; font-weight: 300; color: #a39d8d; margin-top: 2px; }
.detail .content {
  width: 540px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.detail .quote { font-size: 12px; line-height: 1.6; font-weight: 500; }
.detail .support { font-size: 12px; line-height: 1.7; font-weight: 300; color: #4a4740; }
.detail .support a { text-decoration: underline; text-underline-offset: 2px; transition: opacity 0.15s ease; }
.detail .support a:hover { opacity: 0.6; }
.detail .placeholder {
  width: 100%;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail .video-embed {
  position: relative;
  width: 100%;
  height: 0;
  background: #000;
}
.detail .video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.detail .placeholder span {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.detail img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .row { flex-direction: column; gap: 48px; padding: 40px 24px 72px; }
  .identity, .quote-list, .detail .left, .detail .content { width: 100%; }
  .identity .footer { padding-top: 24px; }
}
