*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-deep: #121212;
  --bg-lift: #1a1a1a;
  --text: #f2f0eb;
  --text-muted: #a8a59e;
  --nav-border: rgba(242, 240, 235, 0.08);
}

html {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100%;
  overflow-x: visible;
}

body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, #2a2a2a 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-lift) 0%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--nav-border);
  background: rgba(26, 26, 26, 0.96);
  backdrop-filter: blur(10px);
}

.sticky-chrome {
  position: sticky;
  top: 0;
  z-index: 200;
}

.sticky-chrome .navbar {
  position: relative;
  top: auto;
  z-index: auto;
  backdrop-filter: none;
  background: #1a1a1a;
}

.brand-lockup {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.brand-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-name {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.role-rotator {
  position: relative;
  display: inline-grid;
  align-items: center;
  min-width: 14.5rem;
  height: 1.2em;
  overflow: hidden;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(0.75rem, 1.4vw, 0.9rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--text);
}

.navbar .role-rotator {
  opacity: 0.5;
}

.role {
  grid-area: 1 / 1;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(0.55em);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.role.is-active {
  opacity: 1;
  transform: translateY(0);
}

.role.is-exit {
  opacity: 0;
  transform: translateY(-0.55em);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.35rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle-bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.navbar.is-menu-open .menu-toggle-bar:nth-child(1) {
  transform: translateY(0.34rem) rotate(45deg);
}

.navbar.is-menu-open .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.navbar.is-menu-open .menu-toggle-bar:nth-child(3) {
  transform: translateY(-0.34rem) rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1rem;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.is-current {
  color: var(--text);
  border-bottom-color: var(--text);
}

.nav-sep {
  color: var(--text-muted);
  opacity: 0.55;
  user-select: none;
}

.page {
  min-height: calc(100vh - 4.5rem);
}

.resume-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--nav-border);
  background: #1c1c1c;
}

.resume-label {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.resume-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.5rem 1.1rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #161616;
  background: #f2f0eb;
  text-decoration: none;
  border-radius: 0.35rem;
  transition: opacity 0.15s ease;
}

.resume-download-icon {
  width: 1rem;
  height: 1rem;
  display: block;
  flex-shrink: 0;
}

.resume-download:hover {
  opacity: 0.88;
}

.resume-timeline {
  padding: 0 1.5rem 3rem;
}

.experience-layout {
  display: flex;
  flex-direction: column;
  max-width: 52rem;
  margin: 0 auto;
}

.section-banner {
  position: relative;
  display: grid;
  place-items: center;
  width: 100vw;
  margin: 0 calc(50% - 50vw) 1.75rem;
  padding: 2.35rem 1.5rem;
  overflow: hidden;
  background:
    linear-gradient(
      105deg,
      rgba(242, 240, 235, 0.045) 0%,
      transparent 42%,
      rgba(242, 240, 235, 0.03) 100%
    ),
    repeating-linear-gradient(
      -18deg,
      transparent 0,
      transparent 11px,
      rgba(242, 240, 235, 0.028) 11px,
      rgba(242, 240, 235, 0.028) 12px
    ),
    linear-gradient(180deg, #1f1f1f 0%, #161616 100%);
  border-top: 1px solid rgba(242, 240, 235, 0.12);
  border-bottom: 1px solid rgba(242, 240, 235, 0.08);
}

.section-banner--education,
.section-banner--experience,
.section-banner--contact {
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
  background:
    linear-gradient(
      -105deg,
      rgba(242, 240, 235, 0.045) 0%,
      transparent 42%,
      rgba(242, 240, 235, 0.03) 100%
    ),
    repeating-linear-gradient(
      18deg,
      transparent 0,
      transparent 11px,
      rgba(242, 240, 235, 0.028) 11px,
      rgba(242, 240, 235, 0.028) 12px
    ),
    linear-gradient(180deg, #1a1a1a 0%, #141414 100%);
}

.section-banner--contact {
  margin-top: 0;
  margin-bottom: 0;
}

.education-section {
  padding: 0 1.5rem 1.5rem;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  max-width: 52rem;
  margin: 0 auto;
  align-items: stretch;
}

.education-dots {
  display: none;
}

.credential-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  min-height: 100%;
  padding: 1.5rem 1.25rem 1.4rem;
  color: var(--text);
  border: 1px solid rgba(242, 240, 235, 0.18);
  border-radius: 1.15rem;
  background: linear-gradient(
    90deg,
    rgba(58, 58, 58, 0.85) 0%,
    rgba(32, 32, 32, 0.55) 55%,
    rgba(22, 22, 22, 0.35) 100%
  );
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  font-family: "DM Sans", sans-serif;
  box-sizing: border-box;
}

.credential-logo {
  width: 100%;
  max-width: 10rem;
  height: 7.25rem;
  margin: 0 0 0.85rem;
  border-radius: 0.55rem;
  border: 1px dashed rgba(242, 240, 235, 0.28);
  background: rgba(242, 240, 235, 0.04);
  overflow: hidden;
  flex-shrink: 0;
}

.credential-logo:has(img) {
  border-style: solid;
  border-color: transparent;
  background: transparent;
}

.credential-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.credential-org {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--text);
}

.credential-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(242, 240, 235, 0.82);
}

.credential-major {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: rgba(242, 240, 235, 0.72);
}

.credential-year {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.3;
  color: rgba(242, 240, 235, 0.62);
}

.section-banner-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
}

.section-banner-kicker {
  font-family: "DM Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-banner-title {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.05;
  color: var(--text);
}

.timeline-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.55rem 0.35rem;
}

