/*
Theme Name: Books N Cooks Aero Four Categories
Author: Halewick Studio
Description: A classic PHP WordPress theme inspired by a polished AI-studio layout, with dynamic menus, categories, thumbnails, colors, typography, and homepage text.
Version: 1.1.5
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: bnc-theme
*/

:root {
  --bnc-bg: #e6e6ee;
  --bnc-panel: #f7f7fb;
  --bnc-ink: #0e0e0e;
  --bnc-muted: #70737d;
  --bnc-accent: #4f63d9;
  --bnc-accent-two: #ee83ce;
  --bnc-dark: #0c0c0d;
  --bnc-dark-soft: #171719;
  --bnc-white: #ffffff;
  --bnc-line: rgba(14, 14, 14, 0.12);
  --bnc-dark-line: rgba(255, 255, 255, 0.12);
  --bnc-font-main: Switzer, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bnc-font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --bnc-base-size: 16px;
  --bnc-container: min(100% - 40px, 1185px);
  --bnc-radius: 8px;
  --bnc-button-radius: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.bnc-body {
  margin: 0;
  background: var(--bnc-bg);
  color: var(--bnc-ink);
  font-family: var(--bnc-font-main);
  font-size: var(--bnc-base-size);
  line-height: 1.5;
  letter-spacing: 0;
}

body.bnc-menu-open {
  overflow: hidden;
}

body.admin-bar .bnc-header {
  top: 32px;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

.bnc-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  padding: 10px 14px;
  border-radius: var(--bnc-button-radius);
  background: var(--bnc-ink);
  color: var(--bnc-white);
  transform: translateY(-140%);
}

.bnc-skip-link:focus {
  transform: translateY(0);
}

.bnc-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 20px;
  pointer-events: none;
}

.bnc-brand,
.bnc-menu-toggle,
.bnc-menu-close {
  pointer-events: auto;
}

.bnc-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--bnc-ink);
  text-decoration: none;
  line-height: 1;
}

.bnc-brand-text {
  overflow-wrap: anywhere;
  font-size: 25px;
  font-weight: 800;
  white-space: nowrap;
}

.bnc-header-categories {
  display: none;
}

.bnc-custom-logo img {
  width: auto;
  max-height: 36px;
}

.bnc-logo-mark {
  position: relative;
  display: inline-grid;
  width: 34px;
  height: 18px;
  flex: 0 0 34px;
}

.bnc-logo-mark::before,
.bnc-logo-mark::after,
.bnc-logo-mark span {
  content: "";
  position: absolute;
  display: block;
  background: currentColor;
}

.bnc-logo-mark::before {
  inset: 0 auto 0 0;
  width: 20px;
  clip-path: polygon(0 100%, 44% 0, 78% 0, 35% 100%);
}

.bnc-logo-mark span {
  right: 0;
  bottom: 0;
  width: 22px;
  height: 7px;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

.bnc-logo-mark::after {
  right: 2px;
  top: 0;
  width: 18px;
  height: 11px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 28% 100%);
}

.bnc-menu-toggle,
.bnc-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 34px;
  padding: 9px 15px;
  border: 0;
  border-radius: var(--bnc-button-radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--bnc-ink);
  box-shadow: 0 8px 28px rgba(15, 15, 16, 0.08);
  cursor: pointer;
  font-family: var(--bnc-font-mono);
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
}

.bnc-header-categories a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  border: 1px solid rgba(14, 14, 14, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(14, 14, 14, 0.72);
  box-shadow: 0 8px 28px rgba(15, 15, 16, 0.06);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.bnc-header-categories a:hover,
.bnc-header-categories a:focus-visible {
  background: #ffffff;
  color: var(--bnc-ink);
}

.bnc-menu-icon,
.bnc-close-icon {
  position: relative;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
}

.bnc-menu-icon::before,
.bnc-menu-icon::after,
.bnc-close-icon::before,
.bnc-close-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 13px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
}

.bnc-menu-icon::before {
  top: 4px;
}

.bnc-menu-icon::after {
  top: 8px;
}

.bnc-close-icon::before,
.bnc-close-icon::after {
  top: 6px;
}

.bnc-close-icon::before {
  transform: rotate(45deg);
}

.bnc-close-icon::after {
  transform: rotate(-45deg);
}

