:root {
  --bg: #f2efe8;
  --bg-accent: #e5ddcf;
  --surface: rgba(255, 251, 245, 0.88);
  --surface-strong: #fffdf8;
  --text: #1f2430;
  --muted: #5d6572;
  --line: rgba(34, 32, 25, 0.12);
  --primary: #1f4e5f;
  --primary-strong: #173945;
  --secondary: #8a5a44;
  --success: #2e6a4f;
  --shadow: 0 18px 46px rgba(35, 29, 18, 0.12);
  --accent: #1f6c7b;
  --accent-strong: #0f4f5d;
  --accent-soft: rgba(31, 108, 123, 0.12);
  --warm-soft: rgba(138, 90, 68, 0.12);
  --white-glow: rgba(255, 255, 255, 0.9);
  --panel-border: rgba(255, 255, 255, 0.82);
  --panel-shadow: 0 24px 54px rgba(44, 34, 20, 0.08);
  --button-shadow: 0 14px 28px rgba(31, 78, 95, 0.18);
}

html.dark {
  --bg: #11161b;
  --bg-accent: #1a222b;
  --surface: rgba(23, 31, 39, 0.9);
  --surface-strong: #172029;
  --text: #edf2f7;
  --muted: #aab6c3;
  --line: rgba(226, 232, 240, 0.12);
  --primary: #8acde0;
  --primary-strong: #d4f1f8;
  --secondary: #d8b18d;
  --success: #79c59e;
  --shadow: 0 20px 54px rgba(0, 0, 0, 0.28);
  --accent: #79d0e0;
  --accent-strong: #c9f4fb;
  --accent-soft: rgba(121, 208, 224, 0.12);
  --warm-soft: rgba(216, 177, 141, 0.12);
  --white-glow: rgba(255, 255, 255, 0.08);
  --panel-border: rgba(255, 255, 255, 0.08);
  --panel-shadow: 0 24px 54px rgba(0, 0, 0, 0.2);
  --button-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(138, 90, 68, 0.18), transparent 22%),
    radial-gradient(circle at 100% 0%, rgba(31, 78, 95, 0.18), transparent 24%),
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.5), transparent 28%),
    linear-gradient(180deg, #efe6d7 0%, var(--bg) 42%, #f7f2ea 100%);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

body.is-leaving {
  opacity: 0;
  transform: translateY(6px);
}

a {
  color: var(--primary);
}

img {
  max-width: 100%;
  display: block;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
  position: relative;
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-mark {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--secondary);
}

.brand-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.nav-wrap {
  display: flex;
  justify-content: center;
  margin-right: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.theme-switch {
  position: relative;
  width: 62px;
  height: 36px;
  flex: 0 0 auto;
}

.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.slider:before {
  content: "";
  position: absolute;
  height: 26px;
  width: 26px;
  left: 4px;
  top: 4px;
  border-radius: 50%;
  background: var(--primary);
  transition: transform 0.25s ease;
}

.theme-switch input:checked + .slider:before {
  transform: translateX(26px);
}

.hero {
  background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.08));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  margin-bottom: 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 360px);
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(31, 78, 95, 0.1);
  color: var(--primary-strong);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.hero h2 {
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero p,
.section-intro {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(31, 78, 95, 0.08);
  border: 1px solid rgba(31, 78, 95, 0.1);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.96rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--primary);
  color: #fff;
}

.button.secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--line);
}

.portrait-card,
.info-card,
.timeline-item,
.travel-card,
.map-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.portrait-card {
  padding: 18px;
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
}

.inline-stats,
.card-grid,
.timeline,
.travel-grid {
  display: grid;
  gap: 16px;
}

.inline-stats {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 12px;
}

.info-card,
.timeline-item,
.travel-card,
.map-card {
  padding: 22px;
}

.info-card strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.info-card span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.section {
  margin-top: 24px;
}

.section-heading {
  margin: 0 0 12px;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.overview-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature-card,
.journey-card,
.feature-map {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 252, 247, 0.94)),
    radial-gradient(circle at top right, rgba(138, 90, 68, 0.14), transparent 34%);
  border: 1px solid rgba(31, 78, 95, 0.12);
  box-shadow: 0 16px 34px rgba(44, 34, 20, 0.1);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.feature-card::before,
.journey-card::before,
.feature-map::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  opacity: 0.9;
}

.feature-card:hover,
.journey-card:hover,
.feature-map:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 78, 95, 0.22);
  box-shadow: 0 24px 48px rgba(44, 34, 20, 0.16);
}

.feature-card h3,
.journey-card h3,
.feature-map h3 {
  font-size: 1.16rem;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.academic-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.journey-card {
  min-height: 100%;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.skill-list span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(31, 78, 95, 0.08);
  border: 1px solid rgba(31, 78, 95, 0.08);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}

.feature-map {
  margin-top: 18px;
}

.timeline-item h3,
.travel-card h3,
.map-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  line-height: 1.45;
}

.timeline-item p,
.travel-card p,
.map-card p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
  margin: 0;
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  background: rgba(31, 78, 95, 0.1);
  color: var(--primary-strong);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  font-size: 0.94rem;
}

.social-row img {
  width: 20px;
  height: 20px;
}

.time-card {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: inline-block;
  min-width: 260px;
}

