body.page-home #brand .brand__scene {
  --nourea-actions-bottom: max(clamp(40px, 6.2svh, 58px), calc(env(safe-area-inset-bottom) + 28px));
  --nourea-category-height: 48px;
}

body.page-home #brand .nourea-brand-categories {
  bottom: var(--nourea-actions-bottom);
  width: min(900px, calc(100% - 64px));
  gap: clamp(7px, .8vw, 14px);
}

body.page-home #brand .nourea-brand-categories a {
  box-sizing: border-box;
  height: var(--nourea-category-height);
  min-height: 0;
  padding: 6px 12px;
  border: 1px solid #111;
  border-radius: 100px;
  background: #111;
  color: #fff;
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 600;
  line-height: 1.18;
  backdrop-filter: none;
}

body.page-home #brand .nourea-brand-categories a:hover {
  background: #303030;
  border-color: #303030;
}

body.page-home #brand .brand__cta {
  bottom: calc(var(--nourea-actions-bottom) + var(--nourea-category-height) + 10px);
  box-sizing: border-box;
  min-height: 54px;
  width: max-content;
  max-width: calc(100% - 32px);
  justify-content: center;
  padding: 9px 28px;
  gap: 10px;
  border: 1px solid #fff;
  background: #fff;
  color: #111;
  font-size: clamp(15px, .95vw, 18px);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  backdrop-filter: none;
}

body.page-home #brand .brand__cta:hover {
  border-color: #f1ede6;
  background: #f1ede6;
  color: #111;
}

body.page-home #brand .brand__cta svg {
  position: static;
  width: 14px;
  height: 14px;
}

body.page-home[dir=rtl] #brand .brand__cta svg,
html[dir=rtl] body.page-home #brand .brand__cta svg {
  rotate: 180deg;
}

body.page-home #brand :is(.brand__cta, .nourea-brand-categories a):focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px #111;
}

body.page-home #scroll-progress {
  display: block;
  top: 50%;
  bottom: auto;
  left: max(9px, env(safe-area-inset-left));
  right: auto;
  width: 39px;
  padding: 5px 5px 7px;
  transform: translate(-6px, -50%);
  direction: ltr;
}

body.page-home #scroll-progress.scroll-progress--visible {
  transform: translate(0, -50%);
}

body.page-home #scroll-progress .scroll-progress__pct {
  margin-bottom: 7px;
  color: #fff;
  font-size: 11px;
  text-shadow: 0 1px 3px #221b16, 0 0 5px #221b16;
}

body.page-home #scroll-progress .scroll-progress__bars {
  flex-direction: column;
  align-items: stretch;
  width: 12px;
  height: clamp(132px, 28svh, 240px);
  gap: 1px;
  margin-inline: auto;
}

body.page-home #scroll-progress .scroll-progress__bar {
  flex: 1 1 0;
  width: 100%;
  max-width: none;
  height: auto;
  background: #ffffff52;
}

@media (max-width: 600px) {
  body.page-home #brand .brand__scene {
    --nourea-actions-bottom: calc(env(safe-area-inset-bottom) + 30px);
    --nourea-category-height: 52px;
  }

  body.page-home #brand .nourea-brand-categories {
    width: calc(100% - 28px);
    gap: 6px;
  }

  body.page-home #brand .nourea-brand-categories a {
    padding-inline: 5px;
    font-size: clamp(11px, 3.1vw, 14px);
    overflow-wrap: anywhere;
  }

  body.page-home #brand .brand__cta {
    min-height: 48px;
    padding-inline: 17px;
    font-size: clamp(12px, 3.6vw, 15px);
  }

  body.page-home #scroll-progress {
    left: max(4px, env(safe-area-inset-left));
    width: 28px;
    padding-inline: 2px;
  }

  body.page-home #scroll-progress .scroll-progress__pct {
    font-size: 9px;
  }

  body.page-home #scroll-progress .scroll-progress__bars {
    width: 8px;
    height: clamp(110px, 23svh, 160px);
  }
}