.timeline-track::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  right: 0.35rem;
  top: 50%;
  height: 1px;
  background: rgba(242, 240, 235, 0.35);
  transform: translateY(-50%);
  pointer-events: none;
}

.timeline-dot {
  position: relative;
  z-index: 1;
  width: 1rem;
  height: 1rem;
  padding: 0;
  border: 1.5px solid var(--text-muted);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease;
}

.timeline-dot::after {
  content: "";
  position: absolute;
  inset: -0.65rem;
}

.timeline-dot:hover {
  border-color: var(--text);
}

.timeline-dot.is-filled {
  background: var(--text);
  border-color: var(--text);
}

.timeline-dot.is-preview {
  background: rgba(242, 240, 235, 0.45);
  border-color: var(--text);
}

.experience-carousel {
  display: grid;
  grid-template-columns: 3.25rem 1fr 3.25rem;
  align-items: stretch;
  gap: 0;
  width: 100%;
  margin: 1.75rem 0 0;
  padding: 0;
  overflow-anchor: none;
}

.carousel-viewport {
  width: 100%;
  min-height: 0;
  overflow-anchor: none;
}

.carousel-panel {
  display: none;
  min-height: 0;
  height: fit-content;
  padding: 1.5rem 1.75rem;
  color: var(--text);
  border: 1px solid rgba(242, 240, 235, 0.18);
  border-radius: 1.15rem;
  background: linear-gradient(
    90deg,
    rgba(58, 58, 58, 0.85) 0%,
    rgba(32, 32, 32, 0.55) 55%,
    rgba(22, 22, 22, 0.35) 100%
  );
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  overflow-anchor: none;
}

.carousel-panel.is-active {
  display: block;
}

.experience-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.experience-logo {
  flex-shrink: 0;
  width: 5.75rem;
  height: 4.5rem;
  border-radius: 0.45rem;
  background: transparent;
  overflow: hidden;
  display: block;
}

.experience-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: inherit;
  display: block;
}

.experience-meta {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 1.25rem;
  row-gap: 0.2rem;
  min-width: 0;
  min-height: 0;
}

.experience-org {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--text);
}

.experience-role {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(242, 240, 235, 0.82);
}

.experience-years {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: center;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.3;
  color: rgba(242, 240, 235, 0.62);
  text-align: right;
  white-space: nowrap;
}

.experience-bullets {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.experience-bullets li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(242, 240, 235, 0.78);
}

.experience-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: rgba(242, 240, 235, 0.55);
}

.carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s ease;
}

.carousel-arrow:hover {
  color: var(--text);
}

.carousel-arrow svg {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  pointer-events: none;
}

.skills-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.5rem 0 2.5rem;
  overflow: visible;
}

.skills-tickers {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.ticker-row {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 3%,
    #000 97%,
    transparent 100%
  );
}

