/* ==========================================================================
   Brand Aid Furniture — UI template
   ========================================================================== */

:root {
  --ba-black: #000000;
  --ba-ink: #111111;
  --ba-text: #1b1b1b;
  --ba-muted: #6f6f6f;
  --ba-soft: #8c8c8c;
  --ba-line: #e8e8e8;
  --ba-surface: #f8f8f8;
  --ba-field: #f6f6f8;
  --ba-gold: #edca5e;
  --ba-orange: #e49409;
  --ba-white: #ffffff;

  --ba-font-display: "Zalando Sans Expanded", "Montserrat", sans-serif;
  --ba-font-body: "Montserrat", system-ui, sans-serif;
  --ba-font-ui: "Inter", system-ui, sans-serif;

  --ba-radius-sm: 8px;
  --ba-radius: 12px;
  --ba-radius-lg: 16px;
  --ba-radius-xl: 24px;

  --ba-header-h: 74px;
  --ba-header-top: 24px;
  --ba-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ba-font-body);
  color: var(--ba-text);
  background: var(--ba-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

::selection {
  background: var(--ba-gold);
  color: var(--ba-black);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

img {
  max-width: 100%;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1352px;
  }
}

.font-display {
  font-family: var(--ba-font-display);
}

.font-ui {
  font-family: var(--ba-font-ui);
}

.text-orange {
  color: var(--ba-orange) !important;
}

.section {
  padding-block: 120px;
}

.section-sm {
  padding-block: 80px;
}

.page-top {
  padding-top: calc(var(--ba-header-top) + var(--ba-header-h) + 72px);
}

.bg-surface {
  background: var(--ba-surface);
}

/* ---------- Typography ---------- */

.section-title {
  margin: 0;
  font-family: var(--ba-font-display);
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--ba-black);
}

.section-subtitle {
  margin: 0;
  font-family: var(--ba-font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ba-black);
}

.section-lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ba-muted);
}

/* ---------- Buttons ---------- */

.btn-ba {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 50px;
  padding: 0 1.75rem;
  border: 1px solid transparent;
  border-radius: var(--ba-radius-sm);
  font-family: var(--ba-font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn-ba-dark {
  background: var(--ba-black);
  color: var(--ba-white);
}

.btn-ba-dark:hover {
  background: #262626;
  color: var(--ba-white);
}

.btn-ba-outline {
  background: var(--ba-white);
  border-color: #dcdcdc;
  color: var(--ba-black);
}

.btn-ba-outline:hover {
  border-color: var(--ba-black);
  color: var(--ba-black);
}

.btn-ba-icon {
  width: 50px;
  padding: 0;
  font-size: 1.25rem;
}

.btn-group-ba {
  display: inline-flex;
  gap: 8px;
}

.btn-group-ba:hover .btn-ba-icon {
  transform: translateX(-4px);
}

.btn-arrow {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: var(--ba-radius-sm);
  background: var(--ba-ink);
  color: var(--ba-white);
  font-size: 1.1rem;
  transition: background-color 0.25s ease, transform 0.35s var(--ba-ease);
}

/* ---------- Chips (filters) ---------- */

.chip-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.chip-list::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.45rem;
  height: 40px;
  padding: 0 0.95rem;
  border: 1px solid #dddddd;
  border-radius: var(--ba-radius-sm);
  background: var(--ba-white);
  font-family: var(--ba-font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--ba-black);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.chip img {
  height: 26px;
  width: 40px;
  object-fit: cover;
  border-radius: 4px;
}

.chip:hover {
  border-color: var(--ba-black);
}

.chip.active {
  background: var(--ba-black);
  border-color: var(--ba-black);
  color: var(--ba-white);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  background: #f3f3f3;
  font-family: var(--ba-font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ba-ink);
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.pill-light {
  background: var(--ba-white);
}

/* ---------- Breadcrumb ---------- */

.breadcrumb-ba {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1.75rem;
  padding: 0 8px 0 0;
  list-style: none;
  font-family: var(--ba-font-display);
  font-size: 0.8125rem;
  color: var(--ba-soft);
}

.breadcrumb-ba li + li::before {
  content: "/";
  margin-left: 0.6rem;
  color: var(--ba-muted);
}

.breadcrumb-ba a:hover {
  color: var(--ba-black);
}

.breadcrumb-ba [aria-current] {
  color: var(--ba-black);
  font-weight: 500;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: var(--ba-header-top);
  right: 0;
  left: 0;
  z-index: 1030;
  padding-inline: 34px;
  pointer-events: none;
  transition: top 0.35s var(--ba-ease);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1372px;
  height: var(--ba-header-h);
  margin: 0 auto;
  padding: 0 46px;
  border-radius: var(--ba-radius);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.07);
  pointer-events: auto;
}

.site-header.is-scrolled {
  top: 12px;
}

.site-logo img {
  display: block;
  height: 25px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 2.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 0.4rem 0;
  font-family: var(--ba-font-display);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #7a7a7a;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: -4px;
  height: 3px;
  border-radius: 3px;
  background: var(--ba-gold);
  transform: scaleX(0);
  transition: transform 0.35s var(--ba-ease);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ba-black);
}

.site-nav a.active::after,
.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-switchers {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.65rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  opacity: 0.78;
  transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.lang-switch:hover,
.lang-switch.is-active {
  opacity: 1;
}

.lang-switch.is-active {
  background: color-mix(in srgb, currentColor 8%, transparent);
}

.lang-switch[lang="ar"] {
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  font-size: 0.95rem;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ba-black);
  font-size: 1.3rem;
  transition: background-color 0.25s ease;
}

.icon-btn:hover {
  background: var(--ba-surface);
}

.site-logo .logo-on-dark {
  display: none;
}

.theme-toggle {
  overflow: hidden;
  font-size: 1.15rem;
}

.theme-toggle i {
  grid-area: 1 / 1;
  transition: transform 0.55s var(--ba-ease), opacity 0.3s ease;
}

.theme-toggle__sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.4);
}

/* Theme switch animation */

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

.theme-switching,
.theme-switching *,
.theme-switching *::before,
.theme-switching *::after {
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, fill 0.4s ease !important;
}

/* Mobile menu */

.offcanvas-ba {
  --bs-offcanvas-width: 100%;
  background: var(--ba-black);
  color: var(--ba-white);
}

.offcanvas-ba .offcanvas-header {
  justify-content: space-between;
  padding: 28px 24px;
}

.offcanvas-ba .mobile-nav {
  margin: 0;
  padding: 0 24px;
  list-style: none;
}

.offcanvas-ba .mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  border-bottom: 1px solid #222;
  font-family: var(--ba-font-display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.offcanvas-ba .mobile-nav a.active {
  color: var(--ba-gold);
}

/* Search overlay */

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--ba-header-top) + var(--ba-header-h) + 40px) 24px 0;
  background: rgba(10, 10, 10, 0.82);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0s;
}

.search-box {
  width: 100%;
  max-width: 860px;
  transform: translateY(-12px);
  transition: transform 0.25s var(--ba-ease);
}

.search-overlay.is-open .search-box {
  transform: none;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 72px;
  padding: 0 24px 0 10px;
  border-radius: var(--ba-radius-lg);
  background: var(--ba-white);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.search-field > .bi {
  flex: none;
  font-size: 1.25rem;
  color: var(--ba-soft);
}

.search-field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 6px;
  border: 0;
  background: transparent;
  font-family: var(--ba-font-display);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--ba-black);
  outline: none;
}

.search-field input::placeholder {
  color: #9a9a9a;
}

.search-field input::-webkit-search-cancel-button {
  display: none;
}

.search-field .btn-ba {
  flex: none;
  height: 52px;
}

.search-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1rem 4px 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

.search-hint kbd {
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
  font-family: var(--ba-font-ui);
  font-size: 0.75rem;
  color: var(--ba-white);
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-tags a {
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  color: var(--ba-white);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.search-tags a:hover {
  background: var(--ba-white);
  color: var(--ba-black);
}

.search-close {
  position: absolute;
  top: calc(var(--ba-header-top) + 13px);
  left: 34px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--ba-white);
  font-size: 1.2rem;
  transition: background-color 0.2s ease;
}

.search-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 575.98px) {
  .search-overlay {
    padding-inline: 14px;
  }

  .search-field {
    height: 60px;
    padding-right: 16px;
  }

  .search-field .btn-ba {
    width: 44px;
    height: 44px;
    padding: 0;
  }

  .search-field .btn-ba span {
    display: none;
  }

  .search-close {
    left: 14px;
  }
}