.bnc-menu-panel {
  position: fixed;
  inset: 0;
  z-index: 200;
  min-height: 100svh;
  padding: 20px;
  overflow: auto;
  background:
    linear-gradient(135deg, rgba(79, 99, 217, 0.18), transparent 45%),
    linear-gradient(315deg, rgba(238, 131, 206, 0.18), transparent 42%),
    linear-gradient(115deg, #e6e6ee, #f7f7fb);
}

.bnc-menu-panel[hidden] {
  display: none;
}

.bnc-menu-inner {
  display: grid;
  align-content: space-between;
  gap: 60px;
  width: var(--bnc-container);
  min-height: calc(100svh - 40px);
  margin: 0 auto;
}

.bnc-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.bnc-overlay-layout {
  display: grid;
  gap: 42px;
  padding-bottom: 54px;
}

.bnc-menu-list,
.bnc-footer-menu,
.bnc-menu-list .sub-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.bnc-menu-list a,
.bnc-footer-menu a {
  color: inherit;
  text-decoration: none;
}

.bnc-overlay-nav .bnc-menu-list {
  display: grid;
  gap: 14px;
}

.bnc-overlay-nav .bnc-menu-list > li > a {
  display: inline-flex;
  font-size: clamp(38px, 8vw, 82px);
  font-weight: 700;
  line-height: 0.98;
}

.bnc-overlay-nav .sub-menu {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  margin-left: 18px;
}

.bnc-overlay-nav .sub-menu a {
  color: var(--bnc-muted);
  font-size: clamp(19px, 3vw, 30px);
  font-weight: 600;
}

.bnc-overlay-aside,
.bnc-overlay-card {
  display: grid;
  gap: 18px;
  align-content: start;
}

.bnc-overlay-card {
  padding-top: 18px;
  border-top: 1px solid var(--bnc-line);
}

.bnc-overlay-card p {
  max-width: 330px;
  margin: 0;
  color: var(--bnc-muted);
}

.bnc-site-main {
  overflow: hidden;
  background: var(--bnc-bg);
}

.bnc-section-inner {
  width: var(--bnc-container);
  margin: 0 auto;
}

.bnc-hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: 120px 0 38px;
  overflow: hidden;
  background:
    linear-gradient(120deg, #e7eaf3 0%, #d2daf4 48%, #c4d4f2 100%);
}

.bnc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--bnc-hero-image);
  background-position: center bottom;
  background-size: cover;
  opacity: 1;
}

.bnc-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: auto;
  left: auto;
  z-index: 1;
  width: 23vw;
  min-width: 250px;
  height: 48vh;
  min-height: 310px;
  border-bottom-left-radius: 44px;
  background:
    linear-gradient(135deg, rgba(247, 250, 255, 0.74), rgba(218, 230, 255, 0.48));
  opacity: 0.9;
}

.bnc-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
  gap: clamp(72px, 18vh, 152px);
  width: var(--bnc-container);
  min-height: calc(100svh - 158px);
  margin: 0 auto;
}

.bnc-hero-copy {
  max-width: 620px;
}

.bnc-hero-title {
  max-width: 720px;
  margin: 0;
  color: var(--bnc-ink);
  font-size: clamp(43px, 7vw, 60px);
  font-weight: 700;
  line-height: 1.09;
}

.bnc-hero-text {
  max-width: 510px;
  margin: 24px 0 0;
  color: var(--bnc-ink);
  font-size: 18px;
  line-height: 1.4;
}

.bnc-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 38px;
}

.bnc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 14px 36px;
  border-radius: var(--bnc-button-radius);
  text-decoration: none;
  font-family: var(--bnc-font-mono);
  font-size: 14px;
  line-height: 1.2;
  text-transform: uppercase;
}

.bnc-button-primary {
  background: #101011;
  color: #ffffff;
}

.bnc-button-light {
  background: rgba(255, 255, 255, 0.92);
  color: #101011;
}

.bnc-hero-footer {
  display: grid;
  grid-template-columns: minmax(0, 220px) auto;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  color: var(--bnc-ink);
  font-size: 14px;
  line-height: 1.4;
}

.bnc-hero-footer p {
  margin: 0;
}

.bnc-scroll-cue {
  font-size: 13px;
}

