.profile-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portrait {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: min(54vw, 190px);
  max-width: 190px;
  aspect-ratio: 1;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  background:
    linear-gradient(140deg, rgba(251, 252, 244, 0.92), rgba(183, 216, 216, 0.7)),
    repeating-linear-gradient(
      135deg,
      rgba(84, 119, 95, 0.11) 0 10px,
      rgba(31, 41, 43, 0.05) 10px 20px
    );
  box-shadow: inset 0 0 42px rgba(38, 63, 61, 0.1);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.identity {
  margin-top: 24px;
  text-align: center;
}

.identity h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5vw, 3.05rem);
  font-weight: 600;
  line-height: 1.06;
}

.identity p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.identity a {
  display: inline-block;
  margin-top: 4px;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 500;
}

.short-rule {
  width: 36px;
  height: 1px;
  margin: 32px 0 38px;
  background: var(--pop);
}

.profile-links {
  display: grid;
  width: 100%;
  gap: 14px;
}

.profile-link {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  min-height: 50px;
  padding: 12px 17px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(251, 252, 244, 0.66);
  color: var(--ink);
  font-weight: 700;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.profile-link svg {
  width: 22px;
  height: 22px;
}

.profile-link:hover,
.profile-link:focus-visible {
  border-color: var(--accent);
  color: var(--accent-dark);
  transform: translateY(-1px);
  outline: none;
}

.profile-link.featured {
  border-color: rgba(139, 31, 88, 0.34);
  background: rgba(139, 31, 88, 0.07);
  color: #6f1846;
}

.profile-footer {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.section-link,
.learn-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.section-link svg,
.learn-link svg {
  width: 18px;
  height: 18px;
}

.row-list {
  display: grid;
  gap: 0;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 3.8vw, 52px);
  min-height: 238px;
  padding: 10px 0 28px;
}

.feature-row + .feature-row {
  padding-top: 28px;
  border-top: 1px solid rgba(206, 219, 215, 0.78);
}

.paper-thumb,
.project-thumb {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  min-height: 210px;
  border-radius: 2px;
  box-shadow: 0 8px 22px rgba(38, 63, 61, 0.13);
}

.paper-thumb {
  background:
    linear-gradient(135deg, rgba(251, 252, 244, 0.86), rgba(183, 216, 216, 0.76)),
    repeating-linear-gradient(
      135deg,
      rgba(84, 119, 95, 0.14) 0 8px,
      rgba(31, 41, 43, 0.06) 8px 16px
    );
}

.project-thumb {
  background: linear-gradient(135deg, rgba(183, 216, 216, 0.42), rgba(84, 119, 95, 0.16));
  color: #263f3d;
}

.paper-thumb img,
.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-thumb svg {
  width: 64px;
  height: 64px;
}

.row-copy {
  min-width: 0;
}

.row-copy h3 {
  max-width: 980px;
  margin: 0;
  color: #202a2d;
  font-family: var(--sans);
  font-size: clamp(1.08rem, 1.42vw, 1.36rem);
  font-weight: 600;
  line-height: 1.32;
}

.row-copy p {
  max-width: 760px;
  margin: 6px 0 0;
  color: #2f3d41;
  font-size: clamp(0.94rem, 1.08vw, 1.05rem);
  line-height: 1.48;
}

.row-copy .eyebrow {
  margin: 0 0 4px;
  color: var(--accent);
  font-weight: 700;
}

.row-copy .authors {
  max-width: 900px;
  color: #334448;
  font-weight: 400;
}

.row-copy .venue {
  color: var(--muted);
  font-size: clamp(0.92rem, 1vw, 1rem);
  font-weight: 400;
}

.bio-section a {
  color: var(--accent-dark);
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

.authors a {
  color: #1f6fb2;
  font-weight: 400;
  text-decoration: none;
  transition: color 160ms ease;
}

.authors .self-author {
  font-weight: 700;
}

.education-panel {
  padding-top: 2px;
}

.education-panel h3 {
  margin: 0 0 12px;
  color: #202a2d;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
}

.education-list {
  display: grid;
  gap: 16px;
}

.education-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 2px 18px;
}

.bio-section .education-year {
  grid-row: span 2;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.bio-section .education-degree {
  color: #202a2d;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.bio-section .education-meta {
  color: #536468;
  font-size: 0.92rem;
  line-height: 1.45;
}

.bio-section a:hover,
.bio-section a:focus-visible {
  color: var(--pop);
  outline: none;
}

.authors a:hover,
.authors a:focus-visible {
  color: var(--pop);
  outline: none;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 78px;
  min-height: 36px;
  padding: 6px 15px;
  border: 1px solid #263f3d;
  border-radius: 3px;
  background: rgba(251, 252, 244, 0.74);
  color: #1f292b;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.action-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.3;
}

.action-button:hover,
.action-button:focus-visible {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

.timeline {
  display: grid;
  gap: 0;
  padding-left: 44px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(220px, 320px) minmax(0, 1fr);
  gap: 18px 36px;
  padding: 0 0 28px;
}

.timeline-item::before {
  position: absolute;
  left: -26px;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8aa99f;
  box-shadow: 0 0 0 4px var(--paper);
  content: "";
}

.timeline-item::after {
  position: absolute;
  left: -21px;
  top: 23px;
  width: 1px;
  height: calc(100% - 4px);
  background: var(--line);
  content: "";
}

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

.timeline-item:last-child::after {
  display: none;
}

.timeline-item.current::before {
  background: var(--pop);
}

.timeline-item time {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 600;
}

.timeline-item.current time {
  color: var(--pop);
}

.timeline-item h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.timeline-item p {
  margin: 2px 0 0;
  color: #536468;
  font-size: 0.94rem;
  line-height: 1.45;
}

.misc-section {
  margin-top: 28px;
}

.misc-text {
  display: grid;
  gap: 8px;
  max-width: 880px;
}

.misc-text p {
  margin: 0;
  color: #536468;
  font-size: 0.98rem;
  line-height: 1.55;
}

.misc-text strong {
  color: #202a2d;
}
