@import url("https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600&display=swap");

@font-face {
  font-family: "Calibre";
  src: url("../fonts/Calibre/Calibre-Regular.woff2") format("woff2"),
    url("../fonts/Calibre/Calibre-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: auto;
}
@font-face {
  font-family: "Calibre";
  src: url("../fonts/Calibre/Calibre-Medium.woff2") format("woff2"),
    url("../fonts/Calibre/Calibre-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: auto;
}
@font-face {
  font-family: "Calibre";
  src: url("../fonts/Calibre/Calibre-Semibold.woff2") format("woff2"),
    url("../fonts/Calibre/Calibre-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: auto;
}
@font-face {
  font-family: "SF Mono";
  src: url("../fonts/SFMono/SFMono-Regular.woff2") format("woff2"),
    url("../fonts/SFMono/SFMono-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: auto;
}

:root {
  --dark-navy: #020c1b;
  --navy: #0a192f;
  --light-navy: #112240;
  --lightest-navy: #233554;
  --navy-shadow: rgba(2, 12, 27, 0.7);
  --dark-slate: #495670;
  --slate: #8892b0;
  --light-slate: #a8b2d1;
  --lightest-slate: #ccd6f6;
  --white: #e6f1ff;
  --green: #64ffda;
  --green-tint: rgba(100, 255, 218, 0.1);
  --font-sans: "Chakra Petch", "Inter", "San Francisco", "SF Pro Text", -apple-system,
    system-ui, sans-serif;
  --font-mono: "Chakra Petch", "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono",
    monospace;
  --fz-xxs: 12px;
  --fz-xs: 13px;
  --fz-sm: 14px;
  --fz-md: 16px;
  --fz-lg: 18px;
  --fz-xl: 20px;
  --fz-xxl: 22px;
  --fz-heading: 32px;
  --border-radius: 15px;
  --nav-height: 100px;
  --nav-scroll-height: 70px;
  --easing: cubic-bezier(0.645, 0.045, 0.355, 1);
  --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

html {
  box-sizing: border-box;
  width: 100%;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #151515;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

::selection {
  background-color: var(--lightest-navy);
  color: var(--lightest-slate);
}

:focus-visible {
  outline: 2px dashed var(--green);
  outline-offset: 3px;
}

::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-track {
  background: var(--navy);
}
::-webkit-scrollbar-thumb {
  background-color: var(--dark-slate);
  border: 3px solid var(--navy);
  border-radius: 10px;
}

body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  background-color: #151515;
  color: var(--slate);
  font-family: var(--font-sans);
  font-size: var(--fz-xl);
  line-height: 1.3;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  top: -10rem;
  left: -10rem;
  z-index: 300;
  width: calc(100% + 20rem);
  height: calc(100% + 20rem);
  pointer-events: none;
  background-image: url("https://upload.wikimedia.org/wikipedia/commons/5/5c/Image_gaussian_noise_example.png");
  opacity: 0.15;
  transform: translateZ(0);
}



body.menu-open {
  overflow: hidden;
}

body.menu-open #content > *,
body.menu-open .side {
  filter: blur(5px) brightness(0.7);
  pointer-events: none;
  user-select: none;
}

main {
  margin: 0 auto;
  width: 100%;
  max-width: 1600px;
  min-height: 100vh;
  padding: 200px 150px;
}

main.fillHeight {
  padding: 0 150px;
  counter-reset: section;
}

section {
  margin: 0 auto;
  padding: 100px 0;
  max-width: 1000px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--lightest-slate);
  line-height: 1.1;
}

p {
  margin: 0 0 15px;
}

a {
  display: inline-block;
  position: relative;
  color: inherit;
  text-decoration: none;
  text-decoration-skip-ink: auto;
  transition: var(--transition);
}

a:hover,
a:focus {
  color: var(--green);
}

p > a,
.inline-link {
  color: var(--green);
}

p > a::after,
.inline-link::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  position: relative;
  bottom: 0.37em;
  background-color: var(--green);
  opacity: 0.5;
  transition: var(--transition);
}

p > a:hover::after,
.inline-link:hover::after,
p > a:focus::after,
.inline-link:focus::after {
  width: 100%;
}

button {
  cursor: pointer;
  border: 0;
  border-radius: 0;
}

img,
svg {
  width: 100%;
  max-width: 100%;
  vertical-align: middle;
}

svg {
  height: 100%;
  fill: currentColor;
}

svg[fill="none"],
.project-links svg,
.side svg,
.contact-social svg,
.footer-social svg {
  fill: none;
}

code {
  font-family: var(--font-mono);
  font-size: var(--fz-md);
}

p > code,
li > code {
  background-color: var(--light-navy);
  color: var(--white);
  border-radius: var(--border-radius);
  padding: 0.3em 0.5em;
  font-size: var(--fz-sm);
}

.big-heading {
  margin: 0;
  font-size: clamp(40px, 8vw, 80px);
}

.medium-heading {
  margin: 0;
  font-size: clamp(40px, 8vw, 60px);
}

.numbered-heading {
  display: flex;
  align-items: center;
  position: relative;
  margin: 10px 0 40px;
  width: 100%;
  font-size: clamp(26px, 5vw, var(--fz-heading));
  white-space: nowrap;
}

.numbered-heading::before {
  counter-increment: section;
  content: "0" counter(section) ".";
  margin-right: 10px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: clamp(var(--fz-md), 3vw, var(--fz-xl));
  font-weight: 400;
}

.numbered-heading::after {
  content: "";
  display: block;
  position: relative;
  top: -5px;
  width: 300px;
  height: 1px;
  margin-left: 20px;
  background-color: var(--lightest-navy);
}

.subtitle {
  color: var(--green);
  margin: 0 0 20px;
  font-size: var(--fz-md);
  font-family: var(--font-mono);
  font-weight: 400;
  line-height: 1.5;
}

.overline {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: var(--fz-md);
  font-weight: 400;
}

.big-button,
.resume-button,
.resume-link,
.more-button,
.cta,
.skip-to-content {
  color: var(--green);
  background-color: transparent;
  border: 1px solid var(--green);
  border-radius: var(--border-radius);
  font-family: var(--font-mono);
  line-height: 1;
  text-decoration: none;
  transition: var(--transition);
}

.big-button {
  padding: 1.25rem 1.75rem;
  font-size: var(--fz-sm);
}

.resume-button,
.cta {
  padding: 0.75rem 1rem;
  font-size: var(--fz-xs);
}

.resume-link {
  padding: 18px 50px;
  font-size: var(--fz-sm);
}

.more-button {
  padding: 1.25rem 1.75rem;
  font-size: var(--fz-xs);
}

.big-button:hover,
.big-button:focus-visible,
.resume-button:hover,
.resume-button:focus-visible,
.resume-link:hover,
.resume-link:focus-visible,
.more-button:hover,
.more-button:focus-visible,
.cta:hover,
.cta:focus-visible {
  outline: none;
  box-shadow: 4px 4px 0 0 var(--green);
  transform: translate(-5px, -5px);
}

.skip-to-content {
  position: absolute;
  top: auto;
  left: -999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: -99;
  padding: 1.25rem 1.75rem;
}

.skip-to-content:focus {
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  overflow: auto;
  z-index: 99;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--dark-navy);
  transition: opacity 300ms var(--easing), visibility 300ms var(--easing);
}

.loader .logo-wrapper {
  width: clamp(96px, 18vw, 160px);
  animation: loaderPulse 1600ms var(--easing) forwards;
}

.loader-logo {
  display: block;
  width: 100%;
  height: auto;
}

body:not(.loading) .loader {
  opacity: 0;
  visibility: hidden;
}

@keyframes loaderPulse {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  30%,
  70% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.2);
  }
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 11;
  width: min(calc(100% - 48px), 1180px);
  height: 74px;
  padding: 0 28px;
  border: 1px solid rgba(204, 214, 246, 0.14);
  border-radius: 18px;
  background-color: rgba(21, 21, 21, 0.68);
  box-shadow: 0 18px 45px -24px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(15px) saturate(150%);
  -webkit-backdrop-filter: blur(15px) saturate(150%);
  transform: translateX(-50%);
  transition: var(--transition);
}

