/* GIFTEd — shared site chrome: navigation, purple CTA block, footer. Loaded on every page. */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(20, 60, 75, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.2s ease, box-shadow 0.3s ease;
}

.site-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-main {
  height: 90px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

.nav-logo-wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  display: block;
  height: 34px;
  width: auto;
}

.nav-logo-wordmark-sub {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: none;
  white-space: nowrap;
}

.nav-right {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding-left: 40px;
}


@media (max-width: 1100px) {
.nav-logo-wordmark-sub { display: none; }
}


@media (max-width: 1180px) {
.nav-main  { padding: 0 32px; }

.nav-links { gap: 26px; }

.nav-link  { font-size: 1rem; }

.nav-right .btn { padding: 14px 26px; }
}

.nav-links {
  /* 'flex: 0' means basis 0% with shrink on, so the list collapses toward zero
     width and the links break onto a second row. Size to content and never wrap. */
  flex: 0 0 auto;
  flex-wrap: nowrap;
  position: static;
  display: flex;
  align-items: stretch;
  gap: 36px;
}

.nav-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}

.nav-links > li {
  position: static;
  display: flex;
  align-items: center;
  /* explicit, not stretch: .nav-links sits inside centred parents, so stretching
     only fills the text-height line box. A 90px box centred in the 90px bar
     spans it exactly, so the link reaches down to the panel at top:90px. */
  height: 90px;
}

.nav-links > li > .nav-link {
  display: flex;
  align-items: center;
  height: 100%;
}

.dropdown {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 48px;
  min-height: 64px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  position: fixed;
  top: 90px;
  left: 0;
  right: 0;
  background: rgba(20, 60, 75, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(74,173,187,0.3);
  padding: 20px 80px;
  z-index: 998;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  /* grace period on the way out, so a diagonal flick toward a link in the panel
     does not slam it shut mid-move */
  transition-delay: 0.18s;
}

.nav-item:hover .dropdown,
.nav-item.open .dropdown,
.nav-item:focus-within .dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.dropdown a {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-bottom-color 0.15s ease;
}

.dropdown a:hover {
  color: #fff;
  border-bottom-color: #4AADBB;
}

.nav-right .btn {
  margin-left: 16px;
  padding: 16px 36px;
  font-size: 0.82rem;
}

.nav-hamburger span { transform-origin: center; }

.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }

.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }

.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-overlay {
  display: flex !important;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.nav-mobile-overlay.open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.nav-mobile-overlay .nav-link {
  min-height: 44px;
  display: flex;
  align-items: center;
}

.plum-section {
  background: #6B2D5E;
  padding: 80px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.plum-heading {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0;
}

.plum-sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin: 16px 0 0;
}

.plum-left .btn { margin-top: 32px; }

.plum-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.plum-col-header {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4AADBB;
  margin: 0 0 16px;
}

.plum-col a {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.15s ease;
}

.plum-col a:hover { color: #fff; }

.plum-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.plum-col .plum-social a {
  /* 44px keeps the tap target at the accessible minimum */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.78);
  transition: background 0.18s ease, color 0.18s ease,
              border-color 0.18s ease, transform 0.18s ease;
}

.plum-col .plum-social a:hover {
  background: #4AADBB;
  border-color: #4AADBB;
  color: #fff;
  transform: translateY(-2px);
}

.plum-col .plum-social a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.plum-social svg { width: 19px; height: 19px; display: block; }

.footer-bar {
  background: #4A1F42;
  padding: 20px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bar-copy {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

.footer-bar-made {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.1em;
}



@media (max-width: 768px) {
.nav-main { padding: 0 24px; }

.nav-right .nav-links { display: none; }

.nav-right .btn { display: none; }

.nav-hamburger { display: flex; }

.plum-section {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 64px 24px;
  }

.plum-links { grid-template-columns: 1fr 1fr; }

.footer-bar {
    padding: 20px 24px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}


@media (max-width: 768px) {
  .footer-bar { flex-direction: column; gap: 6px; padding: 20px 24px; text-align: center; }
}
