/* ============================================================
   parkjaehyuk.com — Shared Stylesheet
   Design: Quiet Scholar (Design A)
   Fonts: Cormorant Garamond (headings) + Inter (body)
   ============================================================ */

/* ── Reset & Variables ── */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:      #FAFAF7;
  --text:    #1A1A18;
  --muted:   #8A887E;
  --accent:  #B5681E;
  --border:  #E4E0D6;
  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
}

/* ── Navigation ── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 5rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(250,250,247,0.96);
  backdrop-filter: blur(8px);
  z-index: 100;
}
nav .logo {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
  letter-spacing: 0.01em;
}
nav ul { list-style: none; display: flex; gap: 2.5rem; }
nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.2s;
}
nav a:hover, nav a.active { color: var(--accent); }

/* ── Page wrapper ── */
.page { max-width: 1080px; margin: 0 auto; padding: 0 5rem; }

/* ── Section blocks ── */
.section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--border);
}
.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-label::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--border);
}

/* ── Publication list ── */
.pub-list { list-style: none; }
.pub-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}
.pub-item:first-child { border-top: 1px solid var(--border); }
.pub-year {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
  padding-top: 5px;
  letter-spacing: 0.03em;
}
.pub-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
  line-height: 1.45;
}
.pub-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.pub-title a:hover { color: var(--accent); }
.pub-authors {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.2rem;
  line-height: 1.5;
}
.pub-venue {
  font-size: 0.8rem;
  color: var(--accent);
  font-style: italic;
}
.pub-badge {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  border: 1px solid var(--border);
  padding: 1px 7px;
  color: var(--muted);
  margin-left: 0.5rem;
  vertical-align: middle;
  font-style: normal;
  font-family: var(--sans);
}

/* ── Notes cards ── */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}
.note-card {
  background: var(--bg);
  padding: 2rem;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: background 0.2s;
}
.note-card:hover { background: #F3F0E8; }
.note-date {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.note-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 400;
}
.note-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}
.note-excerpt {
  font-size: 0.83rem;
  color: #777;
  line-height: 1.65;
}
.note-card.placeholder {
  background: #F3F0E8;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  cursor: default;
}
.note-card.placeholder span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Press list ── */
.press-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.press-outlet { font-weight: 500; font-size: 0.85rem; letter-spacing: 0.03em; margin-bottom: 0.3rem; }
.press-desc   { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer p { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.04em; }
footer a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--accent); }

/* ── Utility ── */
.text-accent { color: var(--accent); }
.text-muted  { color: var(--muted); }
