html {
  color-scheme: dark;
  background: #3e524b;
}
body {
  margin: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
/* Native fragment routing preserves categories and reading views without JS. */
#top .static-view { display: none; }
body:not(.enhanced) #top .static-view:target { display: block; }
body:not(.enhanced) #top main:has(> .static-view:target) > :is(.opening, .collection, footer) { display: none; }
body:not(.enhanced) #top .grow-tree { display: none; }

[hidden] {
  display: none !important;
}
#top {
  --paper: #3e524b;
  --ink: #f2f1e6;
  --soft: #d4ddd2;
  --line: #91a89a;
  --tile: #4a6055;
  --accent: #e2d3a4;
  --space: 24px;
  color: var(--ink);
  font:
    15px/1.65 "Segoe UI",
    Arial,
    sans-serif;
  overflow-wrap: anywhere;
}
#top * {
  box-sizing: border-box;
}
#top button,
#top a {
  font: inherit;
}
#top button {
  cursor: pointer;
}
#top button:focus-visible,
#top a:focus-visible,
#top summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
#top .site {
  background: var(--paper);
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  padding: 42px 36px;
  gap: 40px;
  border-radius: 10px;
}
#top aside {
  align-self: start;
  position: sticky;
  top: 20px;
}
#top .signature {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -4px;
  color: var(--ink);
  text-decoration: none;
}
#top .signature span {
  color: var(--accent);
}
#top h1 {
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -1.3px;
  margin: 24px 0 12px;
  font-weight: 650;
}
#top .role {
  margin: 0;
  font-weight: 600;
}
#top .bio {
  color: var(--soft);
  margin: 20px 0 32px;
}
#top nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 32px;
}
#top nav :is(button, a) {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
  background: transparent;
  color: var(--soft);
  padding: 8px 0;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
}
#top nav :is(button, a):before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--line);
  transition:
    width 0.22s,
    background 0.22s;
}
#top nav :is(button, a)[aria-current] {
  color: var(--ink);
}
#top nav :is(button, a)[aria-current]:before {
  width: 52px;
  background: var(--accent);
}
#top .resume,
#top .contact {
  display: inline-block;
  text-decoration: none;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--ink);
  padding: 9px 18px;
  border-radius: 4px;
}
#top .socials {
  display: flex;
  gap: 18px;
  margin-top: 26px;
  font-size: 13px;
}
#top a {
  color: var(--ink);
  text-underline-offset: 5px;
}
#top .aside-note {
  margin-top: 28px;
  font-size: 12px;
  color: var(--soft);
}
#top main {
  min-width: 0;
}
#top .opening {
  position: relative;
  padding: 18px 0 42px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
#top .intro-meta {
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 22px;
}
#top h2 {
  font-size: 42px;
  line-height: 1.13;
  letter-spacing: -1.7px;
  margin: 0 0 20px;
  font-weight: 600;
}
#top .opening p {
  color: var(--soft);
  max-width: 410px;
  margin-bottom: 24px;
}
#top .mini-branch {
  height: 20px;
  width: 120px;
  border-top: 1px solid var(--accent);
  display: flex;
  justify-content: space-between;
  position: relative;
}
#top .mini-branch i {
  width: 7px;
  height: 7px;
  transform: translateY(-4px);
  border: 1px solid var(--accent);
  background: var(--paper);
  border-radius: 50%;
}
#top .collection {
  position: relative;
}
#top .connectors {
  position: absolute;
  inset: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  overflow: visible;
  color: var(--line);
}
#top .group {
  position: relative;
  padding-bottom: 38px;
}
#top .milestone {
  position: relative;
  margin: 0 0 22px 36px;
  padding: 0 0 10px;
  background: var(--paper);
}
#top :is(.milestone, .about-block, .experience-role, .skills-study, .credentials) h3 {
  font: 400 28px/1.3 Georgia, serif;
}
@media (max-width: 700px) {
  #top :is(.milestone, .about-block, .experience-role, .skills-study, .credentials) h3 {
    font-size: 25px;
  }
}
#top .milestone h3 {
  letter-spacing: -0.5px;
  margin: 2px 0;
}
#top .milestone p {
  color: var(--soft);
  font-size: 15px;
  max-width: 52ch;
  margin: 5px 0;
}
#top .date {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.5px;
}
#top .entries {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space);
  padding-left: 64px;
}
#top .entry {
  background: var(--tile);
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 5px;
  position: relative;
  min-width: 0;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