.bnc-trust-strip {
  padding: 92px 0 74px;
  background: var(--bnc-bg);
}

.bnc-mono-label,
.bnc-small-label,
.bnc-insight-card time,
.bnc-single-meta,
.bnc-service-number,
.bnc-case-list em {
  font-family: var(--bnc-font-mono);
  letter-spacing: 0;
  text-transform: uppercase;
}

.bnc-trust-label {
  margin: 0 0 34px;
  color: var(--bnc-ink);
  font-size: 14px;
  text-align: center;
}

.bnc-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bnc-trust-categories {
  justify-content: center;
}

.bnc-category-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 10px 16px;
  border: 1px solid rgba(14, 14, 14, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  color: rgba(14, 14, 14, 0.48);
  text-decoration: none;
  font-weight: 700;
}

.bnc-category-links a:hover,
.bnc-category-links a:focus-visible {
  color: var(--bnc-ink);
  background: #ffffff;
}

.bnc-flexible-blocks {
  padding: 0 0 84px;
  background: var(--bnc-bg);
}

.bnc-widget-block {
  padding: 28px;
  border: 1px solid var(--bnc-line);
  border-radius: var(--bnc-radius);
  background: rgba(255, 255, 255, 0.36);
}

.bnc-widget-title {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.15;
}

.bnc-section {
  padding: 96px 0;
  background: var(--bnc-bg);
}

.bnc-section-head {
  display: grid;
  gap: 30px;
  align-items: end;
  margin-bottom: 60px;
}

.bnc-small-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--bnc-muted);
  font-size: 14px;
}

.bnc-small-label::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 3px solid var(--bnc-accent);
  border-radius: 999px;
  background: transparent;
}

.bnc-section-head h2,
.bnc-metrics-section h2,
.bnc-about-grid h2,
.bnc-case-section h2,
.bnc-insights-head h2,
.bnc-contact-grid h2,
.bnc-single-hero h1,
.bnc-archive-hero h1 {
  margin: 0;
  color: currentColor;
  font-size: clamp(36px, 5vw, 46px);
  font-weight: 700;
  line-height: 1.17;
}

.bnc-section-head p,
.bnc-about-copy,
.bnc-contact-grid p,
.bnc-archive-description {
  margin: 0;
  color: var(--bnc-muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.3;
}

.bnc-services-head .bnc-button {
  margin-top: 34px;
}

.bnc-service-list {
  display: grid;
  border-top: 1px solid var(--bnc-line);
}

.bnc-service-row {
  display: grid;
  gap: 22px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--bnc-line);
}

.bnc-service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.bnc-service-copy {
  display: block;
  color: inherit;
  text-decoration: none;
}

.bnc-service-copy h3 {
  margin: 0 0 24px;
  font-size: 25px;
  line-height: 1.15;
}

.bnc-service-copy p {
  max-width: 540px;
  margin: 0;
  color: #555862;
  font-size: 16px;
  line-height: 1.32;
}

.bnc-service-media {
  display: block;
  overflow: hidden;
  min-height: 210px;
  border-radius: var(--bnc-radius);
  background: #d7d9e4;
}

.bnc-service-media img,
.bnc-video-card img,
.bnc-case-floating img,
.bnc-insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bnc-service-image {
  min-height: 210px;
  filter: grayscale(1) contrast(1.08);
}

.bnc-metrics-section {
  padding-top: 86px;
}

.bnc-metrics-section h2 {
  max-width: 410px;
  margin-bottom: 70px;
  color: rgba(14, 14, 14, 0.4);
}

.bnc-metrics {
  display: grid;
  gap: 1px;
  background: rgba(14, 14, 14, 0.12);
}

.bnc-metric {
  min-height: 170px;
  padding: 28px 0 0 0;
  background: var(--bnc-bg);
}

.bnc-metric strong {
  display: block;
  color: rgba(14, 14, 14, 0.5);
  font-size: clamp(58px, 8vw, 76px);
  line-height: 0.95;
}

.bnc-metric strong span {
  font-size: 0.5em;
  vertical-align: top;
}

.bnc-metric p {
  max-width: 220px;
  margin: 24px 0 0;
  color: rgba(14, 14, 14, 0.46);
}

