.about-page {
    padding-top: 61px;
}

.about-header {
    padding: 56px 40px;
    border-right: 1px solid var(--border);
}

.about-label {
    font-family: var(--font-ui);
    font-size: 9px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--dim);
    position: sticky;
    top: 80px;
    display: block;
}

section {
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 280px;
}

.about-text {
    padding: 56px 64px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 680px;
}

.about-text p {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--dim);
    line-height: 2;
    letter-spacing: .04em;
}

.cipher-mark {
    font-family: 'IBM Plex Mono', 'Noto Sans', 'Segoe UI Symbol', monospace;
    font-size: clamp(20px, 2.5vw, 36px);
    color: var(--dimmer);
    padding: 56px 0 0;
    letter-spacing: .08em;
    overflow: visible;
}

.cipher-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cipher-list li {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--dim);
    line-height: 1.8;
    letter-spacing: .04em;
}

.cipher-symbol {
    font-family: 'Noto Sans', 'Segoe UI Symbol', sans-serif;
    color: var(--white);
    letter-spacing: .02em;
}

.cipher-reading {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--dimmer);
    letter-spacing: .14em;
    font-style: italic;
    margin-top: 8px;
}

/* ─── BLOG DRAWER */
.blog-drawer {
  position: fixed;
  top: 61px;
  right: 0;
  bottom: 0;
  width: 40px;
  display: flex;
  flex-direction: row;
  z-index: 50;
  transition: width .4s cubic-bezier(.4, 0, .2, 1);
  border-left: 1px solid var(--border);
  background: var(--black);
}

.blog-drawer.open {
  width: 50vw;
}

/* ─── INNER CONTENT */
.blog-drawer-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease .1s;
  border-right: 1px solid var(--border);
}

.blog-drawer.open .blog-drawer-inner {
  opacity: 1;
  pointer-events: all;
}

/* ─── TAB (vertical label) */
.blog-tab {
  width: 40px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  padding: 24px 0;
  border-left: 1px solid var(--border);
  transition: border-color .2s;
}

.blog-tab:hover {
  border-color: var(--dim);
}

.blog-tab span {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--dim);
  transition: color .2s;
}

.blog-drawer.open .blog-tab span,
.blog-tab:hover span {
  color: var(--white);
}

/* ─── TREE (left column inside drawer) */
.blog-tree {
  padding: 40px 24px;
  border-right: 1px solid var(--border);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blog-commit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 10px 0;
  position: relative;
}

.blog-commit:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 26px;
  bottom: -10px;
  width: 1px;
  background: var(--border);
}

.commit-dot {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  border: 1px solid var(--dim);
  flex-shrink: 0;
  margin-top: 3px;
  transition: border-color .2s, background .2s;
  position: relative;
  z-index: 1;
}

.blog-commit.is-head .commit-dot,
.blog-commit.active .commit-dot {
  background: var(--white);
  border-color: var(--white);
}

.commit-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.commit-head-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .18em;
  color: var(--white);
  text-transform: uppercase;
  display: none;
}

.blog-commit.is-head .commit-head-label {
  display: block;
}

.commit-title {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .06em;
  color: var(--dim);
  line-height: 1.4;
  transition: color .2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.blog-commit:hover .commit-title,
.blog-commit.active .commit-title {
  color: var(--white);
}

.commit-meta {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--dimmer);
  letter-spacing: .06em;
}

/* ─── POST CONTENT (right column inside drawer) */
.blog-post {
  padding: 40px 32px;
  overflow-y: auto;
}

.blog-post-title {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}

.blog-post-meta {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--dimmer);
  letter-spacing: .1em;
  margin-bottom: 32px;
  display: flex;
  gap: 16px;
}

.blog-post-body {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  line-height: 2;
  letter-spacing: .04em;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-post-body p { margin: 0; }

.blog-empty {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--dimmer);
  letter-spacing: .1em;
}


@media(max-width: 640px) {
    section {
        grid-template-columns: 1fr;
    }

    .about-header {
        padding: 32px 24px 16px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .about-label {
        position: static;
    }

    .about-text {
        padding: 32px 24px;
        max-width: 100%;
    }

    .cipher-mark {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 32px 24px;
    }

    .blog-drawer.open {
    width: 100vw;
  }

  .blog-drawer-inner {
    grid-template-columns: 160px 1fr;
  }
}