@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Instrument+Sans:wght@400;500;600&display=swap');

/* Universal sisincube.com header. The homepage shell is the visual source of truth. */
body > nav:not(.so-podcast__platforms),
body > header.site-nav:not(.so-global-header) {
  display: none !important;
}

.so-global-header,
.so-global-header * {
  box-sizing: border-box;
}

.so-global-header {
  --shell-cream: #fbf8f3;
  --shell-ink: #141414;
  --shell-muted: #6e6a63;
  --shell-divider: #e5dfd6;
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 5rem;
  color: var(--shell-ink);
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.2;
}

.so-global-header__logo {
  color: var(--shell-ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.so-global-header__right {
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.so-global-header__links {
  all: unset;
  position: static;
  inset: auto;
  z-index: auto;
  display: flex;
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  align-items: center;
  justify-content: flex-start;
  gap: 2.75rem;
  color: inherit;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font: inherit;
}

.so-global-header__links a {
  position: relative;
  color: var(--shell-muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.so-global-header__links a::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  content: '';
  background: var(--shell-ink);
  transition: width 0.3s ease;
}

.so-global-header__links a:hover {
  color: var(--shell-ink);
}

.so-global-header__links a:hover::after {
  width: 100%;
}

.so-global-header__cta {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.45rem;
  border: 1px solid var(--shell-divider);
  border-radius: 100px;
  color: var(--shell-ink);
  background: transparent;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.so-global-header__cta:hover {
  border-color: var(--shell-ink);
  transform: translateY(-2px);
}

.so-global-header__burger {
  display: none;
  padding: 0;
  border: 0;
  color: var(--shell-ink);
  background: transparent;
  cursor: pointer;
}

.so-global-header__burger-line {
  display: block;
  width: 1.45rem;
  height: 1px;
  margin: 0.32rem 0;
  background: currentColor;
}

.so-global-header__mobile-menu {
  all: unset;
  display: none;
}

@media (max-width: 1024px) {
  .so-global-header {
    padding-right: 3rem;
    padding-left: 3rem;
  }

  .so-global-header__right {
    gap: 2rem;
  }

  .so-global-header__links {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .so-global-header {
    padding: 1.2rem 1.5rem;
  }

  .so-global-header__right {
    gap: 1rem;
  }

  .so-global-header__links,
  .so-global-header__cta {
    display: none;
  }

  .so-global-header__burger {
    display: block;
    padding: 0.3rem;
  }

  .so-global-header__mobile-menu {
    position: absolute;
    z-index: 1;
    top: calc(100% + 0.5rem);
    bottom: auto;
    right: 1rem;
    left: 1rem;
    width: auto;
    min-width: 0;
    max-width: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.2rem;
    margin: 0;
    padding: 0.7rem;
    border: 1px solid var(--shell-divider);
    border-radius: 1rem;
    color: inherit;
    background: rgba(251, 248, 243, 0.98);
    box-shadow: 0 18px 40px rgba(30, 24, 17, 0.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    font: inherit;
  }

  .so-global-header__mobile-menu.is-open {
    display: flex;
  }

  .so-global-header__mobile-menu a {
    padding: 0.8rem 0.9rem;
    color: var(--shell-muted);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
  }

  .so-global-header__mobile-menu a:hover {
    color: var(--shell-ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  .so-global-header__links a,
  .so-global-header__links a::after,
  .so-global-header__cta {
    transition: none;
  }
}