:root {
  color-scheme: dark;
  --ink: #101113;
  --paper: #f4f1ea;
  --muted: #aaa39a;
  --line: rgba(255, 255, 255, 0.12);
  --green: #3aa65c;
  --moss: #257249;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  background: var(--ink);
  color: var(--paper);
}

body {
  overflow: hidden;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

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

.page-shell {
  min-height: 100svh;
  background: var(--ink);
  position: relative;
  isolation: isolate;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23noise)' opacity='0.65'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

main {
  position: relative;
  z-index: 1;
}

.mt-8 {
  margin-top: 2rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
}

.brand-mark,
.tab-list,
.contact-shortcut {
  pointer-events: auto;
}

.brand-mark {
  display: none;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(var(--tab-count, 2), minmax(0, 1fr));
  width: min(100%, calc(var(--tab-count, 2) * 9rem), 28rem);
  border: 1px solid var(--line);
  background: rgba(16, 17, 19, 0.76);
  backdrop-filter: blur(18px);
  transition: transform 220ms ease, opacity 220ms ease;
}

.tab-button {
  min-height: 2.75rem;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 180ms ease, background 180ms ease;
}

.tab-button:last-child {
  border-right: 0;
}

.tab-button[hidden] {
  display: none;
}

.tab-button:last-of-type {
  border-right: 0;
}

.tab-button.is-last-visible {
  border-right: 0;
}

.tab-button[aria-selected="true"] {
  background: var(--paper);
  color: var(--ink);
}

.tab-button:focus-visible,
.contact-shortcut:focus-visible,
.link-button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.contact-shortcut {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid var(--line);
  background: rgba(16, 17, 19, 0.76);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  backdrop-filter: blur(18px);
}

.progress-rail {
  position: fixed;
  right: clamp(0.85rem, 2.5vw, 2rem);
  top: 50%;
  z-index: 40;
  display: none;
  width: 2px;
  height: min(42svh, 20rem);
  transform: translateY(-50%);
  background: var(--line);
}

.progress-fill {
  width: 100%;
  height: 25%;
  background: var(--green);
  transition: height 220ms ease;
}

.track {
  display: none;
  height: 100svh;
  overflow-y: auto;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}

.track::-webkit-scrollbar {
  display: none;
}

.track.is-active {
  display: block;
}

.site-header.is-scrolled .tab-list {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-120%);
}

.slide {
  min-height: 100svh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  align-items: safe center;
  justify-content: center;
  padding: clamp(5.5rem, 12vh, 8rem) clamp(1.25rem, 7vw, 7rem) clamp(3rem, 7vh, 5rem);
  position: relative;
  overflow: hidden;
}

.slide::before {
  content: attr(data-kicker);
  position: absolute;
  left: clamp(1.25rem, 7vw, 7rem);
  top: clamp(5rem, 12vh, 7rem);
  color: rgba(244, 241, 234, 0.22);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.slide-grid {
  width: min(100%, 72rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.two-column {
  grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 1.05fr);
}

.project-slide .two-column {
  grid-template-columns: minmax(0, 1.22fr) minmax(18rem, 0.78fr);
}

.arsenal-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 4vh, 3.5rem);
}

.arsenal-layout .section-title {
  max-width: 35ch;
}

.arsenal-layout .body-copy {
  max-width: 64rem;
}

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

.two-column .arsenal-matrix {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.skill-pillar {
  min-height: clamp(16rem, 35vh, 22rem);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(255, 255, 255, 0.04),
      transparent 40%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.skill-pillar:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.4);
}

.skill-pillar:hover::before {
  opacity: 1;
}

.featured-pillar {
  background: rgba(58, 166, 92, 0.03);
  border-color: rgba(58, 166, 92, 0.2);
}

.featured-pillar::before {
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(58, 166, 92, 0.08),
      transparent 40%);
}

.featured-pillar:hover {
  background: rgba(58, 166, 92, 0.06);
  border-color: rgba(58, 166, 92, 0.6);
  box-shadow: 0 20px 40px -20px rgba(58, 166, 92, 0.2);
}

