:root {
  --bg: #0b0b0f;
  --bg-2: #121217;
  --panel: rgba(20, 20, 26, 0.86);
  --text: #f6f4f1;
  --muted: #b9b7bd;
  --pink: #f52c91;
  --pink-2: #ff4aa5;
  --line: rgba(255, 255, 255, 0.18);
  --content: 1480px;
  --radius: 16px;
  --shadow: 0 20px 70px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; }
button { color: inherit; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  width: auto; height: auto; clip: auto; margin: 8px; padding: 10px 14px;
  z-index: 9999; background: #fff; color: #000;
}

.nbhq-container {
  width: min(calc(100% - 12vw), var(--content));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background .2s ease, border-color .2s ease, backdrop-filter .2s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11,11,15,.88);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(255,255,255,.08);
}
.header-inner {
  height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.brand {
  font-family: 'League Spartan', sans-serif;
  font-size: clamp(26px, 2.2vw, 38px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.brand strong { color: var(--pink); font-weight: 800; }
.primary-nav { justify-self: center; }
.nbhq-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 54px);
}
.nbhq-menu a {
  display: inline-flex;
  padding: 28px 0 22px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  position: relative;
}
.nbhq-menu a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 16px;
  height: 2px;
  background: var(--pink);
  transition: right .2s ease;
}
.nbhq-menu a:hover::after, .nbhq-menu a:focus-visible::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.search-toggle, .mobile-menu-toggle {
  background: transparent; border: 0; cursor: pointer; padding: 8px;
}
.search-toggle:hover { color: var(--pink); }
.mobile-menu-toggle { display: none; width: 42px; }
.mobile-menu-toggle span:not(.screen-reader-text) { display: block; height: 2px; background: currentColor; margin: 5px 0; border-radius: 4px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .01em;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, var(--pink), var(--pink-2)); color: #08080a; }
.button-secondary { border: 1px solid rgba(245,44,145,.55); background: rgba(245,44,145,.08); }
.header-cta { min-height: 48px; padding-inline: 26px; font-size: 13px; }

