/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(11, 34, 64, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
}

.brand-mark img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  line-height: 1.05;
  min-width: 0;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  letter-spacing: -0.03em;
  line-height: 1;
}

.wm-marvel {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
}

.wm-soft {
  font-family: var(--font-body);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.brand-tag {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Footer brand — white + gold Soft (mock pattern, refined) */
.brand-footer .brand-mark {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.2);
}

.brand-footer .wm-marvel {
  color: var(--white);
  font-size: 1.55rem;
}

.brand-footer .wm-soft {
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
}

.brand-footer .brand-tag {
  color: rgba(255, 255, 255, 0.62);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.35rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
}

.nav-list > li {
  position: relative;
}

.nav-list a,
.nav-link-btn {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0.35rem 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-list a:hover,
.nav-link-btn:hover,
.nav-list a.is-active {
  color: var(--navy);
  text-decoration: none;
}

.nav-list a.is-active {
  box-shadow: inset 0 -2px 0 var(--gold);
}

.nav-link-btn svg {
  width: 10px;
  height: 10px;
  opacity: 0.7;
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 50;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  font-size: 0.92rem;
  color: var(--text);
}

.dropdown a:hover {
  background: var(--sky-soft);
  text-decoration: none;
  color: var(--navy);
}

.dropdown a strong {
  display: block;
  color: var(--navy);
  font-weight: 600;
}

.dropdown a span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.header-cta {
  flex-shrink: 0;
}

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

/* —— Footer CTA band —— */
.cta-band {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  color: var(--white);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 280px;
  background: radial-gradient(circle, rgba(197, 154, 95, 0.18), transparent 65%);
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.4rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 32rem;
}

/* —— Site footer —— */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.85rem;
  font-size: 0.95rem;
  max-width: 18rem;
}

.footer-brand .brand {
  margin-bottom: 0.25rem;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  padding: 0.28rem 0;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}

.socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  text-decoration: none;
}

.socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.socials svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.75rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a,
  .nav-link-btn {
    padding: 0.75rem 0;
    width: 100%;
    justify-content: space-between;
  }

  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    box-shadow: none;
    border: none;
    background: var(--sky-soft);
    margin: 0 0 0.5rem;
    min-width: 0;
  }

  .has-dropdown.is-open .dropdown {
    display: block;
    transform: none;
  }

  .header-cta {
    display: inline-flex;
    padding: 0.75rem 0.95rem;
    font-size: 0.88rem;
    flex-shrink: 0;
  }

  .brand-tag {
    display: none;
  }

  .wm-marvel {
    font-size: 1.2rem;
  }

  .wm-soft {
    font-size: 1.15rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-mark img {
    width: 26px;
    height: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}