.bnc-dark-section {
  position: relative;
  isolation: isolate;
  padding: 96px 0;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(79, 99, 217, 0.28), transparent 34%),
    linear-gradient(225deg, rgba(79, 99, 217, 0.16), transparent 38%),
    var(--bnc-dark);
  color: #f5f5f6;
}

.bnc-dark-section .bnc-small-label,
.bnc-dark-section .bnc-section-head p,
.bnc-dark-section .bnc-about-copy,
.bnc-dark-section .bnc-contact-grid p {
  color: rgba(255, 255, 255, 0.58);
}

.bnc-about-grid,
.bnc-contact-grid {
  display: grid;
  gap: 50px;
}

.bnc-about-grid .bnc-button {
  margin-top: 46px;
}

.bnc-video-card {
  position: relative;
  display: block;
  min-height: 300px;
  margin-top: 60px;
  overflow: hidden;
  border-radius: var(--bnc-radius);
  background: #202023;
}

.bnc-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 12, 13, 0.42), rgba(12, 12, 13, 0.1));
}

.bnc-video-card span {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  transform: translate(-50%, -50%);
}

.bnc-video-card span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid rgba(255, 255, 255, 0.72);
  transform: translate(-35%, -50%);
}

.bnc-advantage-section {
  padding-top: 110px;
}

.bnc-advantage-grid {
  display: grid;
  border-top: 1px solid var(--bnc-dark-line);
  border-left: 1px solid var(--bnc-dark-line);
}

.bnc-advantage-card {
  display: grid;
  gap: 22px;
  min-height: 230px;
  padding: 26px 28px 34px;
  border-right: 1px solid var(--bnc-dark-line);
  border-bottom: 1px solid var(--bnc-dark-line);
  color: inherit;
  text-decoration: none;
}

.bnc-advantage-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-family: var(--bnc-font-mono);
  font-size: 13px;
}

.bnc-advantage-card strong {
  font-size: 21px;
  line-height: 1.15;
}

.bnc-advantage-card em {
  color: rgba(255, 255, 255, 0.62);
  font-style: normal;
  line-height: 1.35;
}

.bnc-case-section {
  display: grid;
  min-height: 680px;
  background: var(--bnc-bg);
}

.bnc-case-left {
  padding: 92px 20px;
}

.bnc-case-inner {
  width: min(100%, 560px);
  margin: 0 auto;
}

.bnc-case-list {
  display: grid;
  gap: 24px;
  margin-top: 74px;
}

.bnc-case-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(14, 14, 14, 0.36);
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}

.bnc-case-list a:first-child,
.bnc-case-list a:hover,
.bnc-case-list a:focus-visible {
  color: var(--bnc-ink);
}

.bnc-case-list em {
  flex: 0 0 auto;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: inherit;
  font-size: 12px;
  font-style: normal;
}

.bnc-case-right {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(12, 12, 13, 0.22), rgba(12, 12, 13, 0.82)),
    var(--bnc-dark);
}

.bnc-case-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bnc-case-image);
  background-position: center;
  background-size: cover;
  opacity: 0.28;
  filter: grayscale(1) contrast(1.2);
}

.bnc-case-floating {
  position: absolute;
  right: 20px;
  bottom: 70px;
  left: 20px;
  display: block;
  overflow: hidden;
  max-width: 360px;
  aspect-ratio: 0.78 / 1;
  margin: 0 auto;
  border-radius: var(--bnc-radius);
  background: #202023;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.bnc-insights-section {
  background: var(--bnc-bg);
}

.bnc-insights-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 60px;
}

.bnc-view-all {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--bnc-ink);
  text-decoration: none;
  font-family: var(--bnc-font-mono);
  font-size: 13px;
  text-transform: uppercase;
}

.bnc-view-all i {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #ffffff;
}

.bnc-view-all i::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translate(-60%, -50%) rotate(45deg);
}

.bnc-insight-grid {
  display: grid;
  gap: 20px;
}

.bnc-insight-card {
  min-width: 0;
}

.bnc-insight-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.08 / 1;
  border-radius: var(--bnc-radius);
  background: #d6d9e5;
}

.bnc-insight-thumbnail {
  transition: transform 240ms ease;
}

.bnc-insight-card:hover .bnc-insight-thumbnail {
  transform: scale(1.035);
}