.site-search {
  background: rgba(11,11,15,.97);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-search-inner { padding: 18px 0; }
.search-form { display: flex; gap: 10px; max-width: 760px; margin: 0 auto; }
.search-field {
  width: 100%; background: #17171e; border: 1px solid var(--line); color: var(--text);
  padding: 14px 18px; border-radius: 999px;
}
.search-submit { border: 0; border-radius: 999px; background: var(--pink); padding: 0 20px; font-weight: 800; cursor: pointer; }

.hero {
  position: relative;
  min-height: 920px;
  padding-top: 82px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 70% 35%, rgba(99,93,112,.28), transparent 34%),
    radial-gradient(circle at 84% 52%, rgba(245,44,145,.22), transparent 28%),
    linear-gradient(180deg, #0a0a0d 0%, #0c0c11 75%, #0b0b0f 100%);
}
.hero::before {
  content: '';
  position: absolute;
  right: 7%; top: 11%; bottom: 9%; width: 5px;
  background: linear-gradient(180deg, transparent, rgba(245,44,145,.65) 25%, rgba(245,44,145,.9) 64%, transparent);
  filter: blur(8px);
  box-shadow: 0 0 36px rgba(245,44,145,.5);
  z-index: -1;
}
.hero::after {
  content: '';
  position: absolute;
  left: 28%; right: 2%; bottom: 40px; height: 4px;
  background: linear-gradient(90deg, transparent, rgba(245,44,145,.85), transparent);
  filter: blur(7px);
  z-index: -1;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .32; z-index: -1; pointer-events: none; }
.hero-glow-one { width: 360px; height: 360px; background: #c92e80; right: 12%; top: 30%; }
.hero-glow-two { width: 220px; height: 220px; background: #77747f; right: 33%; top: 18%; }
.hero-grid {
  position: relative;
  min-height: 838px;
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(0, 42%);
  align-items: center;
}
.hero-copy { padding: 56px 0 58px; position: relative; z-index: 3; }
.hero h1 {
  margin: 0;
  font-family: 'League Spartan', sans-serif;
  font-weight: 800;
  font-size: clamp(78px, 6.8vw, 120px);
  line-height: .88;
  letter-spacing: -.055em;
  max-width: 760px;
}
.hero h1 span { color: var(--pink); }
.hero-deck {
  max-width: 770px;
  font-size: clamp(20px, 1.55vw, 27px);
  color: #dddbe0;
  line-height: 1.43;
  margin: 24px 0 48px;
}
.hero-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; max-width: 840px; }
.hero-card {
  min-height: 360px;
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(28,28,35,.84), rgba(13,13,18,.87));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.01);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.hero-card::before { content: ''; position: absolute; inset: auto -30% -38% 25%; height: 150px; background: radial-gradient(circle, rgba(245,44,145,.19), transparent 70%); pointer-events: none; }
.hero-card:hover, .hero-card:focus-visible { transform: translateY(-5px); border-color: rgba(245,44,145,.72); box-shadow: 0 18px 46px rgba(0,0,0,.34), 0 0 30px rgba(245,44,145,.11); outline: none; }
.card-visual { height: 80px; display: flex; align-items: center; margin-bottom: 14px; position: relative; }
.card-icon {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; color: var(--pink);
  border: 2px solid var(--pink); box-shadow: 0 0 18px rgba(245,44,145,.4), inset 0 0 18px rgba(245,44,145,.08);
}
.card-icon svg { width: 31px; height: 31px; }
.card-visual-book img { width: 72px; max-height: 92px; object-fit: cover; transform: rotate(7deg); position: absolute; right: 2px; top: -6px; box-shadow: 0 7px 18px rgba(0,0,0,.45); }
.hero-card h2 { margin: 10px 0 8px; font-family: 'League Spartan', sans-serif; font-size: clamp(28px, 2.1vw, 36px); line-height: 1; letter-spacing: -.03em; }
.hero-card h2 span { color: var(--pink); }
.hero-card p { margin: 0 0 22px; color: #dedce0; font-size: 16px; line-height: 1.48; }
.card-arrow {
  margin-top: auto; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--pink); font-size: 29px; box-shadow: 0 0 18px rgba(245,44,145,.28);
  transition: transform .18s ease;
}
.hero-card:hover .card-arrow { transform: translateX(4px); }

.bob-stage {
  position: absolute;
  right: -4.5vw;
  bottom: -18px;
  width: min(52vw, 810px);
  height: calc(100% - 28px);
  z-index: 2;
  pointer-events: none;
}
.bob-stage::after {
  content: '';
  position: absolute;
  left: 18%; right: 8%; bottom: 0; height: 55px;
  background: radial-gradient(ellipse, rgba(0,0,0,.72), transparent 72%);
  filter: blur(8px);
  z-index: -1;
}
.bob-image {
  position: absolute;
  inset: auto 0 0 auto;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 100%;
  opacity: 0;
  transform: translateY(10px) scale(.995);
  transition: opacity .24s ease, transform .24s ease;
  filter: drop-shadow(0 22px 34px rgba(0,0,0,.38));
}
.bob-image.is-active { opacity: 1; transform: translateY(0) scale(1); }

.section { padding: 110px 0; position: relative; }
.section:nth-of-type(even) { background: #101015; }
.split-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(56px, 7vw, 120px); align-items: center; }
.split-reverse { grid-template-columns: 1.15fr .85fr; }
.eyebrow { margin: 0 0 12px; color: var(--pink); font-size: 13px; font-weight: 800; letter-spacing: .2em; }
.section h2, .archive-header h1, .entry-header h1, .error-page h1 {
  font-family: 'League Spartan', sans-serif;
  font-size: clamp(44px, 5vw, 78px);
  line-height: .98;
  letter-spacing: -.045em;
  margin: 0 0 24px;
}
.lead, .archive-header > p:last-child { font-size: clamp(19px, 1.5vw, 24px); color: var(--muted); max-width: 780px; }
.book-art-wrap { display: grid; place-items: center; }
.book-art { width: min(72%, 470px); transform: rotate(-4deg); box-shadow: 0 30px 70px rgba(0,0,0,.5); border-radius: 3px; }
.section-copy .button { margin-top: 18px; }
.bob-feature-wrap { min-height: 500px; display: grid; place-items: end center; overflow: hidden; }
.bob-feature-wrap img { max-height: 620px; width: auto; object-fit: contain; filter: drop-shadow(0 25px 36px rgba(0,0,0,.35)); }

.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 38px; }
.section-heading-row h2 { margin-bottom: 0; }
.text-link { color: var(--text); font-weight: 800; font-size: 14px; letter-spacing: .06em; }
.text-link:hover { color: var(--pink); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.post-card { background: #14141a; border: 1px solid rgba(255,255,255,.11); border-radius: 18px; overflow: hidden; }
.post-card-image { aspect-ratio: 3/2; display: grid; place-items: center; background: linear-gradient(135deg, #17171e, #22111c); overflow: hidden; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.post-card:hover .post-card-image img { transform: scale(1.025); }
.post-placeholder { font-family: 'League Spartan', sans-serif; color: rgba(245,44,145,.45); font-size: 34px; }
.post-card-copy { padding: 24px; }
.post-card-copy h2, .post-card-copy h3 { font-family: 'League Spartan', sans-serif; font-size: 30px; line-height: 1.04; margin: 7px 0 12px; }
.post-card-copy p { color: var(--muted); }
.post-meta { color: var(--pink) !important; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }

.content-shell { padding: 150px 0 110px; min-height: 72vh; }
.narrow-content { max-width: 900px; }
.archive-header { margin-bottom: 48px; max-width: 950px; }
.entry-header { margin-bottom: 34px; }
.entry-content { font-size: 18px; color: #e8e6e3; }
.entry-content > * { max-width: 780px; margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: 1180px; }
.entry-content > .alignfull { max-width: none; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: 'League Spartan', sans-serif; line-height: 1.06; margin-top: 2em; }
.entry-content h2 { font-size: 44px; }
.entry-content h3 { font-size: 32px; }
.entry-content a { color: var(--pink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.single-featured { margin: 0 auto 44px; max-width: 1100px; border-radius: 20px; overflow: hidden; }
.pagination-wrap { margin-top: 50px; }
.nav-links { display: flex; gap: 10px; flex-wrap: wrap; }
.page-numbers { padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; }
.page-numbers.current { background: var(--pink); color: #08080a; border-color: var(--pink); }

.site-footer { border-top: 1px solid rgba(255,255,255,.1); background: #09090c; padding: 70px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: start; }
.footer-brand { display: inline-block; margin-bottom: 15px; }
.footer-grid p { color: var(--muted); max-width: 470px; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(120px,1fr)); gap: 14px 30px; }
.footer-menu a:hover { color: var(--pink); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; color: #777780; font-size: 13px; }

@media (max-width: 1220px) {
  .nbhq-container { width: min(calc(100% - 80px), var(--content)); }
  .header-cta { display: none; }
  .hero { min-height: 900px; }
  .hero-grid { grid-template-columns: 60% 40%; }
  .hero h1 { font-size: clamp(72px, 7vw, 100px); }
  .hero-card { padding: 22px; min-height: 350px; }
  .bob-stage { right: -8vw; width: 53vw; }
}

@media (max-width: 980px) {
  .nbhq-container { width: calc(100% - 48px); }
  .header-inner { grid-template-columns: auto auto 1fr; }
  .mobile-menu-toggle { display: block; justify-self: end; }
  .primary-nav {
    position: fixed; top: 82px; left: 0; right: 0; bottom: 0;
    background: rgba(11,11,15,.98); padding: 40px 24px;
    transform: translateX(100%); transition: transform .22s ease; z-index: 49;
  }
  .primary-nav.is-open { transform: translateX(0); }
  .nbhq-menu { flex-direction: column; align-items: flex-start; gap: 0; }
  .nbhq-menu a { font-size: 28px; padding: 15px 0; }
  .header-actions { justify-self: end; }
  .hero { min-height: auto; padding-bottom: 70px; }
  .hero-grid { min-height: 0; display: flex; flex-direction: column; align-items: stretch; }
  .hero-copy { padding-top: 76px; }
  .hero h1 { font-size: clamp(66px, 11vw, 98px); max-width: none; }
  .hero-deck { font-size: 21px; margin-bottom: 34px; }
  .bob-stage { position: relative; order: 2; right: auto; bottom: auto; width: min(100%, 650px); height: 610px; margin: -18px auto -24px; }
  .hero-cards { order: 3; max-width: none; }
  .hero-copy { display: contents; }
  .hero-copy > h1, .hero-copy > .hero-deck { margin-left: 0; margin-right: 0; }
  .hero-copy > h1 { order: 1; margin-top: 80px; }
  .hero-copy > .hero-deck { order: 1; }
  .hero-cards { grid-template-columns: repeat(3,1fr); }
  .split-section, .split-reverse { grid-template-columns: 1fr; }
  .book-art-wrap { order: 2; }
  .post-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 700px) {
  .nbhq-container { width: calc(100% - 38px); }
  .header-inner { height: 72px; gap: 10px; }
  .brand { font-size: 28px; }
  .primary-nav { top: 72px; }
  .hero { padding-top: 72px; }
  .hero h1 { margin-top: 46px !important; font-size: clamp(58px, 18vw, 84px); }
  .hero-deck { font-size: 18px; }
  .bob-stage { height: 500px; margin-top: -10px; }
  .hero-cards { grid-template-columns: 1fr; }
  .hero-card { min-height: 275px; }
  .section { padding: 78px 0; }
  .post-grid { grid-template-columns: 1fr; }
  .section-heading-row { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