.time-card strong {
  display: block;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.time-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.map-card img {
  border-radius: 18px;
  margin-top: 14px;
}

.travel-overview {
  display: block;
}

.travel-summary {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.travel-summary .info-card strong {
  font-size: 1.15rem;
}

.map-card.compact-map img {
  width: min(100%, 760px);
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  background: rgba(31, 78, 95, 0.04);
  margin-left: auto;
  margin-right: auto;
}

.compact-map {
  margin-top: 18px;
}

.map-caption {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--muted);
}

.resume-hero {
  padding: 36px;
}

.hero-copy {
  max-width: 720px;
}

.summary-grid .info-card,
.compact-travel-summary .info-card {
  min-height: 100%;
}

.compact-overview-grid,
.compact-academic-grid {
  gap: 14px;
}

.section-intro-compact {
  max-width: 680px;
}

.simple-map-card {
  padding-top: 20px;
}

.travel-grid {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 22px;
}

.travel-hero-highlights {
  margin-top: 22px;
}

.travel-section-head {
  margin-bottom: 26px;
}

.travel-section-head .section-heading {
  margin-bottom: 12px;
}

.travel-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 252, 247, 0.98)),
    radial-gradient(circle at top right, rgba(31, 78, 95, 0.08), transparent 34%);
  border: 1px solid rgba(31, 78, 95, 0.12);
  box-shadow: 0 18px 40px rgba(35, 29, 18, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.travel-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  opacity: 0.95;
}

.travel-card:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 78, 95, 0.2);
  box-shadow: 0 26px 48px rgba(35, 29, 18, 0.16);
}

.travel-card .meta-pill {
  margin-bottom: 14px;
}

.travel-card h3 {
  margin-bottom: 8px;
}

@media (max-width: 1200px) {
  .inline-stats,
  .overview-grid,
  .academic-grid,
  .travel-summary,
  .travel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card h3,
  .journey-card h3,
  .feature-map h3 {
    font-size: 1.1rem;
  }
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
  justify-items: center;
}

.photo-strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.photo-strip img:first-child {
  grid-column: auto;
  aspect-ratio: 1 / 1;
}

.photo-strip img:last-child {
  grid-column: 1 / -1;
  width: min(72%, 220px);
  aspect-ratio: 1 / 1;
}

.travel-card:hover .photo-strip img {
  transform: scale(1.02);
  filter: saturate(1.04);
}

.footer {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.96rem;
  text-align: center;
}

.footer .main-page-link {
  display: table;
  width: fit-content;
  margin: 0 auto 12px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--primary);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.footer .main-page-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer > span {
  display: block;
}

.minimal-topbar {
  margin-bottom: 40px;
}

.brand-minimal .brand-mark {
  letter-spacing: 0.18em;
}

.site-nav-minimal {
  gap: 2px;
  padding: 4px;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.site-nav-minimal a {
  padding: 8px 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: lowercase;
}

.site-nav-minimal a:hover,
.site-nav-minimal a.active {
  background: transparent;
  color: var(--primary-strong);
  transform: none;
}

.minimal-layout {
  width: min(920px, 100%);
  margin: 0 auto;
}

.minimal-hero {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  margin-bottom: 0;
}

.minimal-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 40px;
  align-items: start;
}

.minimal-copy h1 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.minimal-copy p {
  max-width: 42rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.86rem;
  line-height: 1.95;
  color: var(--muted);
}

.minimal-eyebrow {
  margin-bottom: 18px;
  padding: 8px 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 243, 236, 0.84));
  color: var(--accent-strong);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  border: 1px solid var(--panel-border);
  box-shadow: 0 10px 24px rgba(44, 34, 20, 0.05);
}

.pronunciation {
  margin-bottom: 14px;
  color: var(--primary);
}

.minimal-list-block {
  margin-top: 20px;
}

.list-title {
  display: block;
  margin-bottom: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  color: var(--muted);
}

.minimal-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  line-height: 1.9;
}

.closing-note {
  color: var(--secondary);
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
}

.closing-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 44px;
  margin-bottom: 34px;
}

.closing-bar span {
  width: 22px;
  height: 1px;
  background: var(--secondary);
}

.minimal-portrait {
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.minimal-portrait img {
  aspect-ratio: 1 / 1.15;
  border-radius: 0;
  width: 100%;
  max-width: 240px;
}

.minimal-divider {
  position: relative;
  margin: 96px 0 36px;
  text-align: center;
}

.minimal-divider::before,
.minimal-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 28px);
  height: 1px;
  background: var(--line);
}

.minimal-divider::before {
  left: 0;
}

.minimal-divider::after {
  right: 0;
}

.minimal-divider span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  color: var(--secondary);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
}

.minimal-divider span::before {
  content: "*";
}

.compact-divider {
  margin: 42px 0 22px;
}

.minimal-orb {
  display: flex;
  justify-content: center;
  margin: 0 0 8px;
}

.ascii-art {
  margin: 0;
  color: var(--primary);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.86rem;
  line-height: 1;
  text-align: center;
  white-space: pre;
  opacity: 0.92;
}

.minimal-text-section {
  margin-top: 18px;
}

.minimal-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--primary-strong);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: lowercase;
}

.minimal-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(31, 78, 95, 0.18), transparent);
}

