.logo {
  z-index: 1000;
}

.logo svg {
  width: clamp(30px, 3vw, 40px);
  height: auto;
}

#primary-nav {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  background: var(--color-bg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  z-index: 10;
}

#primary-nav[data-open] {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

#primary-nav a {
  font-size: var(--text-sm);
  color: var(--color-text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.125em;
  transition: all 0.3s ease;
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

.burger-span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

@media (min-width: 768px) {
  #primary-nav {
    position: static;
    flex-direction: row;
    gap: var(--space-6);
    background: none;
    opacity: 1;
    pointer-events: all;
    transform: none;
    width: auto;
    height: auto;
  }

  #primary-nav a:hover {
    color: var(--color-text-muted);
  }

  .burger {
    display: none;
  }
}

.status-indicator {
  display: inline-flex;
  gap: var(--space-2);
  align-items: center;
  font-size: var(--text-sm);
  background-color: var(--color-surface);
  padding: var(--space-1) var(--space-2);
  margin-bottom: var(--space-1);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  box-shadow:
    3px 12px 25px rgba(0, 0, 0, 0.12),
    4px 8px 20px rgba(0, 0, 0, 0.08);
}

.indicator-icon svg {
  width: 1.25em;
  height: 1.25em;
  vertical-align: middle;
  color: #68e44a;
}

.hero-title {
  font-size: var(--text-2xl);
  font-family: var(--font-accent);
  font-weight: 800;
}

.hero-subheading {
  font-size: var(--text-md);
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  text-transform: uppercase;
}

.hero-btns a {
  color: inherit;
}

.hero-btn-1-wrapper {
  display: inline-flex;
  background: linear-gradient(
    40deg,
    #a8c4a1 0%,
    #214d66 40%,
    #0b151a 80%,
    #a8c4a1 100%
  );
  border-radius: 50px;
  padding: 2px;
  transition: all 0.3s ease;
}

.hero-btn-1 {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  white-space: nowrap;
  text-decoration: none;
  padding: var(--space-1) var(--space-2);
  background: var(--color-bg);
  border-radius: 50px;
}

.hero-btn-1 svg {
  width: 1em;
  height: 1em;
  vertical-align: middle;
  transition: all 0.3s ease;
}

.hero-btn-1:hover svg {
  transform: translateX(3px);
}

.hero-btn-2 {
  text-underline-offset: 6px;
  transition: all 0.3s ease;
}

.hero-btn-1-wrapper:hover,
.hero-btn-2:hover {
  transform: translateY(-4px);
}

.hero-btn-2:hover {
  color: var(--color-text-muted);
}

@media (min-width: 768px) {
  .status-indicator {
    font-size: var(--text-base);
  }

  .hero-title {
    font-size: var(--text-2xl);
  }

  .hero-subheading {
    font-size: var(--text-lg);
    margin-bottom: var(--space-4);
  }

  .hero-btns {
    gap: var(--space-6);
  }
}

.more-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.more-info h2 {
  font-size: var(--text-h2);
  flex: 2;
}

.more-info p {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  text-align: left;
  flex: 4;
}

@media (min-width: 768px) {
  .more-info {
    margin-bottom: var(--space-8);
  }

  .more-info h2 {
    text-align: center;
    padding-inline: var(--space-8);
  }

  .more-info p {
    max-width: 50ch;
    text-align: center;
  }
}

.highlighted-skills {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.highlighted-skills h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.skill {
  width: fit-content;
  background-color: var(--color-surface);
  border-radius: 8px;
  padding: var(--space-1) var(--space-2);
  font-size: var(--text-md);
}

@media (min-width: 768px) {
  .highlighted-skills {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-1);
    flex-wrap: wrap;
  }

  .highlighted-skills h2 {
    margin-bottom: var(--space-5);
    flex: 0 0 100%;
    text-align: center;
  }
}

.projects {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding-top: var(--space-3);
}

.project-titles {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.project-titles h2 {
  font-size: var(--text-h2);
}

.project-titles h3 {
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-text-muted);
}

.project-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  place-items: center;
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--color-surface);
}

.project-card {
  min-width: 300px;
  width: 100%;
  height: 450px;
  background-color: var(--color-surface);
  border-radius: 10px;
}

@media (min-width: 768px) {
  .project-cards {
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: var(--space-8);
  }
}

@media (min-width: 1200px) {
  .projects {
    padding: var(--space-8) var(--space-8) 0;
  }
}

.footer-content {
  padding-block: var(--space-4);
}

.footer-content p {
  order: 2;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-transform: uppercase;
  transition: all 0.3s ease;
  order: 1;
}

.footer-cta:hover {
  transform: translateX(4px);
  color: var(--color-text-muted);
}

.footer-cta svg {
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  color: var(--color-text);
  transition: all 0.3s ease;
}

.footer-cta:hover svg {
  color: var(--color-text-muted);
  transform: translateY(-5px);
}

@media (min-width: 768px) {
  .footer-content p {
    order: 1;
  }

  .footer-cta {
    order: 1;
  }
}

@media (min-width: 1200px) {
  .footer-content {
    padding: var(--space-5) var(--space-8);
  }
}