#top .entry:hover {
  border-color: var(--accent);
  transform: translateX(3px);
}
#top a.entry {
  display: block;
  text-decoration: none;
}
#top .entry .read-entry {
  display: inline-block;
}
#top .entry h4 {
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.3px;
  margin: 9px 0 8px;
  font-weight: 600;
}
#top .entry p {
  font-size: 16px;
  color: var(--soft);
  margin: 8px 0 12px;
}
#top .entry-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--accent);
  font-size: 14px;
}
#top .sample {
  color: var(--soft);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0 5px;
}
#top .tags {
  font-size: 14px;
  color: var(--soft);
}
#top details {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 10px;
}
#top summary {
  color: var(--ink);
  font-size: 12px;
  cursor: pointer;
}
#top details p {
  font-size: 13px;
}
#top footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 12px;
  margin-top: 10px;
  position: relative;
}
#top .footer-kicker {
  font-size: 12px;
  color: var(--accent);
}
#top footer h2 {
  font-size: 27px;
  letter-spacing: -0.8px;
  margin-top: 15px;
}
#top footer p {
  color: var(--soft);
}
#top .footer-branch {
  font-family: monospace;
  color: var(--accent);
  margin-top: 25px;
  transition: transform 0.3s;
  transform-origin: left center;
}
#top footer:hover .footer-branch {
  transform: rotate(-4deg) scaleX(1.05);
}
#top [data-design="tree"] h2,
#top [data-design="tree"] h4,
#top [data-design="tree"] .entries {
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
  padding: 0;
}
#top [data-design="tree"] .entry {
  border-radius: 22px 6px 22px 6px;
  padding: 18px;
}
#top [data-design="tree"] .entry:nth-child(even) {
  margin-top: 65px;
}
#top [data-design="tree"] .entry:nth-child(odd) {
  margin-bottom: 65px;
}
#top [data-design="tree"] .milestone {
  margin: 0 auto 30px;
  width: 80%;
  text-align: center;
  padding: 10px;
}
#top [data-design="tree"] .opening {
  padding-bottom: 45px;
}
#top [data-design="tree"] .mini-branch {
  border-radius: 60%;
}

#top .about-block {
  padding: 12px 0 25px;
}
#top .about-block p {
  color: var(--soft);
}
@media (max-width: 760px) {
  #top .site {
    grid-template-columns: 190px minmax(0, 1fr);
    padding: 28px 22px;
    gap: 25px;
  }
  #top h1 {
    font-size: 27px;
  }
  #top h2 {
    font-size: 34px;
  }
  #top [data-design="tree"] .entries {
    column-gap: 32px;
  }
  #top .entries {
    padding-left: 36px;
  }
  #top .entry {
    padding: 16px;
  }
  #top [data-design="tree"] .entry {
    padding: 12px;
  }
}
@media (max-width: 600px) {
  #top .site {
    display: block;
    padding: 24px 20px;
  }
  #top aside {
    position: static;
  }
  #top .signature {
    font-size: 28px;
  }
  #top h1 {
    font-size: 28px;
    margin: 10px 0;
  }
  #top h1 br {
    display: none;
  }
  #top .bio,
  #top .aside-note {
    display: none;
  }
  #top nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px 16px;
    margin: 24px 0 16px;
  }
  #top nav :is(button, a) {
    padding: 8px 0;
    font-size: 12px;
    letter-spacing: 0;
    gap: 7px;
  }
  #top nav :is(button, a):before {
    width: 12px;
  }
  #top nav :is(button, a)[aria-current]:before {
    width: 23px;
  }
  #top .socials {
    display: inline-flex;
    margin: 0 0 0 16px;
    gap: 12px;
  }
  #top .opening {
    padding-top: 38px;
  }
  #top h2 {
    font-size: 36px;
  }
  #top [data-design="tree"] .entries {
    display: block;
    padding-left: 38px;
  }
  #top [data-design="tree"] .entry:nth-child(n) {
    margin: 0 0 24px;
  }
  #top [data-design="tree"] .milestone {
    margin-left: 28px;
    text-align: left;
    width: auto;
  }
  #top .entry:hover {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  #top * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* Organic tree refinement: role junctions, project branches, story offshoots. */
