/* ─────────────────────────────────────────────
   Bt — research site
   ───────────────────────────────────────────── */

:root {
  --bg:       #0f0f0f;
  --bg-soft:  #2b2b2b;
  --fg:       #ededeb;
  --fg-muted: #8c8c8a;
  --accent:   #6d8bff;
  --hl:       #d24bb0;
  --rule:     #333333;

  --edge-w:  72px;
  --max-w:   980px;

  --sans:  "Inter", system-ui, sans-serif;
  --serif: var(--sans);
  --mono:  var(--sans);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:visited { color: #cc0000; }

.edge-logo {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--edge-w);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-right: 1px solid var(--rule);
  z-index: 10;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.edge-logo .mark {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--accent);
  line-height: 1;
}
.edge-logo .mark sub {
  font-size: 0.62em;
  font-style: italic;
}
.edge-logo .mark-label {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.edge-logo-img {
  width: 360px;
  height: auto;
  writing-mode: horizontal-tb;
  transform: rotate(90deg);
}

.page {
  margin-left: var(--edge-w);
  max-width: var(--max-w);
  padding: 36px 56px 80px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 8px;
}
.socials {
  display: flex;
  gap: 20px;
  font-family: var(--mono);
  font-size: 13px;
}
.socials a {
  color: var(--fg-muted);
  transition: color 0.15s ease;
}
.socials a:hover { color: var(--accent); }
.social-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  opacity: 0.6;
  transition: opacity 0.15s ease;
}
.socials a:hover .social-icon { opacity: 1; }

.byline {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--fg);
  letter-spacing: 0.01em;
}

.statement {
  margin: 120px 0 110px;
  max-width: 620px;
}
.lede {
  margin: 0 0 28px;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.sub {
  margin: 0;
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
}

.grid { margin-top: 24px; }

.year-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  padding: 28px 0;
}
.year-row + .year-row { border-top: 0px solid var(--rule); }

.year {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--fg-muted);
  padding-top: 4px;
}

.entries {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 48px;
  row-gap: 14px;
}

.entry {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 16px;
}

.thumb {
  width: 84px;
  height: 50px;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  overflow: hidden;
  flex-shrink: 0;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.title {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--fg);
  letter-spacing: 0.01em;
}
.entry:hover .title { text-decoration: underline; }
.entry.hl .title { color: var(--hl); }

.site-footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-muted);
}

@media (max-width: 760px) {
  :root { --edge-w: 0px; }
  .edge-logo { display: none; }
  .page { padding: 24px 22px 64px; }
  .topbar { flex-direction: column; gap: 14px; align-items: flex-start; }
  .socials { flex-wrap: wrap; gap: 16px; }
  .statement { margin: 56px 0; }
  .lede { font-size: 24px; }
  .year-row { grid-template-columns: 44px 1fr; gap: 16px; }
  .entries { grid-template-columns: 1fr; }
}