.minimal-copy > p:first-of-type {
  color: var(--text);
  font-size: 0.92rem;
}

.minimal-copy > p + p {
  margin-top: 12px;
}

.minimal-summary-grid {
  display: grid;
  gap: 16px;
}

.minimal-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--secondary);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.minimal-note-row p,
.minimal-block-text,
.education-row p {
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  line-height: 1.8;
}

.minimal-note-row strong {
  color: var(--text);
  font-weight: 600;
}

.minimal-note-row {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.minimal-block + .minimal-block {
  margin-top: 18px;
}

.minimal-block-title,
.education-row h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88rem;
  font-weight: 500;
}

.minimal-plain-block {
  padding: 0 0 0 14px;
  border-left: 1px solid var(--line);
}

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

.education-row {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.education-year {
  color: var(--secondary);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  line-height: 1.8;
}

.minimal-links {
  margin-top: 34px;
  margin-bottom: 18px;
}

.minimal-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.link-column {
  display: grid;
  gap: 14px;
}

.link-column a {
  color: var(--muted);
  text-decoration: none;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.link-column a:hover {
  color: var(--primary-strong);
  transform: translateX(2px);
}

.minimal-footer {
  margin-top: 30px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
}

.travel-minimal-copy {
  max-width: 42rem;
}

.travel-map-block {
  margin-top: 8px;
}

.travel-map-image {
  width: min(100%, 700px);
  display: block;
  margin-top: 14px;
  border-radius: 12px;
  background: rgba(31, 78, 95, 0.04);
}

.travel-section-intro {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  line-height: 1.85;
}

.travel-list {
  display: grid;
  gap: 22px;
}

.travel-minimal-card {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.travel-kicker {
  display: inline-block;
  margin: 0 0 8px;
  color: var(--secondary);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.travel-minimal-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.88rem;
  font-weight: 500;
}

.travel-minimal-card p {
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  line-height: 1.8;
}

.minimal-photo-strip {
  margin-bottom: 14px;
}

.minimal-photo-strip img {
  border-radius: 10px;
}

.top-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: none;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 16px;
  cursor: pointer;
  box-shadow: var(--shadow);
  font-family: "IBM Plex Mono", monospace;
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .nav-wrap {
    width: 100%;
    justify-content: flex-start;
    margin-right: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .minimal-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .minimal-portrait {
    max-width: 260px;
  }

  .minimal-links-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .education-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .travel-map-image {
    width: 100%;
  }

  .inline-stats,
  .overview-grid,
  .academic-grid,
  .travel-summary,
  .travel-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 28px 24px;
  }

  .section-heading {
    font-size: 1.3rem;
  }

  .feature-card h3,
  .journey-card h3,
  .feature-map h3 {
    font-size: 1.08rem;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 1800px);
    padding-top: 18px;
  }

  .hero,
  .portrait-card,
  .info-card,
  .timeline-item,
  .travel-card,
  .map-card {
    padding: 20px;
    border-radius: 20px;
  }

  .site-nav {
    border-radius: 24px;
  }

  .site-nav-minimal {
    justify-content: flex-start;
    padding: 0;
  }

  .site-nav-minimal a {
    padding: 6px 10px 6px 0;
  }

  .button {
    width: 100%;
  }

  .hero-highlights span,
  .skill-list span {
    width: 100%;
    justify-content: center;
  }

  .hero p,
  .section-intro,
  .timeline-item p,
  .travel-card p,
  .map-card p,
  .info-card span {
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .time-card {
    min-width: 0;
    width: 100%;
  }

  .photo-strip {
    grid-template-columns: 1fr;
  }

  .minimal-divider {
    margin: 44px 0 28px;
  }

  .compact-divider {
    margin: 34px 0 18px;
  }

  .minimal-copy p,
  .minimal-list,
  .link-column a,
  .minimal-block-text,
  .education-row p,
  .travel-minimal-card p,
  .travel-section-intro {
    font-size: 0.86rem;
  }

  .ascii-art {
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body,
  .site-nav a,
  .button,
  .slider:before,
  .feature-card,
  .journey-card,
  .feature-map {
    transition: none !important;
  }
}

.portfolio-copy {
  max-width: 42rem;
}

.portfolio-social {
  margin-top: 22px;
}

.portfolio-section {
  margin-top: 26px;
  padding: 28px 30px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 251, 245, 0.7)),
    radial-gradient(circle at top right, var(--accent-soft), transparent 34%);
  border: 1px solid var(--panel-border);
  box-shadow:
    var(--panel-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.portfolio-section::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), rgba(138, 90, 68, 0.68), transparent 72%);
  opacity: 0.9;
}

.portfolio-section::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45), transparent 68%);
  pointer-events: none;
}

