:root {
  color-scheme: dark;
  --bg: #0b1014;
  --bg-soft: #101820;
  --bg-panel: #141d24;
  --text: #eef4f3;
  --muted: #a9b8b5;
  --line: rgba(238, 244, 243, 0.14);
  --teal: #39d4bd;
  --teal-dark: #0f6d63;
  --amber: #f0b35a;
  --steel: #7fb0c8;
  --danger: #d46a5d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

ul {
  margin: 0;
  padding: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--teal);
  color: #03110f;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 800;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--max));
  min-height: 68px;
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(238, 244, 243, 0.12);
  border-radius: 8px;
  background: rgba(8, 13, 17, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 13, 17, 0.92);
  border-color: rgba(57, 212, 189, 0.28);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(57, 212, 189, 0.42);
  border-radius: 8px;
  background: #0e2b29;
  color: var(--teal);
  font-size: 0.82rem;
}

.site-nav {
  gap: 4px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  border: 1px solid rgba(238, 244, 243, 0.14);
  border-radius: 999px;
  background: rgba(238, 244, 243, 0.05);
  padding: 4px;
}

.lang-button {
  min-width: 44px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 0 10px;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.lang-button:hover,
.lang-button:focus-visible {
  color: var(--text);
  outline: none;
  transform: translateY(-1px);
}

.lang-button.is-active {
  background: var(--teal);
  color: #03110f;
}

.site-nav a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 10px 12px;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(57, 212, 189, 0.12);
  color: var(--text);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 86svh;
  overflow: hidden;
  padding: 132px 20px 60px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(238, 244, 243, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238, 244, 243, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.7) 42%, transparent 78%);
  animation: grid-drift 18s linear infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 0%, transparent 40%, rgba(57, 212, 189, 0.12) 48%, transparent 56%, transparent 100%);
  transform: translateX(-100%);
  animation: hero-sheen 7s ease-in-out infinite;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 11, 15, 0.96) 0%, rgba(7, 11, 15, 0.84) 39%, rgba(7, 11, 15, 0.44) 100%),
    linear-gradient(180deg, rgba(7, 11, 15, 0.2) 0%, #0b1014 96%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 340px);
  gap: 44px;
  align-items: end;
  width: min(100%, var(--max));
  margin: auto;
}

.hero-copy {
  max-width: 760px;
  animation: hero-copy-in 800ms ease-out both;
}

.eyebrow,
.section-kicker,
.project-label {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 880px;
  margin-top: 16px;
  font-size: clamp(3.2rem, 9vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 700px;
  margin-top: 24px;
  color: #d9e5e2;
  font-size: clamp(1.08rem, 2vw, 1.36rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

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

.button.primary {
  background: var(--teal);
  color: #03110f;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #7ae6d5;
}

.button.secondary {
  border-color: rgba(238, 244, 243, 0.22);
  background: rgba(238, 244, 243, 0.08);
  color: var(--text);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgba(57, 212, 189, 0.52);
  background: rgba(57, 212, 189, 0.12);
}

.profile-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 16px;
  align-items: center;
  width: 100%;
  border: 1px solid rgba(238, 244, 243, 0.16);
  border-radius: 8px;
  background: rgba(12, 18, 23, 0.82);
  padding: 16px;
  box-shadow: var(--shadow);
  animation: float-card 5.5s ease-in-out infinite;
}

.profile-card img {
  width: 82px;
  height: 82px;
  border: 2px solid rgba(57, 212, 189, 0.6);
  border-radius: 8px;
  object-fit: cover;
}

.profile-card strong {
  display: block;
  line-height: 1.32;
}

.profile-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(calc(100% - 40px), var(--max));
  margin: -26px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  position: relative;
  z-index: 4;
  box-shadow: var(--shadow);
}

.stat {
  min-height: 126px;
  background: #10171d;
  padding: 22px;
}

.stat strong,
.stat span {
  display: block;
}

.stat strong {
  color: var(--text);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1;
}

.stat span {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.tech-marquee {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid rgba(238, 244, 243, 0.1);
  background: rgba(16, 24, 32, 0.72);
  margin-top: 76px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.tech-track {
  display: flex;
  width: max-content;
  gap: 12px;
  padding: 16px 0;
  animation: marquee 32s linear infinite;
}

.tech-track span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(238, 244, 243, 0.12);
  border-radius: 999px;
  background: rgba(238, 244, 243, 0.045);
  color: #cfddda;
  font-size: 0.88rem;
  font-weight: 900;
  padding: 0 14px;
  white-space: nowrap;
}

.tech-track span:nth-child(3n) {
  color: var(--teal);
}

.tech-track span:nth-child(4n) {
  color: var(--amber);
}

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 112px 0 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.84fr) minmax(300px, 1fr);
  gap: 64px;
}