.search-results-empty {
  padding: 60px 0;
  text-align: center;
  color: var(--ba-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding-top: 80px;
  background: var(--ba-black);
  color: var(--ba-white);
  overflow: hidden;
}

.site-footer .container {
  padding-inline: 36px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.footer-cols h3 {
  margin: 0 0 1.4rem;
  font-family: var(--ba-font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.footer-cols ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-cols li + li {
  margin-top: 0.95rem;
}

.footer-cols a {
  font-family: var(--ba-font-display);
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.88);
}

.footer-cols a:hover {
  color: var(--ba-gold);
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid #222;
  font-family: var(--ba-font-ui);
  font-size: 0.75rem;
  color: #7c7c7c;
}

.footer-bottom a:hover {
  color: var(--ba-white);
}

.footer-logo {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 34px;
  padding-bottom: 36px;
}

/* ==========================================================================
   Reusable components
   ========================================================================== */

/* Category card */

.category-card {
  position: relative;
  display: block;
  height: 290px;
  padding: 40px;
  border-radius: var(--ba-radius-xl);
  background: var(--ba-surface);
  overflow: hidden;
  isolation: isolate;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(-90deg, var(--ba-surface) 0%, rgba(248, 248, 248, 0.88) 34%, transparent 68%);
  pointer-events: none;
}

.category-card--product::after {
  background: linear-gradient(270deg, var(--ba-surface) 0%, var(--ba-surface) 36%, rgba(248, 248, 248, 0.7) 50%, transparent 70%);
}

.category-card__title {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--ba-font-display);
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: var(--ba-black);
}

.category-card--product .category-card__title {
  max-width: min(48%, 13rem);
  padding-inline-end: 0.75rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.3;
}

.category-card .btn-arrow {
  position: absolute;
  right: 40px;
  bottom: 40px;
  z-index: 2;
}

.category-card__img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  transform-origin: 20% 60%;
  transition: transform 0.7s var(--ba-ease);
}

.category-card:hover .category-card__img {
  transform: scale(1.05);
}

.category-card:hover .btn-arrow {
  background: var(--ba-gold);
  color: var(--ba-black);
  transform: rotate(-45deg);
}

/* Product card */

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #efefef;
  border-radius: var(--ba-radius-lg);
  background: var(--ba-white);
  overflow: hidden;
  transition: box-shadow 0.35s ease, transform 0.35s var(--ba-ease);
}

.product-card:hover {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.product-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 240px;
  padding: 0;
  background: var(--ba-surface);
  overflow: hidden;
}

.product-hero-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  min-height: 520px;
  padding: 0;
  border: 1px solid #e4e4e4;
  border-radius: var(--ba-radius-lg);
  background: var(--ba-surface);
  overflow: hidden;
}

.product-hero-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}


.product-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transition: transform 0.6s var(--ba-ease);
}

.product-card:hover .product-card__media img {
  transform: scale(1.06);
}

.product-card__body {
  display: block;
  padding: 18px 16px 20px;
}

.product-card__title {
  display: block;
  margin: 0 0 0.9rem;
  font-family: var(--ba-font-ui);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ba-text);
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--ba-font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ba-orange);
}

.link-more .bi {
  transition: transform 0.25s ease;
}

.product-card:hover .link-more .bi,
.link-more:hover .bi {
  transform: translateX(-4px);
}

/* Slider (scroll-snap) */

.slider {
  position: relative;
}

.slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 320px;
  gap: 18px;
  margin-left: calc(-1 * (100vw - 100%) / 2);
  padding: 4px 0 24px calc((100vw - 100%) / 2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-right: 0;
  scrollbar-width: none;
  cursor: grab;
}

.slider__track::-webkit-scrollbar {
  display: none;
}

.slider__track > * {
  scroll-snap-align: start;
}

.slider__track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.slider__track.is-dragging * {
  pointer-events: none;
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.slider__dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #d4d4d4;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.slider__dots button.active {
  width: 18px;
  background: var(--ba-black);
}

/* Article card */

.article-card {
  display: block;
  height: 100%;
}

.article-card__media {
  display: block;
  aspect-ratio: 426 / 220;
  margin-bottom: 18px;
  border-radius: var(--ba-radius-lg);
  overflow: hidden;
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ba-ease);
}

.article-card:hover .article-card__media img {
  transform: scale(1.05);
}

.article-card__title {
  margin: 0.85rem 0 0.75rem;
  font-family: var(--ba-font-ui);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ba-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card:hover .article-card__title {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.article-card__excerpt {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--ba-muted);
}

.meta {
  font-family: var(--ba-font-body);
  font-size: 0.75rem;
  color: var(--ba-soft);
}

/* Forms */

.form-ba .form-label {
  margin-bottom: 0.65rem;
  font-family: var(--ba-font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ba-ink);
}

.form-ba .form-control,
.form-ba .form-select {
  height: 56px;
  padding: 0 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--ba-radius);
  background-color: var(--ba-field);
  font-family: var(--ba-font-body);
  font-size: 0.9375rem;
  color: var(--ba-text);
  box-shadow: none;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.form-ba textarea.form-control {
  height: auto;
  min-height: 128px;
  padding-top: 1rem;
  resize: vertical;
}

.form-ba .form-control::placeholder {
  color: #8d8d93;
}

.form-ba .form-control:focus,
.form-ba .form-select:focus {
  border-color: var(--ba-black);
  background-color: var(--ba-white);
}

.form-ba.form-ba--white .form-control,
.form-ba.form-ba--white .form-select {
  border-color: #efefef;
  background-color: var(--ba-white);
}

.form-ba .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23111' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.6' d='m3 6 5 5 5-5'/%3e%3c/svg%3e");
  background-size: 18px;
  background-position: left 1.25rem center;
  color: #8d8d93;
}

.form-ba .form-select.has-value {
  color: var(--ba-text);
}

.form-actions {
  display: flex;
  gap: 8px;
}

.form-actions .btn-ba-dark {
  flex: 1;
}

.form-actions .btn-ba-icon {
  flex: 0 0 50px;
}

.form-actions:hover .btn-ba-icon {
  transform: translateX(-4px);
}

.form-feedback {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #198754;
}

/* Reveal on scroll */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ba-ease), transform 0.9s var(--ba-ease);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Home
   ========================================================================== */

.hero {
  position: relative;
  padding-top: calc(var(--ba-header-top) + var(--ba-header-h) + 136px);
  padding-bottom: 90px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .hero {
    min-height: 1000px;
  }
}

.hero__title {
  margin: 0 0 2.25rem;
  font-family: var(--ba-font-display);
  font-size: clamp(2.3rem, 5.8vw, 5.2rem);
  font-weight: 600;
  line-height: 1.34;
  letter-spacing: -0.045em;
  color: var(--ba-black);
}

.hero__title span {
  display: block;
}

@media (min-width: 576px) {
  .hero__title span {
    white-space: nowrap;
  }
}

.hero__title img {
  width: auto;
  vertical-align: baseline;
}

.hero__title .letter-b {
  height: 0.68em;
  margin-left: 0.03em;
}

.hero__title .letter-a {
  height: 0.7em;
  margin: 0 0.1em;
  transform: translateY(0.11em);
}

.hero__lead {
  max-width: 600px;
  margin: 0 0 2.6rem;
  font-family: var(--ba-font-display);
  font-size: clamp(1.05rem, 1.55vw, 1.375rem);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--ba-soft);
}

.hero__media {
  position: absolute;
  top: calc(var(--ba-header-top) + var(--ba-header-h) + 180px);
  right: 50%;
  width: min(1198px, 83vw);
  pointer-events: none;
}

.hero__media img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-badge {
  position: absolute;
  top: calc(var(--ba-header-top) + var(--ba-header-h) + 100px);
  right: calc(50% + 314px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 176px;
  height: 176px;
}

.hero-badge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 18s linear infinite;
}