.pillar-heading {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  z-index: 2;
}

.pillar-heading i {
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--green);
  background: rgba(16, 17, 19, 0.7);
  font-size: 1.25rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.skill-pillar:hover .pillar-heading i {
  border-color: var(--green);
  background: var(--green);
  color: var(--ink);
  transform: rotate(-5deg) scale(1.05);
}

.pillar-titles {
  display: grid;
  gap: 0.35rem;
}

.pillar-heading h3 {
  margin: 0;
  color: var(--paper);
  font-family: Space Grotesk, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 800;
}

.pillar-meta {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

.skill-pillar:hover .pillar-meta {
  color: var(--paper);
  opacity: 1;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-content: flex-end;
  position: relative;
  z-index: 2;
}

.skill-tags span {
  display: inline-flex;
  min-height: 2.15rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.01);
  padding: 0 0.85rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
  transition: all 0.25s ease;
  cursor: default;
}

.skill-pillar:hover .skill-tags span {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.03);
}

.featured-pillar .skill-tags span {
  border-color: rgba(58, 166, 92, 0.15);
}

.featured-pillar:hover .skill-tags span {
  border-color: rgba(58, 166, 92, 0.3);
  background: rgba(58, 166, 92, 0.04);
}

.skill-tags span:hover {
  background: var(--green) !important;
  color: var(--ink) !important;
  border-color: var(--green) !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 12px rgba(58, 166, 92, 0.25);
}

.experience-slide {
  align-items: center;
}

.experience-layout {
  width: min(100%, 65rem);
  margin: 0 auto;
}

.experience-stack {
  display: grid;
  gap: 0.8rem;
}

.experience-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  padding: clamp(1rem, 2vw, 1.35rem);
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr);
  gap: clamp(0.9rem, 2vw, 1.25rem);
  align-items: start;
}

.experience-card.compact-card {
  background: rgba(92, 255, 143, 0.045);
}

.experience-logo {
  width: 4rem;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: rgba(16, 17, 19, 0.7);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease;
}

a.experience-logo:hover {
  border-color: var(--green);
  background: rgba(92, 255, 143, 0.08);
}

a.experience-logo:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.experience-logo img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.experience-logo i {
  color: currentColor;
  font-size: 1.75rem;
  line-height: 1;
}

.experience-date {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.experience-card h3 {
  margin: 0.45rem 0 0;
  color: var(--paper);
  font-family: Space Grotesk, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1;
}

.experience-company {
  margin: 0.5rem 0 0;
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.45;
}

.experience-company a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(92, 255, 143, 0.45);
  transition: color 180ms ease, border-color 180ms ease;
}

.experience-company a:hover {
  color: var(--green);
  border-color: var(--green);
}

.experience-company a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.experience-card p:not(.experience-company) {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.experience-card ul {
  margin: 0.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.42rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  list-style: none;
}

.experience-card li {
  position: relative;
  padding-left: 1rem;
}

.experience-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--green);
}

.eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.display-title {
  max-width: 18ch;
  margin-top: 1rem;
  font-family: Space Grotesk, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.5rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 0.88;
}

.section-title {
  max-width: 15ch;
  margin-top: 1rem;
  font-family: Space Grotesk, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.1rem, 5.5vw, 6.5rem);
  font-weight: 900;
  line-height: 0.92;
}

.body-copy {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
}

.hero-copy {
  max-width: 56rem;
  margin-top: 1.5rem;
  color: var(--paper);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.link-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 0 1.1rem;
  color: var(--paper);
  font-size: 0.84rem;
  font-weight: 850;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.link-button.primary {
  border-color: var(--green);
  background: var(--green);
  color: var(--ink);
}

.link-button:hover {
  border-color: var(--paper);
}

.capability-grid,
.skills-grid,
.metric-grid,
.project-meta {
  display: grid;
  gap: 1rem;
}

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

.skills-grid,
.metric-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel {
  min-height: 9rem;
  border: 1px solid var(--line);
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.035);
}