#top .site {
  max-width: 1320px;
  margin: auto;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 48px;
}
#top .opening {
  padding-bottom: 22px;
  margin-bottom: 36px;
}
#top .opening h2 {
  font-size: 48px;
  max-width: 600px;
}
#top .opening p {
  max-width: 480px;
}
#top .mini-branch {
  width: 170px;
}
#top [data-design="tree"] .group {
  padding-bottom: 65px;
}
#top [data-design="tree"] .milestone {
  width: max-content;
  max-width: 85%;
  padding: 12px 24px;
  margin-bottom: 36px;
}
#top .junction-mark {
  display: block;
  width: 13px;
  height: 13px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  margin: 0 auto 16px;
  box-shadow: 0 0 0 7px var(--paper);
}
#top [data-design="tree"] .entries {
  gap: 32px 62px;
  align-items: start;
}
#top .branch {
  min-width: 0;
  position: relative;
}
#top .branch:nth-child(even) {
  padding-top: 110px;
}
#top [data-design="tree"] .branch .entry {
  margin: 0;
  padding: 22px;
  border-radius: 24px 7px 24px 7px;
  transform: none;
}
#top [data-design="tree"] .entry h4 {
  font-family: inherit;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.35px;
  color: var(--ink);
  margin: 12px 0 16px;
  text-wrap: balance;
  overflow-wrap: break-word;
}
#top .entry.featured {
  border-color: var(--line);
}
#top .entry.note {
  box-shadow: none;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0 !important;
  padding: 20px 4px !important;
}
#top [data-design="tree"] .entry.note h4 {
  font-size: 24px;
  font-weight: 700;
}
#top .read-entry,
#top .read-offshoot,
#top .return-tree {
  background: none;
  border: 0;
  padding: 10px 0;
  color: var(--ink);
  text-align: left;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