.bnc-post-category-pill {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--bnc-button-radius);
  background: var(--bnc-accent);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--bnc-font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.bnc-insight-card time {
  display: block;
  margin-top: 19px;
  color: rgba(14, 14, 14, 0.64);
  font-size: 14px;
}

.bnc-insight-card h2,
.bnc-insight-card h3 {
  margin: 14px 0 0;
  font-size: 24px;
  line-height: 1.15;
}

.bnc-insight-card h2 a,
.bnc-insight-card h3 a {
  color: inherit;
  text-decoration: none;
}

.bnc-insight-card p {
  margin: 12px 0 0;
  color: var(--bnc-muted);
  line-height: 1.45;
}

.bnc-icon-section {
  padding-top: 40px;
}

.bnc-icon-suite {
  display: grid;
  gap: 16px;
}

.bnc-icon-card {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--bnc-line);
  border-radius: var(--bnc-radius);
  background: rgba(255, 255, 255, 0.42);
  text-align: center;
}

.bnc-icon-card img {
  width: 58px;
  height: 58px;
}

.bnc-icon-card span {
  color: var(--bnc-muted);
  font-family: var(--bnc-font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.bnc-contact-section {
  padding-bottom: 120px;
}

.bnc-contact-panel {
  display: grid;
  align-content: start;
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--bnc-dark-line);
  border-radius: var(--bnc-radius);
  background: rgba(255, 255, 255, 0.035);
}

.bnc-contact-panel .bnc-category-links a,
.bnc-footer .bnc-category-links a,
.bnc-menu-panel .bnc-category-links a {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.bnc-contact-panel .bnc-category-links a,
.bnc-footer .bnc-category-links a {
  color: rgba(255, 255, 255, 0.66);
}

.bnc-footer {
  padding: 58px 0;
  background: var(--bnc-dark);
  color: rgba(255, 255, 255, 0.58);
}

.bnc-footer .bnc-brand {
  color: #ffffff;
}

.bnc-footer-inner {
  display: grid;
  gap: 34px;
  width: var(--bnc-container);
  margin: 0 auto;
}

.bnc-footer-brand {
  display: grid;
  gap: 16px;
}

.bnc-footer-brand p,
.bnc-footer-meta p {
  margin: 0;
}

.bnc-footer-menu {
  display: grid;
  gap: 12px;
}

.bnc-footer-menu a {
  color: rgba(255, 255, 255, 0.7);
}

.bnc-footer-meta {
  display: grid;
  gap: 16px;
}

.bnc-archive-hero,
.bnc-single-hero {
  padding: 150px 0 86px;
  background:
    linear-gradient(135deg, rgba(79, 99, 217, 0.18), transparent 48%),
    var(--bnc-bg);
}

.bnc-single-inner {
  width: min(100% - 40px, 900px);
  margin: 0 auto;
}

.bnc-single-hero h1,
.bnc-archive-hero h1 {
  max-width: 820px;
  font-size: clamp(44px, 7vw, 72px);
  line-height: 1.03;
}

.bnc-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  color: rgba(14, 14, 14, 0.58);
  font-size: 13px;
}

.bnc-single-content {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 72px 0 98px;
  color: #25262a;
  font-size: 18px;
  line-height: 1.78;
}

.bnc-single-content > * {
  margin-top: 0;
  margin-bottom: 1.5em;
}

.bnc-single-content h2,
.bnc-single-content h3,
.bnc-single-content h4 {
  color: var(--bnc-ink);
  line-height: 1.2;
}

.bnc-single-content a {
  color: var(--bnc-accent);
}

.bnc-single-content img {
  border-radius: var(--bnc-radius);
}

.bnc-page-links,
.bnc-post-nav {
  width: min(100% - 40px, 760px);
  margin: 0 auto 64px;
}

.bnc-post-nav {
  display: grid;
  gap: 12px;
}

.bnc-post-nav a {
  display: block;
  padding: 18px 0;
  border-top: 1px solid var(--bnc-line);
  color: var(--bnc-ink);
  text-decoration: none;
}

.bnc-related {
  padding-top: 0;
}

.bnc-empty-state {
  margin: 0;
  padding: 24px;
  border: 1px solid currentColor;
  border-radius: var(--bnc-radius);
  color: var(--bnc-muted);
}

.navigation {
  margin-top: 46px;
}

.navigation a {
  color: var(--bnc-ink);
  text-decoration: none;
}

@media (min-width: 700px) {
  :root {
    --bnc-container: min(100% - 80px, 1185px);
  }

  .bnc-header {
    padding: 28px 40px;
  }

  .bnc-header-categories {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    gap: 12px;
    max-width: min(52vw, 640px);
    pointer-events: auto;
  }

  .bnc-overlay-layout,
  .bnc-section-head,
  .bnc-about-grid,
  .bnc-contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  }

  .bnc-service-row {
    grid-template-columns: 74px minmax(0, 1fr) minmax(300px, 0.84fr);
  }

  .bnc-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .bnc-metric {
    padding-left: 28px;
  }

  .bnc-advantage-grid,
  .bnc-icon-suite {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .bnc-case-section {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  }

  .bnc-case-left {
    padding: 104px 40px;
  }

  .bnc-case-inner {
    margin-left: max(0px, calc((100vw - 1185px) / 2));
    margin-right: 0;
  }

  .bnc-case-floating {
    left: -52px;
    right: auto;
    width: min(360px, 48vw);
  }

  .bnc-insight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bnc-footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(160px, auto) minmax(340px, 0.8fr);
  }
}