.site-header.scrolled {
  height: var(--nav-scroll-height);
  background-color: rgba(21, 21, 21, 0.78);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.82);
}

.site-header.hide {
  transform: translateX(-50%);
}

.site-nav,
.desktop-links,
.desktop-links ol,
.project-top,
.project-inner,
.footer,
.footer-social ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav {
  position: relative;
  background-color: transparent;
  width: 100%;
  height: 100%;
  color: var(--lightest-slate);
  font-family: var(--font-mono);
  z-index: 12;
}

.logo a {
  color: var(--green);
  display: flex;
  align-items: center;
  width: 137px;
  height: 42px;
}

.logo-image {
  display: block;
  width: 100%;
  height: 42px;
  object-fit: contain;
}


.desktop-links ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-links li {
  margin: 0 5px;
  font-size: var(--fz-xs);
}

.desktop-links li a {
  padding: 10px;
}

.desktop-links li span {
  margin-right: 5px;
  color: var(--green);
  font-size: var(--fz-xxs);
}

.resume-button {
  margin-left: 15px;
}

.menu-button,
.mobile-menu {
  display: none;
}

.side {
  position: fixed;
  bottom: 0;
  z-index: 10;
  width: 40px;
  color: var(--light-slate);
}

.side-left {
  left: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.side-right {
  right: 40px;
}

.side ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.side ul::after,
.side-left::after,
.side-right::after {
  content: "";
  display: block;
  width: 1px;
  height: 90px;
  margin: 0 auto;
  background-color: var(--light-slate);
}

.side li:last-of-type {
  margin-bottom: 20px;
}

.side a {
  padding: 10px;
}

.side a:hover,
.side a:focus {
  transform: translateY(-3px);
}

.side svg {
  width: 20px;
  height: 20px;
}

.scroll-battery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0 auto 20px;
  font-family: var(--font-mono);
  font-size: var(--fz-xxs);
  color: var(--light-slate);
}

