:root {
  --site-max: 1220px;
  --site-line: rgba(0, 0, 0, 0.12);
  --site-muted: rgba(0, 0, 0, 0.64);
  --bno-soft-orange: #ffe1c8;
  --bno-soft-yellow: #fff5a8;
  --bno-soft-pink: #f4cdf8;
  --bno-soft-card-gray: #efeeec;
  --bno-shadow-soft: 0 0 12px rgba(0, 0, 0, 0.035), 0 2px 6px rgba(0, 0, 0, 0.022);
  --bno-shadow-panel: 0 0 16px rgba(0, 0, 0, 0.045), 0 3px 8px rgba(0, 0, 0, 0.026);
  --bno-shadow-hover: 0 0 20px rgba(0, 0, 0, 0.06), 0 4px 11px rgba(0, 0, 0, 0.034);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  max-width: calc(var(--site-max) + 48px);
  margin: 0 auto;
  padding: 16px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--site-line);
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #000;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

.brand-link img {
  width: 34px;
  height: 34px;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.desktop-nav a,
.desktop-nav button {
  border: 0;
  background: transparent;
  color: #000;
  font: 800 13px/1.2 Inter, system-ui, sans-serif;
  text-decoration: none;
  padding: 10px 11px;
  border-radius: 999px;
  cursor: pointer;
}

.desktop-nav a:hover,
.desktop-nav button:hover,
.desktop-nav .nav-link:hover {
  background: #EBEAE8;
}

.site-header .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-cta {
  min-height: 44px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #000;
  border: 1.5px solid #000;
  border-radius: 999px;
  font: 900 13px/1.1 Inter, system-ui, sans-serif;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

/* Shared polish: large content cards use softened fills and all-around shadows. */
.metric-card.orange,
.case-card.orange,
.contact-card.orange,
.answer-card.orange,
.cases-mini-card:nth-child(3) {
  color: #000;
  background: var(--bno-soft-orange);
}

.metric-card.yellow,
.case-card.featured,
.contact-card.yellow,
.answer-card.yellow,
.culture-card.yellow,
.about-ai-card.yellow,
.cases-mini-card:nth-child(2) {
  color: #000;
  background: var(--bno-soft-yellow);
}

.metric-card.pink {
  color: #000;
  background: var(--bno-soft-pink);
}

.score-card,
.answer-card,
.risk-card,
.case-card,
.case-logo,
.metric-card,
.route-grid article,
.deliverables article,
.service-grid article,
.timeline article,
.contact-card,
.location-chip,
.contact-faq-grid article,
.role-card,
.culture-card,
.value-card-careers,
.faq-card,
.expectations-grid article,
.proof-snapshot,
.boost-visual,
.seo-visual,
.ads-visual,
.aeo-visual,
.ai-visual,
.branding-visual,
.loop-visual,
.outbound-visual,
.implementation-visual,
.migration-visual,
.integrations-visual,
.education-visual,
.realestate-visual,
.about-visual,
.contact-form-shell,
.careers-form-card {
  box-shadow: var(--bno-shadow-panel);
}

.case-card:hover,
.case-card:focus-visible {
  box-shadow: var(--bno-shadow-hover);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: #000;
  background: #FE8301;
  border-color: #FE8301;
  transform: translateY(-1px);
  outline: none;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #000;
  font: 900 14px/1 Inter, system-ui, sans-serif;
  white-space: nowrap;
}

.language-switch a {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  font-size: 19px;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.language-switch a:hover,
.language-switch a:focus-visible {
  background: #FE8301;
  border-color: #FE8301;
  transform: translateY(-1px);
  outline: none;
}

.mobile-menu-toggle,
.mobile-nav-panel {
  display: none;
}

.mobile-menu-toggle {
  width: 46px;
  height: 46px;
  border: 1.5px solid #000;
  border-radius: 999px;
  background: #fff;
  color: #000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.mobile-menu-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible {
  background: #FE8301;
  border-color: #FE8301;
  transform: translateY(-1px);
  outline: none;
}

.site-header.is-mobile-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-mobile-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-mobile-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.mobile-nav-open {
  overflow: hidden;
}

.btn {
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn-primary {
  color: #fff;
  background: #000;
  border-color: #000;
}

.btn-secondary,
.btn-light {
  color: #000;
  background: #fff;
  border-color: #000;
}

.btn-primary:hover,
.btn-primary:focus-visible,
.btn-secondary:hover,
.btn-secondary:focus-visible,
.btn-light:hover,
.btn-light:focus-visible {
  color: #000;
  background: #FE8301;
  border-color: #FE8301;
}

.nav-item {
  position: relative;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: -22px;
  right: -22px;
  top: 100%;
  height: 28px;
}

.mega-menu {
  position: fixed;
  left: 50%;
  top: 74px;
  width: min(1120px, calc(100vw - 32px));
  transform: translateX(-50%) translateY(8px);
  display: grid;
  gap: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--site-line);
  border-radius: 18px;
  box-shadow: var(--bno-shadow-hover);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.services-menu {
  grid-template-columns: 1.2fr repeat(3, minmax(160px, 1fr));
}

.industry-menu {
  width: min(880px, calc(100vw - 32px));
  grid-template-columns: 1.2fr repeat(2, minmax(180px, 1fr));
}

.compact-menu {
  width: min(520px, calc(100vw - 32px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.simple-menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 14px);
  width: min(320px, calc(100vw - 32px));
  grid-template-columns: 1fr;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu,
.nav-item.is-open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-feature,
.mega-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px;
  border-radius: 14px;
}

.mega-feature {
  background: #000;
  color: #fff;
  min-height: 100%;
}

.site-header .mega-feature h3,
.site-header .mega-feature p {
  color: #fff;
}

.mega-feature span,
.mega-column span {
  font: 900 11px/1 Inter, system-ui, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #FE8301;
}

.mega-feature h3 {
  margin: 0;
  max-width: 12ch;
  font: 700 28px/0.98 Fraunces, Georgia, serif;
}

.mega-feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font: 600 13px/1.45 Inter, system-ui, sans-serif;
}

.mega-column small {
  margin: 0;
  color: var(--site-muted);
  font: 600 13px/1.45 Inter, system-ui, sans-serif;
}

.mega-column {
  background: #EBEAE8;
}

.mega-column.highlight {
  background: linear-gradient(120deg, rgba(255, 237, 2, 0.32), rgba(254, 131, 1, 0.16), rgba(237, 139, 250, 0.18));
}

.mega-column a {
  width: 100%;
  padding: 10px 0;
  color: #000;
  border-radius: 0;
}

.mega-column a:hover {
  background: transparent;
  color: #FE8301;
}

.mega-column strong {
  display: block;
  font-size: 15px;
}

.mega-column small {
  display: block;
  color: var(--site-muted);
}

.logo-strip {
  padding: 32px max(20px, calc((100vw - var(--site-max)) / 2));
  color: var(--bno-paper);
  background: var(--bno-slack-black);
  border-top: 1.5px solid var(--bno-slack-black);
  border-bottom: 1.5px solid var(--bno-slack-black);
}

.logo-strip p {
  max-width: none;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.logo-cloud {
  display: grid;
  grid-template-columns: repeat(8, minmax(76px, 1fr));
  align-items: center;
  gap: 20px;
}

.logo-cloud img {
  width: 100%;
  height: 72px;
  padding: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: var(--bno-paper);
  object-fit: contain;
}

.site-footer {
  display: block;
  margin-top: 0;
  padding: 0;
  background: #EBEAE8;
  color: #000;
  border-top: 1px solid var(--site-line);
}

.footer-main {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 72px 24px 64px;
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.55fr);
  gap: 72px;
}

.footer-proof {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #000;
  text-decoration: none;
  font: 900 24px/1 Inter, system-ui, sans-serif;
}

.footer-logo img {
  width: 46px;
  height: 46px;
}

.footer-proof p {
  max-width: 32ch;
  margin: 0;
  color: var(--site-muted);
  font: 650 18px/1.45 Inter, system-ui, sans-serif;
}

.footer-accent {
  width: min(100%, 520px);
  height: 2px;
  background-image: linear-gradient(90deg, #FE8301 0 12px, transparent 12px 28px), linear-gradient(90deg, #FFED02, #FE8301, #ED8BFA);
  background-size: 28px 2px, 100% 2px;
  background-repeat: repeat-x, no-repeat;
  border-radius: 999px;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(76px, 1fr));
  gap: 12px;
  width: min(100%, 460px);
}

.badge-grid img {
  width: 100%;
  height: 84px;
  object-fit: contain;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

.footer-map {
  display: grid;
  grid-template-columns: 0.95fr 0.9fr 1.1fr 1.05fr;
  gap: 36px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  min-height: auto;
  padding: 0;
  border-right: 0;
}

.footer-column:last-child {
  padding-right: 0;
  border-right: 0;
}

.footer-column h3 {
  margin: 0 0 8px;
  color: #000;
  font: 750 24px/1.05 Fraunces, Georgia, serif;
}

.footer-column h3:not(:first-child) {
  margin-top: 22px;
}

.footer-column a,
.footer-column p {
  margin: 0;
  color: rgba(0, 0, 0, 0.72);
  text-decoration: none;
  font: 700 15px/1.35 Inter, system-ui, sans-serif;
}

.footer-column a:hover,
.footer-social a:hover {
  color: #FE8301;
}

.footer-brand-bar {
  min-height: 96px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: minmax(100px, 1fr) auto minmax(100px, 1fr);
  align-items: center;
  gap: 24px;
  background: #fff;
  border-top: 1px solid var(--site-line);
}

.footer-brand-bar img {
  width: 44px;
  height: 44px;
  justify-self: center;
}

.footer-brand-bar p {
  margin: 0;
  text-align: center;
  color: #000;
  font: 650 clamp(20px, 2.2vw, 28px)/1.15 Fraunces, Georgia, serif;
}

.site-footer em {
  font-style: italic;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-social a {
  color: rgba(0, 0, 0, 0.72);
  text-decoration: none;
  font: 750 14px/1.2 Inter, system-ui, sans-serif;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto;
    gap: 12px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    justify-self: end;
    grid-column: 3;
  }

  .site-header .btn {
    display: inline-flex;
    justify-self: end;
    grid-column: 4;
  }

  .site-header > .language-switch {
    display: none;
  }

  .mobile-nav-panel {
    position: fixed;
    top: var(--mobile-nav-top, 76px);
    left: 50%;
    z-index: 80;
    width: min(100vw - 24px, 760px);
    max-height: calc(100dvh - var(--mobile-nav-top, 76px) - 12px);
    display: block;
    padding: 10px;
    border: 1px solid #000;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--bno-shadow-panel);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -8px);
    transition: opacity 180ms ease, transform 180ms ease;
    overflow: hidden;
  }

  .site-header.is-mobile-open .mobile-nav-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .mobile-nav-scroll {
    max-height: calc(100dvh - var(--mobile-nav-top, 76px) - 34px);
    padding: 6px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .mobile-nav-cta {
    min-height: 54px;
    margin: 0 0 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #000;
    border: 1.5px solid #000;
    border-radius: 999px;
    font: 900 14px/1.1 Inter, system-ui, sans-serif;
    text-decoration: none;
    text-align: center;
  }

  .mobile-language {
    padding: 14px;
    display: grid;
    gap: 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    background: #EBEAE8;
  }

  .mobile-language strong {
    color: #000;
    font: 900 13px/1.1 Inter, system-ui, sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-language div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .mobile-language a {
    min-height: 44px;
    display: grid;
    place-items: center;
    border: 1.5px solid #000;
    border-radius: 999px;
    color: #000;
    background: #fff;
    font: 900 14px/1.1 Inter, system-ui, sans-serif;
    text-decoration: none;
  }

  .mobile-language a:hover,
  .mobile-language a:focus-visible {
    background: #FE8301;
    border-color: #FE8301;
    outline: none;
  }

  .mobile-nav-cta:hover,
  .mobile-nav-cta:focus-visible {
    color: #000;
    background: #FE8301;
    border-color: #FE8301;
    outline: none;
  }

  .mobile-nav-group {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
  }

  .mobile-nav-heading,
  .mobile-nav-direct {
    width: 100%;
    min-height: 58px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    background: transparent;
    color: #000;
    font: 900 18px/1.1 Inter, system-ui, sans-serif;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
  }

  .mobile-nav-direct {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
  }

  .mobile-nav-icon {
    width: 26px;
    height: 26px;
    position: relative;
    flex: 0 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 999px;
  }

  .mobile-nav-icon::before,
  .mobile-nav-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 2px;
    background: #000;
    border-radius: 999px;
    transform: translate(-50%, -50%);
  }

  .mobile-nav-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 160ms ease;
  }

  .mobile-nav-heading[aria-expanded="true"] .mobile-nav-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  .mobile-nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 0 14px;
  }

  .mobile-nav-links[hidden] {
    display: none;
  }

  .mobile-nav-link {
    min-height: 96px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    color: #000;
    background: #EBEAE8;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    text-decoration: none;
  }

  .mobile-nav-link strong {
    font: 900 15px/1.08 Inter, system-ui, sans-serif;
  }

  .mobile-nav-link small {
    color: rgba(0, 0, 0, 0.62);
    font: 750 12px/1.28 Inter, system-ui, sans-serif;
  }

  .mobile-nav-link:hover,
  .mobile-nav-link:focus-visible {
    background: #FFF200;
    outline: none;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .footer-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-cloud {
    grid-template-columns: repeat(4, minmax(76px, 1fr));
  }
}

@media (max-width: 700px) {
  .site-header {
    grid-template-columns: auto 1fr auto auto;
    padding: 12px 16px;
    gap: 12px;
  }

  .brand-link span {
    display: none;
  }

  .site-header .btn {
    display: none;
    padding: 12px 14px;
    font-size: 12px;
  }

  .site-header.mobile-short-cta .btn {
    display: inline-flex;
  }

  .mobile-menu-toggle {
    width: 42px;
    height: 42px;
  }

  .mobile-nav-panel {
    width: calc(100vw - 20px);
    border-radius: 16px;
  }

  .mobile-nav-links {
    grid-template-columns: 1fr;
  }

  .footer-main {
    padding: 52px 18px 48px;
  }

  .badge-grid,
  .footer-map {
    grid-template-columns: 1fr 1fr;
  }

  .logo-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-cloud img {
    height: 68px;
    padding: 16px;
  }

  .badge-grid img {
    height: 72px;
  }

  .footer-brand-bar {
    grid-template-columns: 1fr;
  }

  .footer-social {
    justify-content: center;
  }

}
