.barit-home {
  --bh-section-space: clamp(54px, 7vw, 108px);
  background: var(--barit-paper);
  color: var(--barit-ink);
}

.bh-container,
.bh-offer-container {
  width: var(--barit-frame-content);
  margin-inline: auto;
}

.bh-section { padding-block: var(--bh-section-space); }
.barit-home section[id] { scroll-margin-block-start: 16px; }
.barit-home :is(h1, h2, h3) { color: inherit; word-break: keep-all; letter-spacing: -.045em; }
.barit-home h1 { margin: 0; line-height: 1.15; text-wrap: balance; }
.barit-home h2 { margin: 0 0 12px; line-height: 1.25; }
.barit-home h3 { margin: 0; line-height: 1.3; }
.barit-home p { margin: 0; color: var(--barit-muted); line-height: 1.65; word-break: keep-all; }

.bh-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 36px;
  margin-block-end: clamp(24px, 4vw, 52px);
}

.bh-section-heading p { max-width: 52ch; }
.bh-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-block-start: 24px; }
.bh-text-link { text-decoration: underline; text-underline-offset: .24em; }
.bh-text-link:hover { color: var(--barit-accent); }

.bh-primary,
.bh-secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 650;
  text-decoration: none;
}

.barit-home .bh-primary { background: var(--barit-ink); color: var(--barit-paper); }
.barit-home .bh-primary:hover { background: var(--barit-accent); }

html:has(> .route-home) {
  --bh-nav-inset: var(--barit-nav-inset);
}

.route-home {
  --barit-overlay-ink: #f7f7f7;
  --barit-overlay-muted: #ccc;
  --barit-overlay-surface: #101010;
  --bh-nav-height: var(--barit-overlay-row);
  --bh-header-space: var(--barit-overlay-height);
  --bh-hero-surface: var(--barit-overlay-surface);
  --bh-hero-text: var(--barit-overlay-ink);
  --bh-hero-secondary: var(--barit-overlay-muted);
  --bh-hero-rail: #eeeff0;
  --bh-hero-rule: #d7d9de;
  --bh-hero-accent: var(--barit-accent);
}

.bh-hero {
  --bh-hero-wave-height: clamp(40px, 5.6vw, 96px);
  --hero-film-size: min(65vw, 70svh, 840px);
  --hero-film-top: calc(var(--bh-header-space) + clamp(24px, 3vw, 48px));
  --hero-copy-top: calc(var(--hero-film-top) + var(--hero-film-size) * .32);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-block-size: max(620px, 100svh);
  background: radial-gradient(ellipse at 50% 36%, #252525, transparent 84%) var(--bh-hero-surface);
  color: var(--bh-hero-text);
}

.bh-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: var(--bh-hero-wave-height);
  background: var(--barit-paper);
  pointer-events: none;
  clip-path: polygon(
    0 76%, 6% 68.8%, 12% 60.2%, 18% 51.9%, 24% 45.5%, 30% 42.6%, 36% 45%,
    42.3% 51%, 49.1% 57.3%, 56.1% 63%, 63.3% 67%, 70.3% 68.3%, 77% 66%,
    82.2% 60.3%, 87% 51.9%, 91.1% 41.5%, 94.7% 30.1%, 97.7% 18.7%, 100% 8%,
    100% 100%, 0 100%
  );
  clip-path: shape(
    from 0% 76%,
    curve to 36% 45% with 12% 64% / 24% 34%,
    curve to 77% 66% with 48% 56% / 64% 75%,
    curve to 100% 8% with 88% 58% / 96% 28%,
    vline to 100%, hline to 0%, close
  );
}

