@font-face {
  font-family: 'Ramsey';
  src: url('../fonts/ramsey.woff') format('woff');
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto-regular.ttf') format('truetype');
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto-bold.ttf') format('truetype');
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: 'Roboto Condensed';
  src: url('../fonts/roboto-condensed-regular.ttf') format('truetype');
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: 'Barlow';
  src: url('../fonts/barlow-semibold.ttf') format('truetype');
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

:root {
  --navy: #003366;
  --navy-deep: #003366;
  --red: #ff0033;
  --lime: #00ff00;
  --mist: #ccd6e0;
  --paper: #ebebe8;
  --soft-grey: #d5d5d5;
  --white: #ffffff;
  --display: 'Ramsey', 'Arial Narrow', Arial, sans-serif;
  --body: 'Roboto', Arial, Helvetica, sans-serif;
  --intro: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
  --interface: 'Barlow', 'Roboto', Arial, sans-serif;
  --container: 1060px;
  --wide: 1276px;
  --header-height: 120px;
}

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

html {
  max-width: 100%;
  scroll-behavior: auto;
}

body {
  width: 100%;
  max-width: 100%;
  min-width: 320px;
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Keep component scrollers local: no child may widen the document viewport. */
@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

@supports not (overflow: clip) {
  body {
    overflow-x: hidden;
  }
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.04;
}

h1 {
  margin-bottom: 28px;
  font-size: 48px;
}

h2 {
  margin-bottom: 22px;
  font-size: 32px;
}

h3 {
  margin-bottom: 0;
  font-size: 24px;
}

h4 {
  font-family: var(--body);
  font-size: 20px;
  font-weight: 700;
}

::selection {
  color: var(--navy);
  background: var(--lime);
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--navy);
  background: white;
  transform: translateY(-160%);
}

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

.eyebrow {
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow--navy {
  color: var(--navy);
}

.eyebrow--red {
  color: var(--red);
}

.brandits-plus {
  color: var(--red);
}

.button {
  display: inline-flex;
  min-width: 240px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 24px 10px;
  border: 1px solid currentColor;
  border-radius: 5px;
  font-family: var(--interface);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  translate: var(--micro-x, 0) var(--micro-y, 0);
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease,
    translate 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--lime {
  border-color: var(--lime);
  color: var(--navy);
  background: var(--lime);
}

.button--lime:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.section-dark .button--lime:hover,
.error-page .button--lime:hover {
  border-color: var(--lime);
  color: var(--lime);
  background: transparent;
}

.button--navy {
  border-color: var(--navy);
  color: var(--white);
  background: var(--navy);
}

.button--navy:hover {
  border-color: var(--red);
  background: var(--red);
}

.button--outline-lime {
  color: var(--lime);
  background: transparent;
}

.button--outline-lime:hover {
  color: var(--navy);
  background: var(--lime);
}

.button--outline-red {
  color: var(--red);
  background: transparent;
}

.button--outline-red:hover,
.button--red {
  color: white;
  background: var(--red);
}

.button--red {
  border-color: var(--red);
}

.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  color: white;
}

.site-header--solid {
  position: relative;
  background: var(--navy);
}

.header-inner {
  display: flex;
  width: min(calc(100% - 64px), 1276px);
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.brandits-logo {
  display: block;
  flex: 0 0 auto;
}

.brandits-logo img {
  width: auto;
}

.brandits-logo--header img {
  height: 92px;
}

.primary-navigation {
  margin-left: auto;
}

.primary-navigation__list {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 0;
  margin: 0;
  font-size: 16px;
  list-style: none;
}

.primary-navigation a {
  position: relative;
  display: block;
  padding: 12px 0;
}

.primary-navigation a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  background: var(--lime);
  content: '';
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.primary-navigation a:hover::after,
.primary-navigation .current-menu-item > a::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 800px;
  overflow: hidden;
  color: white;
  background: var(--navy-deep);
}

.hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 51, 102, 0.2) 0%, rgba(0, 51, 102, 0) 58%);
  content: '';
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media__image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: auto;
  max-width: none;
  height: 162%;
}

@media (min-width: 821px) and (prefers-reduced-motion: no-preference) {
  .hero-media {
    animation: hero-background-drift 16s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
    transform-origin: 68% 72%;
    will-change: transform;
    margin-top: 54px;
  }
}

@keyframes hero-background-drift {
  from {
    transform: translate3d(-0.35%, 0, 0) scale(1.015);
  }

  to {
    transform: translate3d(0.65%, -0.4%, 0) scale(1.05);
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 284px;
  padding-bottom: 80px;
}

.hero-inner > * {
  max-width: 507px;
}

.hero-inner h1 {
  max-width: 610px;
}

.hero .eyebrow {
  margin-bottom: 28px;
}

.hero-copy {
  max-width: 462px;
  margin-bottom: 24px;
  font-family: var(--intro);
  font-size: 24px;
  line-height: 1.25;
}

.positioning-strip {
  display: flex;
  min-height: 58px;
  align-items: center;
  overflow: hidden;
  color: var(--navy);
  background: var(--mist);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.positioning-strip__track {
  display: flex;
  width: 100%;
  justify-content: center;
}

.positioning-strip__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  padding: 12px 26px;
}

.positioning-strip__group--duplicate {
  display: none;
}

.positioning-dot {
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--red);
}

.cases,
.insights,
.contact-cta {
  scroll-margin-top: 78px;
}

.section-light {
  background: white;
}

.section-mist {
  background: var(--mist);
}

.section-red {
  color: white;
  background: var(--red);
}

.section-dark {
  color: white;
  background: var(--navy);
}

.cases {
  padding: 88px 0 110px;
}

.cases-grid {
  display: grid;
  width: min(calc(100% - 64px), var(--wide));
  grid-template-columns: 406px 1fr 1fr;
  gap: 26px;
  align-items: start;
}

.home-card-scroller {
  min-width: 0;
  grid-column: 2 / -1;
}

.home-card-track {
  display: grid;
  min-width: 0;
}