.scroll-battery-percent {
  color: var(--green);
}

.scroll-battery-shell {
  display: flex;
  align-items: flex-end;
  position: relative;
  width: 13px;
  height: 110px;
  border: 1px solid var(--light-slate);
  border-radius: 25px;
  background-color: rgba(168, 178, 209, 0.08);
}

.scroll-battery-fill {
  display: block;
  width: 100%;
  height: 0;
  background-color: var(--green);
  border-radius: 25px;
  box-shadow: 0 0 12px rgba(100, 255, 218, 0.55);
  transition: height 120ms ease-out;
}

.side-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.side-right .side-timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 20px auto;
  font-family: var(--font-mono);
  font-size: var(--fz-xxs);
  line-height: var(--fz-lg);
  letter-spacing: 0.1em;
}

.side-right .timer-status,
.side-right [data-site-timer] {
  white-space: nowrap;
  writing-mode: vertical-rl;
}

.side-right .timer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
}

.timer-status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background-color: var(--green);
  animation: statusPulse 1.8s ease-out infinite;
}

@keyframes statusPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(100, 255, 218, 0.55);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(100, 255, 218, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(100, 255, 218, 0);
  }
}

.hero {
  display: flex;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  height: 100vh;
  padding: 0;
  overflow: hidden;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 0;
  width: 100vw;
  height: 100%;
  background-image:
    linear-gradient(rgba(100, 255, 218, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 255, 218, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0 0 30px 4px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: clamp(var(--fz-sm), 5vw, var(--fz-md));
  font-weight: 400;
}

.hero h3 {
  margin-top: 5px;
  color: var(--slate);
  line-height: 0.9;
}

.hero p {
  margin: 20px 0 0;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 50px;
  transform: translateX(18px);
}

.hero .big-button {
  margin-top: 0;
}

@media (min-width: 769px) {
  .hero {
    padding-top: 56px;
  }
}

.mobile-hero-status {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: var(--fz-xxs);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.about {
  max-width: 900px;
}

.about .inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 50px;
}

.skills-list,
.fancy-list {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.skills-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 200px));
  gap: 0 10px;
  overflow: hidden;
}

.skills-list li,
.fancy-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}

.skills-list li {
  padding-left: 20px;
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
}

.skills-list li::before,
.fancy-list li::before {
  content: "\25B9";
  position: absolute;
  left: 0;
  color: var(--green);
}

.about-pic {
  position: relative;
  max-width: 300px;
}

.about-pic .wrapper {
  display: block;
  position: relative;
  width: 100%;
  border-radius: var(--border-radius);
  background-color: transparent;
  box-shadow: 0 10px 30px -15px var(--navy-shadow);
  transition: var(--transition);
}

.about-pic .wrapper::before,
.about-pic .wrapper::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.about-pic .wrapper::before {
  display: none;
  top: 0;
  left: 0;
}

.about-pic .wrapper::after {
  border: 2px solid var(--green);
  top: 14px;
  left: 14px;
  z-index: -1;
}

.about-pic .img {
  position: relative;
  border-radius: var(--border-radius);
  mix-blend-mode: normal;
  filter: none;
  transition: var(--transition);
}

.about-pic .wrapper:hover {
  transform: translate(-4px, -4px);
}

.about-pic .wrapper:hover::after {
  transform: translate(8px, 8px);
}

.about-pic .wrapper:hover .img {
  filter: none;
  mix-blend-mode: normal;
}

.jobs {
  max-width: 930px;
}

.education {
  max-width: 930px;
}

.jobs .inner {
  width: 100%;
}

.job-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 54px;
  row-gap: 52px;
}

.job-panel {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  width: 100%;
  min-height: 230px;
  padding: 0;
}

.job-panel:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.job-marker {
  position: relative;
  display: flex;
  justify-content: center;
}

.job-marker::after {
  content: "";
  position: absolute;
  top: 72px;
  left: 50%;
  width: 1px;
  height: calc(100% - 72px);
  background: rgba(136, 146, 176, 0.16);
  transform: translateX(-50%);
}

.job-logo {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(136, 146, 176, 0.12);
  border-radius: 8px;
  background: rgba(17, 34, 64, 0.55);
  color: var(--lightest-slate);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
}

.job-logo.infora {
  color: var(--green);
}

.job-logo.innodata {
  color: #ffd166;
}

.job-content {
  padding-top: 2px;
}

.job-panel h3 {
  margin: 0 0 4px;
  font-size: var(--fz-xl);
  font-weight: 600;
  line-height: 1.3;
}

.job-panel h3 a {
  color: var(--green);
}

.job-panel h3 a:hover,
.job-panel h3 a:focus {
  color: var(--green);
}