.bh-hero-visual {
  --scene-inset: calc((100% - var(--barit-frame-content)) / 2);
  --scene-top: calc(var(--bh-header-space) + clamp(40px, 5vw, 72px));
  position: relative;
  grid-area: 1 / 1 / 2 / -1;
  isolation: isolate;
  overflow: hidden;
}
.bh-hero-scene:is(.is-active, .is-leaving)::before {
  --led-pitch: clamp(30px, 4.2vw, 120px);
  --led-height: clamp(145px, 40svh, 442px);
  --led-light: linear-gradient(to right, rgb(0 0 0 / .22), rgb(0 0 0 / .62) 26% 74%, rgb(0 0 0 / .22));
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  top: calc(25% - var(--led-height) * .15);
  inset-inline: 0;
  height: calc(var(--led-height) * 1.3);
  background: linear-gradient(90deg, transparent calc(50% - 1.6px), #edf3f4 calc(50% - .6px) calc(50% + .6px), transparent calc(50% + 1.6px))
    center / var(--led-pitch) 100% repeat-x;
  filter: drop-shadow(0 0 3px rgb(222 240 248 / .65));
  mask-image: linear-gradient(to bottom, transparent, black 16% 66%, transparent),
    radial-gradient(ellipse 42% 72% at 50% 89%, rgb(0 0 0 / .25), black),
    var(--led-light);
  mask-composite: intersect;
}
.bh-hero-origin {
  position: absolute;
  inset: var(--scene-top) auto auto var(--scene-inset);
  z-index: 2;
  font-weight: 600;
  pointer-events: none;
}
.bh-hero-year { font-variant-numeric: tabular-nums; }
.bh-hero-services {
  position: absolute;
  inset: 0;
  touch-action: pan-y pinch-zoom;
}
.bh-hero-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  text-decoration: none;
  user-select: none;
  transition: none;
}
.bh-hero-scene.is-active { z-index: 1; visibility: visible; opacity: 1; }
.bh-hero-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse calc(var(--hero-film-size) * .7) calc(var(--hero-film-size) * .55)
    at 50% calc(var(--hero-film-top) + var(--hero-film-size) * .60), rgb(0 0 0 / .8) 22%, transparent);
}
.bh-hero-film {
  position: absolute;
  width: var(--hero-film-size);
  aspect-ratio: 1;
  left: 50%;
  top: var(--hero-film-top);
  transform: translateX(-50%);
  pointer-events: auto;
}
.bh-hero-film :is(img, video) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.bh-hero-scene img:not([src]), .bh-hero-scene img.is-unavailable { visibility: hidden; }
.bh-hero-scene video { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .bh-hero-scene video.has-frame { opacity: 1; }
  .bh-hero-film:has(video.has-frame) img { visibility: hidden; }
}
.bh-hero-scene-caption {
  position: absolute;
  inset: auto auto calc(var(--bh-hero-wave-height) + 12px) var(--scene-inset);
  max-inline-size: min(25vw, 400px);
  z-index: 2;
  display: grid;
  justify-items: start;
  gap: 8px;
  pointer-events: auto;
  line-height: 1.25;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.barit-home .bh-hero-scene-title {
  --barit-type-heading: clamp(1.55rem, 2.45vw, 2.8rem);
  margin: 0;
  font-weight: 720;
  line-height: 1.12;
}
.bh-hero-scene-caption small { font-weight: 650; }
.bh-hero-scene:is(:hover, :focus-visible) small { text-decoration: underline; text-underline-offset: .2em; }
.bh-hero-scene:focus-visible { outline: none; }
.bh-hero-scene:focus-visible .bh-hero-scene-caption small {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.bh-hero-service-controls:not([hidden]) {
  position: absolute;
  inset: auto var(--scene-inset) calc(var(--bh-hero-wave-height) + 12px) auto;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bh-hero-service-count { margin-inline-end: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bh-hero-service-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #787b82;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}
.bh-hero-service-controls button[hidden] { display: none; }
.bh-hero-service-controls button:hover { background: var(--bh-hero-text); color: var(--bh-hero-surface); }
.bh-hero-service-controls button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }



.bh-hero-copy {
  grid-area: 1 / 1;
  z-index: 2;
  place-self: start center;
  width: var(--barit-frame-content);
  container-type: inline-size;
  margin-block: var(--hero-copy-top) calc(var(--bh-hero-wave-height) + 20px);
  text-align: center;
  pointer-events: none;
}
.bh-hero-copy :is(a, button, [popover]) { pointer-events: auto; }
.bh-hero-copy, .bh-hero-message, .bh-hero-copy h1, .bh-hero-line, .bh-hero-line > span { transition: none; }
.bh-hero-message .bh-hero-summary { width: fit-content; max-width: 100%; margin-inline: auto; text-wrap: balance; }
.bh-hero-copy h1 {
  --bh-hero-title-max: clamp(3rem, min(7vw, 10svh), 7rem);
  --barit-type-title: min(var(--bh-hero-title-max), var(--bh-hero-fit, 8cqi));
  display: grid;
  gap: .1em;
  margin: 0;
  font-weight: 730;
  letter-spacing: -.055em;
  line-height: 1.08;
  word-break: keep-all;
}
.bh-hero-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .22em;
  min-inline-size: 0;
  white-space: nowrap;
}
.bh-hero-line > span:not(.bh-hero-shot) {
  flex: none;
  overflow: clip;
  overflow-clip-margin: .04em;
}
.bh-hero-word { display: inline-block; transition: none; }
.bh-hero-shot {
  flex: none;
  min-inline-size: 44px;
  inline-size: 1.08em;
  block-size: max(44px, 1em);
  border-radius: .12em;
}
.bh-hero-shot-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
}
.bh-hero-shot-trigger img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / .35));
}
.bh-hero-shot-mark {
  position: absolute;
  inset: auto 0 0 auto;
  display: grid;
  place-items: center;
  width: clamp(14px, 1.05vw, 20px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--barit-ink);
  color: #fff;
  font-size: clamp(11px, .85vw, 16px);
  line-height: 1;
  letter-spacing: 0;
}
.bh-hero-shot-trigger:focus-visible, .bh-hero-preview-close:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.bh-hero-shot-trigger { color: var(--bh-hero-text); }
.bh-hero-preview {
  position: fixed;
  inset: auto clamp(16px, 4vw, 48px) 16px auto;
  width: min(340px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: 0;
  overflow: auto;
  padding: 16px 20px;
  border: 1px solid var(--bh-hero-rule);
  border-radius: 14px;
  background: #fff;
  color: var(--barit-ink);
  text-align: start;
  box-shadow: 0 12px 32px rgb(23 25 31 / .14);
}
.bh-hero-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bh-hero-preview-heading h2 { --barit-type-heading: 1.2rem; margin: 0; }
.bh-hero-preview-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--bh-hero-rail);
  color: var(--barit-ink);
  cursor: pointer;
}
.bh-hero-preview .bh-text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 650; }
.bh-hero-copy .bh-hero-preview p { margin-block: 8px; }
@media (min-width: 900px) {
  @supports (position-area: block-end span-inline-end) {
    .bh-hero-preview {
      inset: auto;
      position-area: block-end span-inline-end;
      position-try-fallbacks: flip-inline, flip-block;
      justify-self: start;
      width: 340px;
      margin-block-start: 10px;
    }
  }
}
.bh-hero-line--brand { color: var(--bh-hero-secondary); }
.bh-hero-copy p {
  max-width: 38ch;
  margin-block-start: clamp(16px, 2vw, 30px);
  color: var(--barit-muted);
}
.bh-hero-copy .bh-hero-summary { max-width: 38ch; min-block-size: 3lh; color: var(--bh-hero-secondary); }
.bh-hero-actions { justify-content: center; gap: 8px 20px; margin-block-start: clamp(14px, 2vw, 26px); }
.bh-hero-inquiry {
  display: inline-flex;
  gap: 4px;
  border-radius: 999px;
  font-weight: 700;
}
.bh-hero-inquiry span {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding-inline: 20px;
  border-radius: 999px;
  background: var(--bh-hero-text);
  color: var(--bh-hero-surface);
}
.bh-hero-inquiry span + span { width: 48px; padding-inline: 0; background: var(--bh-hero-accent); color: #fff; }
.bh-hero-inquiry:is(:hover, :focus-visible) span { background: var(--bh-hero-accent); color: #fff; }
.bh-hero-actions .bh-text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.bh-hero-actions .bh-text-link:hover { color: inherit; text-decoration-thickness: 2px; }
.bh-hero-copy p, .bh-hero-actions > a { transition: none; }
.bh-hero a:focus-visible { outline-color: currentColor; outline-offset: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .bh-hero-visual.is-ready .bh-hero-scene {
    transition: opacity 600ms ease-in-out;
  }
  .bh-hero-scene.is-leaving { z-index: 0; visibility: visible; }
  .bh-hero-visual.is-ready .bh-hero-scene:is(.is-active, .is-leaving)::before {
    --led-fade: calc(var(--led-pitch) * 3);
    --led-dim: rgb(0 0 0 / .05);
    --led-beam: linear-gradient(to right, var(--led-dim) calc(50% - var(--led-fade)),
      rgb(0 0 0 / .75) 50%, var(--led-dim) calc(50% + var(--led-fade)));
    --led-light: var(--led-beam), var(--led-beam);
    mask-composite: intersect, intersect, add, add;
    mask-size: 100% 100%, 100% 100%, 200% 100%, 200% 100%;
    mask-repeat: no-repeat;
    mask-position: var(--led-exit-position, 0 0);
  }
  .bh-hero-visual.is-ready .bh-hero-scene.is-active::before {
    animation: bh-hero-led-converge 5s linear both;
    animation-play-state: var(--led-play-state, paused);
  }
  .bh-hero-visual.is-playing { --led-play-state: running; }
  .bh-hero-visual.is-ready .bh-hero-scene-caption { opacity: 0; transition: opacity 150ms ease-in; }
  .bh-hero-visual.is-ready .is-active .bh-hero-scene-caption { opacity: 1; transition: opacity 320ms 150ms ease-out; }
  .bh-hero-message ::highlight(barit-untyped) { color: transparent; }
  .bh-hero-shot-trigger img { transition: transform .25s ease-out; }
  .bh-hero-shot-trigger:is(:hover, :focus-visible) img { transform: scale(1.13); }
  .bh-hero-preview:popover-open { animation: bh-hero-preview-in .2s ease-out both; }
  .bh-hero-inquiry span { transition: background-color .3s, color .3s; }
}
@keyframes bh-hero-led-converge {
  from { mask-position: 0 0, 0 0, 100% 0, 0% 0; }
  80%, to { mask-position: 0 0, 0 0, 50% 0, 50% 0; }
}
@keyframes bh-hero-preview-in {
  from { opacity: 0; transform: translateY(6px); }
}
@media (max-width: 899px), (pointer: coarse) and (max-height: 500px) {
  .bh-hero {
    --hero-controls-top: calc(var(--bh-header-space) + 20px);
    --bh-hero-wave-height: clamp(24px, 6vw, 46px);
    --hero-film-size: min(94vw, 50svh, 460px);
    --hero-film-top: calc(var(--hero-controls-top) + 52px);
    block-size: 100vh;
    block-size: 100dvh;
    min-block-size: min-content;
    grid-template-rows: minmax(var(--hero-film-top), 1fr) auto
                        minmax(calc(var(--bh-hero-wave-height) + 56px), 1.05fr);
  }
  .bh-hero-visual {
    --scene-top: calc(var(--hero-controls-top) + 13px);
    grid-row: 1 / -1;
  }
  .bh-hero-scene:is(.is-active, .is-leaving)::before {
    --led-height: clamp(92px, 19svh, 170px);
    top: var(--hero-film-top);
  }
  .bh-hero-origin {
    max-inline-size: calc(var(--barit-frame-content) - 190px);
    line-height: 1.3;
    word-break: keep-all;
  }
  .bh-hero-service-controls:not([hidden]) {
    inset: var(--hero-controls-top) var(--scene-inset) auto auto;
    gap: 4px;
  }
  .bh-hero-scene-caption {
    inset: auto var(--scene-inset) calc(var(--bh-hero-wave-height) + 8px) var(--scene-inset);
    max-inline-size: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 4px 12px;
  }
  .barit-home .bh-hero-scene-title { --barit-type-heading: clamp(1rem, 3.8vw, 1.4rem); }
  .bh-hero-copy { grid-area: 2 / 1; margin-block: 0; }
  .bh-hero-copy .bh-hero-message h1 {
    --bh-hero-title-max: clamp(2rem, 12.7cqi, 4.75rem);
  }
  .bh-hero-line { gap: .14em; }

  @media (orientation: landscape) and (max-height: 500px) {
    .bh-hero {
      --bh-hero-wave-height: 6px;
      --hero-film-top: calc(var(--bh-header-space) + 16px);
      grid-template-rows: minmax(var(--hero-film-top), 1fr) auto minmax(56px, 1fr);
    }
    .bh-hero-copy .bh-hero-message h1 { --bh-hero-title-max: clamp(1.75rem, 6svh, 2.125rem); }
    .bh-hero-copy .bh-hero-summary {
      min-block-size: 0;
      max-width: 60ch;
      margin-block-start: 4px;
      line-height: 1.4;
    }
    .bh-hero-actions { margin-block-start: 6px; }
    .bh-hero-origin { inset-block: auto calc(var(--bh-hero-wave-height) + 20px); }
    .bh-hero-service-controls:not([hidden]), .bh-hero-scene-caption {
      inset-block: auto calc(var(--bh-hero-wave-height) + 6px);
    }
    .bh-hero-scene-caption {
      inset-inline: calc(var(--scene-inset) + 126px) calc(var(--scene-inset) + 158px);
      height: 44px;
      align-content: center;
      gap: 0 8px;
    }
  }
}
@media (max-width: 360px) {
  .bh-hero-service-controls:not([hidden]) { gap: 2px; }
  .bh-hero-service-count { margin-inline-end: 0; font-size: .75rem; }
}

@media (max-width: 767px) {
  .barit-home {
    --bh-section-space: clamp(44px, 9vw, 60px);
  }
}

.bh-studio {
  --barit-type-title: clamp(2rem, 3.4vw, 4rem);
  color: #202020;
  background: var(--barit-paper);
}
.bh-studio-heading {
  max-width: 1220px;
  margin-block-end: clamp(40px, 4.4vw, 104px);
}
.bh-studio-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-weight: 650;
  text-decoration: none;
  text-transform: uppercase;
}
.bh-studio-label small span { margin-inline-start: 6px; }
.bh-studio-label:hover { text-decoration: underline; text-underline-offset: .2em; }
.bh-studio-headline h2 { display: inline; font-weight: 760; line-height: 1.16; }
@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  @supports (background-clip: text) {
    .bh-studio-word {
      display: inline-block;
      background-image: linear-gradient(to right, currentColor var(--bh-word-fill, 100%), #858585 0);
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }
  }
}
.barit-home .bh-studio-cta {
  min-height: 50px;
  margin-inline-start: clamp(8px, 1.2vw, 24px);
  padding-inline: 24px;
  border-radius: 999px;
  background: #202020;
  vertical-align: middle;
  text-transform: uppercase;
}
.barit-home .bh-studio-cta:hover { background: #3b3b3b; }
.bh-studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3.8vw, 80px);
}
.bh-studio-side { position: relative; min-width: 0; }
.bh-studio-side .bh-studio-mark { display: block; width: auto; height: clamp(32px, 3vw, 40px); margin-block-end: 12px; }
.bh-studio-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(10px, 2vw, 30px);
  max-width: 23rem;
  margin: clamp(24px, 3vw, 48px) 0 0;
  padding-block-start: clamp(14px, 1.3vw, 22px);
  border-top: 1px solid var(--barit-line, #dedede);
}
.bh-studio-facts dt { color: #555; font-weight: 550; }
.bh-studio-facts dd {
  display: flex;
  align-items: baseline;
  gap: .06em;
  margin: 8px 0 0;
  font-weight: 690;
  line-height: 1;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.bh-studio-facts dd small { letter-spacing: 0; font-weight: 600; }
.bh-studio-facts [data-company-count] { min-inline-size: calc(var(--count-digits) * (1ch - .045em)); }
.bh-studio-facts > :first-child dd small { color: #bd302b; align-self: flex-start; }
@layer barit-typography {
  .barit-renewal .bh-studio-facts dd { font-size: clamp(2.1rem, 4vw, 4rem) !important; }
  .barit-renewal .bh-studio-facts dd small { font-size: .44em !important; }
}
.bh-studio-symbol {
  position: absolute;
  inset-block-end: 0;
  inset-inline-end: 6%;
  width: clamp(66px, 5.3vw, 124px);
  pointer-events: none;
}
.bh-studio-emblem { display: block; width: 100%; height: auto; overflow: visible; }
.bh-studio-detail { display: flex; flex-direction: column; gap: clamp(18px, 2.2vw, 36px); }
.bh-studio-description h3 { margin-block-end: 10px; font-weight: 700; }
.bh-studio-description p { line-height: 1.6; }
.bh-studio-photo {
  aspect-ratio: 494 / 410;
  overflow: hidden;
  border-radius: 16px;
  background: var(--barit-soft);
}
.bh-studio-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.bh-studio-operations {
  position: relative;
  isolation: isolate;
  overflow: clip;
  justify-content: flex-end;
  min-height: clamp(22rem, 30vw, 32rem);
  border-radius: 16px;
  background: #272729;
  color: white;
}
.bh-studio-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.bh-studio-backdrop img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bh-studio-operations .bh-studio-description {
  padding: clamp(72px, 8vw, 120px) clamp(20px, 2vw, 36px) clamp(24px, 2.5vw, 40px);
  background: linear-gradient(transparent, rgb(15 15 19 / 83%) 40%, rgb(15 15 19 / 94%));
}
.bh-studio-operations p { color: inherit; transition: none; }
@media screen and (prefers-reduced-motion: no-preference) {
  .bh-studio-backdrop { inset-block: -100lvh; }
  .bh-studio-backdrop img { position: sticky; top: 0; height: 100lvh; }
}

@layer barit-typography {
  .barit-renewal .bh-studio-headline h2 { font-size: var(--barit-type-title) !important; }
}

@media (min-width: 1200px) {
  .bh-studio-photo img { position: relative; inset-block-start: -12%; height: 146%; }
}

@media (max-width: 1199px) {
  .bh-studio-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bh-studio-side { grid-column: 1 / -1; padding-inline-end: clamp(80px, 14vw, 126px); }
  .bh-studio-symbol {
    inset-block-end: auto;
    inset-block-start: 50%;
    inset-inline-end: clamp(13px, 4vw, 42px);
    width: clamp(46px, 7vw, 78px);
    transform: translateY(-50%);
  }
}

@media (max-width: 640px) {
  .bh-studio-headline h2 { display: block; }
  .barit-home .bh-studio-cta { margin: 8px 0 0; }
  .bh-studio-layout { grid-template-columns: 1fr; }
  .bh-studio-detail .bh-studio-photo { order: -1; }
}

.bh-service-section {
  --barit-type-title: clamp(2.75rem, 5.3vw, 7rem);
  --barit-type-heading: clamp(1.75rem, 1.55vw, 2.5rem);
  background: var(--barit-soft);
}
.bh-offer-heading {
  margin-block-end: clamp(32px, 3.4vw, 64px);
}
.bh-offer-heading > p {
  margin-block-end: clamp(12px, 1.6vw, 28px);
  color: inherit;
  font-weight: 650;
  line-height: 1.3;
}
.bh-offer-heading h2 { margin: 0; line-height: 1; font-weight: 750; text-wrap: balance; }

.bh-offer-rail {
  --bh-offer-control-height: 44px;
  --bh-offer-control-gap: 12px;
}
.bh-offer-navigation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  margin-block-end: var(--bh-offer-control-gap);
}
.barit-home .bh-offer-scroll-hint {
  margin: 0;
  color: var(--barit-muted);
}
.barit-home .bh-offer-jump {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: var(--bh-offer-control-height);
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--barit-ink);
  color: var(--barit-paper);
  font-weight: 650;
  text-decoration: none;
}
.barit-home .bh-offer-jump:hover { text-decoration: underline; text-underline-offset: .2em; }
.bh-offer-scroll-vertical,
.bh-offer-rail.is-scroll-linked .bh-offer-scroll-horizontal { display: none; }
.bh-offer-rail.is-scroll-linked .bh-offer-scroll-vertical { display: inline; }

.bh-offer-window {
  contain: inline-size;
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
}
.bh-offer-window:focus-visible { outline: 2px solid var(--barit-ink); outline-offset: 3px; }
.bh-offer-rail.is-scroll-linked .bh-offer-window {
  overflow-x: hidden;
  scroll-snap-type: none;
}
.bh-offer-grid {
  --bh-offer-gap: clamp(12px, 1.25vw, 24px);
  --bh-offer-card-height: clamp(400px, 25vw, 480px);
  display: grid;
  position: relative;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * var(--bh-offer-gap)) / 4);
  align-items: start;
  gap: var(--bh-offer-gap);
}