.portfolio-section:hover {
  transform: translateY(-2px);
  box-shadow:
    0 28px 62px rgba(44, 34, 20, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.portfolio-section-card {
  padding: 22px 24px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 252, 247, 0.72)),
    radial-gradient(circle at top right, rgba(31, 78, 95, 0.08), transparent 36%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 18px 42px rgba(44, 34, 20, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
}

.portfolio-section-intro {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  line-height: 1.85;
}

.portfolio-list,
.teaching-list,
.patent-list,
.detail-list {
  display: grid;
  gap: 18px;
}

.portfolio-item,
.teaching-item,
.patent-item,
.detail-item {
  position: relative;
  padding: 18px 18px 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 252, 247, 0.84)),
    radial-gradient(circle at top right, var(--warm-soft), transparent 34%);
  border-top: 1px solid var(--white-glow);
  border-right: 1px solid rgba(255, 255, 255, 0.68);
  border-bottom: 1px solid rgba(49, 40, 24, 0.08);
  box-shadow:
    0 16px 34px rgba(44, 34, 20, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.portfolio-item::after,
.teaching-item::after,
.patent-item::after,
.detail-item::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), var(--accent-soft));
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.56);
}

.portfolio-item:hover,
.teaching-item:hover,
.patent-item:hover,
.detail-item:hover,
.resume-thesis-link:hover,
.accordion:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 44px rgba(44, 34, 20, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.portfolio-item h3,
.teaching-item h3,
.patent-item h3,
.detail-item h3,
.accordion-header strong {
  margin: 0 0 10px;
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.75;
}

.portfolio-item p,
.teaching-item p,
.patent-item p,
.detail-item p,
.detail-note,
.footer-note,
.accordion-header span,
.panel-inner > p,
.columns > div {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  line-height: 1.85;
}

.portfolio-meta,
.teaching-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 12px;
}

.portfolio-meta span,
.portfolio-meta a,
.teaching-meta span,
.teaching-meta a,
.detail-meta span,
.detail-meta a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 243, 236, 0.88));
  border: 1px solid var(--panel-border);
  color: var(--text);
  text-decoration: none;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  box-shadow: 0 8px 18px rgba(44, 34, 20, 0.06);
}

.portfolio-meta a,
.teaching-meta a,
.detail-meta a {
  color: var(--primary);
}

.portfolio-meta a:hover,
.teaching-meta a:hover,
.detail-meta a:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.portfolio-quickstats {
  display: grid;
  gap: 14px;
}

.quickstat-row {
  position: relative;
  padding: 16px 18px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 252, 247, 0.82));
  border: 1px solid var(--panel-border);
  box-shadow:
    0 10px 24px rgba(44, 34, 20, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.quickstat-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 20px 0 0 20px;
  background: linear-gradient(180deg, var(--accent), var(--secondary));
}

.quickstat-label {
  display: block;
  margin-bottom: 6px;
  color: var(--secondary);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quickstat-row p {
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  line-height: 1.85;
}

.quickstat-row strong {
  color: var(--text);
}

.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  color: #fff;
  text-decoration: none;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 13px 19px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 42%),
    linear-gradient(135deg, var(--accent), var(--accent-strong));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 16px 30px rgba(31, 78, 95, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.download-link:hover {
  transform: translateY(-3px);
  box-shadow:
    0 22px 42px rgba(31, 78, 95, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  color: #fff;
}

.download-link::after {
  content: "->";
  font-size: 0.78rem;
}

.resume-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.soft-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 243, 236, 0.86));
  border: 1px solid var(--panel-border);
  color: var(--accent-strong);
  text-decoration: none;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(44, 34, 20, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.soft-action-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(44, 34, 20, 0.08);
}

.resume-feature-card {
  border-left-color: rgba(31, 108, 123, 0.95);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 244, 237, 0.84)),
    radial-gradient(circle at top right, rgba(31, 108, 123, 0.12), transparent 36%);
}

.resume-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.resume-info-card {
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(240, 244, 245, 0.84));
  border: 1px solid var(--panel-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 24px rgba(44, 34, 20, 0.05);
}

.resume-info-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
}

.resume-info-card span {
  display: block;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  line-height: 1.8;
}

.resume-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.compact-resume-info-grid {
  margin-top: 16px;
}

.detail-note {
  margin-top: 16px;
}

.name-highlight {
  color: var(--primary-strong);
  font-weight: 600;
}

.accordion-stack {
  display: grid;
  gap: 16px;
}

.accordion {
  width: 100%;
  padding: 18px 18px 18px 20px;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 252, 247, 0.78));
  border: 1px solid var(--panel-border);
  border-left: 4px solid var(--accent);
  border-radius: 24px;
  color: inherit;
  cursor: pointer;
  box-shadow:
    0 12px 28px rgba(44, 34, 20, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.accordion-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.accordion-header strong {
  display: block;
  margin: 0;
}

.accordion-header span {
  display: block;
  margin-top: 8px;
}

.accordion-icon {
  color: var(--secondary);
  font-family: "IBM Plex Mono", monospace;
  font-size: 1rem;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  display: inline-flex;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 243, 236, 0.88));
  border: 1px solid var(--panel-border);
}

.panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.22s ease;
}

.panel-inner {
  margin: 10px 10px 0 18px;
  padding: 0 0 8px 14px;
  border-left: 1px solid rgba(31, 78, 95, 0.08);
}

.panel-inner > p {
  margin: 0 0 14px;
}

.columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.columns > div {
  color: var(--text);
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 243, 236, 0.8));
  border: 1px solid var(--panel-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.resume-thesis-link {
  position: relative;
  display: block;
  padding: 18px 18px 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(246, 249, 250, 0.86)),
    radial-gradient(circle at top right, var(--accent-soft), transparent 38%);
  border-top: 1px solid var(--white-glow);
  border-right: 1px solid rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(49, 40, 24, 0.08);
  text-decoration: none;
  box-shadow:
    0 12px 28px rgba(44, 34, 20, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.resume-thesis-link::before {
  content: "featured";
  position: absolute;
  top: 16px;
  right: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--button-shadow);
}

.resume-thesis-link::after,
.patent-item::before {
  content: "";
  position: absolute;
  inset: auto 20px 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.7), transparent 68%);
  pointer-events: none;
}

.patent-item {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(252, 248, 242, 0.84)),
    radial-gradient(circle at top right, rgba(138, 90, 68, 0.16), transparent 36%);
}

.resume-thesis-title,
.resume-thesis-subtitle,
.resume-thesis-cta {
  display: block;
  font-family: "IBM Plex Mono", monospace;
}

.resume-thesis-title {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  max-width: calc(100% - 96px);
}

.resume-thesis-subtitle {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.8;
}

.resume-thesis-cta {
  margin-top: 10px;
  width: fit-content;
  color: #fff;
  font-size: 0.8rem;
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: var(--button-shadow);
}

.minimal-label,
.quickstat-label {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 243, 236, 0.9));
  border: 1px solid var(--panel-border);
  box-shadow: 0 8px 18px rgba(44, 34, 20, 0.05);
}

.social-row a,
.link-column a {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 243, 236, 0.86));
  border: 1px solid var(--panel-border);
  box-shadow: 0 10px 24px rgba(44, 34, 20, 0.06);
}

.social-row a:hover,
.link-column a:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(44, 34, 20, 0.08);
}

.minimal-links {
  padding: 22px 24px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 252, 247, 0.74)),
    radial-gradient(circle at top right, var(--warm-soft), transparent 34%);
  border: 1px solid var(--panel-border);
  box-shadow:
    0 16px 36px rgba(44, 34, 20, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero.resume-hero.minimal-hero {
  padding: 34px 36px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 252, 247, 0.76)),
    radial-gradient(circle at top right, var(--accent-soft), transparent 34%),
    radial-gradient(circle at bottom left, var(--warm-soft), transparent 28%);
  border: 1px solid var(--panel-border);
  box-shadow:
    0 28px 60px rgba(44, 34, 20, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}

.hero.resume-hero.minimal-hero .minimal-copy h1 {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 12ch;
  text-wrap: balance;
}

.hero.resume-hero.minimal-hero .minimal-copy p {
  max-width: 48rem;
}

.hero.resume-hero.minimal-hero .minimal-copy h1 {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero.resume-hero.minimal-hero .minimal-copy p {
  max-width: 48rem;
}

.site-nav-minimal {
  gap: 6px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--panel-border);
  box-shadow:
    0 12px 28px rgba(44, 34, 20, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
}

.site-nav-minimal a {
  padding: 9px 13px;
}

.site-nav-minimal a:hover,
.site-nav-minimal a.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: 0 8px 18px rgba(44, 34, 20, 0.05);
}

.minimal-footer {
  letter-spacing: 0.04em;
  opacity: 0.9;
}

.showcase-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 44px 34px;
}

.showcase-hero::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 108, 123, 0.16), transparent 68%);
  pointer-events: none;
}

.showcase-hero > * {
  position: relative;
  z-index: 1;
}

.showcase-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.showcase-stats .quickstat-row {
  position: relative;
  overflow: hidden;
  padding: 24px 22px 20px;
  border-radius: 28px;
  border: 1px solid var(--panel-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 247, 242, 0.9));
  box-shadow:
    0 14px 30px rgba(44, 34, 20, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.showcase-stats .quickstat-row::before {
  display: none;
}

.showcase-stats .quickstat-row::after {
  content: "";
  position: absolute;
  right: -24px;
  top: -28px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(31, 108, 123, 0.1);
}

.showcase-stats .quickstat-row strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.showcase-stats .quickstat-row p {
  font-size: 0.86rem;
  line-height: 1.75;
}

.feature-panel {
  position: relative;
  overflow: hidden;
  padding: 26px 28px 32px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 248, 244, 0.92));
  border: 1px solid var(--panel-border);
  box-shadow:
    0 24px 48px rgba(44, 34, 20, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.feature-panel::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -92px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 90, 68, 0.1), transparent 70%);
  pointer-events: none;
}

.feature-panel > * {
  position: relative;
  z-index: 1;
}

.feature-panel::before {
  content: "";
  position: absolute;
  inset: 14px auto 14px 0;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--secondary), var(--accent));
}

.section-chip {
  margin-bottom: 18px;
}

.success-chip {
  color: #2f7457;
}

.thesis-panel {
  margin-top: 30px;
}

