:root {
  --ink: #101522;
  --muted: #5c6675;
  --soft: #f6f8fb;
  --surface: #ffffff;
  --line: #e4eaf1;
  --blue: #2457ff;
  --green: #00a878;
  --coral: #ff6b4a;
  --amber: #f3b23c;
  --violet: #7c3aed;
  --shadow: 0 24px 70px rgba(16, 21, 34, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(36, 87, 255, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(0, 168, 120, 0.045) 1px, transparent 1px),
    #ffffff;
  background-size: 54px 54px, 54px 54px, auto;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(135deg, rgba(36, 87, 255, 0.08), transparent 28%),
    linear-gradient(315deg, rgba(255, 107, 74, 0.09), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 72%);
  content: "";
  pointer-events: none;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  transition: transform 180ms ease;
}

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

.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--coral), var(--amber));
  transform-origin: left center;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 80;
  display: flex;
  width: min(calc(100% - 32px), var(--max));
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transform: translateX(-50%);
  border: 1px solid rgba(228, 234, 241, 0.86);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 45px rgba(16, 21, 34, 0.08);
  padding: 0.65rem 0.75rem 0.65rem 0.85rem;
  backdrop-filter: blur(22px);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(210, 218, 229, 0.96);
  box-shadow: 0 18px 55px rgba(16, 21, 34, 0.13);
}

.brand {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 0.72rem;
  font-weight: 780;
}

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-size: 0.88rem;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.brand__mark::after {
  position: absolute;
  inset: auto -24% -38% auto;
  width: 34px;
  height: 34px;
  background: var(--green);
  content: "";
  rotate: 38deg;
  z-index: -1;
}

.brand__text {
  font-size: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.72rem 0.86rem;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--soft);
  color: var(--ink);
  transform: translateY(-1px);
}

.site-nav .nav-download {
  margin-left: 0.25rem;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(16, 21, 34, 0.16);
}

.site-nav .nav-download:hover,
.site-nav .nav-download:focus-visible {
  background: var(--blue);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.section-band {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.78fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  padding-top: clamp(8rem, 13vw, 11rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.eyebrow,
.section-kicker,
.project-card__label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before,
.project-card__label::before {
  display: inline-block;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--coral));
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 1rem;
  font-size: clamp(4rem, 10vw, 8.5rem);
  line-height: 0.88;
  font-weight: 900;
}

h1::first-line {
  color: var(--ink);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.35rem, 5vw, 5.2rem);
  line-height: 0.98;
  font-weight: 900;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.12;
}

.hero__lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero__actions,
.contact-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  padding: 0.95rem 1.05rem;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease, background 170ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--ink);
  box-shadow: 0 16px 34px rgba(16, 21, 34, 0.18);
  color: #fff;
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--blue);
}

.button--secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: rgba(36, 87, 255, 0.32);
  box-shadow: 0 14px 30px rgba(36, 87, 255, 0.12);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 720px;
  margin: 2.4rem 0 0;
}

.metrics div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  padding: 1rem;
}

.metrics dt {
  color: var(--ink);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 900;
  line-height: 1;
}

.metrics dd {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero__visual {
  position: relative;
  min-height: 640px;
}

.portrait-shell {
  position: relative;
  width: min(100%, 470px);
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.portrait-shell::before {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: calc(var(--radius) - 2px);
  content: "";
  pointer-events: none;
}

.portrait-shell::after {
  position: absolute;
  inset: auto 0 0;
  height: 9px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--coral), var(--amber));
  content: "";
}

.portrait-shell img {
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
}

.terminal-card {
  position: absolute;
  right: 8%;
  bottom: 0;
  width: min(420px, 92%);
  border: 1px solid rgba(16, 21, 34, 0.1);
  border-radius: var(--radius);
  background: rgba(16, 21, 34, 0.94);
  box-shadow: 0 25px 55px rgba(16, 21, 34, 0.24);
  color: #eaf2ff;
  overflow: hidden;
  transform: translateY(0);
  animation: float-card 5.5s ease-in-out infinite;
}

.terminal-card__bar {
  display: flex;
  gap: 0.42rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem;
}

.terminal-card__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-card__bar span:nth-child(1) {
  background: var(--coral);
}

.terminal-card__bar span:nth-child(2) {
  background: var(--amber);
}

.terminal-card__bar span:nth-child(3) {
  background: var(--green);
}

.terminal-card pre {
  margin: 0;
  overflow: auto;
  padding: 1rem;
}