.bh-offer-grid > article { min-width: 0; scroll-snap-align: start; }
.bh-offer-card {
  --offer-description: var(--barit-muted);
  --offer-links: #fff;
  --offer-line: #d7d9de;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: var(--bh-offer-card-height);
  padding: clamp(20px, 2.5vw, 42px);
  border-radius: clamp(16px, 1.2vw, 24px);
  color: var(--barit-ink);
  background-color: #fff;
  background-repeat: no-repeat;
}
.bh-offer-card:nth-child(odd) {
  --offer-description: #f0f2f7;
  --offer-links: #15181e;
  --offer-line: #555b67;
  color: #fff;
  background-color: #111;
}
.bh-offer-card:first-child {
  --offer-effect: daylight;
  --offer-fit: cover;
  --offer-art: url("/assets/barit/home/offer-website-storefront.webp");
  --offer-shade: linear-gradient(to top, rgba(6, 13, 23, .92), rgba(6, 13, 23, .34) 65%, transparent);
  justify-content: flex-end;
  background-image: var(--offer-shade), var(--offer-art);
  background-position: center;
  background-size: cover;
}
.bh-offer-card:nth-child(2) {
  --offer-effect: marble;
  --offer-fit: bottom;
  --offer-art: url("/assets/barit/home/offer-erp-modules.webp");
  padding-block-end: clamp(135px, 10vw, 180px);
  background-color: var(--barit-panel);
  background-blend-mode: multiply;
  background-image: var(--offer-art);
  background-position: center bottom;
  background-size: 100% auto;
}
.bh-offer-card:nth-child(3) {
  --offer-effect: liquid;
  --offer-fit: stretch;
  --offer-art: url("/assets/barit/home/offer-ai-automation.webp");
  --offer-shade: linear-gradient(to bottom, transparent, var(--barit-accent) 32% 68%, transparent);
  --offer-description: var(--barit-paper);
  --offer-links: var(--barit-ink);
  background-color: var(--barit-accent);
  justify-content: center;
  background-image: var(--offer-shade), var(--offer-art);
  background-position: center;
  background-size: cover, 100% 100%;
}
.bh-offer-card:nth-child(4) {
  --offer-effect: lens;
  --offer-fit: bottom;
  --offer-art: url("/assets/barit/home/offer-search-marketing.webp");
  justify-content: center;
  padding-block-end: clamp(104px, 8vw, 140px);
  background-color: var(--barit-line);
  background-blend-mode: multiply;
  background-image: var(--offer-art);
  background-position: center bottom;
  background-size: 100% auto;
}
.bh-offer-content { position: relative; z-index: 1; }
.bh-offer-motion-target {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: clamp(96px, 32%, 180px);
  pointer-events: none;
}
.bh-offer-motion {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.bh-offer-motion[hidden] { display: none; }
.bh-offer-card:is(:nth-child(2), :nth-child(4)) { isolation: isolate; }
.bh-offer-card:is(:nth-child(2), :nth-child(4)):has(.bh-offer-motion:not([hidden])) {
  background-image: none;
}
.bh-offer-card:is(:nth-child(2), :nth-child(4)) .bh-offer-motion { mix-blend-mode: multiply; }
.bh-offer-motion canvas { display: block; width: 100%; height: 100%; }
.bh-offer-motion::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--offer-shade, none);
}
@media (prefers-reduced-motion: reduce) {
  .bh-offer-motion { display: none; }
}