.thesis-hero-card,
.thesis-footer-card {
  padding: 24px 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(241, 243, 244, 0.92), rgba(250, 247, 242, 0.9));
  border: 1px solid rgba(201, 207, 212, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.thesis-hero-card {
  max-width: 72%;
  border-left: 4px solid var(--accent);
}

.thesis-hero-card h3,
.thesis-summary-block h4,
.thesis-footer-card h4,
.patent-copy h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.thesis-subtitle,
.thesis-summary-block p,
.thesis-footer-card p,
.patent-copy p {
  margin: 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.86rem;
  line-height: 1.85;
}

.thesis-summary-block {
  margin-top: 20px;
}

.thesis-footer-card {
  margin-top: 18px;
}

.patent-card-stack {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.patent-card-panel {
  padding-top: 30px;
}

.patent-copy {
  padding-top: 6px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  margin-bottom: 22px;
}

.info-grid > div {
  padding: 14px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(241, 243, 244, 0.94), rgba(250, 247, 242, 0.92));
  border: 1px solid rgba(201, 207, 212, 0.55);
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  line-height: 1.75;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.info-grid > div:hover,
.showcase-stats .quickstat-row:hover,
.thesis-hero-card:hover,
.thesis-footer-card:hover {
  transform: translateY(-2px);
}

.info-grid strong {
  color: var(--accent-strong);
}

.patent-hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.patent-note-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(138, 90, 68, 0.14), rgba(31, 108, 123, 0.12));
  border: 1px solid var(--panel-border);
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  box-shadow: 0 8px 18px rgba(44, 34, 20, 0.05);
}