.home-card-track--cases {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.home-card-track--insights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.section-intro {
  padding-right: 28px;
}

.section-intro h2 {
  color: var(--navy);
  font-size: 32px;
}

.section-intro > p:not(.eyebrow) {
  max-width: 347px;
  margin-bottom: 35px;
  font-size: 16px;
  line-height: 1.5;
}

.case-card {
  padding-top: 20px;
}

.card-link {
  display: block;
}

.card-media {
  position: relative;
  overflow: hidden;
  background: var(--soft-grey);
}

.card-media--case {
  height: 316px;
}

.card-media--insight {
  height: 228px;
}

.card-media__image,
.card-media__placeholder {
  width: 100%;
  height: 100%;
}

.card-media__image {
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.card-media__placeholder {
  display: block;
  background: #d6d6d6;
}

.card-link:hover .card-media__image {
  transform: scale(1.025);
}

.case-card h3,
.insight-card h3 {
  margin-top: 12px;
  color: var(--navy);
  font-size: 18px;
}

.case-card p,
.insight-card p {
  margin-bottom: 0;
  font-size: 16px;
}

.flow {
  padding: 64px 0 72px;
}

.flow-heading {
  max-width: 900px;
  margin: 0 auto 52px;
  text-align: center;
}

.flow-heading h2 {
  margin-bottom: 18px;
  font-size: 32px;
}

.flow-heading > p:last-child {
  margin-bottom: 0;
  font-size: 16px;
}

.flow-scroll-cue {
  display: none;
}

.flow-pagination {
  display: none;
}

.flow-steps {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.flow-steps li {
  position: relative;
  min-width: 0;
  padding-right: 0;
}

.step-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.step-top b {
  flex: 0 0 auto;
  font-family: var(--display);
  font-size: 46.933px;
  font-weight: 400;
  line-height: 1;
}

.step-arrow {
  position: relative;
  display: block;
  width: 100%;
  margin-right: 32px;
  height: 2px;
  margin-top: 3px;
  background: white;
}

.step-arrow::after {
  position: absolute;
  top: -4px;
  right: 0;
  width: 9px;
  height: 9px;
  border-top: 2px solid white;
  border-right: 2px solid white;
  content: '';
  transform: rotate(45deg);
}

.flow-steps h3 {
  margin-top: 8px;
  font-size: 24px;
}

.flow-steps strong {
  display: block;
  margin-top: 2px;
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-transform: uppercase;
}

.flow-steps p {
  margin-bottom: 0;
  font-size: 16px;
}

.flow-link {
  display: table;
  margin: 52px auto 0;
  border-bottom: 1px solid transparent;
  font-size: 18px;
  font-weight: 700;
  transition: border-color 180ms ease;
}

.flow-link:hover {
  border-color: white;
}

.partner {
  display: grid;
  min-height: 570px;
  grid-template-columns: 46% 54%;
}

.partner-copy {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 72px 42px 72px 32px;
}

.partner-copy-inner {
  width: min(100%, 430px);
}

.partner-copy h2 {
  color: var(--navy);
  font-size: 32px;
}

.partner-copy p:not(.eyebrow) {
  max-width: 406px;
  font-size: 16px;
  line-height: 1.5;
}

.partner-emphasis {
  margin-top: 26px;
  margin-bottom: 0;
  color: var(--red);
  font-weight: 700;
}

.partner-image {
  min-height: 570px;
  overflow: hidden;
}

.partner-image__asset {
  width: 100%;
  height: 100%;
  min-height: 570px;
  object-fit: cover;
  object-position: center;
}

.insights {
  padding: 86px 0 112px;
}

.insights-grid {
  display: grid;
  width: min(calc(100% - 64px), 1264px);
  grid-template-columns: 356px repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.insights .section-intro h2 {
  font-size: 32px;
}

.contact-cta {
  min-height: 500px;
}

.contact-inner {
  display: grid;
  min-height: 500px;
  align-items: center;
  grid-template-columns: 480px 1fr;
  gap: 102px;
}

.contact-image {
  height: 346px;
  overflow: hidden;
  border-radius: 8px;
}

.contact-image__asset {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.contact-copy h2 {
  font-size: 32px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 330px;
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.5;
}

.contact-copy .button {
  min-width: 300px;
}

.site-footer {
  position: relative;
  padding-bottom: 0;
  color: var(--navy);
  background: var(--mist);
  font-size: 16px;
}

.site-action-dock {
  position: fixed;
  z-index: 60;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-action-dock__whatsapp,
.site-action-dock__scan {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--lime);
  border-radius: 5px;
  box-shadow: 0 4px 8px rgb(0 33 66 / 18%);
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.site-action-dock__whatsapp {
  width: 52px;
  min-height: 52px;
  padding: 12px;
  border-radius: 50%;
  background: var(--lime);
}

.site-action-dock__whatsapp img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.site-action-dock__scan {
  min-width: 236px;
  padding: 12px 22px;
  color: var(--lime);
  border-color: var(--navy);
  background: var(--navy);
  font-family: var(--interface);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.site-action-dock__whatsapp:hover,
.site-action-dock__whatsapp:focus-visible {
  border-color: var(--navy);
  background: var(--white);
  transform: translateY(-2px);
}

.site-action-dock__scan:hover,
.site-action-dock__scan:focus-visible {
  color: var(--navy);
  border-color: var(--mist);
  background: var(--mist);
  transform: translateY(-2px);
}

body.menu-open .site-action-dock {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.footer-main {
  display: grid;
  min-height: 188px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 70px;
}

.footer-social {
  display: flex;
  align-items: flex-start;
  justify-self: start;
  flex-direction: column;
  gap: 13px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  display: block;
  width: 31px;
  height: 31px;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.social-links a:hover {
  opacity: 0.72;
  transform: translateY(-2px);
}

.social-links img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-links .social-links__link--whatsapp {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
}

.social-links .social-links__link--whatsapp img {
  width: 19px;
  height: 19px;
}

.footer-knowledge-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid rgb(0 51 102 / 32%);
  border-radius: 5px;
  color: var(--navy);
  background: transparent;
  font-family: var(--interface);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.footer-knowledge-link:hover,
.footer-knowledge-link:focus-visible {
  color: var(--lime);
  border-color: var(--navy);
  background: var(--navy);
  transform: translateY(-2px);
}

.brandits-logo--footer {
  justify-self: center;
}

.brandits-logo--footer img {
  height: 114px;
  margin-left: 4px;
}

.footer-address {
  justify-self: end;
  font-style: normal;
}

.footer-address p {
  margin: 4px 0;
  font-size: 16px;
  text-transform: uppercase;
}

.footer-address a:hover,
.footer-legal a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-address__map {
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-address a.footer-address__map:hover,
.footer-address a.footer-address__map:focus-visible {
  color: var(--red);
  text-decoration: none;
}

.footer-legal {
  min-height: 58px;
  background: white;
}

.footer-legal__inner {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
}

.legal-divider {
  width: 1px;
  height: 13px;
  background: var(--red);
}

.has-js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.has-js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.content-shell {
  min-height: 62vh;
  padding: 100px 0 120px;
}

.content-grid {
  width: min(calc(100% - 64px), var(--wide));
}

.content-header {
  max-width: 920px;
  margin-bottom: 56px;
}

.content-header h1,
.error-page h1 {
  color: var(--navy);
  font-size: clamp(48px, 6vw, 76px);
}

.post-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.post-card {
  padding-top: 18px;
  border-top: 2px solid var(--red);
}

.post-card__image {
  display: block;
  margin: -18px 0 24px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__meta {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 16px;
  font-weight: 700;
}

.post-card h2 {
  font-size: 32px;
}

.prose {
  max-width: 820px;
}

.prose .featured-image {
  margin-bottom: 48px;
}

.entry-content {
  font-size: 18px;
  line-height: 1.65;
}

.entry-content h2 {
  margin-top: 1.6em;
  font-size: 40px;
}

.entry-content h3 {
  margin-top: 1.5em;
  font-size: 28px;
}

.entry-content a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.comments-area {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--mist);
}

.comment-list {
  padding-left: 24px;
}

.search-form {
  display: flex;
  max-width: 680px;
  gap: 12px;
}

.search-form label {
  flex: 1;
}

.search-field {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--navy);
  font-size: 16px;
}

.error-page {
  display: grid;
  min-height: 70vh;
  place-items: center;
  padding: 100px 0;
  color: white;
  background: var(--navy);
}

.error-page__inner {
  max-width: 880px;
}

.error-page h1 {
  color: white;
}

.error-page p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 32px;
  font-size: 18px;
}

.contact-page-hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: var(--navy);
}

.contact-page-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 51, 102, 0.3) 0%, rgba(0, 51, 102, 0.08) 58%, rgba(0, 51, 102, 0) 78%);
  content: '';
  pointer-events: none;
}

.contact-page-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.contact-page-hero__image {
  position: absolute;
  bottom: 0;
  left: 58%;
  width: auto;
  max-width: none;
  height: 142%;
  transform: translateX(-50%);
}

.contact-page-hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 190px;
  padding-bottom: 80px;
}

.contact-page-hero__inner > * {
  max-width: 535px;
}

.contact-page-hero__inner .eyebrow {
  margin-bottom: 26px;
}

.contact-page-hero__inner h1 {
  max-width: 590px;
  margin-bottom: 24px;
  font-size: 48px;
}

.contact-page-hero__inner > p:not(.eyebrow) {
  max-width: 470px;
  margin-bottom: 28px;
  font-size: 20px;
  line-height: 1.45;
}

.contact-form-section {
  scroll-margin-top: 78px;
  padding: 92px 0 112px;
}

.contact-form-shell {
  max-width: 920px;
}

.contact-form-header {
  max-width: 680px;
  margin-bottom: 42px;
}

.contact-form-header h2 {
  color: var(--navy);
  font-size: 32px;
}

.contact-form-header > p:not(.eyebrow) {
  max-width: 610px;
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.55;
}

.form-notice {
  margin-bottom: 28px;
  padding: 16px 18px;
  border-left: 6px solid var(--lime);
  color: white;
  background: var(--navy);
  font-size: 16px;
  font-weight: 700;
}

.form-notice--error {
  border-left-color: var(--navy);
  background: var(--red);
}

.brandits-contact-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 22px;
}

.form-field label,
.form-consent {
  font-size: 16px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.form-field label span[aria-hidden='true'] {
  color: var(--red);
}

.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--navy);
  border-radius: 1px;
  color: var(--navy);
  background: white;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.form-field input {
  min-height: 54px;
  padding: 12px 14px;
}

.form-field textarea {
  min-height: 190px;
  padding: 14px;
  resize: vertical;
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: var(--red);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.16);
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-honeypot {
  position: absolute;
  top: 0;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.form-consent input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--navy);
}

.form-consent a {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 6px;
}

.form-actions p {
  margin-bottom: 0;
  font-size: 16px;
}

.form-actions .button {
  min-width: 260px;
  cursor: pointer;
}

.form-actions .button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.insight-archive-hero,
.case-archive-hero {
  min-height: 430px;
}

.insight-archive-hero__inner,
.case-archive-hero__inner {
  max-width: 920px;
  padding-top: 92px;
  padding-bottom: 98px;
}

.insight-archive-hero h1,
.case-archive-hero h1 {
  max-width: 880px;
  margin-bottom: 24px;
  color: var(--navy);
  font-size: 48px;
}

.insight-archive-hero__inner > p:not(.eyebrow),
.case-archive-hero__inner > p:not(.eyebrow) {
  max-width: 690px;
  margin-bottom: 0;
  font-size: 20px;
  line-height: 1.5;
}

.insight-library,
.case-library {
  padding: 82px 0 112px;
}

.insight-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.insight-filter {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border: 1px solid var(--navy);
  color: var(--navy);
  background: white;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.insight-filter:hover,
.insight-filter.is-active {
  color: white;
  background: var(--navy);
}

.insight-filter:active {
  transform: translateY(1px);
}

.insight-filters.is-loading {
  opacity: 0.62;
  pointer-events: none;
}

.insight-results-bar {
  display: flex;
  min-height: 32px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.insight-results-bar p {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 700;
}

.insight-filter-message {
  max-width: 520px;
  padding-left: 14px;
  border-left: 4px solid var(--red);
}

.insight-ajax-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px 24px;
}

.insight-grid-card {
  min-width: 0;
  grid-column: span 4;
}

.insight-grid-card:nth-child(6n + 1) {
  grid-column: span 8;
}

.insight-grid-card:nth-child(6n + 2) {
  grid-column: span 4;
}

.insight-grid-card__link,
.case-grid-card__link {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.insight-grid-card__media,
.case-grid-card__media {
  position: relative;
  overflow: hidden;
  background: var(--soft-grey);
}

.insight-grid-card__media {
  aspect-ratio: 4 / 3;
}

.insight-grid-card:nth-child(6n + 1) .insight-grid-card__media {
  aspect-ratio: 16 / 9;
}

.insight-grid-card__image,
.insight-grid-card__placeholder,
.case-grid-card__image,
.case-grid-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.insight-grid-card__image,
.case-grid-card__image {
  object-fit: cover;
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.insight-grid-card__placeholder,
.case-grid-card__placeholder {
  background: var(--soft-grey);
}

.insight-grid-card__link:hover .insight-grid-card__image,
.case-grid-card__link:hover .case-grid-card__image {
  transform: scale(1.025);
}

.insight-grid-card__body,
.case-grid-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 17px;
}

.insight-grid-card__meta {
  display: flex;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  gap: 9px;
  flex-wrap: wrap;
}

.insight-meta-divider {
  color: var(--red);
}

.insight-grid-card h2,
.case-grid-card h2 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 32px;
}

.insight-grid-card__excerpt {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.55;
}

.insight-grid-card__read,
.case-grid-card__body > span,
.single-back-link a {
  margin-top: auto;
  border-bottom: 1px solid var(--red);
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
}

.insight-empty,
.case-empty {
  grid-column: 1 / -1;
  padding: 58px 46px;
  border-left: 6px solid var(--red);
  background: var(--mist);
}

.insight-empty h2,
.case-empty h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 36px;
}

.insight-empty p,
.case-empty p {
  max-width: 560px;
  margin-bottom: 0;
  font-size: 18px;
}

.insight-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 52px;
}