.hero-badge text {
  font-family: var(--ba-font-display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 2.4px;
  fill: var(--ba-black);
}

.hero-badge img {
  width: 58px;
}

@keyframes spin {
  to {
    transform: rotate(-360deg);
  }
}

/* Clients */

.clients {
  padding-block: 50px 210px;
}

.logo-marquee {
  margin-top: 56px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.logo-marquee__track {
  display: flex;
  align-items: center;
  gap: 90px;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.logo-marquee:hover .logo-marquee__track {
  animation-play-state: paused;
}

.logo-marquee__track img {
  height: 76px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
  filter: grayscale(0);
  transition: transform 0.3s ease;
}

.logo-marquee__track img:hover {
  transform: scale(1.06);
}

@keyframes marquee {
  to {
    transform: translateX(calc(-1*(-50% - 45px)));
  }
}

/* Text marquee */

.text-marquee {
  padding-block: 12px;
  background: var(--ba-black);
  overflow: hidden;
}

.text-marquee__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee-text 30s linear infinite;
}

.text-marquee__track span {
  font-family: var(--ba-font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ba-white);
}

.text-marquee__track img {
  height: 40px;
  width: auto;
}

@keyframes marquee-text {
  to {
    transform: translateX(calc(-1*(-50% - 14px)));
  }
}

/* About */

.about__text {
  max-width: 540px;
  margin: 2.4rem 0 3.2rem;
  font-size: 1rem;
  line-height: 2.5;
  color: #555555;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 640px;
  margin-bottom: 3rem;
}

.stat__value {
  display: block;
  font-family: var(--ba-font-display);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--ba-orange);
}

.stat__label {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--ba-font-display);
  font-size: 0.875rem;
  letter-spacing: -0.02em;
  color: var(--ba-ink);
}

.notch-media {
  position: relative;
  border-radius: var(--ba-radius-xl);
  overflow: hidden;
}

.notch-media > img {
  display: block;
  width: 100%;
  aspect-ratio: 654 / 436;
  object-fit: cover;
}

.notch-media__corner {
  --r: 24px;
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 144px;
  height: 108px;
  border-bottom-right-radius: var(--r);
  background: var(--ba-white);
}

.notch-media__corner::before,
.notch-media__corner::after {
  content: "";
  position: absolute;
  width: var(--r);
  height: var(--r);
  background: radial-gradient(circle at 0 100%, transparent var(--r), var(--ba-white) calc(var(--r) + 0.5px));
}

.notch-media__corner::before {
  top: 0;
  right: calc(-1 * var(--r));
}

.notch-media__corner::after {
  bottom: calc(-1 * var(--r));
  left: 0;
}

.notch-media__corner img {
  width: 62px;
}

/* Contact block */

.contact-block {
  position: relative;
  overflow: hidden;
}

.contact-block__media {
  --ba-bleed: calc((100vw - var(--ba-container, 100vw)) / 2 + 26px);
  display: flex;
  align-items: center;
}

.contact-block__media img {
  flex: none;
  width: calc(100% + var(--ba-bleed));
  max-width: 764px;
  height: auto;
}

.contact-block--media-left .contact-block__media {
  justify-content: flex-end;
}

.contact-block--media-right .contact-block__media img {
  transform: scaleX(-1);
}

@media (min-width: 992px) {
  .contact-block {
    --ba-container: 960px;
  }
}

@media (min-width: 1200px) {
  .contact-block {
    --ba-container: 1140px;
  }
}

@media (min-width: 1400px) {
  .contact-block {
    --ba-container: 1352px;
  }
}

/* ==========================================================================
   Products
   ========================================================================== */

.category-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 280px;
  margin: 30px 0 56px;
  padding: 40px;
  border-radius: var(--ba-radius-xl);
  background: var(--ba-surface);
  overflow: hidden;
  isolation: isolate;
}

.category-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(270deg, var(--ba-surface) 0%, var(--ba-surface) 28%, rgba(248, 248, 248, 0.72) 46%, transparent 66%);
  pointer-events: none;
}

.category-banner h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: min(42%, 280px);
  font-family: var(--ba-font-display);
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.035em;
}

.category-banner img {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 0;
  width: 62%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 42%;
}

.product-family {
  margin-bottom: 56px;
}

.product-family__head {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ba-line);
}

.product-family__head h2 {
  margin: 0 0 0.6rem;
  font-family: var(--ba-font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: #1a1a2b;
}

.product-family__head p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ba-muted);
}

.is-hidden {
  display: none !important;
}

/* Product details */

.gallery {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 18px;
}

.gallery.gallery--single {
  grid-template-columns: 1fr;
}

.gallery.gallery--single .gallery__main {
  border: 0;
}

@media (min-width: 992px) {
  .gallery.gallery--single {
    position: sticky;
    top: calc(var(--ba-header-h) + 28px);
  }
}

.gallery.gallery--single + .gallery-actions {
  margin-right: 0;
}

.gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 404px;
  overflow-y: auto;
  scrollbar-width: none;
}

.gallery__thumbs::-webkit-scrollbar {
  display: none;
}

.gallery__thumb {
  flex: none;
  display: grid;
  place-items: center;
  height: 94px;
  padding: 8px;
  border: 1px solid #e4e4e4;
  border-radius: var(--ba-radius);
  background: var(--ba-white);
  cursor: pointer;
  transition: border-color 0.25s ease;
}

.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery__thumb.active,
.gallery__thumb:hover {
  border-color: var(--ba-black);
}

.gallery__main {
  position: relative;
  border: 1px solid #e4e4e4;
  border-radius: var(--ba-radius-xl);
  overflow: hidden;
}

.gallery__main .carousel-item {
  height: 404px;
}

.gallery__main .carousel-item img {
  width: 100%;
  height: 100%;
  padding: 40px 40px 60px;
  object-fit: contain;
}

.gallery__main .carousel-indicators {
  margin-bottom: 1.3rem;
}

.gallery__main .carousel-indicators [data-bs-target] {
  width: 6px;
  height: 6px;
  margin: 0 3px;
  border: 0;
  border-radius: 6px;
  background: #cfcfcf;
  opacity: 1;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.gallery__main .carousel-indicators .active {
  width: 18px;
  background: var(--ba-black);
}

.gallery-actions {
  margin-top: 14px;
  margin-right: 134px;
}

.category-card--product .category-card__img {
  inset: 0 auto 0 0;
  width: 58%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.product-quote {
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ba-line);
}

.product-quote__title {
  margin: 0 0 0.5rem;
  font-family: var(--ba-font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.product-quote__lead {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--ba-muted);
}

.product-quote .quote-form .form-label {
  margin-bottom: 0.4rem;
}

.product-quote .ba-thanks {
  margin-top: 0.5rem;
}

.product-info__category {
  margin: 0 0 0.75rem;
  font-family: var(--ba-font-display);
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--ba-orange);
}

.product-info__title {
  margin: 0 0 2rem;
  font-family: var(--ba-font-display);
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.spec + .spec {
  margin-top: 1.9rem;
}

.spec h3 {
  margin: 0 0 0.65rem;
  font-family: var(--ba-font-display);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.spec p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #333333;
}

/* ==========================================================================
   Projects
   ========================================================================== */

.project-card {
  position: relative;
  display: block;
  width: 100%;
  height: 290px;
  padding: 0;
  border: 0;
  border-radius: var(--ba-radius-xl);
  overflow: hidden;
  text-align: right;
  isolation: isolate;
  cursor: zoom-in;
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.8s var(--ba-ease);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 55%);
  transition: opacity 0.4s ease;
}

.project-card__name {
  display: none;
  position: absolute;
  right: 40px;
  bottom: 36px;
  font-family: var(--ba-font-ui);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--ba-white);
}

.project-card__count {
  position: absolute;
  top: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.92);
  font-family: var(--ba-font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ba-ink);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card:hover .project-card__count,
.project-card:focus-visible .project-card__count {
  opacity: 1;
  transform: none;
}

/* Lightbox */

.lightbox .modal-content {
  background: transparent;
  border: 0;
}

.lightbox .modal-backdrop,
.modal-backdrop.show {
  --bs-backdrop-opacity: 0.6;
}

/* Quote modal */