.patent-footer-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 243, 236, 0.78));
  border: 1px solid var(--panel-border);
  box-shadow:
    0 14px 30px rgba(44, 34, 20, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html.dark .portfolio-section-card,
html.dark .portfolio-section,
html.dark .portfolio-item,
html.dark .teaching-item,
html.dark .patent-item,
html.dark .detail-item,
html.dark .quickstat-row,
html.dark .accordion,
html.dark .resume-thesis-link,
html.dark .minimal-links,
html.dark .hero.resume-hero.minimal-hero,
html.dark .columns > div,
html.dark .portfolio-meta span,
html.dark .portfolio-meta a,
html.dark .teaching-meta span,
html.dark .teaching-meta a,
html.dark .detail-meta span,
html.dark .detail-meta a,
html.dark .download-link,
html.dark .minimal-label,
html.dark .quickstat-label,
html.dark .social-row a,
html.dark .link-column a,
html.dark .accordion-icon {
  background:
    linear-gradient(180deg, rgba(24, 32, 42, 0.88), rgba(17, 22, 27, 0.78));
  border-color: var(--panel-border);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html.dark .download-link,
html.dark .resume-thesis-cta,
html.dark .site-nav-minimal a:hover,
html.dark .site-nav-minimal a.active {
  background: linear-gradient(135deg, #235867, #163844);
  color: #eefcff;
  border-color: rgba(255, 255, 255, 0.08);
}

html.dark .portfolio-item,
html.dark .teaching-item,
html.dark .patent-item,
html.dark .detail-item,
html.dark .accordion,
html.dark .resume-thesis-link {
  border-left-color: var(--accent);
}

html.dark .quickstat-row::before {
  background: linear-gradient(180deg, var(--accent), var(--secondary));
}

html.dark body {
  background:
    radial-gradient(circle at 0% 0%, rgba(216, 177, 141, 0.1), transparent 22%),
    radial-gradient(circle at 100% 0%, rgba(138, 205, 224, 0.12), transparent 24%),
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.03), transparent 24%),
    linear-gradient(180deg, #12181d 0%, #10161b 45%, #151d24 100%);
}

html.dark .site-nav-minimal {
  background: rgba(24, 32, 42, 0.76);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html.dark .site-nav-minimal a:hover,
html.dark .site-nav-minimal a.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--primary-strong);
}

html.dark .minimal-eyebrow,
html.dark .portfolio-meta span,
html.dark .portfolio-meta a,
html.dark .teaching-meta span,
html.dark .teaching-meta a,
html.dark .detail-meta span,
html.dark .detail-meta a,
html.dark .accordion-icon,
html.dark .social-row a,
html.dark .link-column a {
  background: linear-gradient(180deg, rgba(24, 32, 42, 0.94), rgba(17, 22, 27, 0.84));
}

html.dark .portfolio-section::after {
  background: radial-gradient(circle, rgba(121, 208, 224, 0.08), transparent 68%);
}

html.dark .soft-action-link,
html.dark .patent-note-pill,
html.dark .patent-footer-note {
  background: linear-gradient(180deg, rgba(24, 32, 42, 0.92), rgba(17, 22, 27, 0.82));
  border-color: var(--panel-border);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html.dark .resume-info-card {
  background: linear-gradient(180deg, rgba(24, 32, 42, 0.92), rgba(20, 28, 34, 0.82));
  border-color: var(--panel-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 30px rgba(0, 0, 0, 0.18);
}

html.dark .showcase-stats .quickstat-row,
html.dark .feature-panel,
html.dark .thesis-hero-card,
html.dark .thesis-footer-card,
html.dark .info-grid > div {
  background: linear-gradient(180deg, rgba(24, 32, 42, 0.94), rgba(17, 22, 27, 0.86));
  border-color: var(--panel-border);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

@media (max-width: 640px) {
  .resume-action-row {
    flex-direction: column;
  }

  .showcase-hero {
    padding: 28px 20px 24px;
  }

  .showcase-stats,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .thesis-hero-card {
    max-width: 100%;
  }

  .resume-info-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-section {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .hero.resume-hero.minimal-hero {
    padding: 26px 20px;
    border-radius: 26px;
  }
}

@media (max-width: 640px) {
  .portfolio-item p,
  .teaching-item p,
  .patent-item p,
  .detail-item p,
  .detail-note,
  .footer-note,
  .accordion-header span,
  .panel-inner > p,
  .columns > div,
  .portfolio-section-intro,
  .quickstat-row p,
  .resume-thesis-subtitle {
    font-size: 0.86rem;
  }
}


/* ==========================================================
   Merged-site additions (2026-10-21)
   ========================================================== */

a.brand-mark {
  text-decoration: none;
}

/* Milestone callout (PhD graduation date) */
.milestone-note {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 14px 0 4px;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.86rem;
  line-height: 1.5;
}

.milestone-note strong {
  color: var(--accent-strong);
}

html.dark .milestone-note strong {
  color: var(--accent);
}

.milestone-dot {
  display: inline-block;
  vertical-align: middle;
  margin: -2px 10px 0 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* Secondary button */
.download-link.ghost-link {
  background: transparent;
  color: var(--accent-strong);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow: none;
}

.download-link.ghost-link:hover {
  color: var(--accent-strong);
  background: var(--accent-soft);
  box-shadow: none;
}

html.dark .download-link.ghost-link,
html.dark .download-link.ghost-link:hover {
  color: var(--accent);
}

/* Featured dissertation card */
.portfolio-item.featured-item {
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
}

.portfolio-item.featured-item h3 {
  font-size: 1.12rem;
}

/* Footer links row */
.footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-bottom: 10px;
}

.footer .footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer .footer-links a:hover {
  color: var(--primary);
}

/* Portrait keeps its shape */
.minimal-portrait img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ASCII orb: smaller footprint */
.minimal-orb {
  margin: 36px 0 8px;
  overflow: hidden;
}

/* ---------- Header: one tidy row on tablets and phones ---------- */
@media (max-width: 900px) {
  .topbar,
  .minimal-topbar {
    grid-template-columns: 1fr auto;
    align-items: center;
    row-gap: 14px;
  }

  .topbar .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .topbar .theme-switch {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .topbar .nav-wrap {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
  }

  .site-nav,
  .site-nav-minimal {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    padding: 6px;
    border-radius: 999px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a,
  .site-nav-minimal a {
    flex: none;
    white-space: nowrap;
    scroll-snap-align: start;
  }
}

@media (max-width: 640px) {
  .site-nav-minimal {
    padding: 5px;
    border-radius: 999px;
  }

  .site-nav-minimal a {
    padding: 8px 12px;
  }

  .milestone-note {
    font-size: 0.8rem;
  }
}

/* ==========================================================
   Design refresh: readable body font, flat research list
   ========================================================== */

:root {
  --body-font: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
}

/* Body copy in a proportional font; mono stays for labels, dates, nav */
.minimal-copy p,
.minimal-list,
.closing-note,
.minimal-note-row p,
.minimal-block-text,
.education-row p,
.travel-section-intro,
.travel-minimal-card p,
.portfolio-section-intro,
.portfolio-item p,
.teaching-item p,
.patent-item p,
.detail-item p,
.detail-note,
.footer-note,
.accordion-header span,
.panel-inner > p,
.quickstat-row p,
.resume-info-card span,
.thesis-subtitle,
.thesis-summary-block p,
.thesis-footer-card p,
.patent-copy p,
.info-grid > div,
.portfolio-item h3,
.teaching-item h3,
.patent-item h3,
.detail-item h3,
.accordion-header strong,
.minimal-block-title,
.education-row h3,
.travel-minimal-card h3 {
  font-family: var(--body-font);
  letter-spacing: 0;
}

.minimal-copy p,
.minimal-list,
.minimal-note-row p,
.minimal-block-text,
.education-row p,
.travel-minimal-card p,
.travel-section-intro,
.portfolio-item p,
.teaching-item p,
.patent-item p,
.detail-item p,
.detail-note,
.quickstat-row p,
.thesis-summary-block p,
.thesis-footer-card p,
.patent-copy p {
  font-size: 1rem;
  line-height: 1.7;
}

.minimal-copy > p:first-of-type {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--text);
}

.minimal-block-title,
.education-row h3,
.travel-minimal-card h3 {
  font-weight: 600;
  font-size: 1.02rem;
}

/* Highlighted own name: plain inline text, never a chip */
.name-highlight,
.portfolio-meta .name-highlight,
.pub-people .name-highlight {
  display: inline !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--primary-strong);
  font-weight: 700;
}

html.dark .name-highlight {
  color: var(--primary-strong);
}

/* ---------- Research page: flat sections, compact entries ---------- */
.pub-section {
  margin-top: 56px;
}

.pub-section .minimal-section-title {
  margin-bottom: 6px;
}

.pub-list {
  display: block;
  border-top: 1px solid var(--line);
}

.pub-entry {
  display: block;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

.pub-entry summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding-right: 40px;
}

.pub-entry summary::-webkit-details-marker {
  display: none;
}

.pub-entry summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 2px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pub-entry[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
  border-color: var(--accent);
}

.pub-entry summary:hover h3 {
  color: var(--accent-strong);
}

html.dark .pub-entry summary:hover h3 {
  color: var(--accent);
}

.pub-entry summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 6px;
}

.pub-type {
  display: block;
  margin-bottom: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
}

.pub-entry h3 {
  margin: 0;
  font-family: var(--body-font);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  transition: color 0.2s ease;
}

.pub-meta {
  margin-top: 6px;
  font-family: var(--body-font);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.pub-meta > * + *::before {
  content: "\00B7";
  margin: 0 8px;
  color: var(--muted);
  display: inline-block;
}

.pub-meta a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--primary) 35%, transparent);
  text-underline-offset: 3px;
}

.pub-meta a:hover {
  text-decoration-color: var(--primary);
}

.pub-body {
  padding: 10px 40px 2px 0;
}

.pub-body p,
.pub-desc {
  margin: 10px 0 0;
  font-family: var(--body-font);
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--muted);
}

.pub-people {
  margin-top: 8px;
  font-family: var(--body-font);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.pub-people > span {
  display: block;
}

/* Featured dissertation */
.pub-entry.pub-featured {
  margin-top: 14px;
  padding: 22px 24px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-left: 4px solid var(--accent);
  border-radius: 18px;
  background: var(--surface);
}

.pub-entry.pub-featured h3 {
  font-size: 1.22rem;
}

.pub-section .pub-entry.pub-featured + .pub-entry {
  border-top: 0;
}

.pub-section:has(.pub-featured) .pub-list {
  border-top: 0;
}

/* Summary stats on the research page: one plain row */
.pub-section .portfolio-quickstats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pub-section .quickstat-row {
  padding: 18px 18px 18px 0;
  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.pub-section .quickstat-row + .quickstat-row {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.pub-section .quickstat-row::before,
.pub-section .quickstat-row::after {
  display: none;
}

.pub-section .quickstat-row p {
  font-size: 0.92rem;
  line-height: 1.55;
}

.pub-section .quickstat-row strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1.1;
  margin-bottom: 4px;
  color: var(--accent-strong);
}

html.dark .pub-section .quickstat-row strong {
  color: var(--accent);
}

@media (max-width: 900px) {
  .pub-section .portfolio-quickstats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pub-section .quickstat-row:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .pub-section .quickstat-row:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .minimal-copy p,
  .minimal-list,
  .minimal-note-row p,
  .minimal-block-text,
  .education-row p,
  .travel-minimal-card p,
  .portfolio-item p,
  .teaching-item p,
  .patent-item p,
  .detail-item p,
  .detail-note,
  .quickstat-row p {
    font-size: 0.97rem;
  }
  .pub-section {
    margin-top: 44px;
  }
  .pub-entry h3 {
    font-size: 1.02rem;
  }
  .pub-body {
    padding-right: 0;
  }
  .pub-entry.pub-featured {
    padding: 18px;
  }
}

/* ==========================================================
   Buttons: clean solid style with icons (replaces "->" pills)
   ========================================================== */

.download-link {
  --btn-bg: var(--accent-strong);
  --btn-fg: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 11px 18px 11px 15px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--body-font);
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.2;
  text-decoration: none;
  box-shadow:
    0 1px 2px rgba(15, 79, 93, 0.18),
    0 6px 16px rgba(15, 79, 93, 0.14);
  transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.download-link:hover {
  --btn-bg: var(--accent);
  color: var(--btn-fg);
  transform: translateY(-1px);
  box-shadow:
    0 2px 4px rgba(15, 79, 93, 0.18),
    0 10px 22px rgba(15, 79, 93, 0.2);
}

.download-link:active {
  transform: translateY(0);
}

.download-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Icon: arrow by default, external-link for new tabs, download for downloads */
.download-link::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: var(--btn-icon) center / contain no-repeat;
  mask: var(--btn-icon) center / contain no-repeat;
  --btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  transition: transform 0.18s ease;
}

.download-link[target="_blank"]::before {
  --btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E");
}

.download-link[download]::before {
  --btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E");
}

.download-link:hover::before {
  transform: translateX(2px);
}

.download-link[download]:hover::before {
  transform: translateY(2px);
}

.download-link[target="_blank"]:hover::before {
  transform: translate(1px, -1px);
}

/* Small file-type tag for PDFs */
.download-link::after {
  content: none;
}

.download-link[href$=".pdf"]::after {
  content: "PDF";
  margin-left: 2px;
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
}

/* Secondary (outline) button */
.download-link.ghost-link {
  --btn-bg: transparent;
  --btn-fg: var(--accent-strong);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: none;
}

.download-link.ghost-link:hover {
  --btn-bg: var(--accent-soft);
  --btn-fg: var(--accent-strong);
  box-shadow: none;
}

.download-link.ghost-link[href$=".pdf"]::after {
  background: var(--accent-soft);
}

/* Dark mode: light teal button with dark text */
html.dark .download-link {
  --btn-bg: var(--accent);
  --btn-fg: #0b1a20;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

html.dark .download-link:hover {
  --btn-bg: var(--accent-strong);
  --btn-fg: #0b1a20;
}

html.dark .download-link[href$=".pdf"]::after {
  background: rgba(11, 26, 32, 0.14);
}

html.dark .download-link.ghost-link {
  --btn-bg: transparent;
  --btn-fg: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: none;
}

html.dark .download-link.ghost-link:hover {
  --btn-bg: var(--accent-soft);
  --btn-fg: var(--accent-strong);
}

@media (max-width: 640px) {
  .resume-action-row .download-link {
    justify-content: center;
  }
}