.job-title {
  margin: 0 0 10px;
  color: var(--white);
  font-size: var(--fz-lg);
  font-weight: 600;
  line-height: 1.3;
}

.job-panel .range {
  margin: 0 0 22px;
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
  line-height: 1.2;
  letter-spacing: 0;
}

.job-panel .range span {
  color: var(--green);
}

.job-content > p:last-child {
  max-width: 380px;
  margin: 0;
  color: var(--light-slate);
  font-size: var(--fz-md);
  line-height: 1.45;
}

.education-inner {
  width: 100%;
}

.education-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 54px;
  row-gap: 52px;
  width: 100%;
  margin: 0;
}

.education-item {
  position: relative;
  display: block;
  width: 100%;
  min-height: 150px;
  padding: 0;
}

.education-title {
  margin: 0 0 10px;
  color: var(--lightest-slate);
  font-size: var(--fz-xl);
  font-weight: 600;
  line-height: 1.3;
}

.education-school,
.education-school a {
  color: var(--green);
}

.education-date {
  margin: 0 0 8px;
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
  line-height: 1.2;
  letter-spacing: 0;
}

.education-date:last-child {
  margin-bottom: 22px;
}

.education-item p:not(.education-date) {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--slate);
  font-size: var(--fz-md);
  line-height: 1.45;
}

.education-item ul {
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.education-item li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 18px;
  color: var(--slate);
  font-size: var(--fz-md);
  line-height: 1.4;
}

.education-item li::before {
  content: "\25B9";
  position: absolute;
  left: 4px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: var(--fz-sm);
  line-height: 1.8;
}

.featured-grid,
.projects-grid,
.posts-grid {
  padding: 0;
  margin: 0;
  list-style: none;
}

.featured-project {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
  align-items: center;
}

.featured-project:not(:last-of-type) {
  margin-bottom: 100px;
}

.featured-project .project-content {
  position: relative;
  grid-column: 1 / 7;
  grid-row: 1 / -1;
}

.featured-project:nth-of-type(odd) .project-content {
  grid-column: 7 / -1;
  text-align: right;
}

.project-overline {
  margin: 10px 0;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
}

.project-title {
  color: var(--lightest-slate);
  font-size: clamp(24px, 5vw, 28px);
}

.featured-project .project-title {
  margin: 0 0 20px;
}

.project-description {
  color: var(--light-slate);
  font-size: 17px;
}

.featured-project .project-description {
  position: relative;
  z-index: 2;
  padding: 25px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(204, 214, 246, 0.16);
  background-color: rgba(17, 34, 64, 0.62);
  backdrop-filter: blur(15px) saturate(145%);
  -webkit-backdrop-filter: blur(15px) saturate(145%);
  color: var(--light-slate);
  font-size: var(--fz-lg);
  box-shadow: 0 18px 42px -24px rgba(2, 12, 27, 0.9);
}

.project-tech-list {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  margin: 25px 0 10px;
  padding: 0;
  list-style: none;
}

.project-tech-list li {
  margin: 0 20px 5px 0;
  color: var(--light-slate);
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
  white-space: nowrap;
}

.featured-project:nth-of-type(odd) .project-tech-list,
.featured-project:nth-of-type(odd) .project-links {
  justify-content: flex-end;
}

.project-links {
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 10px;
  margin-left: -10px;
  color: var(--lightest-slate);
}

.project-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 0;
}

.project-links svg,
.project-modal-links svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}

.featured-project .project-image {
  grid-column: 6 / -1;
  grid-row: 1 / -1;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 30px -15px var(--navy-shadow);
  transition: var(--transition);
}

.featured-project:nth-of-type(odd) .project-image {
  grid-column: 1 / 8;
}

.project-image a {
  width: 100%;
  height: 100%;
  background-color: transparent;
  border-radius: var(--border-radius);
}

.project-image a::before {
  content: "";
  display: none;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: var(--transition);
}

.project-image .img {
  border-radius: var(--border-radius);
  mix-blend-mode: normal;
  filter: none;
}

.project-image a:hover::before,
.project-image a:focus::before {
  background: transparent;
}

.project-image a:hover .img,
.project-image a:focus .img {
  filter: none;
}

.projects {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.projects h2 {
  font-size: clamp(24px, 5vw, var(--fz-heading));
}

.archive-link {
  font-family: var(--font-mono);
  font-size: var(--fz-sm);
}

.projects-grid,
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
  position: relative;
  margin-top: 50px;
  width: 100%;
}