.panel strong {
  display: block;
  color: var(--paper);
  font-size: 1rem;
}

.panel span,
.panel p {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.timeline {
  display: grid;
  gap: 1rem;
  border-left: 1px solid var(--line);
  padding-left: 1.25rem;
}

.timeline-item {
  position: relative;
  padding-bottom: 0.75rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.58rem;
  top: 0.2rem;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--green);
}

.timeline-item time {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin-top: 0.35rem;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 850;
}

.timeline-item p {
  margin-top: 0.45rem;
  color: var(--muted);
  line-height: 1.55;
}

.visual-panel {
  aspect-ratio: 1440 / 1000;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background: #151719;
}

.project-visual {
  display: block;
  color: inherit;
  text-decoration: none;
}

.project-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 500ms ease, filter 500ms ease;
}

.project-visual:hover img {
  transform: scale(1.025);
  filter: saturate(1) contrast(1.08);
}

.project-visual:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.project-visual::before,
.project-visual::after {
  display: none;
}

.visual-panel::before,
.visual-panel::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(244, 241, 234, 0.2);
}

.visual-panel::before {
  inset: 11% 13% 24% 19%;
  background: rgba(92, 255, 143, 0.08);
}

.visual-panel::after {
  inset: auto 8% 10% 38%;
  height: 38%;
  background: rgba(47, 143, 91, 0.1);
}

.visual-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  color: var(--paper);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.meta-item {
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}

.meta-item span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.meta-item strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--paper);
}

.contact-list {
  display: grid;
  gap: 0.85rem;
}

.contact-list a {
  display: flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--paper);
  font-weight: 850;
  text-decoration: none;
}

.contact-list a span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.slide.is-visible .reveal {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top {
  position: fixed;
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1rem, 4vw, 3rem);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid var(--line);
  background: rgba(16, 17, 19, 0.76);
  backdrop-filter: blur(18px);
  color: var(--muted);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 300ms ease, transform 300ms ease, visibility 300ms, border-color 180ms ease, background 180ms ease, color 180ms ease;
  pointer-events: auto;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--green);
  background: var(--green);
  color: var(--ink);
}

.back-to-top i {
  font-size: 1.1rem;
  transition: transform 180ms ease;
}