.bh-offer-mark {
  display: block;
  width: 28px;
  height: 28px;
  margin-block-end: 14px;
  background: currentColor;
  clip-path: polygon(0 0, 50% 0, 50% 50%, 100% 50%, 100% 100%, 50% 100%, 50% 50%, 0 50%);
}
.bh-offer-card:nth-child(2) .bh-offer-mark { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%, 50% 50%); }
.bh-offer-card:nth-child(3) .bh-offer-mark { clip-path: polygon(0 40%, 35% 5%, 65% 35%, 100% 0, 100% 60%, 65% 95%, 35% 65%, 0 100%); }
.bh-offer-card:nth-child(4) .bh-offer-mark { clip-path: polygon(0 0, 45% 0, 45% 45%, 100% 0, 100% 55%, 55% 55%, 55% 100%, 0 100%, 0 55%, 45% 55%); }
.bh-offer-content p { margin-block-start: 8px; color: var(--offer-description); }
.bh-offer-details { margin-block-start: 6px; }
.bh-offer-details summary { min-height: 44px; padding-block: 9px; cursor: pointer; font-weight: 650; }
.bh-offer-details ul { margin: 0; padding: 4px 12px; list-style: none; border-radius: 8px; background: var(--offer-links); }
.bh-offer-details li + li { border-top: 1px solid var(--offer-line); }
.bh-offer-details a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 8px; text-decoration: none; }
.bh-offer-details a:hover { text-decoration: underline; text-underline-offset: .2em; }

