/* ============================================
   Shared Interior / Secondary Page Styles
   Nav + Footer for skills, legal, audit, program, etc.
   Matches the homepage progress-nav design language.
   ============================================ */

/* --- Interior Nav (matches homepage progress-nav) --- */
.interior-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  font-size: 14px;
}

.interior-nav::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 88px;
  pointer-events: none;
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  mask-image: linear-gradient(to bottom, black 0%, black 52px, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 52px, transparent 100%);
  z-index: -1;
}

.interior-nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.interior-nav__logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.interior-nav__logo .dot {
  color: var(--accent-orange);
}

/* --- Pill nav links wrapper --- */
.interior-nav__links {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50em;
  padding: 0.25em;
  display: flex;
  align-items: center;
}

.interior-nav__link {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  justify-content: center;
  align-items: center;
  height: 2em;
  padding: 0 0.875em;
  text-decoration: none;
  display: flex;
  position: relative;
  overflow: hidden;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 50em;
  transition: color 0.3s ease, background 0.3s ease;
}

.interior-nav__link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.interior-nav__link.is--active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

/* --- Book a Call CTA (orange pill) --- */
.interior-nav__cta {
  color: #fff;
  background-color: var(--accent-orange);
  border-radius: 50em;
  height: 2.25em;
  padding: 0 1.25em;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s;
}

.interior-nav__cta:hover {
  background-color: var(--accent-orange-hover);
}

/* --- Hamburger Toggle (mobile) --- */
.interior-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
  position: relative;
}

.interior-hamburger__bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.interior-hamburger.is--active .interior-hamburger__bar:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.interior-hamburger.is--active .interior-hamburger__bar:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* --- Mobile Slide Menu --- */
.interior-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.interior-mobile-menu.is--active {
  opacity: 1;
  pointer-events: auto;
}

.interior-mobile-menu__link {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  padding: 12px 24px;
  transition: color 0.3s;
}

.interior-mobile-menu__link:hover,
.interior-mobile-menu__link.is--active {
  color: var(--white);
}

.interior-mobile-menu__cta {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  background: var(--accent-orange);
  padding: 14px 32px;
  border-radius: 50em;
  text-decoration: none;
  transition: background 0.2s;
}

.interior-mobile-menu__cta:hover {
  background: var(--accent-orange-hover);
}

/* --- Interior Footer --- */
.interior-footer {
  background: var(--surface-dark);
  padding: 40px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.interior-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.interior-footer__copy {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--gray-600);
}

.interior-footer__links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.interior-footer__links a {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.interior-footer__links a:hover {
  color: var(--white);
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .interior-nav::after {
    display: none;
  }

  .interior-nav__inner {
    height: 50px;
  }

  .interior-nav__logo {
    font-size: 18px;
    position: relative;
    z-index: 1;
  }

  .interior-nav__logo::before {
    content: '';
    position: absolute;
    inset: -14px -24px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.08) 40%, transparent 70%);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    mask-image: radial-gradient(ellipse at center, black 25%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 70%);
    z-index: -1;
    pointer-events: none;
  }

  .interior-nav__links,
  .interior-nav__cta {
    display: none;
  }

  .interior-hamburger {
    display: flex;
  }

  .interior-mobile-menu {
    display: flex;
  }

  .interior-footer {
    padding: 32px 24px;
  }

  .interior-footer__inner {
    flex-direction: row;
  }
}