.back-to-top:hover i {
  transform: translateY(-2px);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

@media (min-width: 860px) {

  .brand-mark,
  .contact-shortcut,
  .progress-rail {
    display: flex;
  }

  .site-header {
    grid-template-columns: 1fr auto 1fr;
  }
}

@media (max-width: 940px) {

  .two-column,
  .project-slide .two-column,
  .capability-grid,
  .skills-grid,
  .metric-grid,
  .project-meta {
    padding-top: 0.6rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .track {
    scroll-snap-type: y mandatory;
    scroll-padding-top: 0;
  }

  .slide {
    align-items: center;
    align-items: safe center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    padding: 5.75rem clamp(1rem, 5vw, 2rem) 3rem;
    overflow: visible;
  }

  .slide::before {
    left: clamp(1rem, 5vw, 2rem);
    top: 4.8rem;
  }

  .slide-grid {
    gap: 1.8rem;
  }

  .project-slide {
    align-items: flex-start;
  }

  .project-slide .slide-grid {
    align-content: start;
    gap: 1.25rem;
  }

  .project-slide .visual-panel {
    order: -1;
    width: 100%;
  }

  .project-slide .section-title {
    font-size: clamp(1.85rem, 10vw, 3.5rem);
  }

  .project-slide .actions {
    margin-top: 1.25rem;
  }

  .display-title,
  .section-title {
    max-width: 100%;
  }

  .arsenal-matrix {
    grid-template-columns: minmax(0, 1fr);
  }

  .two-column .arsenal-matrix {
    grid-template-columns: minmax(0, 1fr);
  }

  .skill-pillar {
    min-height: auto;
    transform: none;
  }

  .skill-pillar:hover {
    transform: none;
  }

  .experience-layout {
    max-height: none;
    overflow: visible;
  }

  .experience-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .experience-logo {
    width: 3.5rem;
  }
}

@media (max-width: 620px) {
  .track {
    scroll-snap-type: y mandatory;
  }

  .site-header {
    padding: 0.65rem 0.85rem;
    justify-content: center;
  }

  .tab-list {
    width: min(calc(100vw - 1.7rem), calc(var(--tab-count, 2) * 7.25rem));
  }

  .tab-button {
    min-height: 2.35rem;
    padding: 0 0.7rem;
    font-size: 0.68rem;
  }

  .slide {
    min-height: 100svh;
    align-items: center;
    align-items: safe center;
    padding: 4.85rem 0.95rem 2.4rem;
  }

  .slide::before {
    left: 0.95rem;
    top: 4.05rem;
    font-size: 0.64rem;
    letter-spacing: 0.14em;
  }

  .slide-grid {
    gap: 1.35rem;
  }

  .project-slide {
    align-items: flex-start;
    min-height: 100svh;
    padding-top: 4.85rem;
  }

  .project-slide .slide-grid {
    gap: 1rem;
  }

  .project-slide .visual-panel {
    margin-top: 0.35rem;
  }

  .project-slide .section-title {
    font-size: clamp(1.75rem, 10vw, 2.75rem);
  }

  .project-slide .body-copy {
    margin-top: 0.85rem;
  }

  .project-slide .project-meta {
    margin-top: 1rem;
    gap: 0.75rem;
  }

  .project-slide .actions {
    margin-top: 1rem;
  }

  .project-slide .link-button {
    width: 100%;
  }

  .display-title {
    margin-top: 0.65rem;
    font-size: clamp(2.5rem, 16vw, 4.2rem);
    line-height: 0.9;
  }

  .section-title {
    margin-top: 0.6rem;
    font-size: clamp(1.9rem, 11vw, 3.25rem);
    line-height: 0.96;
  }

  .hero-copy,
  .body-copy {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .hero-copy {
    margin-top: 1.15rem;
  }

  .arsenal-layout {
    gap: 1.25rem;
  }

  .arsenal-matrix {
    gap: 0.7rem;
  }

  .skill-pillar {
    padding: 1rem;
    gap: 1rem;
  }

  .pillar-heading {
    gap: 0.85rem;
  }

  .pillar-heading i {
    width: 2.6rem;
    height: 2.6rem;
    font-size: 1rem;
  }

  .pillar-heading h3 {
    font-size: 1.25rem;
  }

  .pillar-meta {
    font-size: 0.66rem;
  }

  .skill-tags {
    gap: 0.42rem;
  }

  .skill-tags span {
    min-height: 1.9rem;
    padding: 0 0.62rem;
    font-size: 0.64rem;
    line-height: 1.15;
  }

  .experience-stack {
    gap: 0.65rem;
  }

  .experience-card {
    padding: 0.95rem;
    gap: 0.75rem;
  }

  .experience-logo {
    width: 3rem;
  }

  .experience-date {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  .experience-card h3 {
    font-size: 1.28rem;
    line-height: 1.08;
  }

  .experience-company {
    font-size: 0.84rem;
  }

  .experience-card p:not(.experience-company),
  .experience-card ul {
    font-size: 0.82rem;
    line-height: 1.48;
  }

  .experience-card ul {
    gap: 0.35rem;
  }

  .contact-list {
    gap: 0.55rem;
  }

  .contact-list a {
    min-height: 3rem;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.65rem 0;
    overflow-wrap: anywhere;
  }

  .contact-list a span {
    font-size: 0.78rem;
  }

  .panel {
    min-height: auto;
  }
}

@media (max-width: 380px) {
  .slide {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .slide::before {
    left: 0.8rem;
  }

  .display-title {
    font-size: clamp(2.25rem, 15vw, 3.4rem);
  }

  .section-title {
    font-size: clamp(1.65rem, 10vw, 2.6rem);
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}