.bh-offer-specialty {
  --offer-description: #4d5260;
  --specialty-art-height: clamp(152px, 10vw, 195px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: var(--bh-offer-card-height);
  padding: clamp(20px, 2.25vw, 38px);
  padding-block-end: var(--specialty-art-height);
  border: 1px solid #e5e5e5;
  border-radius: clamp(16px, 1.2vw, 24px);
  background: #fff;
}
.bh-offer-specialty--dark {
  --offer-description: #f0f2f7;
  --specialty-art-height: clamp(200px, 13vw, 258px);
  justify-content: flex-end;
  padding-block-start: calc(var(--specialty-art-height) - 38px);
  padding-block-end: clamp(20px, 2.25vw, 38px);
  border-color: transparent;
  background: #101116;
  color: #fff;
}
.bh-offer-specialty h3 { line-height: 1.18; }
.bh-offer-specialty p { margin-block-start: 10px; }
.bh-offer-specialty a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
}
.bh-offer-specialty a:hover { text-decoration: underline; text-underline-offset: .2em; }
.bh-offer-specialty-art {
  --art-duration: 6.8s;
  --art-travel: 2%;
  --art-lift: -2%;
  --art-turn: 0deg;
  --art-scale: 1.12;
  position: absolute;
  inset: auto 0 0;
  height: var(--specialty-art-height);
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent, #000 36%);
}
.bh-offer-specialty--dark .bh-offer-specialty-art {
  inset: 0 0 auto;
  mask-image: linear-gradient(to bottom, #000 44%, transparent 94%);
}
.bh-offer-specialty-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  animation: bh-specialty-motion var(--art-duration) ease-in-out infinite paused;
}
.bh-offer-specialty--dark .bh-offer-specialty-art img { object-position: center 45%; }
.bh-offer-specialty-art[data-motion="flow"] {
  --art-duration: 8s;
  --art-travel: -3.25%;
  --art-lift: -3%;
  --art-turn: -2deg;
  --art-scale: 1.15;
}
.bh-offer-specialty-art[data-motion="shift"] {
  --art-duration: 5.8s;
  --art-travel: 4%;
  --art-lift: -1%;
}
.bh-offer-specialty-art[data-motion="sweep"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(109deg, transparent 35%, rgb(235 242 255 / .22) 50%, transparent 65%);
  mix-blend-mode: screen;
  animation: bh-specialty-light var(--art-duration) ease-in-out infinite paused;
}
.bh-offer-specialty-art.is-motion-visible img,
.bh-offer-specialty-art.is-motion-visible::after {
  animation-play-state: running;
}
@keyframes bh-specialty-motion {
  0%, 100% { transform: scale(1.02); }
  50% { transform: translate(var(--art-travel), var(--art-lift)) rotate(var(--art-turn)) scale(var(--art-scale)); }
}
@keyframes bh-specialty-light {
  0%, 14% { transform: translateX(-75%); opacity: 0; }
  36%, 52% { opacity: .8; }
  72%, 100% { transform: translateX(75%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bh-offer-specialty-art img,
  .bh-offer-specialty-art[data-motion="sweep"]::after { animation: none; }
}

@layer barit-typography {
  .barit-renewal .bh-offer-heading h2 { font-size: var(--barit-type-title) !important; }
  .barit-renewal .bh-offer-heading > p { font-size: var(--barit-type-heading) !important; }
}

@media (min-width: 1100px) {
  .bh-offer-rail.is-scroll-linked .bh-offer-grid {
    --bh-offer-group-height: calc(100svh - var(--bh-nav-inset) - var(--bh-nav-height) - 2 * (var(--bh-offer-control-height) + var(--bh-offer-control-gap) + 8px));
    --bh-offer-card-height: clamp(400px, min(25vw, calc(var(--bh-offer-group-height) - 32px)), 480px);
    --bh-offer-stagger: clamp(0px, calc(var(--bh-offer-group-height) - var(--bh-offer-card-height)), 120px);
  }
  .bh-offer-grid > article:nth-child(even) { margin-block-start: var(--bh-offer-stagger, 120px); }
}

@media (max-width: 1099px) {
  .bh-offer-grid { grid-auto-columns: calc((100% - var(--bh-offer-gap)) / 2); }
}

@media (max-width: 575px) {
  .bh-offer-grid { grid-auto-columns: 88%; }
}

.bh-statement {
  --barit-type-heading: clamp(1.85rem, 4.35vw, 4.8rem);
  padding-block-end: clamp(28px, 3.2vw, 56px);
  text-align: center;
}
.bh-statement-inner {
  --statement-visual-size: clamp(70px, 9.8vw, 148px);
  --statement-visual-band: clamp(130px, 14vw, 222px);
  position: relative;
  padding-block-start: var(--statement-visual-band);
}
.bh-statement-visuals { position: absolute; inset: 0; pointer-events: none; }
.bh-statement-visual {
  position: absolute;
  inset-block-start: var(--statement-visual-top, 0);
  inset-inline-start: var(--statement-visual-left, 0);
  width: var(--statement-visual-size);
  aspect-ratio: 1;
}
.bh-statement-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid var(--barit-line);
  border-radius: 50%;
}
.bh-statement-visual--erp img {
  padding: 11%;
  object-fit: contain;
  background: #eeece6;
}
.bh-statement-visual:nth-child(1) { --statement-visual-top: calc(var(--statement-visual-band) - 24px); }
.bh-statement-visual:nth-child(2) { --statement-visual-left: 24%; }
.bh-statement-visual:nth-child(3) { --statement-visual-left: calc(50% - var(--statement-visual-size) / 2); --statement-visual-top: 28px; }
.bh-statement-visual:nth-child(4) { --statement-visual-left: calc(76% - var(--statement-visual-size)); --statement-visual-top: 8px; }
.bh-statement-visual:nth-child(5) { --statement-visual-left: calc(100% - var(--statement-visual-size)); --statement-visual-top: calc(var(--statement-visual-band) - 24px); }

.barit-home .bh-statement h2 {
  position: relative;
  max-inline-size: 76%;
  margin: 0 auto;
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: 1.17;
  text-wrap: balance;
}
.bh-statement h2 span { display: block; }
.bh-statement h2 span:last-child { color: var(--barit-muted); }
.bh-statement-action {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  gap: 2px;
  margin-block-start: clamp(24px, 3.6vw, 56px);
  font-weight: 650;
}
.bh-statement-action span {
  display: grid;
  place-items: center;
  min-height: 50px;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--barit-ink);
  color: var(--barit-paper);
}
.bh-statement-action span:last-child { inline-size: 50px; padding: 0; font-size: 1.2rem; }
.bh-statement-action:hover span { background: var(--barit-accent); }