#top .read-entry {
  font-size: 14px;
  margin-top: 12px;
}
#top .offshoot {
  position: relative;
  margin: 20px 0 0 26px;
  padding: 4px 0 0 20px;
  border-left: 1px solid var(--line);
}
#top .offshoot:before {
  content: "";
  position: absolute;
  left: -27px;
  top: -20px;
  width: 26px;
  height: 42px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 0 18px;
}
#top .offshoot p {
  margin: 0;
  color: var(--soft);
  font-size: 11px;
}
#top .read-offshoot {
  font-family: Georgia, serif;
  font-size: 17px;
  line-height: 1.3;
  text-decoration: none;
}
#top .branch:is(:hover, :focus-within) .entry {
  border-color: var(--accent);
}
#top .branch-link {
  transition: stroke 0.2s;
  stroke: var(--line);
}
#top .branch-link.is-active {
  stroke: var(--accent);
  stroke-width: 2.5;
}
#top .connectors .main-trunk {
  stroke: var(--line);
  stroke-width: 2;
}
#top .concept-diagram {
  box-shadow: inset 0 1px 5px color-mix(in srgb, var(--ink) 8%, transparent);
  margin: 18px 0 12px;
  padding: 18px 12px;
  background: var(--paper);
  border-radius: 14px 4px 14px 4px;
}
#top .diagram-flow {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: space-between;
}
#top .diagram-flow span {
  border: 1px solid var(--line);
  padding: 9px 5px;
  border-radius: 5px;
  font-size: 11px;
  text-align: center;
  flex: 1;
  min-width: 0;
}
#top .diagram-flow b {
  color: var(--accent);
  font-weight: 400;
}
#top .concept-diagram figcaption {
  margin-top: 10px;
  font-size: 10px;
  color: var(--soft);
  text-align: center;
}
#top .reading-view {
  max-width: 700px;
  padding: 12px 0 48px;
}
#top .reading-view[hidden] {
  display: none;
}
#top .reading-view h2 {
  font-family: Georgia, serif;
  font-size: 44px;
  margin: 26px 0;
  line-height: 1.14;
}
#top .reading-view h3 {
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 400;
  margin: 34px 0 14px;
}
#top .reading-view p,
#top .reading-view li {
  color: var(--soft);
  font-size: 16px;
  line-height: 1.85;
}
#top .reading-view .reading-lead {
  font-size: 21px;
  color: var(--ink);
  line-height: 1.6;
}
#top .reading-label {
  margin-top: 24px;
  color: var(--accent);
  font-size: 12px;
}
#top .reading-view .concept-diagram {
  background: var(--tile);
  padding: 28px;
}
#top .reading-view .diagram-flow span {
  padding: 22px 10px;
  font-size: 14px;
}
#top .reading-rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 34px 0;
}
#top .sample-notice {
  border-left: 2px solid var(--accent);
  padding-left: 18px;
}
#top .footer-tree {
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin-top: 20px;
  color: var(--accent);
}
#top .footer-tree path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
#top .footer-tree circle {
  fill: var(--paper);
  stroke: currentColor;
  stroke-width: 1.5;
}
#top .growth-branches:not([hidden]) path {
  stroke-dasharray: 1;
  animation: footer-branch-grow 850ms cubic-bezier(.22, .65, .3, 1) both;
}
#top .growth-leaves path {
  fill: #b9cbb6;
  stroke: none;
}
#top .growth-flowers circle {
  fill: var(--accent);
}
#top .growth-seeds path {
  fill: var(--accent);
  stroke: none;
}
#top .growth-leaves path,
#top .growth-flowers circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: footer-unfurl 560ms cubic-bezier(.2, .7, .3, 1) both;
}
#top .growth-seeds path {
  animation: footer-seed-drift 900ms cubic-bezier(.2, .6, .35, 1) both;
}
#top .growth-layer > :nth-child(2) { animation-delay: 70ms; }
#top .growth-layer > :nth-child(3) { animation-delay: 140ms; }
#top .growth-layer > :nth-child(4) { animation-delay: 210ms; }
#top .growth-layer > :nth-child(5) { animation-delay: 280ms; }
#top .growth-layer > :nth-child(6) { animation-delay: 350ms; }

@keyframes footer-branch-grow {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}
@keyframes footer-unfurl {
  from { opacity: 0; transform: scale(.25); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes footer-seed-drift {
  from { opacity: 0; transform: translate(-12px, -13px); }
  55% { opacity: .8; transform: translate(2px, -6px); }
  to { opacity: 1; transform: translate(0, 0); }
}
#top .grow-tree {
  display: block;
  color: var(--soft);
  background: none;
  border: 0;
  padding: 12px 0;
  margin-top: 26px;
  font-size: 12px;
}
#top .intro-draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: branch-arrive 950ms ease forwards;
}
@keyframes branch-arrive {
  to {
    stroke-dashoffset: 0;
  }
}
@media (max-width: 1000px) {
  #top .site {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 30px;
    padding: 30px 24px;
  }
  #top [data-design="tree"] .entries {
    gap: 28px 40px;
  }
  #top [data-design="tree"] .branch .entry {
    padding: 17px;
  }
}
@media (max-width: 800px) {
  #top .site {
    display: block;
  }
  #top aside {
    position: static;
  }
  #top aside .bio,
  #top .aside-note {
    display: none;
  }
  #top h1 br {
    display: none;
  }
  #top h1 {
    margin: 12px 0;
  }
  #top nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 20px 0;
  }
  #top .socials {
    display: inline-flex;
    margin: 0 0 0 18px;
  }
  #top .opening {
    padding-top: 48px;
  }
  #top nav :is(button, a) {
    min-height: 44px;
  }
}
@media (max-width: 600px) {
  #top .site {
    padding: 24px 18px;
  }
  #top .opening h2 {
    font-size: 37px;
  }
  #top [data-design="tree"] .entries {
    display: block;
    padding-left: 30px;
  }
  #top .branch:nth-child(n) {
    padding: 0;
    margin-bottom: 32px;
  }
  #top [data-design="tree"] .milestone {
    margin-left: 22px;
    text-align: left;
    padding: 10px;
    max-width: calc(100% - 22px);
    width: auto;
  }
  #top .junction-mark {
    margin-left: 0;
  }
  #top .reading-view h2 {
    font-size: 34px;
  }
  #top .reading-view .concept-diagram {
    padding: 14px;
  }
  #top .reading-view .diagram-flow span {
    font-size: 12px;
    padding: 14px 5px;
  }
  #top .read-entry,
  #top .read-offshoot,
  #top .return-tree,
  #top .grow-tree {
    min-height: 44px;
  }
  #top .offshoot {
    margin-left: 16px;
    padding-left: 14px;
  }
  #top .socials {
    gap: 10px;
    margin-left: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #top .intro-draw {
    stroke-dashoffset: 0;
    animation: none;
  }
  #top .growth-layer > * {
    animation: none;
  }
}

