


@font-face {
  font-family: 'Alegreya';
  src: url('../static/fonts/Alegreya-VF-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Alegreya';
  src: url('../static/fonts/Alegreya-Italic-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Bitter';
  src: url('../static/fonts/Bitter-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

.nb-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--s-6);
}

.nb-hero {
  padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 72px));
  padding-bottom: clamp(28px, 4vw, 48px);
}

.nb-title {
  font-size: var(--fs-5xl);
  font-weight: var(--fw-black);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--s-4);
}


.timeline {
  position: relative;
  padding: var(--s-5) 0 var(--s-9);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 200px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg,
    rgba(143, 169, 74, 0) 0%,
    var(--color-highlight) 12%,
    var(--color-primary) 88%,
    rgba(143, 169, 74, 0) 100%);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 168px 1fr;
  column-gap: 64px;
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-node {
  position: absolute;
  left: 190px;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--color-highlight);
  z-index: 1;
}

.timeline-month {
  grid-column: 1;
  width: 100%;
  text-align: right;
  white-space: nowrap;
}

.timeline-month .m-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: var(--fw-black);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.timeline-month .m-year {
  margin-top: 6px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
}


.nb-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(32px) saturate(1.6);
  -webkit-backdrop-filter: blur(32px) saturate(1.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: clamp(20px, 3vw, 34px);
  box-shadow: 0 10px 34px rgba(74, 89, 38, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: transform var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out),
              border-color var(--dur-normal) var(--ease-out);
}


.nb-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(217, 237, 168, 0.20) 0%, rgba(255, 255, 255, 0) 55%);
  pointer-events: none;
}

.nb-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(74, 89, 38, 0.18),
              inset 0 1px 0 rgba(255, 255, 255, 0.65);
  border-color: rgba(143, 169, 74, 0.5);
}


.entry-group {
  padding: var(--s-5) 0;
  border-top: 1px solid var(--color-border-light);
}
.entry-group:first-child {
  padding-top: 0;
  border-top: none;
}

.entry-head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
}

.entry-tag {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.4em 0.9em;
  border-radius: var(--r-full);
}
.entry-tag--wetlab {
  background: var(--color-primary);
  color: #fff;
}
.entry-tag--drylab {
  background: transparent;
  color: var(--color-primary-light);
  border: 1.5px solid var(--color-primary-light);
}

.entry-body p {
  font-family: 'Alegreya', Georgia, 'Times New Roman', serif;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #000;
  margin: 0;
  text-align: justify;
}
.entry-body strong {
  color: #000;
  font-weight: var(--fw-bold);
}
.entry-body .placeholder {
  color: var(--color-text-tertiary);
  font-style: italic;
}


.jump-btn {
  margin-top: var(--s-5);
}
.jump-btn .btn-ico {
  width: 16px;
  height: 16px;
}


.nb-download {
  margin-top: clamp(48px, 6vw, 80px);
  display: flex;
  align-items: center;
  gap: var(--s-6);
  background: var(--glass-bg);
  backdrop-filter: blur(32px) saturate(1.6);
  -webkit-backdrop-filter: blur(32px) saturate(1.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 10px 34px rgba(74, 89, 38, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.nb-download-body { flex: 1 1 auto; min-width: 0; }
.nb-download-body p {
  font-family: 'Alegreya', Georgia, serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: #000;
  margin: 0;
}


.nb-download-btn {
  flex: 0 0 auto;
  padding: var(--s-3) var(--s-5);
}
.nb-download-btn .btn-ico { width: 20px; height: 20px; }


@media (max-width: 768px) {
  .timeline::before { left: 20px; }
  .timeline-item { display: block; padding-left: 52px; }
  .timeline-node { left: 11px; top: 6px; }
  .timeline-month {
    position: static;
    width: auto;
    text-align: left;
    margin: 0 0 var(--s-4);
    display: flex;
    align-items: baseline;
    gap: var(--s-3);
    white-space: normal;
  }
  .timeline-month .m-year { margin-top: 0; }
  .nb-card { padding: var(--s-5); }
  .entry-body p { font-size: 1rem; }
}

@media (max-width: 600px) {
  .nb-download {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: var(--s-5);
  }
  .nb-download-btn { align-self: center; width: auto; }
}

@media (max-width: 430px) {
  .timeline::before { left: 16px; }
  .timeline-item { padding-left: 44px; }
  .timeline-node { left: 7px; }
  .jump-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .nb-card { transition: none; }
}