@media (min-width: 980px) {
  .bnc-hero-title {
    font-size: 60px;
  }

  .bnc-service-row {
    padding: 34px 0;
  }

  .bnc-dark-section {
    padding: 120px 0;
  }
}

@media (max-width: 699px) {
  :root {
    --bnc-container: min(100% - 40px, 360px);
  }

  .bnc-menu-panel {
    padding: 16px;
  }

  .bnc-menu-inner {
    width: min(100%, 360px);
    min-height: calc(100svh - 32px);
    gap: 34px;
  }

  .bnc-menu-top {
    align-items: flex-start;
  }

  .bnc-menu-close {
    flex: 0 0 auto;
  }

  .bnc-overlay-layout {
    gap: 28px;
    padding-bottom: 34px;
  }

  .bnc-overlay-nav .bnc-menu-list {
    gap: 10px;
  }

  .bnc-overlay-nav .bnc-menu-list > li > a {
    font-size: 24px;
    line-height: 1.08;
  }

  .bnc-overlay-nav .sub-menu {
    gap: 6px;
    margin-top: 8px;
    margin-left: 12px;
  }

  .bnc-overlay-nav .sub-menu a {
    font-size: 17px;
    line-height: 1.2;
  }

  .bnc-overlay-card {
    gap: 14px;
    padding-top: 16px;
  }

  .bnc-overlay-categories {
    gap: 8px;
  }

  .bnc-overlay-categories a {
    min-height: 34px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .bnc-brand {
    max-width: calc(100% - 116px);
  }

  .bnc-header {
    position: fixed;
    padding: 14px 18px 10px;
    background: linear-gradient(180deg, rgba(230, 230, 238, 0.94), rgba(230, 230, 238, 0));
    backdrop-filter: blur(4px);
  }

  body.admin-bar .bnc-header {
    top: 46px;
  }

  .bnc-brand-text {
    font-size: 21px;
  }

  .bnc-hero {
    padding-top: 112px;
  }

  .bnc-hero-inner {
    min-height: calc(100svh - 150px);
    gap: clamp(168px, 22vh, 210px);
  }

  .bnc-hero-title {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.08;
  }

  .bnc-hero-text {
    font-size: 16px;
    line-height: 1.48;
  }

  .bnc-button-row,
  .bnc-button {
    width: 100%;
  }

  .bnc-button-row {
    flex-direction: column;
  }

  .bnc-hero-footer {
    grid-template-columns: minmax(0, 1fr) auto;
    font-size: 13px;
  }

  .bnc-scroll-cue {
    align-self: end;
    max-width: 120px;
    text-align: right;
  }

  .bnc-trust-strip {
    padding: 74px 0 64px;
  }

  .bnc-section {
    padding: 76px 0;
  }

  .bnc-section-head {
    margin-bottom: 44px;
  }

  .bnc-services-head .bnc-button {
    margin-top: 30px;
  }

  .bnc-service-media {
    min-height: 210px;
  }

  .bnc-service-row {
    padding: 38px 0;
  }

  .bnc-metrics {
    gap: 0;
    background: transparent;
  }

  .bnc-metric {
    border-top: 1px solid var(--bnc-line);
  }

  .bnc-advantage-grid {
    border-left: 0;
  }

  .bnc-advantage-card {
    border-left: 1px solid var(--bnc-dark-line);
  }

  .bnc-insights-head {
    align-items: start;
    flex-direction: column;
  }

  .bnc-view-all {
    align-self: flex-end;
  }

  .bnc-case-list a {
    font-size: 22px;
  }
}

/* Final category strip and compact mobile menu fix. */
@media (min-width: 700px) {
  body.bnc-body .bnc-header {
    position: absolute !important;
    inset: 0 0 auto 0 !important;
    z-index: 160 !important;
    min-height: 250px !important;
    align-items: flex-start !important;
    padding: 32px clamp(24px, 4vw, 40px) !important;
    overflow: visible !important;
    background: transparent !important;
  }

  body.bnc-body .bnc-brand,
  body.bnc-body .bnc-menu-toggle {
    position: relative !important;
    z-index: 2 !important;
  }

  body.bnc-body .bnc-header-categories {
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 28px !important;
    pointer-events: auto !important;
  }

  body.bnc-body .bnc-header-categories a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 1 190px !important;
    min-width: 145px !important;
    max-width: 220px !important;
    min-height: 44px !important;
    padding: 0 22px !important;
    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-left: 0 !important;
    border-radius: 0 !important;
    background: #0f1014 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    text-decoration: none !important;
    font-family: var(--bnc-font-sans) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  body.bnc-body .bnc-header-categories a:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-top-left-radius: 999px !important;
  }

  body.bnc-body .bnc-header-categories a:last-child {
    border-top-right-radius: 999px !important;
  }

  body.bnc-body .bnc-header-categories a:nth-child(n+5) {
    display: none !important;
  }
}