/* Reader journey: depth communicates selection; reading surfaces remain still. */
#top .collection {
  perspective: 1100px;
  perspective-origin: 50% 25%;
}
#top .branch {
  transform-style: preserve-3d;
}
#top .entry {
  position: relative;
  box-shadow:
    0 3px 0 -1px #33473f,
    0 16px 30px -22px #142c23;
  transition:
    box-shadow 0.22s,
    border-color 0.22s;
}
#top .branch.is-focused .entry {
  border-color: var(--accent);
  box-shadow:
    0 3px 0 -1px #33473f,
    0 16px 30px -22px #142c23;
}
#top .branch.is-focused .offshoot {
  border-color: var(--accent);
}
#top .branch.is-focused .offshoot:before {
  border-color: var(--accent);
}
#top .milestone.is-focused .junction-mark {
  background: var(--accent);
}
#top .connectors [data-link] {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition:
    stroke-dashoffset 0.65s cubic-bezier(0.23, 1, 0.32, 1),
    stroke 0.18s;
}
#top .connectors [data-link].revealed {
  stroke-dashoffset: 0;
}
#top .connectors [data-link].is-active {
  stroke: var(--accent);
}
#top .opened-marker {
  display: inline-flex;
  margin-left: 10px;
  color: var(--accent);
  font:
    11px/1.5 "Segoe UI",
    sans-serif;
  white-space: nowrap;
  text-decoration: none;
}
#top .reading-breadcrumb {
  display: flex;
  flex-direction: row;
  gap: 7px;
  align-items: baseline;
  flex-wrap: wrap;
  margin: 20px 0;
  color: var(--soft);
  font-size: 12px;
}
#top .reading-breadcrumb span:last-child {
  color: var(--accent);
}
#top .reading-view {
  perspective: 1000px;
}
#top .reading-label {
  margin-top: 16px;
}
#top .journey-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (prefers-reduced-motion: reduce) {
  #top .connectors [data-link] {
    stroke-dashoffset: 0;
    transition: none;
  }
  #top .collection,
  #top .reading-view {
    perspective: none;
  }
}

#top .entry.note {
  box-shadow: none;
}

#top .about-block {
  max-width: 680px;
  padding-top: 0;
}
#top .about-block section {
  margin-bottom: 32px;
}
#top .about-block h3 {
  margin: 0 0 12px;
}
#top .about-block p {
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 14px;
}
#top .about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0 24px;
}
#top .about-links a {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  color: var(--ink);
  padding: 10px 16px;
  text-align: left;
}
#top .about-links a:hover {
  border-color: var(--accent);
}
#top .about-page-links a {
  color: var(--accent);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

#top .milestone .role-summary {
  max-width: 65ch;
  margin: 20px auto 0;
  line-height: 1.7;
  text-align: left;
  font-size: 15px;
}

