@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  font-family: 'Plus Jakarta Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f4f1;
  color: #1f1f1f;
  font-size: 16px;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #f5f4f1;
  /* Custom cursor: replace the SVG below with your rocket image */
  cursor: url('assets/rocketcursor.png') 12 12, auto;
}

button, a {
  font: inherit;
  cursor: url('assets/rocketcursor.png') 12 12, auto;
}

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

.hidden {
  display: none;
}

main {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.hero__content {
  max-width: 900px;
  margin: 0 auto;
}

.hero__intro {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 40px;
  flex-wrap: nowrap;
}

.hero__hero-copy {
  flex: 1 1 0;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero__copy-text {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-start;
  min-height: 100%;
}

.hero__actions {
  position: absolute;
  right: 0;
  bottom: 0;
}

.hero__content h1 {
  margin: 0 0 40px;
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: -0.05em;
  text-align: center;
}

.hero__text {
  color: #5f5f5f;
  max-width: 560px;
  margin: 0;
  font-size: 1.05rem;
  text-align: left;
}

.hero__lead {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  color: #1f1f1f;
  line-height: 1.1;
  margin-bottom: 14px;
}

.hero__photo-wrap {
  width: min(420px, 90vw);
  margin: 0;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(33, 32, 30, 0.08);
  background: #e7e3df;
}


.hero__links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.button {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: url('assets/rocketcursor.png') 12 12, auto;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
  text-decoration: none;
  color: inherit;
}

.button:hover {
  transform: translateY(-3px);
}

.button--primary {
  background: #1f1f1f;
  color: #fff;
  border-color: #1f1f1f;
}

.button--primary:hover {
  background: #313131;
  border-color: #313131;
}

.button--secondary {
  background: transparent;
  color: #1f1f1f;
  border-color: #d5d0ca;
}

.button--secondary:hover {
  background: transparent;
  color: #1f1f1f;
  border-color: transparent;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #1f1f1f;
  text-decoration: none;
  background: transparent;
  border: none;
  transition: color 220ms ease, transform 220ms ease;
}

.icon-link:hover {
  color: #1f1f1f;
  transform: translateY(-3px);
}

.icon-link svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.button--icon {
  padding: 13px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button--icon svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.top-right-links {
  position: fixed;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 10px;
  z-index: 20;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 244, 241, 0.97);
  backdrop-filter: blur(12px);
  padding: 18px 0;
}

.nav-buttons {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 6px;
}

.nav-indicator {
  position: absolute;
  top: 6px;
  left: 0;
  height: calc(100% - 12px);
  background: #e7e3df;
  border-radius: 999px;
  transition: left 250ms ease, width 250ms ease;
  pointer-events: none;
  z-index: 0;
}

.nav-button {
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  padding: 12px 22px;
  color: #5f5f5f;
  cursor: url('assets/rocketcursor.png') 12 12, auto;
  border-radius: 999px;
  transition: color 180ms ease;
}

.nav-button:hover {
  color: #000000;
  background: #e7e3df;
  border-color: #e7e3df;
}

.nav-button--active {
  color: #000000;
}

.content-section {
  padding-top: 16px;
}

.resume-image-wrap {
  display: grid;
  place-items: center;
  padding: 40px 0 20px;
  gap: 24px;
}

.resume-image-wrap img {
  width: min(100%, 960px);
  height: auto;
  display: block;
  border-radius: 24px;
  box-shadow: 0 28px 60px rgba(33, 32, 30, 0.08);
}

.resume-download {
  min-width: 220px;
}

.section-header {
  max-width: 780px;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: clamp(2.25rem, 5vw, 3rem);
  margin-bottom: 16px;
}

.section-header p {
  margin: 0;
  color: #5f5f5f;
  font-size: 1rem;
}

.project {
  display: grid;
  gap: 28px;
  align-items: start;
  margin-bottom: 60px;
}

.project--left {
  grid-template-columns: 1.1fr 0.9fr;
}

.project--right {
  grid-template-columns: 0.95fr 1.05fr;
}

.project__text {
  max-width: 540px;
}

.project__text h3 {
  margin: 0 0 0;
  font-size: 1.9rem;
}

.project__text p.project__date {
  margin: -1px 0 18px;
  font-size: 0.95rem;
  line-height: 1.4;
  font-style: italic;
}
.project__date-divider {
  font-style: normal;
}
.project__text p {
  color: #5f5f5f;
  margin: 0;
  font-size: 1rem;
}

.project__text ul {
  color: #5f5f5f;
  margin: 8px 0 0 18px;
  padding-left: 20px;
  list-style-position: outside;
  list-style-type: disc;
  font-size: 1rem;
  font-weight: 400;
}

.project__text ul li {
  margin-bottom: 8px;
  color: #5f5f5f;
}

.project__text ul li::marker {
  color: #5f5f5f;
}

.project__image-wrap {
  border-radius: 24px;
  overflow: visible;
  box-shadow: 0 24px 46px rgba(33, 32, 30, 0.08);
  background: linear-gradient(135deg, #ece8e4 0%, #f5f1ed 100%);
}

.project__carousel {
  display: grid;
  position: relative;
  align-items: center;
  justify-items: center;
  padding: 16px;
  background: #fff;
}

.project__video {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 20px;
  display: block;
}

.carousel__viewport {
  width: 100%;
  max-width: 520px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  width: 100%;
  transition: transform 550ms ease;
  align-items: center;
}

.carousel__slide {
  width: 100%;
  display: block;
  max-height: 100%;
  border-radius: 20px;
  object-fit: contain;
}

.carousel__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #858282;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
  padding: 0;
  z-index: 999;
  cursor: url('assets/rocketcursor.png') 12 12, url('assets/rocket-cursor.svg') 12 12, auto;
  transition: transform 200ms ease, color 160ms ease, background-color 160ms ease;
}

.carousel__control:hover {
  background-color: transparent;
  font-size: 3rem;
  background-color: transparent;
  /* scale up smoothly while preserving the vertical centering translateY */
  transform: translateY(-50%) scale(1.08);
  color: #000;
}

.carousel__control--left {
  left: -32px;
}

.carousel__control--right {
  right: -32px;
}

.carousel__progress {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  height: 4px;
  background: transparent;
  border-radius: 999px;
  overflow: hidden;
}

.carousel__progress-bar {
  position: relative;
  display: block;
  height: 100%;
  background: #858282;
  box-shadow:
    100% 0 0 0 #858282,
    200% 0 0 0 #858282,
    300% 0 0 0 #858282,
    400% 0 0 0 #858282;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateX(0%);
  will-change: transform;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 46px rgba(33, 32, 30, 0.05);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 16px;
}

.card p {
  margin: 0;
  color: #5f5f5f;
}

@media (max-width: 860px) {
  .project--left,
  .project--right {
    grid-template-columns: 1fr;
  }

  .project {
    gap: 20px;
  }
}

@media (max-width: 860px) {
  .hero__intro {
    flex-direction: column;
    align-items: center;
  }

  .hero__hero-copy,
  .hero__photo-wrap {
    width: min(100%, 500px);
  }

  .hero__hero-copy {
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .hero__text {
    font-size: 1rem;
  }

  .button {
    width: 100%;
    text-align: center;
  }

  .hero__links {
    flex-direction: column;
  }
}