@media (min-width: 700px) and (max-width: 920px) {
  body.bnc-body .bnc-header-categories {
    padding: 0 10px !important;
  }

  body.bnc-body .bnc-header-categories a {
    flex-basis: 25% !important;
    min-width: 0 !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 699px) {
  body.bnc-body .bnc-header {
    position: absolute !important;
    inset: 0 0 auto 0 !important;
    z-index: 160 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 72px !important;
    padding: 18px 20px 10px !important;
    background: transparent !important;
  }

  body.bnc-body .bnc-brand-text {
    font-size: 22px !important;
    line-height: 1 !important;
  }

  body.bnc-body .bnc-logo-mark {
    width: 29px !important;
    height: 16px !important;
    flex-basis: 29px !important;
  }

  body.bnc-body .bnc-header-categories {
    display: none !important;
  }

  body.bnc-body .bnc-menu-toggle,
  body.bnc-body .bnc-menu-close {
    min-height: 34px !important;
    padding: 8px 14px !important;
    border-radius: 10px !important;
    font-size: 11px !important;
    line-height: 1 !important;
  }

  body.bnc-body .bnc-menu-panel {
    padding: 14px !important;
  }

  body.bnc-body .bnc-menu-inner {
    width: 100% !important;
    min-height: calc(100svh - 28px) !important;
    gap: 24px !important;
  }

  body.bnc-body .bnc-overlay-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding-bottom: 28px !important;
  }

  body.bnc-body .bnc-overlay-nav .bnc-menu-list {
    display: grid !important;
    gap: 9px !important;
  }

  body.bnc-body .bnc-overlay-nav .bnc-menu-list > li > a {
    display: inline-flex !important;
    max-width: 100% !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    overflow-wrap: anywhere !important;
  }

  body.bnc-body .bnc-overlay-nav .sub-menu {
    gap: 5px !important;
    margin-top: 7px !important;
    margin-left: 10px !important;
  }

  body.bnc-body .bnc-overlay-nav .sub-menu a {
    font-size: 15px !important;
    line-height: 1.2 !important;
  }

  body.bnc-body .bnc-overlay-categories a {
    min-height: 32px !important;
    padding: 7px 11px !important;
    font-size: 12px !important;
  }

  body.bnc-body .bnc-overlay-categories a:nth-child(n+5) {
    display: none !important;
  }
}