.quote-modal .modal-dialog {
  max-width: 1040px;
  padding-inline: 12px;
}

.quote-modal .modal-content {
  position: relative;
  border: 0;
  border-radius: var(--ba-radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.quote-modal.fade .modal-dialog {
  transform: translateY(24px) scale(0.98);
  transition: transform 0.4s var(--ba-ease);
}

.quote-modal.show .modal-dialog {
  transform: none;
}

.quote-modal__close {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--ba-field);
  color: var(--ba-black);
  font-size: 1rem;
  transition: background-color 0.25s ease, transform 0.35s var(--ba-ease);
}

.quote-modal__close:hover {
  background: var(--ba-gold);
  transform: rotate(-90deg);
}

.quote-modal__grid {
  display: grid;
  grid-template-columns: 360px 1fr;
}

.quote-summary {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 34px;
  background: var(--ba-ink);
  color: var(--ba-white);
  overflow: hidden;
}

.quote-summary::after {
  content: "";
  position: absolute;
  left: -70px;
  bottom: -70px;
  width: 240px;
  height: 240px;
  background: url("../img/brand/monogram-outline.svg") center / contain no-repeat;
  filter: grayscale(1) invert(1);
  opacity: 0.07;
  pointer-events: none;
}

.quote-summary__eyebrow {
  margin: 0 0 1.5rem;
  font-family: var(--ba-font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ba-gold);
}

.quote-summary__product {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: var(--ba-radius-lg);
  background: rgba(255, 255, 255, 0.06);
}

.quote-summary__product img {
  flex: none;
  width: 92px;
  height: 72px;
  padding: 6px;
  border-radius: var(--ba-radius);
  background: var(--ba-white);
  object-fit: contain;
}

.quote-summary__product span,
.quote-summary__product small {
  display: block;
  font-size: 0.75rem;
  color: #a5a5a5;
}

.quote-summary__product strong {
  display: block;
  margin: 0.2rem 0;
  font-family: var(--ba-font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.quote-summary__product small {
  color: var(--ba-gold);
}

.quote-steps {
  display: grid;
  gap: 22px;
  margin: 2.25rem 0 2rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.quote-steps li {
  position: relative;
  padding-right: 46px;
  counter-increment: step;
}

.quote-steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-family: var(--ba-font-display);
  font-size: 0.75rem;
}

.quote-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 36px;
  bottom: -18px;
  right: 15px;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.quote-steps strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--ba-font-ui);
  font-size: 0.9375rem;
  font-weight: 500;
}

.quote-steps span {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #a5a5a5;
}

.quote-summary__contact {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.quote-summary__contact .bi {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--ba-radius-sm);
  background: var(--ba-gold);
  color: var(--ba-black);
  font-size: 1.1rem;
}

.quote-summary__contact span {
  display: block;
  font-size: 0.75rem;
  color: #a5a5a5;
}

.quote-summary__contact a {
  font-family: var(--ba-font-display);
  font-size: 0.9375rem;
  font-weight: 500;
}

.quote-summary__contact a:hover {
  color: var(--ba-gold);
}

.quote-body {
  position: relative;
  padding: 40px 44px;
}

.quote-body__title {
  margin: 0 0 0.5rem;
  padding-left: 48px;
  font-family: var(--ba-font-display);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--ba-black);
}

.quote-body__lead {
  margin: 0 0 1.75rem;
  font-size: 0.875rem;
  color: var(--ba-muted);
}

.quote-form .form-label {
  margin-bottom: 0.45rem;
  font-size: 0.8125rem;
}

.quote-form .form-control,
.quote-form .form-select {
  height: 50px;
  font-size: 0.875rem;
}

.quote-form textarea.form-control {
  min-height: 96px;
}

.qty-field {
  display: flex;
  align-items: center;
  height: 50px;
  border-radius: var(--ba-radius);
  background: var(--ba-field);
}

.qty-field .form-control {
  flex: 1;
  min-width: 0;
  padding: 0;
  background: transparent;
  text-align: center;
  font-weight: 600;
  -moz-appearance: textfield;
}

.qty-field .form-control::-webkit-inner-spin-button,
.qty-field .form-control::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-field button {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0 6px;
  border: 0;
  border-radius: var(--ba-radius-sm);
  background: var(--ba-white);
  color: var(--ba-black);
  font-size: 1.1rem;
  transition: background-color 0.25s ease;
}

.qty-field button:hover {
  background: var(--ba-gold);
}

.quote-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quote-options label {
  cursor: pointer;
}

.quote-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quote-options span {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 1.1rem;
  border: 1px solid #e2e2e2;
  border-radius: 100px;
  font-family: var(--ba-font-display);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ba-ink);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.quote-options label:hover span {
  border-color: var(--ba-black);
}

.quote-options input:checked + span {
  border-color: var(--ba-black);
  background: var(--ba-black);
  color: var(--ba-white);
}

.quote-options input:focus-visible + span {
  outline: 2px solid var(--ba-gold);
  outline-offset: 2px;
}

.quote-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 380px;
  padding: 20px 0;
  text-align: center;
}

.quote-modal.is-sent .quote-form {
  display: none;
}

.quote-modal.is-sent .quote-success {
  display: flex;
  animation: quote-in 0.5s var(--ba-ease);
}

@keyframes quote-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.quote-success__icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin-bottom: 1.75rem;
  border-radius: 50%;
  background: var(--ba-gold);
  color: var(--ba-black);
  font-size: 2.4rem;
  animation: quote-pop 0.6s var(--ba-ease) 0.1s both;
}

@keyframes quote-pop {
  from {
    transform: scale(0.5);
  }
}

.quote-success h2 {
  margin: 0 0 0.75rem;
  font-family: var(--ba-font-display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--ba-black);
}

.quote-success p {
  max-width: 400px;
  margin: 0 0 2rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ba-muted);
}

.lightbox__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox__figure {
  position: relative;
  width: min(709px, 100%);
  aspect-ratio: 1;
  max-height: 70vh;
  border-radius: var(--ba-radius-lg);
  background: #111;
  overflow: hidden;
}

.lightbox__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.lightbox__figure img.is-loading {
  opacity: 0.2;
}

.lightbox__caption {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  padding: 50px 24px 18px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent);
  font-family: var(--ba-font-ui);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ba-white);
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: var(--ba-white);
  color: var(--ba-black);
  font-size: 1.4rem;
  transform: translateY(-50%);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.lightbox__nav:hover {
  background: var(--ba-gold);
}

.lightbox__nav--prev {
  right: max(24px, calc(50% - 650px));
}

.lightbox__nav--next {
  left: max(24px, calc(50% - 650px));
}

.lightbox__close {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--ba-white);
  font-size: 1.4rem;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox__thumbs {
  display: flex;
  gap: 12px;
  max-width: min(709px, 100%);
  overflow-x: auto;
  scrollbar-width: none;
}

.lightbox__thumbs button {
  flex: none;
  width: 74px;
  height: 66px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--ba-radius);
  background: var(--ba-white);
  overflow: hidden;
  opacity: 0.65;
  transition: opacity 0.25s ease, border-color 0.25s ease;
}

.lightbox__thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox__thumbs button.active,
.lightbox__thumbs button:hover {
  opacity: 1;
  border-color: var(--ba-gold);
}

/* ==========================================================================
   News
   ========================================================================== */

.featured-news {
  position: relative;
  display: block;
  height: 100%;
  min-height: 480px;
  border-radius: var(--ba-radius-xl);
  overflow: hidden;
  isolation: isolate;
}

.featured-news img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.9s var(--ba-ease);
}

.featured-news::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 55%, rgba(0, 0, 0, 0) 100%);
}

.featured-news:hover img {
  transform: scale(1.04);
}

.featured-news__body {
  position: absolute;
  right: 32px;
  left: 32px;
  bottom: 32px;
  color: var(--ba-white);
}