.bh-work-regions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 24px;
  padding-block: 16px;
}
.bh-work-regions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 6px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 767px) {
  .bh-statement-inner { padding-block-start: 0; }
  .bh-statement-visuals {
    position: static;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(4px, 2vw, 12px);
    max-inline-size: 400px;
    margin: 0 auto 28px;
  }
  .bh-statement-visual { position: static; width: 100%; }
  .bh-statement-visual:is(:first-child, :last-child) { margin-block-start: 16px; }
  .bh-statement-visual:nth-child(3) { margin-block-start: 6px; }
  .barit-home .bh-statement h2 { max-inline-size: 100%; }
}

.bh-work-gallery { display: grid; row-gap: 8px; }




.bh-work-strip { --sec1h12-tile-h: clamp(200px, 22vw, 360px); grid-area: 1 / 1; min-width: 0; padding-block: 6px; overflow: clip; }
.bh-work-strip .swiper-initialized { overflow: visible; }
.bh-work-strip .swiper:not(.swiper-initialized) { overflow-x: auto; }
.bh-work-strip .swiper:not(.swiper-initialized) .swiper-wrapper { gap: var(--bh-work-gap, 12px); }
.bh-work-tile { width: var(--bh-work-tile-width, clamp(145px, 43vw, 320px)); height: auto; color: var(--barit-ink); text-decoration: none; }
.bh-work-tile .sec-1-home-12__tile { background: var(--barit-panel); }
.bh-work-tile img { width: 100%; height: 100%; object-fit: cover; }
.bh-work-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 10px 3px 2px;
  font-weight: 650;
  line-height: 1.4;
}
.bh-work-caption > span { color: var(--barit-muted); }
.bh-work-tile:is(:hover, :focus-visible) .bh-work-caption { text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 767px) {
  .bh-work-gallery {
    --bh-work-gap: 20px;
    --bh-work-tile-width: min(78vw, 440px);
    padding-block: 16px;
    row-gap: 14px;
  }
  .bh-work-strip { padding-inline: var(--barit-content-gutter); }
  .bh-work-tile .sec-1-home-12__tile { height: auto; aspect-ratio: 3 / 2; }
  .bh-work-caption { padding: 14px 0 0; }

}