.project-card {
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.project-card:nth-child(n + 7) {
  display: none;
}

.projects.show-all .project-card {
  display: block;
}
/* dont touch this */
/* .project-card:hover .project-inner,
.project-card:focus-within .project-inner,
.post-card:hover .post-inner {
  transform: translateY(-7px);
} */

/* .project-card:hover .project-inner,
.project-card:focus-within .project-inner {
  box-shadow: 0 0 28px -10px rgba(124, 58, 237, 0.72), 0 0 20px -12px rgba(100, 255, 218, 0.55);
} */

.project-inner,
.post-inner {
  overflow: hidden;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  height: 100%;
  padding: 2rem 1.75rem;
  border-radius: var(--border-radius);
  background-color: var(--light-navy);
  box-shadow: 0 10px 30px -15px var(--navy-shadow);
  transition: var(--transition);
}

.project-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(100, 255, 219, 0.233));
  opacity: 0;
  transition: opacity 0.25s var(--easing);
  pointer-events: none;
}

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

.project-inner > *,
.post-inner > * {
  position: relative;
  z-index: 1;
}

.project-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  margin-bottom: 35px;
}

.project-top .project-links {
  justify-content: flex-end;
  
  flex-shrink: 0;
  width: 92px;
  margin-top: -10px;
  margin-left: 0;
  margin-right: -10px;
}

.folder {
  color: var(--green);
}

.folder svg,
.post-icon svg {
  width: 40px;
  height: 40px;
}

.project-card .project-title,
.post-title {
  margin: 0 0 10px;
  color: var(--lightest-slate);
  font-size: var(--fz-xxl);
}

.project-card .project-title a,
.post-title a {
  position: static;
}

.post-title a::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
}

.project-card .project-title a::before {
  display: none;
}

.project-card .project-description {
  display: none;
}

.project-card .project-tech-list {
  flex-grow: 1;
  margin: 20px 0 0;
}

.project-card .project-tech-list li {
  font-size: var(--fz-xxs);
  line-height: 1.75;
}

.more-button {
  margin: 80px auto 0;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 12, 27, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--easing), visibility 0.25s var(--easing);
}

.project-modal.open {
  opacity: 1;
  visibility: visible;
}

.project-modal-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: 30px;
  width: min(100%, 860px);
  max-height: min(82vh, 760px);
  overflow-y: auto;
  padding: 34px;
  border: 1px solid rgba(204, 214, 246, 0.18);
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, rgba(17, 34, 64, 0.78), rgba(124, 58, 237, 0.18));
  box-shadow: 0 30px 80px -35px rgba(2, 12, 27, 0.9);
  backdrop-filter: blur(15px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s var(--easing);
}

.project-modal.open .project-modal-card {
  transform: translateY(0) scale(1);
}

.project-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(100, 255, 218, 0.32);
  border-radius: var(--border-radius);
  color: var(--green);
  background: rgba(10, 25, 47, 0.6);
}

.project-modal-close:hover,
.project-modal-close:focus-visible {
  background: var(--green-tint);
}

.project-modal-title {
  margin: 0 48px 20px 0;
  color: var(--lightest-slate);
  font-size: clamp(24px, 5vw, 32px);
}

.project-modal-media,
.project-modal-copy {
  min-width: 0;
}

.project-modal-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(204, 214, 246, 0.14);
  border-radius: var(--border-radius);
  background: rgba(10, 25, 47, 0.5);
  box-shadow: 0 20px 55px -36px rgba(2, 12, 27, 1);
}

.project-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-modal-description {
  color: var(--light-slate);
  font-size: var(--fz-lg);
  line-height: 1.5;
}

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

.project-modal-description a {
  color: var(--green);
}

.project-modal-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.project-modal-tech-list li {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
}

.project-modal-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  color: var(--lightest-slate);
}

.project-modal-links a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
}


.contact {
  max-width: 600px;
  margin: 0 auto 100px;
  text-align: center;
}

.contact .overline {
  display: block;
  margin-bottom: 20px;
}

.contact .overline::after {
  display: none;
}

.contact .title {
  font-size: clamp(40px, 5vw, 60px);
}

.contact .big-button {
  margin-top: 50px;
}

.contact-email {
  display: inline-block;
  margin-top: 14px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: var(--fz-sm);
  overflow-wrap: anywhere;
}

.contact-address {
  margin: 12px 0 0;
  color: var(--light-slate);
  font-family: var(--font-mono);
  font-size: var(--fz-sm);
}

.contact-social {
  margin-top: 30px;
  color: var(--light-slate);
}

.contact-social ul {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.contact-social a {
  padding: 10px;
}

.contact-social a:hover,
.contact-social a:focus {
  transform: translateY(-3px);
}

.contact-social svg {
  width: 22px;
  height: 22px;
}

.gallery-page {
  max-width: 1280px;
  min-height: 100vh;
}

.gallery-hero {
  min-height: 5vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 52px;
}

.gallery-hero .overline {
  display: block;
  margin: 0 0 18px;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: var(--fz-sm);
}

.gallery-hero .overline::after {
  display: none;
}

.gallery-hero h1 {
  margin: 0;
}

.gallery-hero p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--light-slate);
}