.featured-news__title {
  margin: 1rem 0 1rem;
  max-width: 780px;
  font-family: var(--ba-font-display);
  font-size: clamp(1.4rem, 2.3vw, 2.1rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.035em;
}

.featured-news .meta {
  color: rgba(255, 255, 255, 0.8);
}

.news-heading {
  font-family: var(--ba-font-display);
  font-size: clamp(1.3rem, 1.8vw, 1.625rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--ba-black);
}

.latest-news h2 {
  margin: 0 0 1.4rem;
  font-family: var(--ba-font-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.latest-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.latest-item + .latest-item {
  margin-top: 16px;
}

.latest-item img {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: var(--ba-radius-sm);
  object-fit: cover;
}

.latest-item h3 {
  margin: 0 0 0.3rem;
  font-family: var(--ba-font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ba-ink);
}

.latest-item:hover h3 {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.latest-item .meta {
  font-size: 0.6875rem;
}

/* Article */

.article-header__title {
  margin: 1.1rem 0 1.6rem;
  font-family: var(--ba-font-ui);
  font-size: clamp(1.9rem, 3.5vw, 3.1rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ba-ink);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ba-line);
}

.author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author__badge {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ba-ink);
  overflow: hidden;
}

.author__badge img {
  display: block;
  width: 58%;
  height: auto;
  object-fit: contain;
}

.author strong {
  display: block;
  font-family: var(--ba-font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ba-ink);
}

.author span {
  font-size: 0.75rem;
  color: var(--ba-soft);
}

.article-meta__info {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--ba-muted);
}

.article-hero {
  margin: 28px 0 40px;
  border-radius: var(--ba-radius-xl);
  overflow: hidden;
}

.article-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 1328 / 563;
  object-fit: cover;
}

.article-body {
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--ba-muted);
}

.article-body p {
  margin-bottom: 1.6rem;
}

.article-body .lead-text {
  margin-bottom: 2rem;
  font-family: var(--ba-font-ui);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.75;
  color: var(--ba-ink);
}

.article-body h2 {
  margin: 2.5rem 0 1.1rem;
  font-family: var(--ba-font-display);
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--ba-black);
}

.article-quote {
  margin: 2.5rem 0;
  padding: 1.75rem 2rem;
  border-radius: var(--ba-radius-lg);
  background: #fafafa;
  text-align: center;
}

.article-quote p {
  margin: 0 0 0.6rem;
  font-family: var(--ba-font-ui);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ba-orange);
}

.article-quote cite {
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 600;
  color: var(--ba-ink);
}

.article-figure {
  margin: 2.5rem 0;
}

.article-figure img {
  width: 100%;
  border-radius: var(--ba-radius-lg);
}

.article-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  text-align: center;
  color: var(--ba-soft);
}

.article-divider {
  margin: 1rem 0 0;
  border-color: var(--ba-line);
  opacity: 1;
}

.share-card {
  position: sticky;
  top: calc(var(--ba-header-top) + var(--ba-header-h) + 24px);
  padding: 20px 18px 24px;
  border-radius: var(--ba-radius-lg);
  background: var(--ba-surface);
}

.share-card h2 {
  margin: 0 0 1rem;
  font-family: var(--ba-font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ba-ink);
}

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

.share-links a,
.share-links button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #e2e2e2;
  border-radius: 50%;
  background: var(--ba-white);
  font-size: 0.8rem;
  color: var(--ba-ink);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.share-links a:hover,
.share-links button:hover {
  background: var(--ba-black);
  border-color: var(--ba-black);
  color: var(--ba-white);
}

.share-feedback {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: #198754;
}

/* ==========================================================================
   Careers
   ========================================================================== */

.careers-hero__title {
  margin: 0 0 1.75rem;
  max-width: 820px;
  font-family: var(--ba-font-display);
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.careers-hero__lead {
  margin: 0 0 2.75rem;
  max-width: 1220px;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.7;
  color: #555555;
}

.media-rounded {
  border-radius: var(--ba-radius-xl);
  overflow: hidden;
}

.media-rounded img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ba-ease);
}

.media-rounded:hover img {
  transform: scale(1.03);
}

.careers-hero__media img {
  aspect-ratio: 1328 / 520;
}

.value-card {
  height: 100%;
  padding: 32px;
  border-radius: 20px;
  background: var(--ba-surface);
  transition: background-color 0.3s ease, transform 0.35s var(--ba-ease);
}

.value-card:hover {
  background: #f1f1f1;
  transform: translateY(-4px);
}

.value-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  border-radius: var(--ba-radius-sm);
  background: var(--ba-ink);
  color: var(--ba-white);
  font-size: 1.25rem;
}

.value-card h3 {
  margin: 0 0 1.1rem;
  font-family: var(--ba-font-ui);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ba-ink);
}

.value-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--ba-muted);
}

.life-grid {
  display: grid;
  grid-template-columns: 1.68fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 24px;
  height: 460px;
}

.life-grid .media-rounded:first-child {
  grid-row: span 2;
}

.dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 186px;
  padding: 2rem;
  border: 1.5px dashed #d7d7d7;
  border-radius: var(--ba-radius-lg);
  background: var(--ba-white);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.dropzone:hover,
.dropzone.is-dragover {
  border-color: var(--ba-black);
  background: #fcfcfc;
}

.dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.dropzone .bi {
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
  color: var(--ba-ink);
}

.dropzone strong {
  font-family: var(--ba-font-ui);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ba-ink);
}

.dropzone small {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: var(--ba-soft);
}

.dropzone.has-file strong {
  color: #198754;
}

/* ==========================================================================
   About
   ========================================================================== */

.about-hero {
  margin-bottom: 2.75rem;
}

.about-hero__lead {
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.75;
  color: #555555;
}

.about-copy {
  margin: 2rem 0 2.5rem;
}

.about-copy p {
  font-size: 1rem;
  line-height: 2;
  color: #555555;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-media > img {
  aspect-ratio: 1 / 1;
}

.btn-ba-light {
  background: var(--ba-white);
  color: var(--ba-black);
}

.btn-ba-light:hover {
  background: var(--ba-gold);
  color: var(--ba-black);
}

/* Mission & vision */

.mv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 420px;
  padding: 48px;
  border-radius: var(--ba-radius-xl);
  background: var(--ba-white);
  overflow: hidden;
}

.mv-card::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -60px;
  width: 240px;
  height: 240px;
  background: url("../img/brand/monogram-outline.svg") center / contain no-repeat;
  filter: grayscale(1);
  opacity: 0.08;
  pointer-events: none;
}

.mv-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: auto;
  border-radius: var(--ba-radius);
  background: var(--ba-ink);
  color: var(--ba-white);
  font-size: 1.4rem;
}

.mv-card__label {
  margin: 3rem 0 1rem;
  font-family: var(--ba-font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ba-orange);
}

.mv-card__title {
  margin: 0 0 1.25rem;
  font-family: var(--ba-font-display);
  font-size: clamp(1.3rem, 1.9vw, 1.75rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.04em;
  color: var(--ba-black);
}

.mv-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 540px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--ba-muted);
}

.mv-card--dark {
  background: var(--ba-ink);
}

.mv-card--dark::after {
  filter: grayscale(1) invert(1);
  opacity: 0.1;
}

.mv-card--dark .mv-card__icon {
  background: var(--ba-gold);
  color: var(--ba-black);
}

.mv-card--dark .mv-card__label {
  color: var(--ba-gold);
}

.mv-card--dark .mv-card__title {
  color: var(--ba-white);
}

.mv-card--dark p {
  color: #b5b5b5;
}

/* History timeline */

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 7px;
  right: 0;
  left: 0;
  height: 1px;
  background: #d9d9d9;
}

.timeline__item {
  position: relative;
  padding-top: 44px;
}

.timeline__item::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 15px;
  height: 15px;
  border: 3px solid var(--ba-surface);
  border-radius: 50%;
  background: var(--ba-orange);
  box-shadow: 0 0 0 1px var(--ba-orange);
}

.timeline__year {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--ba-font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ba-black);
}

.timeline__item h3 {
  margin: 0 0 0.75rem;
  font-family: var(--ba-font-ui);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ba-ink);
}

.timeline__item p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--ba-muted);
}

/* Team */

.team-card__media {
  position: relative;
  margin-bottom: 1.25rem;
  border-radius: 20px;
  background: var(--ba-surface);
  overflow: hidden;
}

.team-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  transition: transform 0.9s var(--ba-ease);
}

.team-card:hover .team-card__media img {
  transform: scale(1.04);
}

