/* Review 3.0: focused layout corrections; shared brand tokens stay unchanged. */
body.brawus-v2 .rv2-hero h1 { margin-bottom: 42px !important; }
body.brawus-v2 .rv2-hero__photo img { object-position: 24% center; }
body.brawus-v2.page-home .eh-projects-head,
body.brawus-v2.page-home .eh-project-gallery { border: 0 !important; }
body.brawus-v2.page-home #eh-news-title { max-width: none !important; font-size: clamp(38px, 5.2vw, 76px) !important; }
body.brawus-v2 .faqv-hero::after { content: none !important; }
body.brawus-v2 .faqv-proof__visual img { object-position: center top; transform: scale(1.22) !important; transform-origin: center top !important; }
body.brawus-v2 .careerv-principles,
body.brawus-v2 .itsv2-start__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.brawus-v2 .itsv2-start__grid h3 { min-height: 2.2em; line-height: 1.1 !important; max-width: none; }
body.brawus-v2 .itsv2-case > div { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; }
body.brawus-v2 .itsv2-case > div strong { grid-column: 1; grid-row: 1; text-align: left; }
body.brawus-v2 .itsv2-case > div span { grid-column: 2; grid-row: 1; text-align: right; }
body.brawus-v2 .itsv2-case > div i { grid-column: 3; grid-row: 1; }
body.brawus-v2 .mdv3-start { border-bottom: 0 !important; }
body.brawus-v2 .mdv3-scope { border-top: 0 !important; }
body.brawus-v2 .mdv3-scope .mdv3-section-copy h2 { font-size: clamp(34px, 4vw, 60px); }
body.brawus-v2 .mdv3-scope__media { align-self: stretch; aspect-ratio: auto; min-height: 600px; }
body.brawus-v2 .mdv3-scope__media img { height: 100%; object-position: center top; }
body.brawus-v2 .mdv3-process__track li::before { content: none !important; }
body.brawus-v2 .web-stack__note { margin-top: 36px !important; max-width: none !important; font-size: clamp(13px, 1.1vw, 17px); }
body.brawus-v2.page-web-development .ed-template-hero h1.rv3-title-lines { max-width: none !important; font-size: clamp(44px, 5.1vw, 78px) !important; }
body.brawus-v2 .rv3-title-lines > span { display: block; white-space: nowrap; }
body.brawus-v2 .pdv-thesis .pdv-shell { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: stretch; }
body.brawus-v2 .pdv-thesis__proof { display: flex; flex-direction: column; }
body.brawus-v2 .pdv-thesis__statement { display: flex; flex-direction: column; justify-content: space-between; }
body.brawus-v2 .pdv-thesis__proof article { flex: 1; align-items: center; grid-template-columns: 1fr; gap: 12px; padding-block: 18px; }
body.brawus-v2 .pdv-thesis__proof strong { font-size: clamp(22px, 1.8vw, 26px); }
body.brawus-v2 .pdv-thesis__proof p { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; }
body.brawus-v2 .ps-hero__actions .ps-button { box-sizing: border-box; height: 58px; min-height: 58px; padding: 0 26px; display: inline-flex; align-items: center; justify-content: center; }
body.brawus-v2 #portfolio-catalog-title { max-width: none !important; white-space: nowrap; font-size: clamp(36px, 5.5vw, 80px) !important; }
body.brawus-v2 .br-loop { touch-action: pan-y; cursor: grab; }
body.brawus-v2 .br-loop.is-dragging { cursor: grabbing; user-select: none; }
body.brawus-v2 .br-loop-controls { display: flex; flex: none; justify-content: flex-end; gap: 10px; margin: 0 0 22px auto; }
body.brawus-v2 .eh-reviews-heading .br-loop-controls,
body.brawus-v2 .br-client-strip__head .br-loop-controls { margin: 0; }
body.brawus-v2 .br-loop-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #171c2433; border-radius: 50%; background: transparent; color: #171c24; font-size: 20px; cursor: pointer; transition: background .2s, border-color .2s; }
body.brawus-v2 .br-loop-controls button:hover { background: #6576eb1a; border-color: #6576eb; }
body.brawus-v2 .br-loop-controls button:focus-visible { outline: 2px solid #6576eb; outline-offset: 4px; }
@media (min-width: 761px) {
  body.brawus-v2 #eh-news-title, body.brawus-v2 .web-stack__note { white-space: nowrap; }
}

/* Final photo review: override the route stylesheet, not only generic image rules. */
body.brawus-v2.page-why-choose-us .wyb2-page .wyb2-hero__visual {
  inset: 0 calc((100vw - var(--wyb-shell)) / -2 - 12vw) 0 calc((100vw - var(--wyb-shell)) / -2 + 12vw);
}
body.brawus-v2.page-why-choose-us .wyb2-page .wyb2-hero__visual img {
  object-position: center 44%;
}
body.brawus-v2.page-why-choose-us .wyb2-page .wyb2-hero::before {
  background: linear-gradient(90deg, #090c11 0%, rgba(9,12,17,.98) 27%, rgba(9,12,17,.82) 39%, rgba(9,12,17,.28) 53%, rgba(9,12,17,.04) 72%), linear-gradient(0deg, #090c11, transparent 26%);
}
body.brawus-v2.page-why-choose-us .wyb2-page .wyb2-hero__copy { width: min(49%, 680px); }

/* The document is the only vertical scroll container. The photo sticks within this section. */
body.brawus-v2.page-about-us .aub2-page .aub2-process { overflow: visible; }
body.brawus-v2.page-about-us .aub2-page .aub2-process__body {
  --process-height: min(560px, calc(100dvh - 152px));
  align-items: start;
}
body.brawus-v2.page-about-us .aub2-page .aub2-process__list {
  height: auto;
  max-height: none;
  padding-right: 0;
  overflow: visible;
  overscroll-behavior: auto;
}
body.brawus-v2.page-about-us .aub2-page .aub2-process__photos {
  position: sticky;
  top: 116px;
  height: var(--process-height);
  align-self: start;
}
body.brawus-v2.page-about-us .aub2-page .aub2-process__photos figure { height: 100%; min-height: 0; }

/* A stable portrait ratio keeps headroom consistent on tall and short screens. */
body.brawus-v2.page-about-us .aub2-page .aub2-team__grid { grid-auto-rows: auto; }
body.brawus-v2.page-about-us .aub2-page .aub2-person {
  --portrait-scale: 1;
  aspect-ratio: 3 / 4;
  min-height: 0;
}
body.brawus-v2.page-about-us .aub2-page .aub2-person figure {
  position: absolute;
  inset: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
body.brawus-v2.page-about-us .aub2-page .aub2-person img,
body.brawus-v2.page-about-us .aub2-page .aub2-person:hover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transform: scale(var(--portrait-scale));
  transform-origin: center bottom;
}
body.brawus-v2.page-about-us .aub2-page .aub2-person--ilya-lead { --portrait-scale: 1.02; }
body.brawus-v2.page-about-us .aub2-page .aub2-person--igor { --portrait-scale: 1.06; }
body.brawus-v2.page-about-us .aub2-page .aub2-person--anton { --portrait-scale: 1.1; }
body.brawus-v2.page-about-us .aub2-page .aub2-person--violetta { --portrait-scale: 1.08; }
body.brawus-v2.page-about-us .aub2-page .aub2-person--studio figure {
  background: #17191a;
}
body.brawus-v2.page-about-us .aub2-page .aub2-person--studio figure::before {
  position: absolute;
  inset: 0;
  content: "";
  background: url('/_redesign/assets/team-final-20260907/studio-background.webp') center / cover no-repeat;
  filter: grayscale(1) contrast(1.07) brightness(.88);
  transition: filter .45s ease;
}
body.brawus-v2.page-about-us .aub2-page .aub2-person--studio img,
body.brawus-v2.page-about-us .aub2-page .aub2-person--studio:hover img {
  position: relative;
  padding-top: 6%;
  object-fit: contain;
  object-position: center bottom;
  transform: none;
}
@media (hover: hover) {
  body.brawus-v2.page-about-us .aub2-page .aub2-person--studio:hover figure::before { filter: grayscale(0) contrast(1.04); }
}
@media (max-width: 760px) {
  body.brawus-v2.page-why-choose-us .wyb2-page .wyb2-hero__visual { inset: 0 calc((100vw - var(--wyb-shell)) / -2); }
  body.brawus-v2.page-why-choose-us .wyb2-page .wyb2-hero__visual img { object-position: 53% center; }
  body.brawus-v2.page-why-choose-us .wyb2-page .wyb2-hero__copy { width: 100%; }
  body.brawus-v2.page-why-choose-us .wyb2-page .wyb2-hero::before {
    background: linear-gradient(0deg, #090c11, rgba(9,12,17,.96) 25%, rgba(9,12,17,.65) 49%, rgba(9,12,17,.05) 85%);
  }
  body.brawus-v2.page-about-us .aub2-page .aub2-process__photos { position: static; top: auto; height: auto; aspect-ratio: 1.5; }
}
@media (max-width: 760px) {
  body.brawus-v2 .rv2-hero h1 { margin-bottom: 28px !important; }
  body.brawus-v2 .careerv-principles, body.brawus-v2 .itsv2-start__grid,
  body.brawus-v2 .pdv-thesis .pdv-shell { grid-template-columns: 1fr; }
  body.brawus-v2 .itsv2-start__grid h3 { min-height: 0; }
  body.brawus-v2 .itsv2-case > div { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  body.brawus-v2 .itsv2-case > div span { grid-column: 1; grid-row: 2; text-align: left; }
  body.brawus-v2 .itsv2-case > div i { grid-column: 2; }
  body.brawus-v2.page-web-development .ed-template-hero h1.rv3-title-lines { font-size: clamp(32px, 9.1vw, 62px) !important; }
  body.brawus-v2 .web-stack__note { line-height: 1.5; }
  body.brawus-v2 .mdv3-scope__media { min-height: 0; aspect-ratio: 4 / 5; }
  body.brawus-v2 .ps-hero__actions .ps-button { height: 56px; min-height: 56px; }
  body.brawus-v2 .pdv-thesis__proof article { padding-block: 24px; }
}
