/* Adapted from happysnaker/Resume (MIT). See assets/img/resume/LICENSE.txt. */
@font-face {
  font-family: "Roboto";
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto/roboto-latin-italic.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto/roboto-latin-normal.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #302c28;
  --muted: #6b6259;
  --paper: #fffdf9;
  --soft-surface: #f4ede2;
  --tag-surface: #f1ede7;
  --cream: #fff8f0;
  --charcoal: #3b3834;
  --brick: #913d35;
  --terracotta: #a65330;
  --ochre: #d2ad54;
  --taupe: #b7a793;
  --espresso: #593c2e;
  --link: #884333;
  --line: #e8e1d9;
  --card-shadow: -1px 5px 25px rgb(35 27 20 / 16%);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font:
    16px/1.6 "Roboto",
    sans-serif;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.3;
}
a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 5px;
}
.site-header :focus-visible,
.page-hero :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--ochre);
}
button {
  font: inherit;
}
::selection {
  color: var(--ink);
  background: #e6d5bb;
}
.container {
  width: min(1110px, calc(100% - 48px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 30;
  padding: 10px 18px;
  background: white;
  color: var(--charcoal);
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: rgb(0 0 0 / 15%);
  transition:
    background 0.25s,
    box-shadow 0.25s;
}
.site-header.scrolled,
.interior-page .site-header {
  background: var(--charcoal);
  box-shadow: 0 2px 12px #0002;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 30px;
}
.brand {
  font-size: 20px;
  font-weight: 600;
  color: white;
  white-space: nowrap;
}
.site-header a:hover {
  text-decoration: none;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-header nav a {
  display: block;
  padding: 16px 12px;
  color: var(--cream);
  font-weight: 650;
  font-size: 14px;
  transition: background 0.2s;
}
.site-header nav a:hover {
  background: var(--brick);
}
.menu-toggle {
  border: 1px solid #ffffff70;
  color: #fff;
  background: transparent;
  border-radius: 4px;
  padding: 6px 11px;
  cursor: pointer;
}
.menu-toggle[hidden] {
  display: none;
}
.menu-icon {
  font-size: 20px;
  margin-right: 5px;
}
.page-hero {
  height: 650px;
  position: relative;
  color: #fff;
  background:
    linear-gradient(#29231dcc, #191511c9),
    url("../img/resume/hero.jpg") center center/cover;
  background-color: #3b3026;
  background-blend-mode: normal, luminosity;
  text-align: center;
  overflow: hidden;
}
.particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 99px;
  pointer-events: none;
}
.hero-content a {
  pointer-events: auto;
}
.profile-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 158px;
  height: 158px;
  margin: 0 auto 33px;
  border: 5px solid var(--ochre);
  border-radius: 50%;
  background: linear-gradient(145deg, #594b3f, #26211d);
  box-shadow: 0 0 30px #19120c80;
}
.profile-avatar::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 5px solid var(--ochre);
  border-radius: 50%;
  animation: pulse 2.8s ease-out infinite;
}
.profile-avatar span {
  font-size: 54px;
  font-weight: 300;
  letter-spacing: 3px;
  color: var(--cream);
}
.page-hero h1 {
  font-size: 32px;
  font-weight: 650;
  margin-bottom: 7px;
  letter-spacing: -0.8px;
}
.motto {
  font-size: 16px;
  margin-bottom: 23px;
  color: var(--cream);
}
.typing-cursor {
  display: inline-block;
  margin-left: 5px;
  border-right: 2px solid;
  height: 17px;
  vertical-align: -3px;
  animation: blink 1s steps(2, start) infinite;
}
.hero-intro {
  font-size: 15px;
  line-height: 1.9;
  color: #e8ded1;
  margin-bottom: 24px;
}
.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-buttons a {
  display: inline-block;
  position: relative;
  overflow: hidden;
  padding: 8px 19px;
  border: 1px solid #ffffff8c;
  color: #fff;
  font-size: 15px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.hero-buttons a:hover {
  background: var(--brick);
  border-color: var(--brick);
  text-decoration: none;
}
.scroll-down {
  position: absolute;
  bottom: 24px;
  left: calc(50% - 20px);
  width: 40px;
  color: var(--ochre);
  font-size: 37px;
  line-height: 13px;
  z-index: 2;
  padding: 8px 0 17px;
  animation: bounce 2.5s ease-in-out infinite;
}
.scroll-down:hover {
  color: #f0d69f;
  text-decoration: none;
}
.resume-section {
  padding: 55px 0 0;
}
.section-title {
  text-align: center;
  font-size: 30px;
  font-weight: 550;
  letter-spacing: -0.5px;
  margin-bottom: 26px;
}
.section-description {
  margin: -12px auto 27px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.card {
  border: 0;
  border-radius: 4px;
  box-shadow: var(--card-shadow);
  background: #fff;
  overflow: hidden;
}
.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.card-body {
  padding: 25px 24px;
}
.card-body h3 {
  font-size: 24px;
  font-weight: 550;
  letter-spacing: -0.5px;
  margin-bottom: 15px;
}
.card-body p {
  margin-bottom: 15px;
}
.card-body p:last-child {
  margin-bottom: 0;
}
.about-card {
  background: var(--soft-surface);
}
.about-card .card-body {
  padding: 24px 21px;
}
.basic-info {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr);
  gap: 9px 20px;
  margin: 0;
  font-size: 15px;
}
.basic-info dt {
  text-transform: uppercase;
  font-weight: 650;
  font-size: 14px;
}
.basic-info dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.skills-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 48px;
  padding: 32px;
  background: var(--charcoal);
  color: var(--cream);
}
.skills-column {
  min-width: 0;
}
.skills-column > h3 {
  margin: 0 0 24px;
  font-size: 20px;
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: 0;
}
.skill-list {
  display: grid;
  gap: 20px;
}
.skill h4 {
  margin: 0 0 4px;
  font-size: 15px;
  letter-spacing: 0;
  font-weight: 600;
  line-height: 1.7;
}
.skill p {
  margin: 0;
  font-size: 14px;
  color: #d7cbbd;
  line-height: 1.7;
}
.focus-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.7;
}
.focus-list li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}
.focus-list li > span {
  text-align: center;
}
.focus-list p {
  margin: 0;
}
.research-section {
  margin-top: 55px;
  padding: 55px 0;
  background:
    linear-gradient(#2c241ddb, #201b16e8),
    url("../img/resume/research.png") center/cover;
  background-color: #3b3026;
  background-blend-mode: normal, luminosity;
}
.research-section .section-title {
  color: white;
  margin-bottom: 32px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}
.project-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.25s;
}
.project-card:hover {
  transform: translateY(-5px);
}
.project-banner {
  height: 168px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--cream);
  text-align: center;
  padding: 20px;
  isolation: isolate;
}
.project-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(#ffffff0b 1px, transparent 1px),
    linear-gradient(90deg, #ffffff0b 1px, transparent 1px);
  background-size: 22px 22px;
}
.project-orbit {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid #ffffff24;
  border-radius: 50%;
  right: -30px;
  top: -40px;
  z-index: -1;
  box-shadow:
    0 0 0 25px #ffffff06,
    0 0 0 50px #ffffff04;
}
.project-name {
  font-size: 29px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -1px;
}
.project-category {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 13px;
  color: inherit;
}
.project-banner-1 {
  background: var(--brick);
}
.project-banner-2 {
  background: var(--terracotta);
}
.project-banner-3 {
  background: var(--ochre);
  color: #30291d;
}
.project-banner-4 {
  background: var(--charcoal);
}
.project-banner-5 {
  background: var(--taupe);
  color: #302a24;
}
.project-banner-6 {
  background: var(--espresso);
}
.project-card .card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  height: calc(100% - 168px);
}
.project-date {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px !important;
}
.project-card h3 {
  font-size: 22px;
  margin-bottom: 7px;
}
.project-subtitle {
  font-size: 13px;
  font-weight: 550;
  line-height: 1.6;
}
.project-description {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: auto 0 0;
}
.tag-list li {
  font-size: 10px;
  background: var(--tag-surface);
  color: #55483c;
  padding: 3px 7px;
  border-radius: 3px;
}
.earlier-work {
  margin-top: 26px;
  background: #fff;
}
.earlier-work summary {
  padding: 19px 23px;
  cursor: pointer;
  font-weight: 600;
}
.earlier-work summary span {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 12px;
}
.earlier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  padding: 5px 24px 24px;
}
.earlier-grid h3 {
  font-size: 17px;
  margin: 8px 0;
}
.earlier-grid article > p:last-child {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.publication-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.paper-feature {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.paper-meta {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 12px;
}
.paper-meta span {
  margin-inline: 8px;
}
.paper-feature h3 {
  margin-bottom: 7px;
  font-size: 30px;
  font-weight: 550;
  letter-spacing: -0.6px;
}
.paper-subtitle {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.5;
}
.paper-summary {
  max-width: 48ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.paper-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: auto;
  padding-top: 28px;
}
.paper-venue {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
}
.paper-footer a {
  display: inline-block;
  padding-block: 4px;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.paper-footer a span {
  display: inline-block;
  margin-left: 3px;
  text-decoration: none;
}
.paper-citation {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.paper-citation > summary,
.publication-archive > summary {
  display: flex;
  align-items: baseline;
  gap: 10px;
  list-style: none;
  cursor: pointer;
}
.paper-citation > summary::-webkit-details-marker,
.publication-archive > summary::-webkit-details-marker {
  display: none;
}
.paper-citation > summary::before,
.publication-archive > summary::before {
  content: "›";
  flex-shrink: 0;
}
.paper-citation[open] > summary::before,
.publication-archive[open] > summary::before {
  transform: rotate(90deg);
}
.paper-citation > summary {
  padding-top: 12px;
  min-height: 32px;
}
.paper-citation > div {
  padding-top: 12px;
}
.paper-citation p {
  margin-bottom: 6px;
}
.paper-citation p:last-child {
  margin-bottom: 0;
}
.paper-citation-title {
  color: var(--ink);
  font-weight: 550;
}
.publication-archive {
  margin-top: 28px;
  border-block: 1px solid var(--line);
}
.publication-archive > summary {
  padding-block: 20px;
  font-size: 15px;
  font-weight: 500;
}
.publication-archive > summary span {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}
.publication-group {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.publication + .publication {
  margin-top: 28px;
}
.publication-year {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.publication h4 {
  font-size: 18px;
  font-weight: 550;
  line-height: 1.45;
  margin: 0 0 6px;
  text-wrap: pretty;
}
.publication .authors,
.publication .venue {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 3px;
}
.publication .authors strong {
  color: var(--ink);
  font-weight: 550;
}
.publication .venue {
  font-style: italic;
  margin: 0;
}
.experience-list {
  display: grid;
  gap: 24px;
}
.experience {
  display: grid;
  grid-template-columns: 26% 1fr;
}
.experience-label {
  background: #8a4b37;
  color: white;
  padding: 29px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.experience:nth-child(2) .experience-label {
  background: #594c40;
}
.experience:nth-child(3) .experience-label {
  background: #79664a;
}
.experience:nth-child(4) .experience-label {
  background: #745344;
}
.experience:nth-child(5) .experience-label {
  background: #474039;
}
.experience-label p:first-child {
  font-size: 15px;
  margin-bottom: 10px;
}
.experience-label p:last-child {
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
}
.experience .card-body {
  padding: 25px 29px;
  align-self: center;
}
.experience h3 {
  font-size: 22px;
}
.experience .card-body p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.syllabus-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.education-section {
  margin-top: 60px;
  padding: 55px 0 65px;
  background:
    linear-gradient(#211e1bd1, #211e1bc2),
    url("../img/backgrounds/providence-river.webp") center 68% / cover;
  background-color: #37332d;
  background-blend-mode: normal, luminosity;
  color: #fff;
}
.background-credit {
  margin: 32px 0 0;
  text-align: right;
  font-size: 11px;
}
.background-credit a {
  color: #e8ded1;
  text-underline-offset: 3px;
}
.education-timeline {
  position: relative;
  max-width: 920px;
  margin: 40px auto 0;
  display: grid;
  gap: 28px;
}
.education-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #8c7765;
  left: 50%;
  transform: translateX(-50%);
}
.education-entry {
  position: relative;
  width: 50%;
  padding: 0 34px 0 0;
  text-align: center;
}
.education-entry:nth-child(even) {
  margin-left: 50%;
  padding: 0 0 0 34px;
}
.education-entry::before {
  content: "";
  position: absolute;
  top: 14px;
  right: -9px;
  width: 18px;
  height: 18px;
  border: 3px solid #b38d65;
  background: white;
  border-radius: 50%;
}
.education-entry:nth-child(even)::before {
  right: auto;
  left: -9px;
}
.timeline-date {
  position: relative;
  display: inline-block;
  padding: 8px 18px;
  background: var(--brick);
  border-radius: 5px;
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 600;
}
.timeline-content {
  border-top: 3px solid #b38d65;
  border-radius: 16px;
  padding: 17px 15px 10px;
  margin-top: 12px;
}
.timeline-content h3 {
  font-size: 19px;
  color: #ead4a8;
  margin-bottom: 9px;
}
.timeline-content p {
  font-size: 14px;
  margin-bottom: 5px;
  color: #e8ded1;
}
.contact-section {
  padding-bottom: 65px;
}
.contact-button {
  display: inline-block;
  background: var(--espresso);
  color: white;
  padding: 10px 24px;
  margin-top: 8px;
  border-radius: 3px;
  font-size: 14px;
  transition: background 0.2s;
}
.contact-button:hover {
  background: var(--charcoal);
  color: white;
  text-decoration: none;
}
.contact-section .card-body > p {
  color: var(--muted);
  font-size: 15px;
  max-width: 460px;
}
.contact-details dl {
  display: grid;
  grid-template-columns: 75px 1fr;
  gap: 10px 20px;
  margin-bottom: 0;
  font-size: 15px;
}
.contact-details dt {
  font-weight: 600;
}
.contact-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.site-footer {
  background: var(--charcoal);
  color: #d7cbbd;
  text-align: center;
  padding: 27px 20px;
  font-size: 12px;
}
.site-footer p {
  margin-bottom: 5px;
}
.site-footer a {
  color: #ead4a8;
}
.back-top {
  display: inline-block;
  margin-top: 12px;
}
.not-found {
  padding-block: 160px;
  min-height: 70vh;
}
.not-found h1 {
  font-size: 36px;
}
.not-found p {
  margin-block: 20px;
}
.interior-page #main-content {
  min-height: 70vh;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.65;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}
@keyframes blink {
  to {
    visibility: hidden;
  }
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(7px);
  }
}
@media (min-width: 901px) {
  .menu-toggle {
    display: none;
  }
  .site-header nav {
    display: flex !important;
  }
}
@media (max-width: 1100px) {
  .site-header nav a {
    padding-inline: 9px;
    font-size: 13px;
  }
  .nav-container {
    gap: 14px;
  }
  .project-grid {
    gap: 18px;
  }
  .project-card .card-body {
    padding: 19px;
  }
  .basic-info {
    grid-template-columns: 95px 1fr;
    gap: 9px 12px;
  }
}
@media (max-width: 900px) {
  .nav-container {
    flex-wrap: wrap;
    min-height: 60px;
    gap: 0;
    justify-content: space-between;
    padding-block: 11px;
  }
  .brand {
    font-size: 19px;
  }
  .site-header {
    background: var(--charcoal);
  }
  .site-header nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 8px;
  }
  .site-header nav a {
    font-size: 14px;
    padding: 8px 12px;
  }
  .site-header.menu-enabled nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .site-header.menu-enabled nav.is-open {
    display: flex;
  }
  .site-header.menu-enabled nav a {
    padding: 9px 12px;
  }
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .two-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .about-card .card-body {
    padding: 24px;
  }
  .about-card .card-body + .card-body {
    padding-top: 3px;
  }
  .skills-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px;
  }
  .basic-info {
    grid-template-columns: 115px 1fr;
  }
  .experience {
    grid-template-columns: 30% 1fr;
  }
  .experience-label {
    padding: 24px 18px;
  }
  .experience-label p:last-child {
    font-size: 16px;
  }
  .experience h3 {
    font-size: 20px;
  }
  .earlier-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
@media (max-width: 600px) {
  html {
    scroll-padding-top: 80px;
  }
  .container {
    width: calc(100% - 36px);
  }
  .page-hero {
    height: 650px;
  }
  .hero-content {
    padding-top: 98px;
  }
  .profile-avatar {
    width: 145px;
    height: 145px;
    margin-bottom: 28px;
  }
  .page-hero h1 {
    font-size: 29px;
  }
  .hero-intro {
    font-size: 13px;
    margin-bottom: 25px;
  }
  .motto {
    font-size: 14px;
    margin-bottom: 21px;
  }
  .hero-buttons {
    gap: 10px;
    max-width: 320px;
    margin: auto;
  }
  .hero-buttons a {
    font-size: 13px;
    padding: 8px 15px;
  }
  .section-title {
    font-size: 26px;
    margin-bottom: 22px;
  }
  .resume-section {
    padding-top: 42px;
  }
  .card-body h3 {
    font-size: 22px;
  }
  .about-card .card-body {
    padding: 22px;
  }
  .about-card p {
    font-size: 14px;
  }
  .basic-info {
    grid-template-columns: 85px 1fr;
    gap: 10px 12px;
    font-size: 13px;
  }
  .basic-info dt {
    font-size: 12px;
  }
  .skills-card {
    padding: 24px;
  }
  .research-section {
    margin-top: 42px;
    padding-bottom: 42px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .project-banner {
    height: 180px;
  }
  .project-card .card-body {
    height: auto;
    padding: 23px;
  }
  .project-description {
    font-size: 14px;
  }
  .tag-list {
    margin-top: 5px;
  }
  .project-date {
    font-size: 12px;
  }
  .earlier-work summary {
    font-size: 14px;
    padding: 18px;
  }
  .earlier-work summary span {
    font-size: 11px;
  }
  .publication-showcase {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .paper-feature {
    padding: 23px;
  }
  .paper-feature h3 {
    font-size: 27px;
  }
  .paper-subtitle {
    font-size: 15px;
  }
  .paper-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .publication-archive > summary {
    flex-wrap: wrap;
  }
  .publication-group {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 0;
  }
  .publication-year {
    font-size: 14px;
  }
  .publication h4 {
    font-size: 17px;
  }
  .section-description {
    font-size: 13px;
  }
  .experience {
    grid-template-columns: 1fr;
  }
  .experience-label {
    padding: 20px;
  }
  .experience-label p:first-child {
    font-size: 13px;
    margin-bottom: 4px;
  }
  .experience-label p:last-child {
    font-size: 17px;
  }
  .experience .card-body {
    padding: 23px;
  }
  .experience h3 {
    font-size: 20px;
  }
  .education-section {
    margin-top: 45px;
    padding-bottom: 45px;
  }
  .education-timeline {
    gap: 30px;
    margin-top: 30px;
  }
  .education-timeline::before {
    left: 10px;
  }
  .education-entry,
  .education-entry:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 0 37px;
  }
  .education-entry::before,
  .education-entry:nth-child(even)::before {
    left: 1px;
    right: auto;
  }
  .timeline-date {
    font-size: 13px;
    padding: 8px 12px;
  }
  .timeline-content {
    padding: 16px 4px 7px;
  }
  .timeline-content h3 {
    font-size: 18px;
  }
  .timeline-content p {
    font-size: 13px;
  }
  .contact-section {
    padding-bottom: 45px;
  }
  .contact-details dl {
    font-size: 14px;
    grid-template-columns: 65px 1fr;
    gap: 10px;
  }
  .contact-section .card-body + .card-body {
    padding-top: 5px;
  }
  .contact-section .card-body {
    padding: 23px;
  }
  .not-found {
    padding-block: 130px;
  }
  .not-found h1 {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .typing-cursor {
    display: none;
  }
}
@media print {
  .site-header,
  .particles,
  .hero-buttons,
  .scroll-down,
  .site-footer,
  .profile-avatar,
  .typing-cursor {
    display: none;
  }
  body {
    font-size: 11pt;
  }
  .container {
    width: 100%;
  }
  .page-hero {
    height: auto;
    background: none;
    color: black;
    padding: 0 0 15px;
  }
  .hero-content {
    padding-top: 0;
  }
  .hero-intro,
  .motto {
    color: black;
  }
  .resume-section {
    padding: 15px 0;
    margin: 0;
  }
  .section-title {
    font-size: 22pt;
  }
  .card,
  .project-card {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }
  .research-section,
  .education-section {
    background: white;
    color: black;
  }
  .research-section .section-title,
  .education-section .section-title {
    color: black;
  }
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }
  .project-banner {
    display: none;
  }
  .project-card .card-body {
    height: auto;
  }
  .publication,
  .paper-feature {
    break-inside: avoid;
  }
  .timeline-content p,
  .timeline-content h3 {
    color: black;
  }
  .skills-card {
    background: #fff;
    color: black;
  }
  .skill p {
    color: black;
  }
  .two-columns {
    grid-template-columns: 1fr 1fr;
  }
  .experience {
    break-inside: avoid;
  }
  .tag-list {
    display: none;
  }
}

/* Keep the full navigation usable when scripting is unavailable. */
@media (max-width: 900px) {
  .site-header:not(.menu-enabled) {
    position: relative;
  }
}