.bh-process {
  padding-block: var(--bh-section-space);
}
.bh-process-layout {
  display: grid;
  align-items: start;
  gap: 32px;
}
.bh-process-heading .bh-process-symbol { display: block; width: auto; height: 48px; }
.barit-home .bh-process-heading h2 {
  --barit-type-heading: clamp(2.625rem, 5vw, 4.5rem);
  margin-block: 10px clamp(18px, 2.1vw, 30px);
  line-height: 1.03;
}
.bh-process-heading .bh-statement-action { margin-block-start: clamp(24px, 3.5vw, 50px); }
.bh-process-list {
  --process-thumb-width: clamp(104px, 33vw, 224px);
  --process-row-gap: clamp(12px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
  border-block-start: 1px solid var(--barit-line);
}
.bh-process-list li {
  display: grid;
  grid-template-columns: var(--process-thumb-width) minmax(0, 1fr);
  align-items: center;
  gap: var(--process-row-gap);
  padding-block: clamp(9px, 1vw, 14px);
  border-block-end: 1px solid var(--barit-line);
  transition: none;
}
.bh-process-thumb { overflow: hidden; border-radius: 8px; }
.bh-process-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.bh-process-list h3 { --barit-type-heading: clamp(1.375rem, 2.4vw, 2rem); }
.bh-process-list li p { margin-block-start: 6px; }
@media (max-width: 767px) {
  .bh-process-list {
    --process-thumb-width: clamp(52px, 15vw, 72px);
    --process-row-gap: 16px;
  }
  .bh-process-list li { align-items: start; padding-block: 20px; }
  .bh-process-thumb { padding: 7px; background: var(--barit-soft); border-radius: 12px; }
  .bh-process-thumb img { aspect-ratio: 1; object-fit: contain; }
  .bh-process-heading .bh-statement-action span {
    min-height: 0;
    inline-size: auto;
    padding: 0;
    background: transparent;
    color: inherit;
  }
}
@media (max-width: 991px) {
  .bh-process-layout { gap: 24px; }
  .bh-process-heading .bh-process-symbol { height: 32px; }
  .barit-home .bh-process-heading h2 { --barit-type-heading: clamp(1.875rem, 5vw, 2.625rem); margin-block: 8px 12px; }
  .bh-process-heading h2 br { display: none; }
  .bh-process-heading .bh-statement-action { margin-block-start: 16px; }
}
@media (min-width: 992px) {
  .bh-process-layout {
    grid-template-columns: minmax(0, 4fr) minmax(0, 1fr) minmax(0, 7fr);
    column-gap: 0;
  }
  .bh-process-list { grid-column: 3; }
}
@media (min-width: 1200px) and (min-height: 600px) {
  .bh-process-heading {
    position: sticky;
    top: calc(var(--bh-nav-inset) + var(--bh-nav-height) + 24px);
  }
}
@media (min-width: 1400px) {
  .bh-process-list { margin-inline-start: clamp(60px, 7vw, 130px); }
}

.bh-home-board {
  --barit-type-title: clamp(2.125rem, 4vw, 4rem);
  --board-row-height: clamp(64px, 5.6vw, 88px);
  --board-row-gap: clamp(8px, 1vw, 16px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: var(--bh-section-space) clamp(28px, 4vw, 72px);
}
.bh-faq {
  color: #1b1b1b;
}
.bh-home-board header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-block-end: clamp(20px, 2.4vw, 40px);
}
.bh-home-board header .bh-news-all { min-width: auto; min-height: 44px; padding: 12px 18px; }
.barit-home .bh-home-board h2 { margin: 0; font-weight: 800; line-height: 1.05; letter-spacing: -.045em; }
.bh-faq-list { display: grid; gap: var(--board-row-gap); }
.bh-faq-list summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 3vw, 48px);
  min-height: var(--board-row-height);
  padding: 14px clamp(16px, 2vw, 32px);
  border-radius: clamp(12px, 1.3vw, 26px);
  background-color: #f6f6f6;
  cursor: pointer;
  list-style: none;
  color: inherit;
  font-weight: 650;
  line-height: 1.38;
  letter-spacing: -.025em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.bh-faq-list summary::-webkit-details-marker { display: none; }