h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-copy {
  color: var(--muted);
  font-size: 1.03rem;
}

.section-copy p + p {
  margin-top: 18px;
}

.section-heading {
  max-width: 760px;
}

.section-heading > p:last-child {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.03rem;
}

.capability-grid,
.project-grid,
.education-grid {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

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

.capability,
.project-card,
.education-grid article,
.workflow-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-panel);
}

.interactive-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.interactive-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(57, 212, 189, 0.16), transparent 36%, rgba(240, 179, 90, 0.1));
  opacity: 0;
  transition: opacity 220ms ease;
}

.interactive-card:hover,
.interactive-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(57, 212, 189, 0.36);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.28);
}

.interactive-card:hover::before,
.interactive-card:focus-within::before {
  opacity: 1;
}

.interactive-card > * {
  position: relative;
}

.capability {
  min-height: 244px;
  padding: 24px;
}

.capability-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(57, 212, 189, 0.12);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 900;
}

.capability h3,
.project-content h3,
.project-card h3,
.timeline-item h3,
.education-grid h3 {
  margin-top: 18px;
  font-size: 1.25rem;
  line-height: 1.22;
}

.capability p,
.project-content p,
.project-card p,
.timeline-item p,
.education-grid p,
.contact-inner p {
  margin-top: 12px;
  color: var(--muted);
}

.featured-project {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 0;
  margin-top: 38px;
  border: 1px solid rgba(57, 212, 189, 0.28);
  border-radius: 8px;
  overflow: hidden;
  background: #101820;
  box-shadow: var(--shadow);
}

.project-media {
  min-height: 460px;
  background: #0a0f13;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.project-content {
  padding: clamp(28px, 4vw, 46px);
}

.project-points {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  color: #c7d6d2;
  list-style: none;
}

.project-points li {
  position: relative;
  padding-left: 20px;
}

.project-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tag-list span {
  border: 1px solid rgba(238, 244, 243, 0.14);
  border-radius: 999px;
  background: rgba(238, 244, 243, 0.06);
  color: #d9e6e3;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 10px;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.project-links a {
  color: var(--teal);
  font-weight: 900;
}

.project-links a::after {
  content: "↗";
  margin-left: 6px;
  font-size: 0.82em;
}

.project-grid {
  grid-template-columns: repeat(2, 1fr);
}

.project-card {
  overflow: hidden;
}

.project-card-image {
  height: 240px;
  background: #0a0f13;
  border-bottom: 1px solid var(--line);
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.project-card-body {
  padding: 24px;
}

.code-card {
  display: grid;
  grid-template-rows: 240px 1fr;
}

.code-window {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 240px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(57, 212, 189, 0.2), rgba(16, 24, 32, 0.04)),
    #0d141a;
  padding: 24px;
}

.code-card:hover .code-window span {
  animation: code-pulse 900ms ease both;
}

.code-card:hover .code-window span:nth-child(2) {
  animation-delay: 80ms;
}

.code-card:hover .code-window span:nth-child(3) {
  animation-delay: 160ms;
}

.code-card:hover .code-window span:nth-child(4) {
  animation-delay: 240ms;
}

.code-window span {
  display: block;
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(238, 244, 243, 0.12);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.22);
  color: #dce9e6;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.82rem, 2.8vw, 0.95rem);
  overflow: hidden;
  padding: 8px 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.code-window span:nth-child(2) {
  margin-left: 26px;
  color: var(--amber);
}

.code-window span:nth-child(3) {
  margin-left: 52px;
  color: var(--teal);
}

.code-window span:nth-child(4) {
  margin-left: 18px;
  color: var(--steel);
}

.code-window.python {
  background:
    linear-gradient(135deg, rgba(240, 179, 90, 0.22), rgba(16, 24, 32, 0.04)),
    #0d141a;
}

.code-window.notebook {
  background:
    linear-gradient(135deg, rgba(127, 176, 200, 0.2), rgba(16, 24, 32, 0.04)),
    #0d141a;
}

.code-window.finance {
  background:
    linear-gradient(135deg, rgba(57, 212, 189, 0.18), rgba(240, 179, 90, 0.12), rgba(16, 24, 32, 0.04)),
    #0d141a;
}