.gallery-shell {
  width: 100%;
  margin: 0 auto 90px;
  padding: 28px;
  border: 1px solid rgba(204, 214, 246, 0.14);
  border-radius: 15px;
  background: linear-gradient(
    135deg,
    rgba(17, 34, 64, 0.68),
    rgba(10, 25, 47, 0.42)
  );
  box-shadow: 0 24px 70px -36px rgba(2, 12, 27, 0.95);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.gallery-toolbar .numbered-heading {
  margin: 0;
}

.gallery-count {
  flex-shrink: 0;
  color: var(--green);
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 190px;
  gap: 16px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(204, 214, 246, 0.12);
  border-radius: 8px;
  background: rgba(17, 34, 64, 0.52);
  box-shadow: 0 18px 42px -28px rgba(2, 12, 27, 0.9);
  color: inherit;
  cursor: pointer;
}

.gallery-card-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-card-wide {
  grid-column: span 2;
}

.gallery-card-tall {
  grid-row: span 2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  filter: none;
  transition: transform 0.35s var(--easing);
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.06);
}

.gallery-card:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 16px;
  padding: 28px;
  background: rgba(2, 12, 27, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--easing), visibility 0.25s var(--easing);
}

.gallery-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox-panel {
  position: relative;
  display: grid;
  place-items: center;
  max-width: min(100%, 1100px);
  max-height: min(82vh, 760px);
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(204, 214, 246, 0.16);
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    rgba(17, 34, 64, 0.7),
    rgba(10, 25, 47, 0.48)
  );
  box-shadow: 0 30px 90px -36px rgba(2, 12, 27, 1);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

.gallery-lightbox-image {
  max-width: 100%;
  max-height: calc(82vh - 36px);
  border-radius: 8px;
  object-fit: contain;
}

.gallery-lightbox-nav {
  display: grid;
  place-items: center;
  border: 1px solid rgba(100, 255, 218, 0.26);
  border-radius: 50px;
  background: rgba(10, 25, 47, 0.58);
  color: var(--green);
  font-family: var(--font-mono);
  transition: var(--transition);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.gallery-lightbox-nav:hover,
.gallery-lightbox-nav:focus-visible {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(100, 255, 219, 0.233));
}

.gallery-lightbox-nav {
  width: 58px;
  height: 58px;
  font-size: 24px;
}

.footer {
  flex-direction: column;
  min-height: 70px;
  padding: 15px;
  text-align: center;
}

.footer-social {
  display: none;
}

.footer a {
  padding: 10px;
  color: var(--light-slate);
  font-family: var(--font-mono);
  font-size: var(--fz-xxs);
  line-height: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  color: var(--green);
}

.breadcrumb .arrow {
  display: block;
  margin-right: 10px;
  padding-top: 4px;
}

