:root {
  color-scheme: dark;
  --background: #111210;
  --workspace: #151614;
  --surface: #1c1d1a;
  --surface-hover: #20211e;
  --text: #f2eee7;
  --text-muted: #b9afa2;
  --text-subtle: #817b72;
  --accent: #5d96ff;
  --accent-soft: rgb(93 150 255 / 12%);
  --border: #3a3934;
  --border-soft: #2a2a26;
  --focus: #9fc0ff;
  --rail-width: 29.5vw;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--background);
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible {
  border-radius: 0.2rem;
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: break-word;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.65rem 0.9rem;
  background: var(--text);
  color: var(--background);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 150ms ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

.portfolio-shell {
  display: grid;
  width: 100%;
  height: 100dvh;
  grid-template-columns: minmax(22rem, var(--rail-width)) minmax(0, 1fr);
  overflow: hidden;
}

.identity-rail {
  position: relative;
  isolation: isolate;
  z-index: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(2rem, 6.6vh, 4.4rem) clamp(2.25rem, 5.9vw, 5.5rem) clamp(1.8rem, 4vh, 3rem);
  border-right: 1px solid var(--border);
  background: var(--background);
}

.identity-core {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

.profile-portrait {
  position: relative;
  display: block;
  width: clamp(10.5rem, 15.8vw, 15rem);
  height: clamp(10.5rem, 15.8vw, 15rem);
  overflow: hidden;
  border: 4px solid #504c44;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 1.5rem 3.2rem rgb(0 0 0 / 28%);
}

.profile-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.identity-copy {
  margin-top: clamp(1rem, 2.5vh, 1.7rem);
}

.identity-copy h1 {
  margin: 0;
  font-size: clamp(2.05rem, 3.35vw, 3.15rem);
  font-weight: 690;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.identity-copy p {
  margin: 0.7rem 0 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.55;
}

.social-links,
.resource-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-links {
  display: flex;
  gap: 1.2rem;
  margin-top: clamp(1rem, 2.5vh, 1.75rem);
}

.social-links a {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: var(--text-muted);
  font-size: 1.55rem;
  text-decoration: none;
  transition: color 160ms ease-out, transform 160ms ease-out;
}

.social-links a:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.social-links .ai {
  font-size: 1.42rem;
}

.tab-navigation {
  position: relative;
  z-index: 1;
  min-height: 0;
  margin-top: clamp(1.5rem, 3.7vh, 2.4rem);
  padding-top: clamp(1rem, 2.3vh, 1.5rem);
  border-top: 1px solid var(--border-soft);
}

.tab-list {
  position: relative;
  display: grid;
  gap: clamp(0.15rem, 0.8vh, 0.45rem);
}

.tab-marker {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 3px;
  height: 2.8rem;
  background: var(--accent);
  transform: translateY(var(--marker-top, 0));
  transition: transform 180ms ease-out, height 180ms ease-out;
}

.tab-button {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 2.8rem;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  padding: 0.25rem 0.2rem 0.25rem 1.25rem;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  text-align: left;
  transition: color 160ms ease-out, transform 160ms ease-out;
}

.tab-button i {
  font-size: 1.55rem;
}

.tab-button span {
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.tab-button:hover,
.tab-button.is-active {
  color: var(--accent);
}

.tab-button:hover {
  transform: translateX(0.2rem);
}

.workspace {
  position: relative;
  isolation: isolate;
  min-width: 0;
  height: 100dvh;
  overflow: hidden;
  background: var(--workspace);
}

.pointer-field {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.tab-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #4b4942 transparent;
  scrollbar-width: thin;
}

.tab-panel.is-active {
  animation: panel-in 220ms ease-out both;
}

.panel-inner {
  width: 100%;
  min-height: 100%;
  padding: clamp(3.2rem, 7.5vh, 5.25rem) clamp(3.4rem, 5.4vw, 5.1rem) clamp(2.7rem, 5.5vh, 4.25rem);
}

.panel-inner-about {
  display: flex;
  flex-direction: column;
}

.panel-heading {
  margin-bottom: clamp(1.5rem, 2.5vh, 1.9rem);
}

.panel-heading > .panel-kicker,
.experience-heading .panel-kicker {
  display: none;
}

.panel-kicker {
  margin: 0 0 0.45rem;
  color: var(--text-subtle);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.panel-heading h2 {
  max-width: 48rem;
  margin: 0;
  font-size: clamp(2.25rem, 3.15vw, 3.2rem);
  font-weight: 660;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.heading-rule {
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 1rem;
  background: var(--accent);
}

.panel-intro {
  max-width: 42rem;
  margin: 1.2rem 0 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}

.about-copy {
  max-width: 58rem;
  color: #ddd7cf;
  font-size: clamp(1.02rem, 1.45vw, 1.25rem);
  line-height: 1.65;
}

.about-copy p {
  margin: 0;
}

.about-copy p + p {
  margin-top: clamp(0.8rem, 1.8vh, 1.25rem);
}

.content-group {
  margin-top: clamp(1.9rem, 4.4vh, 3rem);
}

.content-group > h3 {
  margin: 0 0 clamp(1rem, 2.2vh, 1.45rem);
  font-size: clamp(1.3rem, 1.65vw, 1.55rem);
  font-weight: 580;
  letter-spacing: -0.02em;
}

.interest-intro {
  max-width: 56rem;
  margin: calc(clamp(1rem, 2.2vh, 1.45rem) * -0.35) 0 clamp(1rem, 2.2vh, 1.45rem);
  color: var(--text-muted);
  font-size: clamp(0.88rem, 1.08vw, 1rem);
  line-height: 1.5;
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.interest-item {
  display: grid;
  min-width: 0;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 1.15rem;
  align-items: center;
  padding-right: clamp(1rem, 2.2vw, 2rem);
}

.interest-item + .interest-item {
  padding-left: clamp(1rem, 2.2vw, 2rem);
  border-left: 1px solid var(--border);
}

.interest-icon {
  display: grid;
  width: 104px;
  height: 104px;
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
  font-size: 1.8rem;
  place-items: center;
}

.interest-icon--art {
  overflow: hidden;
  border: 0;
  background: transparent;
}

.interest-icon-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.interest-icon-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.interest-item h4 {
  margin: 0;
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  font-weight: 650;
  line-height: 1.25;
}

.interest-item p {
  margin: 0.28rem 0 0;
  color: var(--text-muted);
  font-size: clamp(0.78rem, 0.95vw, 0.9rem);
  line-height: 1.35;
}

.updates-group {
  margin-top: auto;
  padding-top: clamp(2rem, 4.4vh, 3rem);
}

.updates-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.updates-list li {
  position: relative;
  display: grid;
  min-height: clamp(4.4rem, 8.5vh, 5.25rem);
  grid-template-columns: 6.2rem minmax(0, 1fr);
  gap: 1.1rem;
  align-items: center;
  padding: 0.7rem 1rem 0.7rem 2.1rem;
  border-top: 1px solid var(--border-soft);
  transition: background 160ms ease-out, padding-left 160ms ease-out;
}

.updates-list li:first-child {
  border-top: 0;
}

.updates-list li::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.62rem;
  height: 0.62rem;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--workspace);
  content: "";
  transform: translateY(-50%);
}

.updates-list li::after {
  position: absolute;
  top: calc(50% + 0.35rem);
  bottom: calc(-50% + 0.35rem);
  left: 0.27rem;
  width: 1px;
  background: #6b675f;
  content: "";
}

.updates-list li:last-child::after {
  display: none;
}

.updates-list li:hover,
.updates-list li:focus-within {
  padding-left: 2.35rem;
  background: var(--surface-hover);
}

.updates-list time {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.updates-list strong,
.updates-list a {
  color: var(--text);
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
  font-weight: 520;
}

.updates-list a:hover {
  color: var(--accent);
}

.updates-list p {
  margin: 0.15rem 0 0;
  color: var(--text-muted);
  font-size: clamp(0.78rem, 0.95vw, 0.88rem);
}

.publication-feature {
  display: grid;
  min-height: clamp(20rem, 46vh, 27rem);
  grid-template-columns: minmax(18rem, 22rem) minmax(18rem, 1fr);
  gap: clamp(2rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(1.75rem, 3.5vw, 3rem) 0;
  border-block: 1px solid var(--border);
}

.publication-visual {
  position: relative;
  display: block;
  width: 100%;
  max-width: 22rem;
  overflow: hidden;
  aspect-ratio: 1;
  background: transparent;
}

.publication-visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.publication-slide {
  opacity: 0;
  transition: opacity 1100ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.publication-slide.is-visible {
  opacity: 1;
}

.publication-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.9rem;
  margin-bottom: 1rem;
  color: var(--text-subtle);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.publication-status {
  padding: 0.3rem 0.55rem;
  border: 1px solid rgba(79, 143, 255, 0.42);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  line-height: 1;
}

.publication-copy {
  max-width: 50rem;
}

.entry-index,
.career-list li::before {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  line-height: 1;
}

.publication-index {
  padding-right: 0.9rem;
  border-right: 1px solid var(--border);
}

.publication-copy h3 {
  margin: 0;
  max-width: 46rem;
  font-size: clamp(1.45rem, 2.05vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.publication-copy h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease-out;
}

.publication-copy h3 a:hover {
  color: var(--accent);
}

.publication-copy > p {
  max-width: 44rem;
  color: var(--text-muted);
}

.publication-copy .authors {
  margin: 1rem 0 0;
  color: #d5cec4;
  font-size: 0.95rem;
}

.publication-copy .publication-summary {
  margin: 0.75rem 0 0;
}

.resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.resource-links a {
  display: inline-flex;
  min-height: 2.7rem;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.88rem;
  text-decoration: none;
  transition: border-color 160ms ease-out, color 160ms ease-out, background 160ms ease-out;
}

.resource-links a:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.interactive-row {
  transition: background 160ms ease-out;
}

.interactive-row:hover,
.interactive-row:focus-within {
  background: var(--surface-hover);
}

.experience-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.subtab-list {
  display: flex;
  gap: 0.25rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--border);
}

.subtab-button {
  min-height: 2.6rem;
  padding: 0.45rem 0.85rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.88rem;
}

.subtab-button:hover,
.subtab-button.is-active {
  color: var(--text);
}

.subtab-button.is-active {
  border-bottom-color: var(--accent);
}

.subtab-panel.is-active {
  animation: panel-in 200ms ease-out both;
}

.career-list {
  display: grid;
  margin: 0;
  padding: 0;
  counter-reset: career-entry;
  list-style: none;
}

.career-list li {
  display: grid;
  min-height: clamp(7.7rem, 16.5vh, 9.6rem);
  grid-template-columns: 2.25rem 8rem minmax(0, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  align-items: center;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  counter-increment: career-entry;
}

.career-list li::before {
  align-self: start;
  margin-top: 0.2rem;
  content: counter(career-entry, decimal-leading-zero);
}

.career-list li:last-child {
  border-bottom: 1px solid var(--border);
}

.career-period {
  align-self: start;
  margin: 0.2rem 0 0;
  color: var(--text-subtle);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.career-list h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 580;
}

.career-list .organization {
  margin: 0.2rem 0 0;
  color: var(--accent);
  font-size: 0.86rem;
}

.career-list div > p:last-child {
  max-width: 49rem;
  margin: 0.45rem 0 0;
  color: var(--text-muted);
  font-size: clamp(0.82rem, 1vw, 0.92rem);
}

.education-list li {
  min-height: clamp(9rem, 20vh, 12rem);
}

.cursor-ring,
.cursor-dot {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  display: none;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
}

.cursor-ring {
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid rgb(93 150 255 / 52%);
  border-radius: 50%;
  background: rgb(93 150 255 / 7%);
  transition: width 180ms ease-out, height 180ms ease-out, opacity 150ms ease-out;
}

.cursor-dot {
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 1.2rem rgb(93 150 255 / 58%);
  transition: width 180ms ease-out, height 180ms ease-out, opacity 150ms ease-out;
}

.custom-cursor-enabled,
.custom-cursor-enabled a,
.custom-cursor-enabled button {
  cursor: none;
}

.custom-cursor-enabled .cursor-ring,
.custom-cursor-enabled .cursor-dot {
  display: block;
  opacity: 1;
}

.custom-cursor-enabled.cursor-hidden .cursor-ring,
.custom-cursor-enabled.cursor-hidden .cursor-dot {
  opacity: 0;
}

.custom-cursor-enabled.cursor-interactive .cursor-ring {
  width: 3.25rem;
  height: 3.25rem;
  background: rgb(93 150 255 / 11%);
}

.custom-cursor-enabled.cursor-interactive .cursor-dot {
  width: 0.34rem;
  height: 0.34rem;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateX(0.5rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes identity-in {
  from {
    opacity: 0;
    transform: scale(0.98) translateY(0.45rem);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .identity-core {
    animation: identity-in 420ms ease-out both;
  }

  .interest-item,
  .updates-list li,
  .career-list li {
    animation: panel-in 260ms ease-out both;
  }

  .interest-item:nth-child(2),
  .updates-list li:nth-child(2),
  .career-list li:nth-child(2) {
    animation-delay: 45ms;
  }

  .interest-item:nth-child(3),
  .updates-list li:nth-child(3),
  .career-list li:nth-child(3) {
    animation-delay: 90ms;
  }

  .career-list li:nth-child(4) {
    animation-delay: 135ms;
  }

  .career-list li:nth-child(5) {
    animation-delay: 180ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .cursor-ring,
  .cursor-dot,
  .pointer-field {
    display: none !important;
  }
}

@media (max-width: 68rem) {
  .portfolio-shell {
    grid-template-columns: minmax(19rem, 31vw) minmax(0, 1fr);
  }

  .identity-rail {
    padding-inline: clamp(1.8rem, 4vw, 3rem);
  }

  .panel-inner {
    padding-inline: clamp(2.5rem, 5vw, 4rem);
  }

  .interest-item {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 0.9rem;
  }

  .interest-icon {
    width: 68px;
    height: 68px;
    font-size: 1.45rem;
  }

  .interest-item p {
    display: none;
  }
}

@media (min-width: 52.01rem) and (max-height: 48rem) {
  .identity-rail {
    padding-block: 1.3rem;
  }

  .profile-portrait {
    width: 9rem;
    height: 9rem;
    border-width: 3px;
  }

  .identity-copy {
    margin-top: 0.7rem;
  }

  .identity-copy h1 {
    font-size: 2rem;
  }

  .identity-copy p {
    margin-top: 0.35rem;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .social-links {
    margin-top: 0.65rem;
  }

  .social-links a {
    font-size: 1.3rem;
  }

  .tab-navigation {
    margin-top: 0.75rem;
    padding-top: 0.65rem;
  }

  .tab-list {
    gap: 0;
  }

  .tab-button {
    min-height: 2.55rem;
  }

  .tab-button i {
    font-size: 1.35rem;
  }

}

@media (max-width: 52rem) {
  .portfolio-shell {
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-columns: 1fr;
  }

  .identity-rail {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 1rem 1.25rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .identity-core {
    display: grid;
    grid-template-columns: 4.75rem minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
  }

  .profile-portrait {
    width: 4.75rem;
    height: 4.75rem;
    border-width: 2px;
  }

  .identity-copy {
    margin: 0;
  }

  .identity-copy h1 {
    font-size: 1.65rem;
  }

  .identity-copy p {
    margin-top: 0.18rem;
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .identity-copy br {
    display: none;
  }

  .social-links {
    gap: 0.5rem;
    margin: 0;
  }

  .social-links a {
    width: 1.9rem;
    height: 1.9rem;
    font-size: 1.25rem;
  }

  .tab-navigation {
    margin-top: 0.8rem;
    padding: 0;
    border-top: 0;
  }

  .tab-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .tab-marker {
    top: auto;
    bottom: 0;
    width: var(--marker-width, 25%);
    height: 3px;
    transform: translateX(var(--marker-left, 0));
    transition: transform 180ms ease-out, width 180ms ease-out;
  }

  .tab-button {
    display: flex;
    min-width: 0;
    min-height: 3.25rem;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.4rem;
    text-align: center;
  }

  .tab-button:hover {
    transform: none;
  }

  .tab-button i {
    font-size: 1.15rem;
  }

  .tab-button span {
    overflow: hidden;
    font-size: 0.78rem;
    text-overflow: ellipsis;
  }

  .workspace {
    height: auto;
    min-height: 0;
  }

  .pointer-field {
    display: none;
  }

  .panel-inner {
    padding: 2.2rem clamp(1.35rem, 6vw, 3rem) 3rem;
  }

  .interest-item p {
    display: block;
  }

  .publication-feature {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .publication-visual {
    width: 100%;
    max-width: 100%;
  }

}

@media (max-width: 39rem) {
  .identity-rail {
    padding-inline: 1rem;
  }

  .identity-core {
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .profile-portrait {
    width: 4rem;
    height: 4rem;
  }

  .identity-copy h1 {
    font-size: 1.4rem;
  }

  .identity-copy p {
    font-size: 0.74rem;
  }

  .social-links {
    grid-column: 2;
    margin-top: -0.2rem;
  }

  .social-links a {
    width: 1.65rem;
    height: 1.65rem;
    font-size: 1.05rem;
  }

  .tab-button {
    min-height: 2.9rem;
  }

  .tab-button i {
    display: none;
  }

  .tab-button span {
    font-size: 0.7rem;
  }

  .panel-inner {
    padding: 1.75rem 1.2rem 2.5rem;
  }

  .panel-heading {
    margin-bottom: 1.4rem;
  }

  .panel-heading h2 {
    font-size: 2rem;
  }

  .about-copy {
    font-size: 0.97rem;
  }

  .interest-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .interest-item,
  .interest-item + .interest-item {
    padding: 0;
    border: 0;
  }

  .updates-list li {
    grid-template-columns: 4.7rem minmax(0, 1fr);
    padding-right: 0.3rem;
  }

  .publication-feature {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-block: 1.5rem;
  }

  .publication-meta {
    gap: 0.6rem 0.8rem;
  }

  .publication-visual {
    width: 100%;
  }

  .publication-copy h3 {
    font-size: 1.55rem;
  }

  .experience-heading {
    align-items: start;
    flex-direction: column;
    gap: 1.25rem;
  }

  .subtab-list {
    width: 100%;
  }

  .subtab-button {
    flex: 1;
  }

  .career-list li {
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.35rem 0.8rem;
    padding-block: 1.2rem;
  }

  .career-period,
  .career-list li > div {
    grid-column: 2;
  }

}

@media (forced-colors: active) {
  .tab-button.is-active,
  .subtab-button.is-active {
    outline: 2px solid currentColor;
  }
}

@media print {
  html,
  body {
    height: auto;
    overflow: visible;
    background: white;
    color: black;
  }

  .portfolio-shell {
    display: block;
    height: auto;
    overflow: visible;
  }

  .identity-rail,
  .cursor-ring,
  .cursor-dot {
    display: none;
  }

  .workspace,
  .tab-panel {
    height: auto;
    overflow: visible;
    background: white;
  }

  .tab-panel[hidden],
  .subtab-panel[hidden] {
    display: block !important;
  }

  .panel-inner {
    min-height: 0;
    padding: 2rem;
  }
}
