/* ==========================================================================
   Navigation — port of the homepage nav (.navigation-2) on dsgnmate.webflow.io
   --------------------------------------------------------------------------
   Home pinned left; Work / About / Partner With Me follow it, spread with
   justify-content: space-between so the links fill the bar and the last one
   sits flush against the right edge — shown as a single horizontal row at
   every width.

   DEVIATION from the reference: the reference (and this file, previously)
   collapsed to a hamburger + full-screen overlay below 768px. Removed at the
   user's request so the full nav is visible on mobile too. The overlay's
   Email / LinkedIn quick-links moved to the footer (css/footer.css) so that
   functionality isn't lost.

   DEVIATION: the last nav item is "Partner With Me" — uppercase, DM Sans
   Semi Bold, underlined, anchoring to #cta — instead of the reference's
   "Contact" link to the footer.
   ========================================================================== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-beige-primary);
  background-image: url("../images/off-white-background.jpg");
  background-position: 50%;
  background-size: cover;
}

.navigation {
  display: flex;
  align-items: center;
  padding: 12px 1em;
}

.nav-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  row-gap: 10px;
  margin: 20px 0;
}

/* --------------------------------------------------------------------------
   Links
   -------------------------------------------------------------------------- */
.home-link,
.nav-link {
  color: var(--color-soft-black);
  font-family: var(--font-family-primary);
  font-size: 16px;
  font-weight: 300;
  /* Matches the reference's 21px link box */
  line-height: 1.3;
  text-decoration: none;
  transition: opacity var(--transition-base);
}

.home-link {
  font-weight: 400;
  letter-spacing: -.01em;
}

.nav-link {
  letter-spacing: 0;
  text-transform: none;
}

.home-link:hover,
.home-link:focus-visible,
.nav-link:hover,
.nav-link:focus-visible {
  opacity: .5;
}

/* Collapsed so Work / About / Partner With Me become direct flex items of
   .nav-wrapper — with Home, that lets justify-content: space-between on
   .nav-wrapper spread all four evenly across the full width. */
.nav-link-wrapper {
  display: contents;
}

.nav-link.is-cta {
  font-family: var(--font-family-dm-sans);
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: underline;
  letter-spacing: 2px;
  color: #1D3557;
}

/* --------------------------------------------------------------------------
   480px and up
   FIX: the reference leaves .navigation-2 on 4em side padding at every width,
   so a 390px phone gets 56px gutters while every other section uses 1rem. The
   mobile paddings it defined on .navigation (25px, then 1em) are applied here.
   -------------------------------------------------------------------------- */
@media (min-width: 480px) {
  .navigation { padding-left: 25px; padding-right: 25px; }
}

/* --------------------------------------------------------------------------
   768px and up
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  .navigation { padding: 25px 2em; }
}

/* --------------------------------------------------------------------------
   992px and up
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  .navigation { padding: 0px 4em; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .home-link,
  .nav-link {
    transition: none;
  }
}