.insight-load-more {
  display: none;
}

.insights-ajax-ready .insight-load-more {
  display: inline-flex;
}

.insights-ajax-ready .insight-load-more[hidden] {
  display: none;
}

.insight-load-more:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.insight-skeleton {
  display: grid;
  grid-column: span 4;
  gap: 12px;
}

.insight-skeleton:nth-child(1) {
  grid-column: span 8;
}

.insight-skeleton > * {
  display: block;
  overflow: hidden;
  background: linear-gradient(100deg, var(--mist) 20%, #eef3f6 42%, var(--mist) 64%);
  background-size: 220% 100%;
  animation: insight-skeleton-shimmer 1.2s ease-in-out infinite;
}

.insight-skeleton span {
  aspect-ratio: 4 / 3;
}

.insight-skeleton:nth-child(1) span {
  aspect-ratio: 16 / 9;
}

.insight-skeleton i {
  width: 38%;
  height: 18px;
}

.insight-skeleton b {
  width: 84%;
  height: 30px;
}

.insight-skeleton b:last-child {
  width: 62%;
  height: 18px;
}

@keyframes insight-skeleton-shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}

.case-archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 62px 28px;
}

.case-grid-card__media {
  aspect-ratio: 16 / 10;
}

.case-grid-card__body > p {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
}

.case-grid-card h2 {
  font-size: 38px;
}

.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 58px;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--navy);
  place-items: center;
  font-size: 16px;
  font-weight: 700;
}

.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
  color: white;
  background: var(--navy);
}

.single-case-hero,
.single-insight-header {
  color: var(--navy);
}

.single-case-hero__inner {
  display: grid;
  min-height: 490px;
  align-items: center;
  padding-top: 78px;
  padding-bottom: 90px;
  grid-template-columns: minmax(0, 1.65fr) minmax(250px, 0.7fr);
  gap: 84px;
}

.single-case-hero h1,
.single-insight-header h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: 64px;
}

.single-case-hero__intro,
.single-insight-header__intro {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 21px;
  line-height: 1.5;
}

.case-facts,
.insight-article-meta dl {
  margin: 0;
}

.case-facts {
  padding-left: 28px;
  border-left: 5px solid var(--red);
}

.case-facts > div + div,
.insight-article-meta dl > div + div {
  margin-top: 22px;
}

.case-facts dt,
.insight-article-meta dt {
  margin-bottom: 3px;
  font-size: 16px;
  font-weight: 700;
}

.case-facts dd,
.insight-article-meta dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.case-facts a,
.insight-article-meta a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-case-featured {
  width: min(calc(100% - 64px), var(--wide));
  margin-top: -48px;
}

.single-case-featured img,
.single-insight-featured img,
.single-case-secondary__image {
  width: 100%;
  height: auto;
}

.case-story {
  display: grid;
  padding-top: 102px;
  padding-bottom: 90px;
  grid-template-columns: 220px minmax(0, 720px);
  gap: 76px;
  justify-content: center;
}

.case-story__label p {
  margin-bottom: 0;
  color: var(--red);
  font-size: 18px;
  font-weight: 700;
}

.case-story__content h2 {
  font-size: 44px;
}

.single-case-secondary {
  margin-bottom: 90px;
}

.case-quote {
  max-width: 820px;
  padding: 62px 0 70px;
  border-top: 2px solid var(--red);
}

.case-quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: 40px;
  line-height: 1.16;
}

.case-quote figcaption {
  margin-top: 22px;
  font-size: 16px;
  font-weight: 700;
}

.single-back-link {
  display: flex;
  justify-content: flex-end;
  padding-top: 34px;
  padding-bottom: 86px;
  border-top: 1px solid var(--mist);
}

.single-insight-header__inner {
  max-width: 900px;
  padding-top: 92px;
  padding-bottom: 104px;
}

.single-insight-header__meta {
  display: flex;
  margin-bottom: 22px;
  font-size: 16px;
  font-weight: 700;
  gap: 10px;
  flex-wrap: wrap;
}

.single-insight-featured {
  margin-top: -52px;
}

.insight-article-layout {
  display: grid;
  padding-top: 96px;
  padding-bottom: 92px;
  grid-template-columns: 210px minmax(0, 700px);
  gap: 82px;
  justify-content: center;
}

.insight-article-meta {
  align-self: start;
  position: sticky;
  top: 32px;
  padding-left: 22px;
  border-left: 4px solid var(--red);
}

.insight-article-main {
  min-width: 0;
}

.insight-article-cta {
  margin-top: 70px;
  padding: 42px;
  border-left: 6px solid var(--lime);
  background: var(--navy);
  color: white;
}

.insight-article-cta h2 {
  margin-bottom: 16px;
  color: white;
  font-size: 36px;
}

.insight-article-cta p {
  margin-bottom: 24px;
  font-size: 18px;
  line-height: 1.55;
}