.team-card__social {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--ba-radius-sm);
  background: var(--ba-white);
  color: var(--ba-black);
  font-size: 1.05rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.35s var(--ba-ease), background-color 0.25s ease;
}

.team-card:hover .team-card__social,
.team-card__social:focus-visible {
  opacity: 1;
  transform: none;
}

.team-card__social:hover {
  background: var(--ba-gold);
  color: var(--ba-black);
}

.team-card h3 {
  margin: 0 0 0.3rem;
  font-family: var(--ba-font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ba-black);
}

.team-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ba-muted);
}

/* Mother group */

.group-section {
  padding-block: 120px;
  background: var(--ba-black);
  color: var(--ba-white);
}

.group-section__pill {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ba-gold);
}

.group-section__copy p {
  color: #b5b5b5;
}

.group-section__stats .stat__value {
  color: var(--ba-gold);
}

.group-section__stats .stat__label {
  color: #d6d6d6;
}

.group-panel {
  padding: 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--ba-radius-xl);
  background: #111111;
}

.group-panel__logo {
  display: block;
  width: 62%;
  height: auto;
  margin-bottom: 36px;
}

.group-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.group-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-radius: var(--ba-radius-lg);
  background: rgba(255, 255, 255, 0.04);
  transition: background-color 0.25s ease;
}

.group-list li:hover {
  background: rgba(255, 255, 255, 0.08);
}

.group-list li.is-current {
  background: var(--ba-gold);
}

.group-list__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--ba-radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ba-gold);
  font-size: 1.2rem;
}

.group-list .is-current .group-list__icon {
  background: var(--ba-black);
}

.group-list h3 {
  margin: 0 0 0.2rem;
  font-family: var(--ba-font-ui);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ba-white);
}

.group-list p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #9a9a9a;
}

.group-list .is-current h3 {
  color: var(--ba-black);
}

.group-list .is-current p {
  color: #4a3a0a;
}

/* CTA */

.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 56px;
  border-radius: var(--ba-radius-xl);
  background: var(--ba-surface);
}

.about-cta .section-lead {
  max-width: 560px;
}

.about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1399.98px) {
  .site-nav {
    gap: 1.6rem;
  }
}

@media (max-width: 1199.98px) {
  .site-header__bar {
    padding: 0 24px;
  }

  .hero-badge {
    right: auto;
    left: 4%;
    width: 140px;
    height: 140px;
  }

  .hero-badge img {
    width: 46px;
  }

  .hero-badge text {
    font-size: 15px;
  }
}

@media (max-width: 991.98px) {
  :root {
    --ba-header-h: 64px;
    --ba-header-top: 14px;
  }

  .site-header {
    padding-inline: 14px;
  }

  .site-header__bar {
    gap: 0.5rem;
    padding: 0 14px;
  }

  .site-logo {
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-logo img {
    height: 20px;
    max-width: min(100%, 118px);
  }

  .header-actions {
    flex: 0 0 auto;
    gap: 0.15rem;
  }

  .lang-switch {
    min-width: 0;
    height: 2rem;
    padding: 0 0.55rem;
    font-size: 0.72rem;
  }

  .lang-switch[lang="ar"] {
    font-size: 0.82rem;
  }

  .icon-btn {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
  }

  .section {
    padding-block: 80px;
  }

  .hero {
    padding-top: calc(var(--ba-header-top) + var(--ba-header-h) + 50px);
    padding-bottom: 0;
  }

  .hero__media {
    position: relative;
    top: 0;
    right: auto;
    width: 112%;
    margin: 30px -6% 0;
    transform: none;
  }

  .hero-badge {
    top: auto;
    bottom: calc(62vw - 50px);
    left: 5%;
  }

  .clients {
    padding-block: 70px 90px;
  }

  .contact-block__media img {
    width: 100%;
    margin-inline: auto;
  }

  .life-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    height: auto;
  }

  .life-grid .media-rounded:first-child {
    grid-column: span 2;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }

  .life-grid .media-rounded {
    aspect-ratio: 4 / 3;
  }

  .gallery-actions {
    margin-right: 0;
  }

  .share-card {
    position: static;
  }

  .group-section {
    padding-block: 80px;
  }

  .quote-modal .modal-dialog {
    max-width: 640px;
  }

  .quote-modal__grid {
    grid-template-columns: 1fr;
  }

  .quote-summary {
    padding: 28px 28px 24px;
  }

  .quote-summary__eyebrow {
    margin-bottom: 1rem;
  }

  .quote-steps,
  .quote-summary__contact,
  .quote-summary::after {
    display: none;
  }

  .quote-body {
    padding: 32px 28px;
  }

  .quote-modal__close {
    background: var(--ba-white);
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-right: 36px;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    right: 7px;
    left: auto;
    width: 1px;
    height: auto;
  }

  .timeline__item {
    padding-top: 0;
  }

  .timeline__item::before {
    right: -36px;
    top: 6px;
  }

  .about-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
  }

  .lightbox__nav {
    position: absolute;
    top: calc(50% - 40px);
    width: 46px;
    height: 46px;
  }

  .lightbox__nav--prev {
    right: 12px;
  }

  .lightbox__nav--next {
    left: 12px;
  }
}

@media (max-width: 767.98px) {
  .category-card {
    height: 240px;
    padding: 28px;
  }

  .category-card .btn-arrow {
    right: 28px;
    bottom: 28px;
  }

  .site-footer .container {
    padding-inline: 20px;
  }

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

  .stats {
    gap: 1rem;
  }

  .stat__value {
    font-size: 1.6rem;
  }

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

  .gallery__thumbs {
    order: 2;
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
  }

  .gallery__thumb {
    width: 92px;
    height: 80px;
  }

  .gallery__main .carousel-item {
    height: 300px;
  }

  .category-banner {
    min-height: 220px;
    padding: 28px;
  }

  .category-banner img {
    width: 58%;
  }

  .category-banner::after {
    background: linear-gradient(270deg, var(--ba-surface) 0%, var(--ba-surface) 34%, rgba(248, 248, 248, 0.78) 52%, transparent 72%);
  }

  .project-card {
    height: 240px;
  }

  .project-card__name {
    right: 24px;
    bottom: 22px;
  }

  .featured-news {
    min-height: 420px;
  }

  .featured-news__body {
    right: 20px;
    left: 20px;
    bottom: 22px;
  }

  .slider__track {
    grid-auto-columns: 78%;
  }

  .logo-marquee__track {
    gap: 56px;
  }

  .logo-marquee__track img {
    height: 56px;
  }
}