.terminal-card code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.72rem, 1.4vw, 0.9rem);
  line-height: 1.65;
  white-space: pre-wrap;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(1.8rem, 5vw, 4.5rem);
  border-block: 1px solid var(--line);
  padding-block: clamp(3rem, 8vw, 5.5rem);
}

.intro h2 {
  font-size: clamp(2.2rem, 4.8vw, 4.8rem);
}

.intro__text {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
}

.intro__text p:last-child {
  margin-bottom: 0;
}

.stack-marquee {
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.stack-track {
  display: flex;
  width: max-content;
  gap: 0.7rem;
  padding: 1.1rem 0;
  animation: marquee 28s linear infinite;
}

.stack-track span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--ink);
  font-weight: 800;
  padding: 0.55rem 1rem;
}

.section-heading {
  max-width: 760px;
  padding-top: clamp(4.5rem, 10vw, 7rem);
  padding-bottom: clamp(2rem, 5vw, 3.2rem);
}

.section-heading p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1.08rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: clamp(4.5rem, 10vw, 7rem);
}

.skill-card,
.project-card,
.education-item,
.timeline-item__body,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px rgba(16, 21, 34, 0.06);
}

.skill-card {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  padding: 1.25rem;
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.skill-card::after {
  position: absolute;
  right: -52px;
  bottom: -52px;
  width: 115px;
  height: 115px;
  border: 22px solid rgba(36, 87, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.skill-card:nth-child(2)::after,
.skill-card:nth-child(5)::after {
  border-color: rgba(0, 168, 120, 0.1);
}

.skill-card:nth-child(3)::after,
.skill-card:nth-child(6)::after {
  border-color: rgba(255, 107, 74, 0.1);
}

.skill-card:hover {
  transform: translateY(-5px);
  border-color: rgba(36, 87, 255, 0.28);
  box-shadow: 0 26px 55px rgba(16, 21, 34, 0.1);
}

.skill-card__index {
  display: inline-flex;
  width: 44px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.skill-card h3,
.project-card h3,
.education-item h3 {
  max-width: 18ch;
}

.skill-card p,
.project-card p,
.education-item p,
.timeline-item p {
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.35rem;
}

.chips span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: #384152;
  font-size: 0.83rem;
  font-weight: 780;
  padding: 0.48rem 0.62rem;
}

.timeline-section {
  border-top: 1px solid var(--line);
}

.timeline {
  position: relative;
  display: grid;
  gap: 1rem;
  padding-bottom: clamp(4.5rem, 10vw, 7rem);
}

.timeline::before {
  position: absolute;
  top: 0.75rem;
  bottom: clamp(4.5rem, 10vw, 7rem);
  left: 174px;
  width: 2px;
  background: linear-gradient(var(--blue), var(--green), var(--coral));
  content: "";
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.timeline-item__date {
  position: relative;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
  padding-top: 1.15rem;
}

.timeline-item__date::after {
  position: absolute;
  top: 1.28rem;
  right: -2.1rem;
  width: 13px;
  height: 13px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px rgba(36, 87, 255, 0.4);
  content: "";
}

.timeline-item:nth-child(2) .timeline-item__date::after,
.timeline-item:nth-child(4) .timeline-item__date::after {
  background: var(--green);
}

.timeline-item:nth-child(3) .timeline-item__date::after,
.timeline-item:nth-child(5) .timeline-item__date::after {
  background: var(--coral);
}

.timeline-item__body {
  padding: 1.25rem;
}

.timeline-item__company {
  margin-bottom: 0.7rem;
  color: var(--ink);
  font-weight: 800;
}

.timeline-item__body p:last-child {
  margin-bottom: 0;
}

.project-section {
  border-top: 1px solid var(--line);
}

.project-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 1rem;
  padding-bottom: clamp(4.5rem, 10vw, 7rem);
}

.project-card {
  min-height: 280px;
  padding: 1.35rem;
  position: relative;
  overflow: hidden;
}

.project-card::after {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 78px;
  height: 78px;
  border: 16px solid rgba(16, 21, 34, 0.055);
  content: "";
  rotate: 18deg;
}

.project-card--featured {
  grid-row: span 2;
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(36, 87, 255, 0.09), transparent 36%),
    linear-gradient(315deg, rgba(0, 168, 120, 0.1), transparent 34%),
    #fff;
}

.project-card--featured h3 {
  max-width: 12ch;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.98;
}

.project-card--spotlight {
  border-color: rgba(36, 87, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(36, 87, 255, 0.08), transparent 42%),
    #fff;
}

.project-card--spotlight:nth-of-type(3) {
  border-color: rgba(0, 168, 120, 0.24);
  background:
    linear-gradient(135deg, rgba(0, 168, 120, 0.09), transparent 42%),
    #fff;
}

.project-card__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid var(--green);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
}

.project-card__link::after {
  content: "->";
  margin-left: 0.42rem;
  transition: transform 160ms ease;
}

.project-card__link:hover::after,
.project-card__link:focus-visible::after {
  transform: translateX(3px);
}

.project-card p:last-child {
  margin-bottom: 0;
}

.education-section {
  border-top: 1px solid var(--line);
}

.education-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: clamp(4.5rem, 10vw, 7rem);
}

