@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #111;
  --white: #fff;
  --border: #c8c8c4;
  --accent-cyan: #5fcfcf;
  --accent-pink: #f03c78;
  --accent-yellow: #f5e430;
  --font-mono: 'IBM Plex Mono', monospace;
  --font-sans: 'IBM Plex Sans', sans-serif;
  --font-body: Georgia, 'Times New Roman', serif;
  --sidebar-w: 280px;
  --header-h: 120px;
  --nav-h: 36px;
}

body {
  font-family: var(--font-body);
  background: #6b6b6b;
  color: var(--black);
  font-size: 13px;
  line-height: 1.6;
}

.site-wrapper {
  max-width: 1350px;
  margin: 0 auto;
  background: var(--white);
}

/* ── HEADER ── */
header {
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1.5px solid var(--black);
  display: flex;
  align-items: center;
  padding: 0;
  height: var(--header-h);
  gap: 40px;
  margin: 0 28px 0 28px;

}

.logo {
  font-family: var(--font-mono);
  font-size: 50px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--black);
  white-space: nowrap;
  flex-shrink: 0;
}

.header-tagline {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: #555;
  letter-spacing: 0.01em;
}

/* ── NAV BAR ── */
.navbar {
  top: var(--header-h);
  z-index: 99;
  background: var(--white);
  display: flex;
  align-items: stretch;
  height: var(--nav-h);
  margin: 0 28px 0 28px;
}

.navbar a {
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0 16px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: grey;
  cursor: pointer;
  transition: background 0.12s;
  white-space: nowrap;
}
.navbar a:hover,
.navbar a.active { color: var(--black); }

/* ── BODY LAYOUT ── */
.layout {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  min-height: calc(100vh - var(--header-h) - var(--nav-h));
}

main {
  padding: 32px 36px;
  border-right: 1px solid var(--black);
  margin-right: 4px;
}

aside {
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── PAGES ── */
.page { display: none; }
.page.active { display: block; }

/* ── SECTION TITLES — line above the text ── */
.section-title {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  padding-top: 4px;
  border-top: 4px solid var(--black);
}

.sub-title {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-top: 8px;
  margin-bottom: 14px;
  border-top: 4px solid var(--black);
}

/* ── ISSUE COVER CARDS ── */
.issue-cover {
  width: 200px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 9px;
  flex-shrink: 0;
}
.issue-cover.cyan   { background: var(--accent-cyan); }
.issue-cover.pink   { background: var(--accent-pink); }
.issue-cover.yellow { background: var(--accent-yellow); }

.cover-logo {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  color: var(--black);
}
.cover-words {
  font-family: var(--font-sans);
  font-size: 6.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.35;
  color: var(--black);
  margin-top: 3px;
}
.cover-issue-num {
  font-family: var(--font-mono);
  font-size: 8.5px;
  color: var(--black);
}
.cover-desc {
  font-size: 5.5px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--black);
  margin-top: 2px;
}

/* ── ARTICLE LIST ── */
.article-list { display: flex; flex-direction: column; }

.article-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.article-title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 3px;
}
.article-subtitle {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: #555;
  margin-bottom: 5px;
}
.article-authors {
  font-size: 11px;
  color: #888;
  margin-bottom: 11px;
}
.pdf-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  background: var(--black);
  color: var(--white);
  padding: 4px 9px;
  border: none;
  letter-spacing: 0.07em;
  cursor: pointer;
}

/* ── ISSUES PAGE ── */
.issue-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.issue-row-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #888;
  margin-bottom: 3px;
}
.issue-row-label { font-size: 14px; font-weight: 400; }

/* ── ABOUT PAGE ── */
.about-intro {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.78;
  max-width: 760px;
  margin-bottom: 36px;
}
.about-intro p + p { margin-top: 14px; }

.board-section { margin-bottom: 30px; }

.board-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 40px;
  max-width: 600px;
}
.board-person { font-family: var(--font-body); font-size: 12px; font-weight: 300; }
.board-person strong { font-weight: 500; display: block; font-size: 12px; }
.board-person span { font-size: 11px; color: #666; }

.advisory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
  max-width: 600px;
}
.advisory-group-label {
  font-family: var(--font-mono);
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #888;
  margin-bottom: 7px;
}

/* ── SIDEBAR ── */
.sidebar-block {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.sidebar-block:last-child { border-bottom: none; margin-bottom: 0; }

.publisher-row {
  display: flex;
  align-items: center;
  gap: 9px;
}
.publisher-icon {
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
}
.publisher-text { font-size: 10px; font-weight: 400; line-height: 1.35; }
.publisher-text span { display: block; font-size: 9px; color: #777; }

.sidebar-about-label {
  font-family: var(--font-mono);
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 8px;
}
.sidebar-about-text {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 300;
  line-height: 1.68;
  color: #444;
}