.insight-article-cta .button {
  min-width: 230px;
}

@media (max-width: 1100px) {
  .header-inner,
  .cases-grid,
  .insights-grid,
  .content-grid {
    width: min(calc(100% - 64px), var(--container));
  }

  .hero-media__image {
    left: -8%;
  }

  .hero-inner > * {
    max-width: 430px;
  }

  .cases-grid {
    grid-template-columns: 0.95fr 1fr 1fr;
    gap: 30px;
  }

  .insights-grid {
    grid-template-columns: 1.1fr repeat(3, 0.85fr);
  }

  .card-media--case {
    height: 270px;
  }

  .card-media--insight {
    height: 210px;
  }

  .footer-main {
    gap: 34px;
  }

  .contact-page-hero__image {
    left: 62%;
  }

  .insight-grid-card,
  .insight-grid-card:nth-child(6n + 1),
  .insight-grid-card:nth-child(6n + 2),
  .insight-skeleton,
  .insight-skeleton:nth-child(1) {
    grid-column: span 6;
  }

  .insight-grid-card:nth-child(6n + 1) .insight-grid-card__media,
  .insight-skeleton:nth-child(1) span {
    aspect-ratio: 4 / 3;
  }

  .single-case-hero__inner {
    gap: 46px;
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.7fr);
  }

  .case-story,
  .insight-article-layout {
    gap: 48px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 78px;
  }

  .container,
  .header-inner,
  .cases-grid,
  .insights-grid,
  .content-grid {
    width: min(calc(100% - 40px), var(--container));
  }

  .site-header {
    position: fixed;
    background: rgba(0, 51, 102, 0.97);
  }

  body.menu-open {
    overflow: hidden;
  }

  .site-action-dock {
    right: auto;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: max(23px, env(safe-area-inset-left));
    gap: 10px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-action-dock__whatsapp {
    width: 44px;
    min-height: 44px;
    flex: 0 0 44px;
    padding: 8px;
  }

  .site-action-dock__whatsapp img {
    width: 26px;
    height: 26px;
  }

  .site-action-dock__scan {
    min-width: min(236px, calc(100vw - 86px));
    min-height: 44px;
    flex: 0 1 auto;
  }

  .brandits-logo--header img {
    height: 68px;
  }

  .menu-toggle {
    position: relative;
    z-index: 63;
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    place-content: center;
    gap: 5px;
    color: var(--navy);
    background: var(--white);
    cursor: pointer;
    transition:
      color 220ms ease,
      background-color 220ms ease,
      transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition:
      transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
      opacity 180ms ease;
  }

  .menu-toggle:hover {
    background: var(--lime);
    transform: scale(1.04);
  }

  .menu-toggle[aria-expanded='true'] {
    position: fixed;
    top: 28px;
    right: 28px;
    color: var(--white);
    background: var(--navy);
  }

  .menu-toggle[aria-expanded='true']:hover {
    color: var(--navy);
    background: var(--lime);
    transform: scale(1.04) rotate(2deg);
  }

  .menu-toggle[aria-expanded='true'] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded='true'] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .primary-navigation {
    display: none;
  }

  .mobile-menu {
    position: fixed;
    z-index: 61;
    inset: 0;
    display: block;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  .mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu__panel {
    position: absolute;
    top: 16px;
    right: 16px;
    width: min(calc(100% - 48px), 360px);
    max-height: calc(100dvh - 32px);
    padding: 24px 28px 28px;
    overflow-y: auto;
    border-radius: 5px;
    color: #003366;
    background: var(--paper);
    opacity: 0;
    transform: translate3d(0, -10px, 0) scale(0.97);
    transform-origin: top right;
    transition:
      opacity 220ms ease,
      transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-menu.is-open .mobile-menu__panel {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }

  .mobile-menu__title,
  .mobile-menu__meta-title {
    margin: 0;
    color: #003366;
    font-family: var(--interface);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .mobile-menu__navigation {
    margin-top: 18px;
  }

  .mobile-menu__navigation ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .mobile-menu__navigation li {
    position: relative;
  }

  .mobile-menu__navigation a {
    position: relative;
    display: block;
    width: fit-content;
    max-width: calc(100% - 16px);
    padding: 0 0 4px;
    color: #003366;
    font-family: var(--interface);
    font-size: clamp(22px, 6.2vw, 26px);
    font-weight: 600;
    line-height: 1.12;
    transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-menu__navigation a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--lime);
    content: '';
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-menu__navigation a:hover,
  .mobile-menu__navigation a:focus-visible {
    color: #003366;
    transform: translateX(3px);
  }

  .mobile-menu__navigation a:hover::after,
  .mobile-menu__navigation a:focus-visible::after,
  .mobile-menu__navigation li.is-current a::after {
    transform: scaleX(1);
  }

  .mobile-menu__navigation a:active {
    transform: translateX(3px) scale(0.985);
  }

  .mobile-menu__meta {
    display: grid;
    margin-top: 54px;
    padding-top: 0;
    border-top: 0;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .mobile-menu__meta-title {
    margin-bottom: 12px;
    color: #003366;
  }

  .mobile-menu__meta a {
    display: block;
    padding: 3px 0;
    color: #003366;
    font-size: 16px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    text-decoration-color: transparent;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition:
      text-decoration-color 180ms ease,
      transform 180ms ease;
  }

  .mobile-menu__meta a:hover,
  .mobile-menu__meta a:focus-visible {
    color: #003366;
    text-decoration-line: underline;
    text-decoration-color: var(--red);
    transform: translateY(-1px);
  }

  .hero {
    min-height: 700px;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(0, 51, 102, 0.94) 0%, rgba(0, 51, 102, 0.72) 58%, rgba(0, 51, 102, 0.18) 100%);
  }

  .hero-media__image {
    left: 50%;
    height: 132%;
    transform: translateX(-48%);
  }

  .hero-inner {
    padding-top: 158px;
  }

  .hero-inner > * {
    max-width: 520px;
  }

  h1 {
    font-size: clamp(48px, 10vw, 64px);
  }

  .positioning-strip {
    overflow: hidden;
    white-space: nowrap;
  }

  .positioning-strip__track {
    width: max-content;
    justify-content: flex-start;
    animation: positioning-marquee 22s linear infinite;
    will-change: transform;
  }

  .positioning-strip__group {
    padding-inline: 22px;
  }

  .positioning-strip__group--duplicate {
    display: flex;
  }

  .cases-grid,
  .insights-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-card-scroller {
    grid-column: 1 / -1;
  }

  .home-card-track--cases,
  .home-card-track--insights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-intro {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  .section-intro > p:not(.eyebrow) {
    max-width: 580px;
  }

  .card-media--case,
  .card-media--insight {
    height: min(54vw, 380px);
  }

  .flow-steps {
    grid-template-columns: 1fr 1fr;
    gap: 44px 18px;
  }

  .flow-steps li:nth-child(2) .step-arrow {
    display: none;
  }

  .partner {
    grid-template-columns: 1fr;
  }

  .partner-image {
    min-height: 470px;
    grid-row: 1;
  }

  .partner-image__asset {
    min-height: 470px;
  }

  .partner-copy {
    justify-content: flex-start;
    padding: 72px 32px;
  }

  .partner-copy-inner {
    width: min(100%, 690px);
    margin-inline: auto;
  }

  .contact-inner {
    padding-block: 72px 84px;
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .contact-image {
    height: 460px;
  }

  .footer-main {
    min-height: 280px;
    padding-block: 42px;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .brandits-logo--footer {
    justify-self: center;
  }

  .footer-address {
    grid-column: 1 / -1;
    justify-self: center;
    text-align: center;
  }

  .post-list {
    grid-template-columns: 1fr 1fr;
  }

  .contact-page-hero {
    min-height: 650px;
  }

  .contact-page-hero::after {
    background: linear-gradient(90deg, rgba(0, 51, 102, 0.96) 0%, rgba(0, 51, 102, 0.76) 58%, rgba(0, 51, 102, 0.16) 100%);
  }

  .contact-page-hero__image {
    left: 66%;
    height: 136%;
  }

  .contact-page-hero__inner {
    padding-top: 156px;
  }

  .contact-page-hero__inner > * {
    max-width: 500px;
  }

  .insight-archive-hero,
  .case-archive-hero {
    min-height: 0;
  }

  .insight-archive-hero__inner,
  .case-archive-hero__inner,
  .single-insight-header__inner {
    padding-top: 132px;
    padding-bottom: 78px;
  }

  .insight-archive-hero h1,
  .case-archive-hero h1,
  .single-case-hero h1,
  .single-insight-header h1 {
    font-size: 52px;
  }

  .single-case-hero__inner {
    min-height: 0;
    padding-top: 132px;
    padding-bottom: 90px;
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .case-facts {
    display: grid;
    padding-top: 24px;
    padding-left: 0;
    border-top: 5px solid var(--red);
    border-left: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .case-facts > div + div {
    margin-top: 0;
  }

  .single-case-featured {
    width: min(calc(100% - 40px), var(--wide));
  }

  .case-story,
  .insight-article-layout {
    padding-top: 76px;
    padding-bottom: 76px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .case-story__content,
  .insight-article-main {
    max-width: 720px;
  }

  .insight-article-meta {
    position: static;
    padding-top: 22px;
    padding-left: 0;
    border-top: 4px solid var(--red);
    border-left: 0;
  }

  .insight-article-meta dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .insight-article-meta dl > div + div {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 124px;
  }

  .container,
  .header-inner,
  .cases-grid,
  .insights-grid,
  .content-grid {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    width: min(calc(100% - 64px), var(--container));
  }

  h1 {
    font-size: clamp(44px, 13vw, 58px);
  }

  h2,
  .section-intro h2,
  .insights .section-intro h2,
  .flow-heading h2,
  .contact-copy h2 {
    font-size: 38px;
  }

  .hero {
    min-height: 690px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgb(0 51 102 / 10%) 0%, rgb(0 51 102 / 0%) 70%);
  }

  .hero-media__image {
    left: 50%;
    width: clamp(720px, 205vw, 820px);
    max-width: none;
    height: auto;
    transform: translateX(-41%);
  }

  .hero-inner {
    width: min(calc(100% - 64px), var(--container));
    padding-top: 164px;
    padding-bottom: 238px;
  }

  .hero .eyebrow {
    margin-bottom: 14px;
  }

  .hero-inner h1 {
    max-width: 330px;
    margin-bottom: 14px;
    font-size: clamp(34px, 9.2vw, 36px);
    line-height: 1.04;
  }

  .hero-copy {
    max-width: 325px;
    font-size: 18px;
    line-height: 1.34;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .hero .button {
    width: auto;
    min-width: 244px;
  }

  .positioning-strip {
    min-height: 48px;
    font-size: 16px;
  }

  .cases,
  .insights {
    padding: 72px 0 84px;
  }

  .cases-grid,
  .insights-grid,
  .post-list {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .section-intro {
    grid-column: auto;
  }

  .home-card-scroller {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-right: 0;
    padding-bottom: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 0 16px;
    scroll-snap-type: inline mandatory;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .home-card-track,
  .home-card-track--cases,
  .home-card-track--insights {
    display: flex;
    width: max-content;
    padding-right: 16px;
    gap: 18px;
  }

  .home-card-track .case-card,
  .home-card-track .insight-card {
    width: min(78vw, 320px);
    flex: 0 0 min(78vw, 320px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .home-card-track .home-content-empty {
    width: calc(100vw - 32px);
  }

  .card-media--case,
  .card-media--insight {
    height: auto;
  }

  .card-media--case {
    aspect-ratio: 406 / 316;
  }

  .card-media--insight {
    aspect-ratio: 302 / 228;
  }

  .flow {
    padding-block: 68px 72px;
  }

  .flow-heading {
    text-align: center;
  }

  .flow-heading > p:last-child {
    max-width: 34rem;
    margin-inline: auto;
  }

  .flow-scroll-stage {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .flow-scroll-viewport {
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .flow-scroll-viewport::-webkit-scrollbar {
    display: none;
  }

  .flow-steps {
    display: flex;
    width: 100%;
    min-height: 260px;
    padding: 0;
    gap: 0;
    transform: none;
    will-change: auto;
  }

  .flow-steps li {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    flex: 0 0 100%;
    flex-direction: column;
    padding: 0 18px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    text-align: center;
  }

  .flow-steps .step-top {
    position: relative;
    width: 100%;
    justify-content: center;
  }

  .flow-steps .step-arrow,
  .flow-steps li:nth-child(2) .step-arrow {
    position: absolute;
    top: calc(50% - 1px);
    right: 16px;
    width: 44px;
    display: block;
    margin: 0;
  }

  .flow-steps h3,
  .flow-steps strong,
  .flow-steps p {
    text-align: center;
  }

  .flow-steps p {
    max-width: 310px;
    margin-inline: auto;
  }

  .flow-scroll-cue {
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 12px 0 0;
    color: var(--white);
    font-size: 16px;
    line-height: 1.3;
    opacity: 0.76;
    transition: opacity 220ms ease;
  }

  .flow-scroll-cue__arrow {
    display: inline-block;
    font-size: 20px;
    animation: flow-scroll-cue 1.4s ease-in-out infinite;
  }

  .flow-scroll-stage.has-flow-interaction .flow-scroll-cue {
    opacity: 0.38;
  }

  .flow-pagination,
  .has-js .flow-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 2px;
  }

  .flow-pagination__bullet {
    position: relative;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }

  .flow-pagination__bullet::before {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 10px;
    height: 10px;
    border: 2px solid white;
    border-radius: 50%;
    background: transparent;
    content: '';
    transform: translate(-50%, -50%);
    transition: background-color 180ms ease, transform 180ms ease;
  }

  .flow-pagination__bullet[aria-current='step']::before {
    background: white;
    transform: translate(-50%, -50%) scale(1.18);
  }

  .flow-pagination__bullet:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 0;
  }

  .flow-link {
    margin-top: 34px;
  }

  .partner-image,
  .partner-image__asset,
  .contact-image {
    min-height: 340px;
    height: 340px;
  }

  .partner-copy {
    padding: 64px 24px 72px;
  }

  .footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
  }

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

  .footer-social {
    align-items: center;
    justify-self: center;
  }

  .brandits-logo--footer {
    align-self: center;
  }

  .footer-address {
    width: 100%;
    text-align: center;
  }

  .footer-legal__inner {
    justify-content: center;
    padding-block: 16px;
    text-align: center;
  }

  .search-form {
    flex-direction: column;
  }

  .contact-page-hero {
    min-height: 690px;
  }

  .contact-page-hero::after {
    background: linear-gradient(180deg, rgba(0, 51, 102, 0.68) 0%, rgba(0, 51, 102, 0.95) 69%);
  }

  .contact-page-hero__image {
    left: 50%;
    height: 126%;
    transform: translateX(-51%);
  }

  .contact-page-hero__inner {
    padding-top: 130px;
    padding-bottom: 70px;
  }

  .contact-page-hero__inner h1 {
    font-size: clamp(44px, 13vw, 58px);
  }

  .contact-page-hero__inner > p:not(.eyebrow) {
    font-size: 18px;
  }

  .contact-form-section {
    padding: 72px 0 84px;
  }

  .contact-form-header h2 {
    font-size: 38px;
  }

  .brandits-contact-form {
    grid-template-columns: 1fr;
  }

  .form-field--full {
    grid-column: auto;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions .button {
    width: 100%;
    min-width: 0;
  }

  .insight-archive-hero__inner,
  .case-archive-hero__inner,
  .single-insight-header__inner,
  .single-case-hero__inner {
    padding-top: 118px;
    padding-bottom: 66px;
  }

  .insight-archive-hero h1,
  .case-archive-hero h1,
  .single-case-hero h1,
  .single-insight-header h1 {
    font-size: 44px;
  }

  .insight-archive-hero__inner > p:not(.eyebrow),
  .case-archive-hero__inner > p:not(.eyebrow),
  .single-case-hero__intro,
  .single-insight-header__intro {
    font-size: 18px;
  }

  .insight-library,
  .case-library {
    padding: 64px 0 82px;
  }

  .insight-filters {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    padding-right: 16px;
    padding-bottom: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scroll-snap-type: x proximity;
  }

  .insight-filter {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .insight-results-bar {
    display: block;
  }

  .insight-filter-message {
    margin-top: 14px;
  }

  .insight-ajax-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .insight-grid-card,
  .insight-grid-card:nth-child(6n + 1),
  .insight-grid-card:nth-child(6n + 2),
  .insight-skeleton,
  .insight-skeleton:nth-child(1) {
    grid-column: auto;
  }

  .insight-grid-card:nth-child(6n + 1) .insight-grid-card__media,
  .insight-skeleton:nth-child(1) span {
    aspect-ratio: 4 / 3;
  }

  .insight-grid-card h2,
  .case-grid-card h2 {
    font-size: 32px;
  }

  .insight-empty,
  .case-empty {
    padding: 38px 24px;
  }

  .insight-empty h2,
  .case-empty h2 {
    font-size: 32px;
  }

  .case-archive-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .case-facts,
  .insight-article-meta dl {
    grid-template-columns: 1fr;
  }

  .case-facts > div + div,
  .insight-article-meta dl > div + div {
    margin-top: 12px;
  }

  .single-case-featured {
    width: min(calc(100% - 32px), var(--wide));
    margin-top: -28px;
  }

  .case-story,
  .insight-article-layout {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .case-story__content h2 {
    font-size: 38px;
  }

  .case-quote {
    width: min(calc(100% - 32px), 820px);
    padding-top: 48px;
    padding-bottom: 54px;
  }

  .case-quote blockquote {
    font-size: 34px;
  }

  .single-insight-featured {
    margin-top: -28px;
  }

  .insight-article-cta {
    margin-top: 52px;
    padding: 32px 24px;
  }

  .insight-article-cta h2 {
    font-size: 32px;
  }

  .single-back-link {
    padding-bottom: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Version 1.3.9: contact page matched to the dedicated Figma frame. */
.site-header--contact .header-inner {
  width: min(calc(100% - 64px), 1140px);
}

.contact-page-hero {
  min-height: 800px;
}

.contact-page-hero::after {
  display: none;
}

.contact-page-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}

.contact-page-hero__inner {
  min-height: 800px;
  padding-top: 286px;
  padding-bottom: 96px;
}

.contact-page-hero__inner > * {
  max-width: 440px;
}

.contact-page-hero__inner .eyebrow {
  margin-bottom: 16px;
}

.contact-page-hero__inner h1 {
  max-width: 510px;
  margin-bottom: 22px;
  font-size: 52px;
}

.contact-page-hero__inner > p:not(.eyebrow) {
  max-width: 430px;
  margin-bottom: 28px;
  font-size: 18px;
  line-height: 1.42;
}

.contact-page-hero__actions {
  display: flex;
  max-width: none;
  align-items: center;
  gap: 24px;
}

.contact-page-hero__button {
  min-width: 190px;
  padding-inline: 18px;
  gap: 9px;
}

.contact-page-hero__button svg,
.contact-page-hero__button img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.contact-page-hero__button img {
  object-fit: contain;
}

.contact-page-hero__button.button--outline-lime img[src*="whatsapp.svg"] {
  filter: brightness(0) saturate(100%) invert(69%) sepia(80%) saturate(6144%) hue-rotate(88deg) brightness(122%) contrast(119%);
  transition: filter 180ms ease;
}

.contact-page-hero__button svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.contact-page-hero__button.button--lime:hover {
  border-color: var(--lime);
  color: var(--lime);
  background: transparent;
}

.contact-page-hero__button.button--outline-lime:hover {
  border-color: var(--lime);
  color: var(--white);
  background: var(--lime);
}

.contact-page-hero__button.button--outline-lime:hover img[src*="whatsapp.svg"] {
  filter: none;
}

.contact-form-section {
  padding: 115px 0 126px;
  background: #e6ebef;
}

.contact-form-shell {
  max-width: 850px;
}

.contact-form-header {
  max-width: none;
  margin-bottom: 52px;
  text-align: center;
}

.contact-form-header h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: 56px;
}

.brandits-contact-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 26px;
}

.form-field input,
.form-field textarea {
  border: 0;
  border-radius: 4px;
  color: var(--navy);
  background: var(--white);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--navy);
  opacity: 1;
}

.form-field input {
  min-height: 45px;
  padding: 10px 20px;
}

.form-field textarea {
  min-height: 194px;
  padding: 14px 20px;
}

.form-field input:hover,
.form-field textarea:hover {
  box-shadow: inset 0 0 0 1px var(--navy);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: transparent;
  box-shadow:
    inset 0 0 0 2px var(--navy),
    0 0 0 3px rgba(0, 255, 0, 0.42);
  outline: 0;
}

.form-actions {
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
  padding-top: 0;
}

.form-actions .button {
  width: 302px;
  min-width: 302px;
  flex: 0 0 302px;
}

.form-actions p {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.form-actions p a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1100px) {
  .contact-page-hero__image {
    object-position: 54% center;
  }
}

@media (max-width: 820px) {
  .contact-page-hero,
  .contact-page-hero__inner {
    min-height: 820px;
  }

  .contact-page-hero::after {
    display: block;
    background: linear-gradient(90deg, rgba(0, 51, 102, 0.98) 0%, rgba(0, 51, 102, 0.84) 52%, rgba(0, 51, 102, 0.12) 100%);
  }

  .contact-page-hero__image {
    object-position: 72% center;
  }

  .contact-page-hero__inner {
    padding-top: 218px;
    padding-bottom: 84px;
  }

  .contact-page-hero__inner > *,
  .contact-page-hero__inner > p:not(.eyebrow) {
    max-width: 430px;
  }

  .contact-form-shell {
    max-width: 700px;
  }

  .contact-form-section {
    padding: 88px 0;
  }

  .contact-form-header h2 {
    font-size: 48px;
  }
}

@media (max-width: 560px) {
  .contact-page-hero,
  .contact-page-hero__inner {
    min-height: 900px;
  }

  .contact-page-hero::after {
    background: linear-gradient(180deg, rgba(0, 51, 102, 0.98) 0%, rgba(0, 51, 102, 0.91) 54%, rgba(0, 51, 102, 0.08) 76%);
  }

  .contact-page-hero__image {
    top: auto;
    right: -10px;
    bottom: 0;
    left: auto;
    width: auto;
    height: 55%;
    object-fit: contain;
    object-position: right bottom;
  }

  .contact-page-hero__inner {
    padding-top: 146px;
    padding-bottom: 56px;
  }

  .contact-page-hero__inner h1 {
    max-width: 360px;
    font-size: 46px;
  }

  .contact-page-hero__inner > p:not(.eyebrow) {
    max-width: 355px;
    font-size: 17px;
  }

  .contact-page-hero__actions {
    width: min(100%, 270px);
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .contact-page-hero__button {
    width: 100%;
    min-width: 0;
  }

  .contact-form-section {
    padding: 72px 0 78px;
  }

  .contact-form-header {
    margin-bottom: 40px;
  }

  .contact-form-header h2 {
    font-size: 42px;
  }

  .brandits-contact-form {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-field--full {
    grid-column: auto;
  }

  .form-field textarea {
    min-height: 170px;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    padding-top: 8px;
  }

  .form-actions .button {
    width: 100%;
    min-width: 0;
    flex-basis: auto;
  }
}

/* Version 1.3.8: Figma-aligned content library and editorial templates. */
.card-type-label,
.library-card__label {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 24px;
  min-width: 108px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 5px;
  color: var(--white);
  background: var(--red);
  font-family: var(--interface);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

.card-media {
  border-radius: 10px;
}

.home-content-empty {
  min-height: 228px;
  display: grid;
  place-items: center;
  padding: 32px;
  border: 1px solid rgb(0 51 102 / 18%);
  font-size: 16px;
  text-align: center;
}

.library-archive-hero {
  min-height: 294px;
}

.library-archive-hero__inner {
  padding-top: 54px;
  padding-bottom: 60px;
}

.library-archive-hero h1 {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: 48px;
  letter-spacing: 0.025em;
}

.library-archive-hero__inner > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 0;
  font-family: var(--intro);
  font-size: 24px;
  line-height: 1.3;
}

.library {
  padding: 58px 0 100px;
}

.library__inner {
  width: min(calc(100% - 64px), 1280px);
}

.library-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.library-filter {
  min-width: 108px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border: 1px solid var(--navy);
  border-radius: 5px;
  color: var(--navy);
  background: transparent;
  font-family: var(--interface);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  translate: var(--micro-x, 0) var(--micro-y, 0);
  transition:
    color 180ms ease,
    background-color 180ms ease,
    translate 180ms ease,
    transform 180ms ease;
}

.library-filter:hover,
.library-filter.is-active {
  color: var(--white);
  background: var(--navy);
}

.library-filter:active {
  transform: scale(0.98);
}

.library-filters.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.library-ajax-grid {
  display: grid;
  width: min(100%, 1277px);
  margin-inline: auto;
  grid-template-columns: repeat(4, minmax(0, 302px));
  gap: 40px 23px;
  align-items: start;
}

.library-ajax-grid.is-masonry-ready {
  position: relative;
  display: block;
}

.library-card {
  min-width: 0;
}

.library-card:nth-child(8n + 1),
.library-card:nth-child(8n + 4) {
  grid-column: span 2;
}

.library-ajax-grid.is-masonry-ready .library-card {
  position: absolute;
  margin: 0;
  transition:
    top 520ms cubic-bezier(0.16, 1, 0.3, 1),
    left 520ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 220ms ease,
    transform 220ms ease,
    filter 220ms ease;
}

.library-ajax-grid.is-loading .library-card {
  opacity: 0.45;
}

.library-ajax-grid.is-transitioning-out .library-card {
  opacity: 0;
  filter: blur(2px);
  transform: translate3d(0, 14px, 0) scale(0.985);
}

.library-card.is-entering {
  animation: library-card-enter 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(var(--library-enter-index, 0) * 55ms);
}

@keyframes library-card-enter {
  from {
    opacity: 0;
    filter: blur(3px);
    transform: translate3d(0, 22px, 0) scale(0.985);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.library-card__link {
  display: block;
}

.library-card__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
  background: var(--soft-grey);
}

.library-card__label {
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  min-width: 0;
  min-height: 30px;
  padding: 5px 9px;
  border: 0;
  border-radius: 5px;
  color: var(--navy);
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 2px 6px rgb(0 28 57 / 22%);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: normal;
}

.library-card__image,
.library-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.library-card__image {
  object-fit: cover;
  transform: scale(1.001);
  transition:
    transform 650ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 300ms ease;
}

.library-card__placeholder {
  background: var(--soft-grey);
}

.library-card__body {
  max-width: 94%;
  padding: 14px 0 0 24px;
}

.library-card h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  transition:
    color 180ms ease,
    transform 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.library-card__body > p:last-child {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.25;
}

.library-card__link:hover .library-card__image {
  filter: saturate(1.04);
  transform: scale(1.04);
}

.library-card__link:hover h2 {
  color: var(--red);
  transform: translateX(3px);
}

.library-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

.library-load-more {
  display: none;
}

.library-ajax-ready .library-load-more:not([hidden]) {
  display: inline-flex;
}

.library-empty-state {
  grid-column: 1 / -1;
  padding: 72px 32px;
  color: var(--navy);
  background: rgb(0 51 102 / 10%);
  text-align: center;
}

.library-empty-state h2 {
  margin-bottom: 10px;
  font-size: 32px;
}

.library-empty-state p {
  margin-bottom: 0;
  font-size: 16px;
}

.single-brandits_case .site-header--solid,
.single-brandits_insight .site-header--solid,
.single-brandits_perspective .site-header--solid {
  min-height: 120px;
}

.editorial-single-body {
  padding: 54px 0 0;
}

.editorial-single-grid {
  display: grid;
  width: min(calc(100% - 64px), 1170px);
  grid-template-columns: minmax(0, 630px) minmax(0, 411px);
  gap: 130px;
  align-items: start;
}

.editorial-single-main {
  min-width: 0;
}

.editorial-type {
  margin-bottom: 33px;
}

.editorial-heading {
  margin-bottom: 36px;
}

.editorial-heading .eyebrow {
  margin-bottom: 18px;
}

.editorial-heading h1 {
  max-width: 630px;
  margin-bottom: 22px;
  color: var(--navy);
  font-size: 48px;
  letter-spacing: 0.02em;
}

.editorial-intro {
  max-width: 610px;
  margin-bottom: 18px;
  font-family: var(--intro);
  font-size: 24px;
  line-height: 1.42;
}

.editorial-client {
  color: var(--red);
  font-size: 16px;
  font-weight: 700;
}

.editorial-featured,
.editorial-secondary {
  position: relative;
  margin: 0 0 42px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--soft-grey);
}

.editorial-featured img,
.editorial-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-featured--lead {
  aspect-ratio: 1;
}

.editorial-featured--case {
  aspect-ratio: 628 / 411;
}

.editorial-content {
  margin-bottom: 42px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.68;
}

.editorial-content > :first-child {
  margin-top: 0;
}

.editorial-content h2 {
  margin-top: 1.6em;
  font-size: 32px;
}

.editorial-content h3 {
  margin-top: 1.45em;
  font-size: 24px;
}

.editorial-content blockquote {
  margin: 42px 0;
  padding-left: 24px;
  border-left: 6px solid var(--red);
  font-family: var(--intro);
  font-size: 24px;
}

.case-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 42px;
  padding: 24px;
  background: rgb(0 51 102 / 10%);
}

.case-facts dt {
  margin-bottom: 4px;
  color: var(--red);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.case-facts dd {
  margin: 0;
  font-size: 16px;
}

.case-facts a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.editorial-secondary {
  aspect-ratio: 4 / 3;
}

.editorial-single .case-quote {
  width: 100%;
  margin: 44px 0;
  padding: 36px;
  color: var(--white);
  background: var(--navy);
}

.editorial-single .case-quote blockquote {
  margin: 0;
  font-family: var(--intro);
  font-size: 28px;
  line-height: 1.35;
}

.editorial-single .case-quote figcaption {
  margin-top: 16px;
  color: var(--lime);
  font-size: 16px;
  font-weight: 700;
}

.editorial-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 84px;
}

.editorial-actions .button {
  min-width: 0;
  min-height: 44px;
  width: 100%;
  font-size: 16px;
}

.related-rail {
  min-width: 0;
}

.related-rail > h2 {
  margin: 56px 0 34px;
  color: var(--navy);
  font-family: var(--body);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.related-item a {
  display: grid;
  grid-template-columns: 111px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.related-item + .related-item {
  margin-top: 24px;
}

.related-item__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background: var(--soft-grey);
}

.related-item__image,
.related-item__placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.related-item__image {
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.related-item__placeholder {
  background: rgb(0 51 102 / 16%);
}

.related-item__copy h3 {
  margin: 5px 0 6px;
  color: var(--navy);
  font-size: 24px;
  transition: color 180ms ease;
}

.related-item__copy p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.35;
}

.related-item--featured a {
  display: block;
}

.related-item--featured .related-item__media {
  width: 100%;
  aspect-ratio: 1;
}

.related-item--featured .related-item__copy h3 {
  max-width: 330px;
  margin: 12px 0 0 24px;
  font-size: 24px;
}

.related-item a:hover .related-item__image {
  transform: scale(1.04);
}

.related-item a:hover h3 {
  color: var(--red);
}

.single-contact-cta {
  overflow: hidden;
}

.single-contact-cta__inner {
  display: grid;
  width: min(calc(100% - 64px), 1062px);
  min-height: 356px;
  grid-template-columns: 1fr 641px;
  align-items: stretch;
}

.single-contact-cta__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 42px 28px 0;
}

.single-contact-cta__copy h2 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 32px;
}

.single-contact-cta__copy > p:not(.eyebrow) {
  margin-bottom: 22px;
  font-size: 16px;
}

.single-contact-cta__copy .button {
  min-width: 299px;
}

.single-contact-cta__media {
  position: relative;
  min-height: 356px;
  overflow: hidden;
}

.single-contact-cta__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.single-contact-cta__caption {
  position: absolute;
  z-index: 1;
  bottom: 24px;
  left: 24px;
  margin: 0;
  color: var(--white);
  font-family: var(--interface);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
}

/* Motion communicates hierarchy, image depth and direct interaction feedback. */
.has-js .reveal,
.has-js [data-reveal] {
  --reveal-x: 0px;
  --reveal-y: 28px;
  --reveal-scale: 1;
  opacity: 0;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(var(--reveal-scale));
  transition:
    opacity 680ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--reveal-delay, 0ms) + var(--reveal-index, 0) * 80ms);
}

.has-js .reveal--left {
  --reveal-x: 34px;
  --reveal-y: 0px;
}

.has-js .reveal--right {
  --reveal-x: -34px;
  --reveal-y: 0px;
}

.has-js .reveal--scale {
  --reveal-y: 18px;
  --reveal-scale: 0.975;
}

.has-js .reveal.is-visible,
.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.has-js .site-header {
  opacity: 0;
  transform: translateY(-14px);
  transition:
    opacity 520ms ease,
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.has-js.page-ready .site-header {
  opacity: 1;
  transform: translateY(0);
}

.has-js .positioning-strip__group--primary > span {
  opacity: 0;
  transform: translate3d(-12px, 0, 0);
  transition:
    opacity 460ms ease,
    transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

.has-js .positioning-strip.is-visible .positioning-strip__group--primary > span {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.has-js .positioning-strip.is-visible .positioning-strip__group--primary > span:nth-child(2) {
  transition-delay: 55ms;
}
.has-js .positioning-strip.is-visible .positioning-strip__group--primary > span:nth-child(3) {
  transition-delay: 110ms;
}
.has-js .positioning-strip.is-visible .positioning-strip__group--primary > span:nth-child(4) {
  transition-delay: 165ms;
}
.has-js .positioning-strip.is-visible .positioning-strip__group--primary > span:nth-child(5) {
  transition-delay: 220ms;
}
.has-js .positioning-strip.is-visible .positioning-strip__group--primary > span:nth-child(6) {
  transition-delay: 275ms;
}
.has-js .positioning-strip.is-visible .positioning-strip__group--primary > span:nth-child(7) {
  transition-delay: 330ms;
}
.has-js .positioning-strip.is-visible .positioning-strip__group--primary > span:nth-child(8) {
  transition-delay: 385ms;
}
.has-js .positioning-strip.is-visible .positioning-strip__group--primary > span:nth-child(9) {
  transition-delay: 440ms;
}

.has-js .flow-steps .step-arrow {
  transform: scaleX(0);
  transform-origin: left;
}

.has-js .flow-steps .is-visible .step-arrow {
  transform: scaleX(1);
  transition: transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.has-js .flow-steps li:nth-child(1) .step-arrow {
  transition-delay: 240ms;
}
.has-js .flow-steps li:nth-child(2) .step-arrow {
  transition-delay: 560ms;
}
.has-js .flow-steps li:nth-child(3) .step-arrow {
  transition-delay: 880ms;
}

@keyframes positioning-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 820px) {
  .has-js .positioning-strip__group--primary > span {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 560px) {
  .has-js .flow-steps .step-arrow {
    transform: scaleX(0);
    transform-origin: left;
  }

  .has-js .flow-steps .is-visible .step-arrow {
    transform: scaleX(1);
  }

  .has-js .flow-steps li:nth-child(1) .step-arrow,
  .has-js .flow-steps li:nth-child(2) .step-arrow,
  .has-js .flow-steps li:nth-child(3) .step-arrow {
    transition-delay: 220ms;
  }
}

@keyframes flow-scroll-cue {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(7px);
  }
}

@keyframes flow-step-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .motion-parallax > img {
      animation: brandits-media-drift linear both;
      animation-timeline: view();
      animation-range: entry -15% exit 115%;
    }
  }
}

@keyframes brandits-media-drift {
  from {
    transform: scale(1.06) translate3d(0, -2%, 0);
  }
  to {
    transform: scale(1.06) translate3d(0, 2%, 0);
  }
}

@media (max-width: 1100px) {
  .editorial-single-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(290px, 1fr);
    gap: 48px;
  }

  .single-contact-cta__inner {
    grid-template-columns: minmax(320px, 1fr) minmax(0, 1.35fr);
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 112px;
  }

  .brandits-logo--header img {
    height: 76px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-inner {
    padding-top: 150px;
  }

  .hero-copy,
  .library-archive-hero__inner > p:not(.eyebrow),
  .editorial-intro {
    font-size: 20px;
  }

  .library-archive-hero {
    min-height: 420px;
  }

  .library-archive-hero__inner {
    padding-top: 164px;
    padding-bottom: 68px;
  }

  .library {
    padding-top: 44px;
  }

  .library-filters {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    padding-right: 16px;
    padding-bottom: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scroll-snap-type: x proximity;
  }

  .library-filter {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .library-ajax-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 20px;
  }

  .library-card:nth-child(8n + 1),
  .library-card:nth-child(8n + 4) {
    grid-column: span 2;
  }

  .library-card__body {
    max-width: 100%;
    padding-left: 0;
  }

  .single-brandits_case .site-header--solid,
  .single-brandits_insight .site-header--solid,
  .single-brandits_perspective .site-header--solid {
    min-height: 112px;
  }

  .editorial-single-body {
    padding-top: 164px;
  }

  .editorial-single-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 68px;
  }

  .related-rail {
    padding-bottom: 72px;
  }

  .related-item--featured {
    max-width: 520px;
  }

  .single-contact-cta__inner {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .single-contact-cta__copy {
    width: min(calc(100% - 48px), 620px);
    margin-inline: auto;
    padding: 64px 0;
  }

  .single-contact-cta__media {
    min-height: 360px;
  }
}

@media (max-width: 560px) {
  .library__inner,
  .editorial-single-grid {
    width: min(calc(100% - 32px), 1280px);
  }

  .library-archive-hero h1,
  .editorial-heading h1 {
    font-size: 42px;
  }

  .section-intro h2,
  .insights .section-intro h2,
  .flow-heading h2,
  .contact-copy h2 {
    font-size: 32px;
  }

  .library-ajax-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .library-card:nth-child(8n + 1),
  .library-card:nth-child(8n + 4) {
    grid-column: auto;
  }

  .library-card__body {
    padding-top: 12px;
  }

  .library-card h2 {
    font-size: 24px;
  }

  .editorial-actions {
    grid-template-columns: 1fr;
  }

  .related-item a {
    gap: 18px;
  }

  .related-item__copy h3,
  .related-item--featured .related-item__copy h3 {
    font-size: 22px;
  }

  .case-facts {
    grid-template-columns: 1fr;
  }

  .single-contact-cta__copy .button {
    min-width: 0;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media {
    animation: none;
    transform: none;
  }

  .has-js .site-header,
  .has-js .positioning-strip__group--primary > span,
  .has-js .reveal,
  .has-js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .motion-parallax > img {
    animation: none;
    transform: none;
  }

  .positioning-strip__track {
    animation: none;
    transform: none;
  }

  .positioning-strip__group--duplicate {
    display: none;
  }

  .flow-scroll-cue__arrow {
    animation: none;
  }

  .has-js .flow-steps .step-arrow {
    transform: none;
    transition: none;
  }

  .has-js .flow-steps li:not([hidden]) {
    animation: none;
  }

  .menu-toggle,
  .menu-toggle span:not(.screen-reader-text),
  .mobile-menu,
  .mobile-menu__panel,
  .library-ajax-grid.is-masonry-ready .library-card,
  .library-card.is-entering {
    animation: none;
    transition: none;
  }

  .library-ajax-grid.is-transitioning-out .library-card {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* Figma mobile frames: compact hero composition and inset menu card. */
@media (max-width: 560px) {
  :root {
    --header-height: 124px;
  }

  .header-inner,
  .hero-inner {
    width: min(calc(100% - 64px), var(--container));
  }

  .brandits-logo--header img {
    height: 68px;
  }

  .hero {
    min-height: 690px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgb(0 51 102 / 10%) 0%, rgb(0 51 102 / 0%) 70%);
  }

  .hero-media__image {
    left: 50%;
    width: clamp(720px, 205vw, 820px);
    max-width: none;
    height: auto;
    transform: translateX(-41%);
  }

  .hero-inner {
    padding-top: 164px;
    padding-bottom: 238px;
  }

  .hero .eyebrow {
    margin-bottom: 14px;
  }

  .hero-inner h1 {
    max-width: 330px;
    margin-bottom: 14px;
    font-size: clamp(34px, 9.2vw, 36px);
    line-height: 1.04;
  }

  .hero-copy {
    max-width: 325px;
    font-size: 18px;
    line-height: 1.34;
  }

  .hero .button {
    width: auto;
    min-width: 244px;
  }
}

/* Compact mobile header after the first scroll movement. */
@media (max-width: 820px) {
  .header-inner,
  .brandits-logo--header img {
    transition:
      height 240ms cubic-bezier(0.16, 1, 0.3, 1),
      width 240ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .site-header.is-compact .header-inner {
    height: 80px;
  }

  .site-header.is-compact .brandits-logo--header img {
    height: 52px;
  }
}

@media (max-width: 560px) {
  .site-header.is-compact .header-inner {
    height: 74px;
  }

  .site-header.is-compact .brandits-logo--header img {
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-inner,
  .brandits-logo--header img {
    transition: none;
  }
}