.breadcrumb a {
  font-family: var(--font-mono);
  font-size: var(--fz-sm);
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.table-container {
  margin: 100px -20px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

tbody tr:hover {
  background-color: var(--light-navy);
}

th,
td {
  padding: 10px;
  text-align: left;
}

td:first-child,
th:first-child {
  padding-left: 20px;
}

td:last-child,
th:last-child {
  padding-right: 20px;
}

td.year {
  padding-right: 20px;
}

td.title {
  padding-top: 15px;
  padding-right: 20px;
  color: var(--lightest-slate);
  font-size: var(--fz-xl);
  font-weight: 600;
  line-height: 1.25;
}

td.company {
  font-size: var(--fz-lg);
  white-space: nowrap;
}

td.tech {
  font-size: var(--fz-xxs);
  font-family: var(--font-mono);
  line-height: 1.5;
}

td.tech .separator {
  margin: 0 5px;
}

td.tech span {
  display: inline-block;
}

td.links {
  min-width: 100px;
}

td.links div {
  display: flex;
  align-items: center;
}

td.links a {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

td.links a + a {
  margin-left: 10px;
}

.pensieve > header {
  margin-bottom: 100px;
  text-align: center;
}

.post-card {
  transition: var(--transition);
}

.post-inner {
  justify-content: space-between;
}

.post-inner header,
.post-inner a {
  width: 100%;
}

.post-icon {
  color: var(--green);
  margin-bottom: 30px;
  margin-left: -5px;
}

.post-desc {
  color: var(--light-slate);
  font-size: 17px;
}

.post-date {
  color: var(--light-slate);
  font-family: var(--font-mono);
  font-size: var(--fz-xxs);
  text-transform: uppercase;
}

.post-tags {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.post-tags li {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: var(--fz-xxs);
  line-height: 1.75;
}

.post-tags li:not(:last-child) {
  margin-right: 15px;
}

.tags {
  max-width: 1000px;
}

.tags h1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.tags h1 a {
  font-size: var(--fz-lg);
  font-weight: 400;
}

.tags li {
  font-size: 24px;
}

.tags li h2 {
  font-size: inherit;
  margin: 0;
}

.tags .subtitle {
  color: var(--slate);
  font-size: var(--fz-sm);
}

.tags .tag,
.post .tag {
  margin-right: 10px;
}

.post {
  max-width: 1000px;
}

.post header {
  margin-bottom: 50px;
}

.post-content {
  margin-bottom: 100px;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  margin: 2em 0 1em;
}

.post-content p,
.post-content li {
  line-height: 1.5;
  color: var(--light-slate);
}

.post-content p {
  margin: 1em 0;
}

.post-content img {
  margin: 2em 0;
  border-radius: var(--border-radius);
}

.code-highlight {
  background-color: #112340;
  color: #a2aabc;
  border-radius: var(--border-radius);
  margin: 2em 0;
  padding: 1.25em;
  overflow: auto;
  position: relative;
  font-family: var(--font-mono);
  font-size: var(--fz-md);
}

.code-highlight pre {
  min-width: 100%;
  margin: 0;
  padding: 2em 0 0;
  background-color: transparent;
  font-size: var(--fz-sm);
  line-height: 1.5;
  white-space: pre;
}

.code-highlight pre::before {
  background: var(--lightest-navy);
  color: var(--white);
  font-size: var(--fz-xxs);
  font-family: var(--font-mono);
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0 0 3px 3px;
  position: absolute;
  top: 0;
  left: 1.25rem;
  padding: 0.25rem 0.5rem;
}

.language-js::before,
.language-javascript::before {
  content: "js";
}
.language-html::before {
  content: "html";
}
.language-css::before {
  content: "css";
}
.language-shell::before,
.language-sh::before,
.language-bash::before {
  content: "shell";
}
.language-yaml::before {
  content: "yaml";
}

.code-title {
  padding: 1em 1.5em;
  font-family: var(--font-mono);
  font-size: var(--fz-xs);
  background-color: #112340;
  color: #a2aabc;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
  border-bottom: 1px solid #1d2d50;
}

.code-title + .code-highlight {
  margin-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms var(--easing), transform 500ms var(--easing);
}

.reveal.visible,
.no-js .reveal {
  opacity: 1;
  transform: translateY(0);
}

.not-found {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .loader {
    display: none;
  }
}

@media (max-width: 1080px) {
  main,
  main.fillHeight {
    padding-left: 100px;
    padding-right: 100px;
  }

  .site-header {
    width: min(calc(100% - 36px), 1180px);
    padding: 0 24px;
  }

  .side-left {
    left: 20px;
  }

  .side-right {
    right: 20px;
  }

  .numbered-heading::after {
    width: 200px;
  }

  .featured-project .project-content {
    grid-column: 1 / 9;
  }

  .featured-project:nth-of-type(odd) .project-content {
    grid-column: 5 / -1;
  }

  .projects-grid,
  .posts-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

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

@media (max-width: 900px) {
  .job-list {
    grid-template-columns: 1fr;
    row-gap: 58px;
  }

  .education-list {
    grid-template-columns: 1fr;
    row-gap: 58px;
  }

  .job-content > p:last-child {
    max-width: none;
  }
}

@media (max-width: 768px) {
  body {
    font-size: var(--fz-lg);
  }

  main {
    padding: 150px 50px;
  }

  main.fillHeight {
    padding: 0 50px;
  }

  section {
    padding: 80px 0;
  }

  .site-header {
    top: 12px;
    width: calc(100% - 24px);
    height: 66px;
    padding: 0 18px;
    border-radius: 16px;
  }

  .desktop-links,
  .side {
    display: none;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-resume-button {
    display: none;
  }

  .mobile-hero-status {
    display: inline-flex;
  }

  .menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    margin-right: -15px;
    padding: 15px;
    background-color: transparent;
    color: inherit;
  }

  .menu-button span,
  .menu-button span::before,
  .menu-button span::after {
    display: block;
    width: 30px;
    height: 2px;
    border-radius: var(--border-radius);
    background-color: var(--green);
    transition: var(--transition);
  }

  .menu-button span {
    position: relative;
  }

  .menu-button span::before,
  .menu-button span::after {
    content: "";
    position: absolute;
    right: 0;
  }

  .menu-button span::before {
    top: -10px;
    width: 120%;
  }

  .menu-button span::after {
    bottom: -10px;
    width: 80%;
  }

  .menu-button.open span {
    transform: rotate(225deg);
  }

  .menu-button.open span::before {
    top: 0;
    opacity: 0;
  }

  .menu-button.open span::after {
    bottom: 0;
    width: 100%;
    transform: rotate(-90deg);
  }

  .mobile-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: min(75vw, 400px);
    height: 100vh;
    padding: 50px 10px;
    outline: 0;
    background-color: var(--light-navy);
    box-shadow: -10px 0 30px -15px var(--navy-shadow);
    z-index: 9;
    transform: translateX(100vw);
    visibility: hidden;
    transition: var(--transition);
  }

  .mobile-menu.open {
    transform: translateX(0);
    visibility: visible;
  }

  .mobile-menu nav {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    color: var(--lightest-slate);
    font-family: var(--font-mono);
    text-align: center;
  }

  .mobile-menu ol {
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .mobile-menu li {
    margin: 0 auto 20px;
    font-size: clamp(var(--fz-sm), 4vw, var(--fz-lg));
  }

  .mobile-menu li span {
    display: block;
    margin-bottom: 5px;
    color: var(--green);
    font-size: var(--fz-sm);
  }

  .mobile-menu a {
    width: 100%;
    padding: 3px 20px 20px;
  }

  .mobile-menu .resume-link {
    width: max-content;
    margin: 10% auto 0;
    padding: 18px 50px;
  }

  .numbered-heading::after {
    width: 100%;
  }

  .about .inner {
    display: block;
  }

  .about-pic {
    width: 70%;
    margin: 50px auto 0;
  }

  .featured-project {
    box-shadow: 0 10px 30px -15px var(--navy-shadow);
  }

  .featured-project .project-content,
  .featured-project:nth-of-type(odd) .project-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    grid-column: 1 / -1;
    padding: 40px 40px 30px;
    text-align: left;
    z-index: 5;
  }

  .featured-project .project-title {
    color: var(--white);
  }

  .featured-project .project-description {
    padding: 20px;
    background-color: rgba(17, 34, 64, 0.7);
    box-shadow: 0 18px 42px -24px rgba(2, 12, 27, 0.9);
  }

  .featured-project .project-tech-list,
  .featured-project:nth-of-type(odd) .project-tech-list,
  .featured-project:nth-of-type(odd) .project-links {
    justify-content: flex-start;
  }

  .featured-project .project-tech-list li {
    margin: 0 10px 5px 0;
    color: var(--lightest-slate);
  }

  .featured-project .project-image,
  .featured-project:nth-of-type(odd) .project-image {
    grid-column: 1 / -1;
    height: 100%;
    opacity: 0.25;
  }

  .project-image .img {
    object-fit: cover;
    width: auto;
    height: 100%;
    filter: none;
  }

  .contact {
    margin: 0 auto 50px;
  }

  .hide-on-mobile {
    display: none;
  }

  .table-container {
    margin: 50px -10px;
  }

  .gallery-hero {
    min-height: 48vh;
    padding-bottom: 45px;
  }

  .gallery-shell {
    padding: 20px;
  }

  .gallery-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 180px;
  }

  .gallery-card-large,
  .gallery-card-tall,
  .gallery-card-wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-lightbox {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    gap: 14px;
  }

  .gallery-lightbox-panel {
    width: 100%;
    max-height: 72vh;
  }

  .gallery-lightbox-image {
    max-height: calc(72vh - 36px);
  }

  .gallery-lightbox-nav {
    width: 52px;
    height: 52px;
  }

  .gallery-lightbox-prev {
    justify-self: start;
    grid-column: 1;
    grid-row: 2;
    margin-left: 34px;
  }

  .gallery-lightbox-next {
    justify-self: end;
    grid-column: 1;
    grid-row: 2;
    margin-right: 34px;
  }
}

@media (max-width: 600px) {
  .job-list {
    gap: 46px;
  }

  .education-list {
    gap: 46px;
  }

  .job-panel {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
    min-height: 0;
  }

  .job-logo {
    width: 58px;
    height: 58px;
    font-size: 15px;
  }

  .job-marker::after {
    top: 58px;
    height: calc(100% - 58px);
  }

  .job-content {
    padding-top: 2px;
  }

  .job-title {
    font-size: var(--fz-lg);
  }

  .job-panel .range {
    margin-bottom: 18px;
    font-size: var(--fz-xs);
  }

  .project-modal-media,
  .project-modal-image {
    display: none;
  }

  .project-modal-card {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .project-modal-copy {
    grid-column: 1 / -1;
    text-align: left;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .gallery-lightbox {
    padding: 18px;
  }

  .gallery-lightbox-panel {
    padding: 12px;
  }

}

@media (max-width: 480px) {
  main {
    padding: 125px 25px;
  }

  main.fillHeight {
    padding: 0 25px;
  }

  section {
    padding: 60px 0;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .big-button {
    padding: 1rem 1.1rem;
    font-size: var(--fz-xxs);
  }

  .project-modal {
    padding: 18px;
  }

  .project-modal-card {
    display: block;
    padding: 28px 22px;
  }

  .project-modal-media {
    display: none;
  }

  .project-modal-copy {
    margin-top: 0;
  }

  .gallery-shell {
    padding: 14px;
    margin-bottom: 60px;
  }

  .gallery-grid {
    grid-auto-rows: 220px;
    gap: 12px;
  }

  .hero h1 {
    margin: 0 0 20px 2px;
  }

  .featured-project:not(:last-of-type) {
    margin-bottom: 30px;
  }

  .featured-project .project-content,
  .featured-project:nth-of-type(odd) .project-content {
    padding: 30px 25px 20px;
  }

  td:first-child,
  th:first-child {
    padding-left: 10px;
  }

  td:last-child,
  th:last-child {
    padding-right: 10px;
  }
}