.education-item {
  min-height: 210px;
  padding: 1.25rem;
}

.education-item span {
  display: inline-flex;
  border-radius: var(--radius);
  background: rgba(36, 87, 255, 0.09);
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 1.2rem;
  padding: 0.48rem 0.62rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  border-top: 1px solid var(--line);
  padding-block: clamp(4.5rem, 10vw, 7rem);
}

.contact h2 {
  max-width: 760px;
}

.contact__content > p:not(.section-kicker) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 680px;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-areas li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 820;
  padding: 0.56rem 0.72rem;
}

.contact-areas li:nth-child(3n + 1) {
  box-shadow: inset 4px 0 0 var(--blue);
}

.contact-areas li:nth-child(3n + 2) {
  box-shadow: inset 4px 0 0 var(--green);
}

.contact-areas li:nth-child(3n) {
  box-shadow: inset 4px 0 0 var(--coral);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.contact-links a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  padding: 0.8rem 0.95rem;
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(0, 168, 120, 0.34);
  box-shadow: 0 12px 28px rgba(0, 168, 120, 0.1);
}

.contact-panel {
  justify-self: end;
  width: 100%;
  max-width: 390px;
  padding: 1rem;
}

.contact-panel img {
  width: min(100%, 280px);
  height: auto;
  aspect-ratio: 1;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  object-fit: contain;
}

.contact-panel p {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 760;
  margin: 1rem 0 0;
}

.contact-panel__actions .button {
  flex: 1 1 150px;
}

.site-footer {
  display: flex;
  width: min(calc(100% - 32px), var(--max));
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-inline: auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 1.6rem 0 2.4rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
}

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

.reveal--delay {
  transition-delay: 140ms;
}

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

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 980px) {
  .site-header {
    width: min(calc(100% - 24px), var(--max));
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    visibility: hidden;
    gap: 0.3rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    padding: 0.7rem;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a,
  .site-nav .nav-download {
    margin: 0;
    padding: 0.95rem;
  }

  .hero,
  .intro,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: auto;
  }

  .portrait-shell {
    margin-inline: 0;
  }

  .terminal-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 1rem;
    width: min(100%, 470px);
  }

  .contact-panel {
    justify-self: start;
  }

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

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card--featured {
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  body {
    background-size: 38px 38px, 38px 38px, auto;
  }

  .site-header {
    top: 10px;
  }

  .brand__text {
    display: none;
  }

  .section-band,
  .site-footer {
    width: min(calc(100% - 24px), var(--max));
  }

  .hero {
    padding-top: 6.7rem;
    padding-bottom: 3.2rem;
  }

  h1 {
    font-size: clamp(3.15rem, 19vw, 5.2rem);
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3.4rem);
  }

  .hero__lead,
  .intro__text,
  .section-heading p:not(.section-kicker),
  .contact__content > p:not(.section-kicker) {
    font-size: 1rem;
  }

  .hero__actions,
  .contact-panel__actions,
  .contact-links {
    display: grid;
  }

  .button,
  .contact-links a {
    width: 100%;
  }

  .metrics,
  .skills-grid,
  .education-list {
    grid-template-columns: 1fr;
  }

  .skill-card {
    min-height: auto;
  }

  .timeline::before {
    left: 8px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding-left: 2rem;
  }

  .timeline-item__date {
    padding-top: 0;
  }

  .timeline-item__date::after {
    top: 0.18rem;
    right: auto;
    left: -1.92rem;
  }

  .project-card,
  .education-item {
    min-height: auto;
  }

  .site-footer {
    display: grid;
  }
}

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

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