/* A full-width field of relationships. Everything is scoped to this section. */
.brand-wall {
  --wall-ink: #f2f0e9;
  --wall-muted: #b4b8ac;
  --wall-line: #3b4035;
  --wall-bg: #1b2019;
  position: relative;
  isolation: isolate;
  width: var(--brand-wall-viewport, 100%);
  margin: 100px calc((100% - var(--brand-wall-viewport, 100%)) / 2) 0;
  padding-block: 62px 26px;
  color: var(--wall-ink);
  background: var(--wall-bg);
  overflow: hidden;
}
.brand-wall::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 72% 10%, #34412a 0%, transparent 62%);
  pointer-events: none;
}
.brand-wall-header,
.brand-wall-footer {
  width: 100%;
  max-width: var(--max, 1320px);
  margin-inline: auto;
  padding-inline: 44px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
}
.brand-wall-header { align-items: flex-end; margin-bottom: 46px; }
.brand-wall-heading .eyebrow { color: var(--lime, #d7ef84); margin-bottom: 14px; }
.brand-wall-heading h3 {
  max-width: 780px;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.052em;
}
.brand-wall-intro { max-width: 570px; margin-top: 18px; color: var(--wall-muted); font-size: 14px; }
.brand-wall-controls { display: flex; gap: 10px; flex-shrink: 0; padding-bottom: 2px; }
.brand-wall-control {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #6b7361;
  border-radius: 0;
  color: var(--wall-ink);
  font: 11px/1.3 'Courier New', monospace;
  transition: background .2s ease, border-color .2s ease;
}
.brand-wall-control[hidden] { display: none; }
.brand-wall-control:hover { background: #39442f; border-color: var(--lime, #d7ef84); }
.brand-wall-control:focus-visible,
.brand-wall-scene:focus-visible { outline: 3px solid var(--lime, #d7ef84); outline-offset: 4px; }
.brand-wall-control-icon { font-family: Arial, sans-serif; font-size: 12px; width: 12px; }
.brand-wall-scene { position: relative; padding-block: 12px; }
.brand-wall-scene::before,
.brand-wall-scene::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  width: min(10vw, 150px);
  pointer-events: none;
}
.brand-wall-scene::before { left: 0; background: linear-gradient(90deg, var(--wall-bg), transparent); }
.brand-wall-scene::after { right: 0; background: linear-gradient(-90deg, var(--wall-bg), transparent); }
.brand-wall-lane { overflow: hidden; border-top: 1px solid var(--wall-line); }
.brand-wall-lane:last-child { border-bottom: 1px solid var(--wall-line); }
.brand-wall-track {
  display: flex;
  width: max-content;
  animation: brand-wall-drift var(--lane-duration, 480s) linear infinite;
}
.brand-wall-lane:nth-child(even) .brand-wall-track { animation-direction: reverse; }
.brand-wall-group {
  --brand-gap: clamp(40px, 5vw, 86px);
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: max-content;
  gap: var(--brand-gap);
  list-style: none;
  margin: 0;
  padding: 20px var(--brand-gap) 20px 0;
}
.brand-wall-name {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  font: 600 clamp(27px, 3.6vw, 53px)/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.brand-wall-name--1,
.brand-wall-name--4 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.045em; }
.brand-wall-name--2 { font-size: clamp(23px, 2.9vw, 43px); font-weight: 400; letter-spacing: .06em; text-transform: uppercase; }
.brand-wall-name--3 { color: var(--lime, #d7ef84); font-weight: 500; }
.brand-wall-name--4 { font-style: italic; }
.brand-wall-name--5 { font: 400 clamp(20px, 2.6vw, 38px)/1.2 'Courier New', monospace; letter-spacing: -.06em; }
.brand-wall-name--6 { font-weight: 700; color: #c5cbbd; }
.brand-wall[data-paused="true"] .brand-wall-track { animation-play-state: paused; }
.brand-wall-footer { margin-top: 30px; color: var(--wall-muted); font: 10px/1.5 'Courier New', monospace; }
.brand-wall-total { color: var(--lime, #d7ef84); text-align: right; }
@keyframes brand-wall-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (hover: hover) {
  .brand-wall-lane:hover .brand-wall-track { animation-play-state: paused; }
}
.brand-wall-lane:focus-within .brand-wall-track { animation-play-state: paused; }

/* The same primary lists become a readable index; duplicate tracks stay hidden. */
.brand-wall[data-static="true"] .brand-wall-scene {
  max-width: var(--max, 1320px);
  max-height: 620px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  scrollbar-color: #8d9a7f var(--wall-bg);
  scrollbar-width: thin;
  padding: 0 44px 12px;
  margin-inline: auto;
}
.brand-wall[data-static="true"] .brand-wall-scene::before,
.brand-wall[data-static="true"] .brand-wall-scene::after,
.brand-wall[data-static="true"] .brand-wall-copy { display: none; }
.brand-wall[data-static="true"] .brand-wall-track { animation: none; transform: none; width: 100%; }
.brand-wall[data-static="true"] .brand-wall-group {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  gap: 0 28px;
  padding: 16px 0;
}
.brand-wall[data-static="true"] .brand-wall-name {
  align-self: center;
  font: 400 15px/1.4 Arial, Helvetica, sans-serif;
  color: var(--wall-ink);
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
  padding-block: 10px;
}
@media (max-width: 1050px) {
  .brand-wall-header { align-items: flex-start; flex-direction: column; gap: 24px; }
  .brand-wall { padding-top: 48px; }
  .brand-wall-header { margin-bottom: 30px; }
}
@media (max-width: 750px) {
  .brand-wall { margin-top: 64px; padding-block: 38px 23px; }
  .brand-wall-header, .brand-wall-footer { padding-inline: 23px; }
  .brand-wall-header { gap: 22px; margin-bottom: 24px; }
  .brand-wall-intro { max-width: 360px; font-size: 13px; margin-top: 14px; }
  .brand-wall-group { padding-block: 19px; }
  .brand-wall-footer { gap: 13px; margin-top: 22px; flex-direction: column; font-size: 10px; }
  .brand-wall-total { text-align: left; }
  .brand-wall[data-static="true"] .brand-wall-scene { padding-inline: 23px; max-height: 520px; }
  .brand-wall[data-static="true"] .brand-wall-group { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .brand-wall[data-static="true"] .brand-wall-name { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-wall-track { animation: none; }
  .brand-wall-control { transition: none; }
}