#top .experience-view {
  max-width: 780px;
}
#top .experience-view .connectors {
  display: none;
}
#top .experience-role {
  position: relative;
  border-left: 1px solid var(--line);
  padding: 0 0 46px 30px;
}
#top .experience-role:has(+ .credentials) {
  padding-bottom: 12px;
}
#top .experience-role:has(+ .experience-role) > :last-child {
  margin-bottom: 0;
}
#top .experience-role:has(+ .experience-role) > .education-category:last-child li:last-child {
  padding-bottom: 0;
}
#top .experience-role:before {
  content: "";
  position: absolute;
  left: -6px;
  top: 5px;
  width: 11px;
  height: 11px;
  background: var(--paper);
  border: 2px solid var(--accent);
  border-radius: 50%;
}
#top .experience-role h3 {
  margin: 8px 0;
}
#top .experience-role p {
  color: var(--soft);
  max-width: 660px;
  margin: 12px 0 18px;
  line-height: 1.8;
}
#top .experience-role .role-title {
  color: var(--ink);
  margin: 8px 0;
}
@media (max-width: 600px) {
  #top .experience-role {
    padding-left: 20px;
  }
}

#top .skills-study h3 {
  margin: 0 0 16px;
  color: var(--ink);
  padding-top: 6px;
}
#top .view-description {
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 20px;
  max-width: 65ch;
  color: var(--soft);
}
#top .view-links {
  display: flex;
  gap: 8px 20px;
  flex-wrap: wrap;
  margin-top: 16px;
}
#top .view-links button {
  min-height: 44px;
  text-align: left;
}
#top .plain-tools {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 165px), 1fr));
  gap: 8px 12px;
  color: var(--ink);
}
#top .plain-tools li {
  min-width: 0;
  max-width: 100%;
  padding: 5px 10px;
  overflow-wrap: anywhere;
  display: grid;
  grid-template-columns: 5px minmax(0, 1fr);
  column-gap: 9px;
}
#top .plain-tools strong {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  text-decoration: none;
}
#top .plain-tools li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-block-start: 10px;
}
#top .editorial-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}
#top .editorial-row > * {
  min-width: 0;
}
#top .editorial-row:first-child {
  padding-top: 0;
}
#top .skills-study .editorial-row:last-child {
  border-bottom: 0;
}
@media (max-width: 700px) {
  #top .editorial-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 28px 0;
  }
  #top .skills-study h3 {
    margin-bottom: 4px;
  }
  #top .view-description {
    font-size: 15px;
  }
}
#top .education-details {
  list-style: none;
  padding: 0;
  margin: 22px 0;
  max-width: 660px;
}
#top .education-details li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
#top .education-details strong {
  display: block;
  color: var(--ink);
  font-weight: 650;
  line-height: 1.5;
}
#top .education-details span {
  display: block;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 4px;
}
#top .credentials {
  margin: 0;
  padding-top: 20px;
}
#top .credentials h3 {
  margin: 0 0 12px;
}
#top .credentials .education-details {
  margin: 0;
}
#top .education-category {
  margin: 28px 0;
}
#top .education-category h4 {
  font:
    400 21px/1.4 Georgia,
    serif;
  color: var(--accent);
  margin: 0 0 12px;
}
#top .education-category .education-details {
  margin: 0;
}

#top nav.section-jumps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 24px;
  margin: 0 0 24px;
  background: var(--paper);
}
#top nav.section-jumps a {
  justify-content: center;
  text-align: center;
  min-width: 0;
  min-height: 80px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px 5px 16px 5px;
  background: color-mix(in srgb, var(--tile) 55%, var(--paper));
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  text-wrap: balance;
  transition:
    background-color 0.18s,
    border-color 0.18s;
}
#top nav.section-jumps a:before {
  display: none;
}
#top nav.section-jumps a:is(:hover, :focus-visible) {
  background: var(--tile);
  border-color: var(--accent);
}
#top nav.section-jumps a:active {
  background: var(--paper);
}
@media (max-width: 640px) {
  #top nav.section-jumps {
    gap: 4px;
  }
  #top nav.section-jumps a {
    min-height: 64px;
    padding: 8px 3px;
    font-size: clamp(12px, 3.2vw, 16px);
    overflow-wrap: anywhere;
  }
}
#top .group h3:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
#top nav a[data-section],
#top nav.section-jumps a,
#top a.read-entry,
#top a.read-offshoot,
#top a.return-tree {
  text-decoration: none;
}

/* Allow complete jump labels to wrap onto additional rows on small screens. */
@media (max-width: 640px) {
 #top nav.section-jumps { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
 #top nav.section-jumps a { font-size: 14px; overflow-wrap: normal; padding: 10px; }
}