.bh-faq-list summary:hover { background-color: #eee; }
.bh-faq-list summary::after {
  content: "";
  width: 18px;
  aspect-ratio: 1;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
}
.bh-faq-list details[open] summary::after { background-size: 100% 2px, 0 0; }
.bh-faq-list details p { max-width: 70ch; padding: 16px clamp(16px, 2.4vw, 48px) 8px; }
.bh-home-board .bh-actions a { display: inline-flex; min-height: 44px; align-items: center; }

@layer barit-typography {
  .barit-renewal .bh-home-board h2 { font-size: var(--barit-type-title) !important; }
}

@media (max-width: 400px) {
  .bh-primary, .bh-secondary { padding-inline: 12px; }
}

.bh-notices { container-type: inline-size; }
.bh-notice-list { display: grid; gap: var(--board-row-gap); padding: 0; margin: 0; list-style: none; }
.bh-notice-list a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px clamp(10px, 1.25vw, 20px);
  min-height: var(--board-row-height);
  padding: 12px clamp(12px, 1.55vw, 24px);
  border-radius: 12px;
  background: #f6f6f6;
  color: var(--barit-ink);
  line-height: 1.45;
  text-decoration: none;
}
.bh-notice-list a:hover { background: #ededed; }
.bh-notice-list a:hover .bh-notice-title { text-decoration: underline; text-underline-offset: .2em; }
.bh-notice-label {
  padding: 4px 8px;
  border-radius: 6px;
  background: #e8e8e8;
  font-weight: 650;
  white-space: nowrap;
}
.bh-notice-title { font-weight: 600; overflow-wrap: anywhere; word-break: keep-all; }
.bh-notice-list time { color: var(--barit-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

@media (max-width: 767px) {
  .bh-home-board { grid-template-columns: minmax(0, 1fr); }
}

@container (max-width: 420px) {
  .bh-notice-list a { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .bh-notice-list time { grid-column: 2; }
}

.bh-home-news { background: #f0f0f0; }
.bh-news-heading h2 { margin: 0; line-height: 1; }

@layer barit-typography {
  @media (min-width: 768px) {
    .barit-renewal .bh-news-heading h2 { font-size: var(--barit-type-title) !important; }
  }
}

.barit-home .bh-news-all {
  min-width: 175px;
  color: var(--barit-paper);
  text-decoration: none;
  white-space: nowrap;
}
.bh-news-all:hover > span:first-child { text-decoration: underline; text-underline-offset: .2em; }
.bh-news-all .bh-news-arrow {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-inline-start: 4px;
}
.bh-news-arrow::before,
.bh-news-arrow::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
}
.bh-news-arrow::before {
  width: 11px;
  height: 11px;
  background: linear-gradient(135deg, transparent 44%, currentColor 46%, currentColor 54%, transparent 56%);
}
.bh-news-arrow::after {
  width: 7px;
  height: 7px;
  border-top: 1.5px solid;
  border-right: 1.5px solid;
}

.bh-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(18px, 2vw, 28px);
}
.bh-news-card > a { display: block; text-decoration: none; }
.bh-news-card > a:hover h3 { text-decoration: underline; text-underline-offset: .16em; }
.bh-news-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
}

.bh-news-card-copy { margin-block-start: 20px; }
.bh-news-card-copy small { display: block; margin-block-start: 8px; color: var(--barit-muted); }
.bh-news-featured > a {
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  min-height: clamp(390px, 35vw, 518px);
  padding: clamp(18px, 2.6vw, 32px);
  overflow: hidden;
  border-radius: 14px;
  background: var(--barit-ink);
  color: var(--barit-paper);
}
.bh-news-featured img { position: absolute; inset: 0; height: 100%; z-index: -2; }
.bh-news-featured > a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(10, 14, 21, .94), rgba(10, 14, 21, .74) 31%, transparent 70%);
}
.bh-news-featured .bh-news-card-copy small { color: var(--barit-paper); }

@media (max-width: 991px) {
  .bh-news-grid { grid-template-columns: 1fr; row-gap: 32px; }
}

@media (max-width: 767px) {
  .bh-news-heading { align-items: center; gap: 12px; }
  .bh-news-all .bh-news-arrow { margin-inline-start: 0; }
}

.bh-clients { padding-block: clamp(36px, 6vw, 88px); background: #fff; color: #181818; }
.bh-clients h2 { margin: 0 0 clamp(20px, 3vw, 40px); font-size: clamp(1.5rem, 3vw, 2.5rem); }