@media (max-width: 575.98px) {
  .site-header__bar {
    padding: 0 12px;
  }

  .site-logo img {
    height: 18px;
    max-width: min(100%, 104px);
  }

  .header-actions .lang-switch {
    display: none;
  }

  .row.g-5,
  .row.gx-5 {
    --bs-gutter-x: 1.5rem;
  }

  .quote-modal .modal-content {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .hero__title {
    font-size: 8vw;
  }

  .hero-badge {
    width: 104px;
    height: 104px;
  }

  .hero-badge img {
    width: 34px;
  }

  .chip {
    height: 38px;
    padding: 0 0.8rem;
    font-size: 0.7rem;
  }

  .chip img {
    display: none;
  }

  .category-banner {
    align-items: flex-start;
    min-height: 200px;
  }

  .category-banner img {
    width: 52%;
  }

  .category-banner h2 {
    max-width: 55%;
  }

  .stats {
    grid-template-columns: repeat(3, auto);
  }

  .stat__label {
    font-size: 0.75rem;
  }

  .form-actions .btn-ba-dark {
    padding: 0 1rem;
  }

  .mv-card,
  .group-panel {
    padding: 28px;
  }

  .mv-card {
    min-height: 0;
  }

  .group-list li {
    padding: 14px;
  }

  .about-cta {
    padding: 28px;
  }

  .quote-modal .modal-dialog {
    padding-inline: 0;
  }

  .quote-modal .modal-content {
    border-radius: 0;
  }

  .quote-summary {
    padding: 20px 20px 18px;
  }

  .quote-summary__product img {
    width: 76px;
    height: 60px;
  }

  .quote-body {
    padding: 28px 20px;
  }

  .quote-modal__close {
    position: fixed;
    top: 14px;
    left: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  }

  .team-card__social {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Dark theme
   ========================================================================== */

[data-theme="dark"] {
  --ba-text: #e6e6e6;
  --ba-muted: #9d9d9d;
  --ba-soft: #858585;
  --ba-line: #262626;
  --ba-surface: #141414;
  --ba-field: #1a1a1a;
  --ba-bg: #0b0b0b;
  --ba-elev: #1b1b1b;
  --ba-heading: #f5f5f5;
  color-scheme: dark;
}

:where([data-theme="dark"]) body {
  background: var(--ba-bg);
}

:where([data-theme="dark"]) ::selection {
  background: var(--ba-gold);
  color: #000000;
}

/* Typography */

:where([data-theme="dark"]) .section-title,
:where([data-theme="dark"]) .section-subtitle,
:where([data-theme="dark"]) .hero__title,
:where([data-theme="dark"]) .category-card__title,
:where([data-theme="dark"]) .news-heading,
:where([data-theme="dark"]) .article-body h2,
:where([data-theme="dark"]) .quote-body__title,
:where([data-theme="dark"]) .quote-success h2,
:where([data-theme="dark"]) .mv-card__title,
:where([data-theme="dark"]) .timeline__year,
:where([data-theme="dark"]) .team-card h3,
:where([data-theme="dark"]) .product-family__head h2,
:where([data-theme="dark"]) .breadcrumb-ba [aria-current],
:where([data-theme="dark"]) .breadcrumb-ba a:hover {
  color: var(--ba-heading);
}

:where([data-theme="dark"]) .article-card__title,
:where([data-theme="dark"]) .form-ba .form-label,
:where([data-theme="dark"]) .stat__label,
:where([data-theme="dark"]) .latest-item h3,
:where([data-theme="dark"]) .article-header__title,
:where([data-theme="dark"]) .author strong,
:where([data-theme="dark"]) .article-body .lead-text,
:where([data-theme="dark"]) .article-quote cite,
:where([data-theme="dark"]) .share-card h2,
:where([data-theme="dark"]) .value-card h3,
:where([data-theme="dark"]) .dropzone .bi,
:where([data-theme="dark"]) .dropzone strong,
:where([data-theme="dark"]) .timeline__item h3 {
  color: #ececec;
}

:where([data-theme="dark"]) .about__text,
:where([data-theme="dark"]) .careers-hero__lead,
:where([data-theme="dark"]) .about-hero__lead,
:where([data-theme="dark"]) .about-copy p,
:where([data-theme="dark"]) .spec p {
  color: #b4b4b4;
}

:where([data-theme="dark"]) .hero__lead {
  color: #a3a3a3;
}

:where([data-theme="dark"]) .letter-b {
  filter: invert(1);
}

/* Buttons & chips */

:where([data-theme="dark"]) .btn-ba-dark {
  background: var(--ba-gold);
  color: #0b0b0b;
}

:where([data-theme="dark"]) .btn-ba-dark:hover {
  background: #f6d97c;
  color: #0b0b0b;
}

:where([data-theme="dark"]) .btn-ba-outline {
  background: transparent;
  border-color: #333333;
  color: var(--ba-heading);
}

:where([data-theme="dark"]) .btn-ba-outline:hover {
  border-color: var(--ba-gold);
  color: var(--ba-gold);
}

:where([data-theme="dark"]) .btn-arrow {
  background: #f2f2f2;
  color: #0b0b0b;
}

:where([data-theme="dark"]) .chip {
  border-color: #2c2c2c;
  background: var(--ba-surface);
  color: #e6e6e6;
}

:where([data-theme="dark"]) .chip:hover {
  border-color: #e6e6e6;
}

:where([data-theme="dark"]) .chip.active {
  border-color: var(--ba-gold);
  background: var(--ba-gold);
  color: #0b0b0b;
}

:where([data-theme="dark"]) .pill {
  background: #1f1f1f;
  color: #e6e6e6;
}

:where([data-theme="dark"]) .pill-light {
  background: var(--ba-elev);
}

:where([data-theme="dark"]) .link-more,
:where([data-theme="dark"]) .stat__value,
:where([data-theme="dark"]) .product-info__category,
:where([data-theme="dark"]) .mv-card__label {
  color: #f0a51c;
}

/* Header, menu & search */

:where([data-theme="dark"]) .site-header__bar {
  background: rgba(20, 20, 20, 0.92);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 10px 34px rgba(0, 0, 0, 0.5);
}

:where([data-theme="dark"]) .site-logo .logo-on-light {
  display: none;
}

:where([data-theme="dark"]) .site-logo .logo-on-dark {
  display: block;
}

:where([data-theme="dark"]) .site-nav a {
  color: #9a9a9a;
}

:where([data-theme="dark"]) .site-nav a:hover,
:where([data-theme="dark"]) .site-nav a.active {
  color: var(--ba-heading);
}

:where([data-theme="dark"]) .icon-btn {
  color: var(--ba-heading);
}

:where([data-theme="dark"]) .icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

:where([data-theme="dark"]) .theme-toggle__moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.4);
}

:where([data-theme="dark"]) .theme-toggle__sun {
  opacity: 1;
  transform: none;
  color: var(--ba-gold);
}

:where([data-theme="dark"]) .offcanvas-ba {
  background: #0b0b0b;
}

:where([data-theme="dark"]) .search-field {
  background: var(--ba-elev);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 60px rgba(0, 0, 0, 0.6);
}

:where([data-theme="dark"]) .search-field input {
  color: var(--ba-heading);
}

:where([data-theme="dark"]) .search-field input::placeholder {
  color: #7d7d7d;
}

:where([data-theme="dark"]) .search-overlay {
  background: rgba(0, 0, 0, 0.85);
}

/* Footer */

:where([data-theme="dark"]) .site-footer {
  background: #050505;
  border-top: 1px solid #1c1c1c;
}

/* Home */

:where([data-theme="dark"]) .hero-badge {
  background: url("../img/brand/monogram-light.svg") center / 58px auto no-repeat;
}

:where([data-theme="dark"]) .hero-badge img,
:where([data-theme="dark"]) .notch-media__corner img {
  visibility: hidden;
}

:where([data-theme="dark"]) .hero-badge text {
  fill: var(--ba-heading);
}

:where([data-theme="dark"]) .logo-marquee__track img {
  box-sizing: content-box;
  height: 60px;
  padding: 14px 26px;
  border-radius: var(--ba-radius-lg);
  background: #f4f4f4;
}

:where([data-theme="dark"]) .text-marquee {
  background: var(--ba-gold);
}

:where([data-theme="dark"]) .text-marquee__track span {
  color: #0b0b0b;
}

:where([data-theme="dark"]) .text-marquee__track img {
  filter: brightness(0);
}

:where([data-theme="dark"]) .notch-media__corner {
  --ba-white: var(--ba-bg);
  background: url("../img/brand/monogram-light.svg") center / 62px auto no-repeat, var(--ba-bg);
}

/* Cards */

:where([data-theme="dark"]) .category-card,
:where([data-theme="dark"]) .category-banner {
  background: var(--ba-surface);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

:where([data-theme="dark"]) .category-card::after {
  background: linear-gradient(-90deg, var(--ba-surface) 0%, rgba(20, 20, 20, 0.9) 34%, transparent 68%);
}

:where([data-theme="dark"]) .category-card--product::after {
  background: linear-gradient(270deg, var(--ba-surface) 0%, var(--ba-surface) 36%, rgba(20, 20, 20, 0.7) 50%, transparent 70%);
}

:where([data-theme="dark"]) .category-banner::after {
  background: linear-gradient(270deg, var(--ba-surface) 0%, var(--ba-surface) 28%, rgba(20, 20, 20, 0.72) 46%, transparent 66%);
}

:where([data-theme="dark"]) .product-card {
  border-color: #222222;
  background: #101010;
}

:where([data-theme="dark"]) .product-card:hover {
  border-color: #333333;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

:where([data-theme="dark"]) .product-card__media {
  background: #181818;
}

:where([data-theme="dark"]) .slider__dots button {
  background: #3a3a3a;
}

:where([data-theme="dark"]) .slider__dots button.active {
  background: var(--ba-gold);
}

:where([data-theme="dark"]) .value-card {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

:where([data-theme="dark"]) .value-card:hover {
  background: #1a1a1a;
}

:where([data-theme="dark"]) .value-card__icon,
:where([data-theme="dark"]) .mv-card__icon {
  background: var(--ba-gold);
  color: #0b0b0b;
}

/* Forms */

:where([data-theme="dark"]) .form-ba .form-control,
:where([data-theme="dark"]) .form-ba .form-select {
  border-color: #242424;
  background-color: var(--ba-field);
}

:where([data-theme="dark"]) .form-ba .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dddddd' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.6' d='m3 6 5 5 5-5'/%3e%3c/svg%3e");
}

:where([data-theme="dark"]) .form-ba .form-control::placeholder {
  color: #6f6f75;
}

:where([data-theme="dark"]) .form-ba .form-control:focus,
:where([data-theme="dark"]) .form-ba .form-select:focus {
  border-color: var(--ba-gold);
  background-color: #111111;
}

:where([data-theme="dark"]) .form-ba.form-ba--white .form-control,
:where([data-theme="dark"]) .form-ba.form-ba--white .form-select {
  border-color: #262626;
  background-color: var(--ba-bg);
}

:where([data-theme="dark"]) .form-feedback,
:where([data-theme="dark"]) .share-feedback,
:where([data-theme="dark"]) .dropzone.has-file strong {
  color: #4cc38a;
}

:where([data-theme="dark"]) .dropzone {
  border-color: #333333;
  background: var(--ba-bg);
}

:where([data-theme="dark"]) .dropzone:hover,
:where([data-theme="dark"]) .dropzone.is-dragover {
  border-color: var(--ba-gold);
  background: #111111;
}

/* Product details */

:where([data-theme="dark"]) .gallery__thumb {
  border-color: #262626;
  background: #111111;
}

:where([data-theme="dark"]) .gallery__thumb.active,
:where([data-theme="dark"]) .gallery__thumb:hover {
  border-color: var(--ba-gold);
}

:where([data-theme="dark"]) .gallery__main {
  border-color: #262626;
  background: #111111;
}

:where([data-theme="dark"]) .product-hero-media {
  border-color: #262626;
  background: #111111;
}

:where([data-theme="dark"]) .gallery__main .carousel-indicators [data-bs-target] {
  background: #444444;
}

:where([data-theme="dark"]) .gallery__main .carousel-indicators .active {
  background: var(--ba-gold);
}

/* Quote modal */

:where([data-theme="dark"]) .quote-modal .modal-content {
  background: #101010;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 80px rgba(0, 0, 0, 0.6);
}

:where([data-theme="dark"]) .quote-summary {
  background: linear-gradient(-160deg, #1d1a10 0%, #161616 55%);
  border-left: 1px solid #222222;
}

:where([data-theme="dark"]) .quote-modal__close {
  background: #1f1f1f;
  color: var(--ba-heading);
}

:where([data-theme="dark"]) .quote-modal__close:hover {
  background: var(--ba-gold);
  color: #0b0b0b;
}

:where([data-theme="dark"]) .qty-field .form-control {
  border-color: transparent;
  background-color: transparent;
}

:where([data-theme="dark"]) .qty-field button {
  background: #2a2a2a;
  color: var(--ba-heading);
}

:where([data-theme="dark"]) .qty-field button:hover {
  background: var(--ba-gold);
  color: #0b0b0b;
}

:where([data-theme="dark"]) .quote-options span {
  border-color: #2e2e2e;
  color: #dddddd;
}

:where([data-theme="dark"]) .quote-options label:hover span {
  border-color: #dddddd;
}

:where([data-theme="dark"]) .quote-options input:checked + span {
  border-color: var(--ba-gold);
  background: var(--ba-gold);
  color: #0b0b0b;
}

/* News */

:where([data-theme="dark"]) .article-quote {
  background: var(--ba-surface);
}

:where([data-theme="dark"]) .share-links a,
:where([data-theme="dark"]) .share-links button {
  border-color: #2a2a2a;
  background: var(--ba-elev);
  color: #e6e6e6;
}

:where([data-theme="dark"]) .share-links a:hover,
:where([data-theme="dark"]) .share-links button:hover {
  border-color: var(--ba-gold);
  background: var(--ba-gold);
  color: #0b0b0b;
}

/* About */

:where([data-theme="dark"]) .mv-card {
  background: var(--ba-elev);
}

:where([data-theme="dark"]) .mv-card::after {
  filter: grayscale(1) invert(1);
}

:where([data-theme="dark"]) .mv-card--dark {
  background: linear-gradient(-150deg, #2a2412 0%, #151515 60%);
  box-shadow: inset 0 0 0 1px rgba(237, 202, 94, 0.18);
}

:where([data-theme="dark"]) .mv-card--dark .mv-card__label {
  color: var(--ba-gold);
}

:where([data-theme="dark"]) .timeline::before {
  background: #2c2c2c;
}

:where([data-theme="dark"]) .team-card__media img[src*="team-placeholder"] {
  filter: invert(1) brightness(0.95);
}

:where([data-theme="dark"]) .team-card__social {
  background: #1f1f1f;
  color: var(--ba-heading);
}

:where([data-theme="dark"]) .group-section {
  background: radial-gradient(circle at 85% 15%, rgba(237, 202, 94, 0.1), transparent 45%), #111111;
}

:where([data-theme="dark"]) .group-panel {
  background: #0b0b0b;
}

:where([data-theme="dark"]) .group-section__pill {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ba-gold);
}

:where([data-theme="dark"]) .about-cta {
  background: linear-gradient(-120deg, #1d1a10 0%, var(--ba-surface) 60%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   AJAX forms + thank-you panels
   ========================================================================== */

.ba-form-shell {
  position: relative;
}

.ba-form-errors {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--ba-radius-sm);
  border: 1px solid rgba(200, 60, 60, 0.25);
  background: #fff5f5;
  color: #9b1c1c;
  font-size: 0.875rem;
  line-height: 1.5;
}

.ba-form-errors ul {
  margin: 0;
  padding-right: 1.1rem;
}

.ba-form-errors li + li {
  margin-top: 0.2rem;
}

.form-ba.is-submitting {
  opacity: 0.72;
  pointer-events: none;
}

.ba-form-spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-right: 0.55rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: -0.15em;
  animation: ba-spin 0.7s linear infinite;
}

@keyframes ba-spin {
  to { transform: rotate(-360deg); }
}

.ba-thanks {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 320px;
  padding: 2.5rem 1.25rem;
  border-radius: var(--ba-radius-lg);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(237, 202, 94, 0.16), transparent 60%),
    var(--ba-surface);
  border: 1px solid var(--ba-line);
}

.ba-thanks.is-visible,
.ba-thanks:not([hidden]) {
  display: flex;
  animation: quote-in 0.5s var(--ba-ease);
}

.ba-thanks[hidden] {
  display: none !important;
}

.ba-thanks--surface {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(237, 202, 94, 0.18), transparent 60%),
    #fff;
}

.ba-thanks__icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: linear-gradient(-145deg, #f2d676 0%, #edca5e 55%, #e49409 100%);
  color: var(--ba-black);
  font-size: 2.4rem;
  box-shadow: 0 10px 28px rgba(228, 148, 9, 0.28);
  animation: quote-pop 0.6s var(--ba-ease) 0.08s both;
}

.ba-thanks__title {
  margin: 0 0 0.75rem;
  font-family: var(--ba-font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--ba-black);
}

.ba-thanks__text {
  max-width: 420px;
  margin: 0 0 1.75rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ba-muted);
}

:where([data-theme="dark"]) .ba-thanks {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(237, 202, 94, 0.14), transparent 60%),
    #151515;
  border-color: #2a2a2a;
}

:where([data-theme="dark"]) .ba-thanks--surface {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(237, 202, 94, 0.14), transparent 60%),
    #111;
}

:where([data-theme="dark"]) .ba-thanks__title {
  color: #fff;
}

:where([data-theme="dark"]) .ba-form-errors {
  background: rgba(155, 28, 28, 0.18);
  border-color: rgba(248, 113, 113, 0.35);
  color: #fecaca;
}