.timeline {
  display: grid;
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.workflow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 38px;
}

.workflow::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 28px;
  height: 2px;
  background: linear-gradient(90deg, rgba(57, 212, 189, 0.2), var(--teal), var(--amber), rgba(127, 176, 200, 0.28));
  transform-origin: left;
  animation: workflow-line 2.6s ease both;
}

.workflow-step {
  min-height: 234px;
  padding: 22px;
}

.workflow-step span {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(57, 212, 189, 0.36);
  border-radius: 50%;
  background: #0d171b;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 1000;
  box-shadow: 0 0 0 8px #101820;
}

.workflow-step h3 {
  margin-top: 22px;
  font-size: 1.1rem;
}

.workflow-step p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 34px;
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.timeline-date {
  color: var(--amber);
  font-weight: 900;
}

.timeline-item h3 {
  margin-top: 0;
}

.education-section {
  padding-bottom: 112px;
}

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

.education-grid article {
  min-height: 220px;
  padding: 24px;
}

.education-grid span {
  color: var(--amber);
  font-size: 0.86rem;
  font-weight: 900;
}

.contact-section {
  background: #0f171d;
  border-block: 1px solid var(--line);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 76px 0;
}

.contact-inner h2 {
  max-width: 820px;
}

.contact-inner p {
  max-width: 720px;
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 30px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.js [data-reveal-group] [data-reveal]:nth-child(2) {
  transition-delay: 90ms;
}

.js [data-reveal-group] [data-reveal]:nth-child(3) {
  transition-delay: 160ms;
}

.js [data-reveal-group] [data-reveal]:nth-child(4) {
  transition-delay: 230ms;
}

.js [data-reveal-group] [data-reveal]:nth-child(5) {
  transition-delay: 300ms;
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes grid-drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 64px 64px;
  }
}

@keyframes hero-sheen {
  0%,
  35% {
    transform: translateX(-110%);
  }
  68%,
  100% {
    transform: translateX(110%);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes workflow-line {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes code-pulse {
  0% {
    transform: translateX(0);
  }
  45% {
    transform: translateX(8px);
  }
  100% {
    transform: translateX(0);
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: 84svh;
  }

  .hero-inner,
  .split-section,
  .featured-project,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    align-items: start;
  }

  .profile-card {
    max-width: 560px;
  }

  .stats-band,
  .capability-grid,
  .education-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow::before {
    display: none;
  }

  .project-media {
    min-height: 360px;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

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

  .header-actions {
    gap: 8px;
  }

  .brand span:last-child {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    display: block;
  }

  .lang-button {
    min-width: 40px;
    padding: 0 8px;
  }

  .site-nav {
    position: fixed;
    inset: 76px 12px auto;
    display: grid;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(10, 15, 19, 0.98);
    box-shadow: var(--shadow);
    padding: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

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

  .hero {
    min-height: 0;
    padding: 118px 20px 54px;
  }

  .hero-bg {
    object-position: 64% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 11, 15, 0.96), rgba(7, 11, 15, 0.82)),
      linear-gradient(180deg, rgba(7, 11, 15, 0.12) 0%, #0b1014 96%);
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .stats-band,
  .capability-grid,
  .project-grid,
  .education-grid,
  .workflow {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding-top: 82px;
  }

  .split-section {
    gap: 28px;
  }

  .project-media,
  .project-card-image,
  .code-card {
    min-height: 250px;
  }

  .project-card-image,
  .code-window {
    height: 250px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tech-marquee {
    margin-top: 54px;
  }

  .tech-track {
    animation-duration: 24s;
  }

  .education-section {
    padding-bottom: 82px;
  }

  .contact-inner {
    padding: 64px 0;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  h1 {
    font-size: clamp(2.75rem, 18vw, 3.4rem);
  }

  .profile-card {
    grid-template-columns: 64px 1fr;
  }

  .profile-card img {
    width: 64px;
    height: 64px;
  }

  .capability,
  .project-card-body,
  .education-grid article,
  .project-content {
    padding: 20px;
  }

  .code-window {
    padding: 18px;
  }

  .code-window span:nth-child(n) {
    margin-left: 0;
  }
}

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

  .hero-copy,
  .profile-card,
  .hero::before,
  .hero::after,
  .tech-track,
  .workflow::before {
    animation: none !important;
  }

  .js [data-reveal],
  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