.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-right: 1.25rem;
  flex-shrink: 0;
}

.ticker-row-left .ticker-track {
  animation: ticker-left var(--ticker-duration, 160s) linear infinite;
}

.ticker-row-right .ticker-track {
  animation: ticker-right var(--ticker-duration, 160s) linear infinite;
}

@keyframes ticker-left {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-1 * var(--ticker-shift, 50%)), 0, 0);
  }
}

@keyframes ticker-right {
  from {
    transform: translate3d(calc(-1 * var(--ticker-shift, 50%)), 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

.tools-item {
  display: inline-block;
  flex-shrink: 0;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  opacity: 0.38;
  white-space: nowrap;
  transition:
    opacity 0.2s ease,
    color 0.2s ease;
  cursor: default;
}

.tools-item.is-spotlight {
  opacity: 1;
  color: #ffffff;
}

.tools-sep {
  flex-shrink: 0;
  color: var(--text);
  opacity: 0.22;
  font-size: 0.75rem;
  user-select: none;
  line-height: 1;
}

.contact-hero {
  padding: 0 0 2rem;
  text-align: center;
  overflow: visible;
}

.section-banner--contact .section-banner-inner {
  gap: 0.75rem;
}

.section-banner--contact .contact-tagline {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.65rem, 3.8vw, 2.55rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.contact-tagline {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0 auto;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1.5rem, 3.8vw, 2.25rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}

.contact-tagline > .contact-tagline-text {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
}

.contact-tagline-bottom {
  display: inline-flex;
  align-items: baseline;
  gap: 0.65rem;
  white-space: nowrap;
}

.contact-rotator {
  position: relative;
  min-width: 7.5rem;
  height: 1.55em;
  overflow: hidden;
  font-family: inherit;
  font-size: 1em;
  font-weight: 700;
  font-style: italic;
  letter-spacing: inherit;
  line-height: 1.15;
  text-align: left;
}

.contact-rotator .role {
  position: relative;
  justify-self: start;
  align-self: start;
  width: max-content;
  max-width: 100%;
  padding-bottom: 0.3em;
}

.contact-rotator .role::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(242, 240, 235, 0.15) 12%,
    rgba(242, 240, 235, 0.55) 35%,
    rgba(242, 240, 235, 0.35) 50%,
    rgba(242, 240, 235, 0.55) 65%,
    rgba(242, 240, 235, 0.15) 88%,
    transparent 100%
  );
  filter: blur(0.4px);
}

.contact-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  margin: 2.75rem auto 0;
  padding: 2rem 2.25rem;
  width: max-content;
  max-width: calc(100% - 2rem);
  text-align: left;
  border: 1px solid rgba(242, 240, 235, 0.18);
  border-radius: 1.15rem;
  background: linear-gradient(
    90deg,
    rgba(58, 58, 58, 0.85) 0%,
    rgba(32, 32, 32, 0.55) 55%,
    rgba(22, 22, 22, 0.35) 100%
  );
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.contact-photo {
  flex-shrink: 0;
  width: 11rem;
  height: 11rem;
  object-fit: cover;
  object-position: center top;
  border-radius: 0.85rem;
  display: block;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  margin: 0;
  padding: 0;
  text-align: left;
}

.contact-detail {
  display: grid;
  grid-template-columns: 1.2rem 1fr;
  align-items: center;
  column-gap: 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  text-decoration: none;
  text-align: left;
  transition: color 0.15s ease;
}

a.contact-detail:hover {
  color: var(--text);
}

.contact-detail-icon {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
}

@media (max-width: 640px) {
  .navbar {
    position: relative;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
  }

  .brand-lockup {
    flex: 1;
    min-width: 0;
    padding-right: 0.5rem;
  }

  .brand-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .brand-name {
    font-size: 1.45rem;
  }

  .navbar .role-rotator {
    min-width: 0;
    font-size: 0.8rem;
  }

  .nav-right {
    position: static;
    width: auto;
    flex-shrink: 0;
  }

  .menu-toggle {
    display: inline-flex;
    z-index: 2;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0;
    background: rgba(18, 18, 18, 0.97);
    border-bottom: 1px solid var(--nav-border);
    font-size: 0.95rem;
  }

  .navbar.is-menu-open .nav-links {
    display: flex;
  }

  .nav-sep {
    display: none;
  }

  .nav-links a {
    padding: 0.85rem 1rem;
    border-bottom: 0;
    border-left: 2px solid transparent;
  }

  .nav-links a.is-current {
    border-bottom-color: transparent;
    border-left-color: var(--text);
  }

  .contact-hero {
    padding: 0 0 1.5rem;
  }

  .contact-tagline > .contact-tagline-text {
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
  }

  .contact-tagline-bottom {
    justify-content: center;
  }

  .contact-card {
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
    max-width: min(24rem, calc(100% - 2rem));
    width: 100%;
    padding: 1.75rem 1.5rem 1.85rem;
  }

  .contact-photo {
    width: 10rem;
    height: 10rem;
  }

  .contact-details {
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
  }

  .contact-rotator {
    min-width: 6.5rem;
    font-size: 1em;
  }

  .section-banner {
    padding: 1.85rem 1rem;
    margin-bottom: 1.35rem;
  }

  .section-banner--education,
  .section-banner--experience,
  .section-banner--contact {
    margin-top: 0.75rem;
    margin-bottom: 1.35rem;
  }

  .section-banner--contact {
    margin-top: 0;
    margin-bottom: 0;
  }

  .section-banner-title {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .education-section {
    padding: 0 0 1.25rem;
    overflow: visible;
  }

  .education-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.85rem;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0.15rem 1rem 0.5rem;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .education-grid::-webkit-scrollbar {
    display: none;
  }

  .credential-card {
    flex: 0 0 auto;
    flex-shrink: 0;
    width: 82%;
    max-width: 20.5rem;
    min-width: 16.5rem;
    min-height: 0;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .education-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 0.85rem;
    padding: 0 1rem;
  }

  .education-dot {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: 1px solid rgba(242, 240, 235, 0.45);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition:
      background-color 0.2s ease,
      border-color 0.2s ease,
      transform 0.15s ease;
  }

  .education-dot.is-active {
    background: var(--text);
    border-color: var(--text);
    transform: scale(1.15);
  }

  .resume-timeline {
    padding: 0 0 2.5rem;
  }

  .experience-scroll-pin {
    height: auto;
    position: static;
  }

  .experience-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    position: static;
    height: auto;
    max-width: none;
    padding: 0;
  }

  .timeline-track {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: auto;
    margin: 0 1rem;
    padding: 0.4rem 0.2rem;
  }

  .timeline-track::before {
    left: 0.2rem;
    right: 0.2rem;
    top: 50%;
    bottom: auto;
    width: auto;
    height: 1px;
    transform: translateY(-50%);
  }

  .experience-carousel {
    display: block;
    margin: 0;
    height: auto;
    width: 100%;
  }

  .carousel-arrow {
    display: none;
  }

  .carousel-viewport {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.85rem;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0.15rem 1rem 0.5rem;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .carousel-viewport::-webkit-scrollbar {
    display: none;
  }

  .carousel-panel,
  .carousel-panel.is-active,
  .carousel-panel[hidden] {
    display: block !important;
    position: static;
    flex: 0 0 auto;
    flex-shrink: 0;
    align-self: flex-start;
    width: 82%;
    max-width: 20.5rem;
    min-width: 16.5rem;
    min-height: 0;
    height: auto;
    padding: 1.15rem 1.1rem;
    box-sizing: border-box;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .experience-logo {
    width: 4.75rem;
    height: 3.75rem;
  }

  .experience-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.85rem;
  }

  .experience-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.15rem;
    flex: 1;
    min-width: 0;
    min-height: 0;
  }

  .experience-org,
  .experience-role,
  .experience-years {
    grid-column: unset;
    grid-row: unset;
    align-self: auto;
    width: auto;
    max-width: 100%;
  }

  .experience-org {
    font-size: 1rem;
  }

  .experience-years {
    text-align: left;
    white-space: normal;
    font-size: 0.85rem;
  }

  .experience-bullets {
    margin-top: 1rem;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .experience-bullets li {
    font-size: 0.84rem;
  }

  .skills-section {
    padding: 1.25rem 0 2rem;
  }
}
