/* Brand Identity documentation — scoped to .brand-docs */
.brand-docs .brand-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
}

.brand-docs .brand-swatch {
  border: 1px solid rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.brand-docs .brand-swatch .chip {
  height: 88px;
  width: 100%;
}

.brand-docs .brand-swatch .meta {
  padding: 0.65rem 0.75rem 0.85rem;
  font-size: 12px;
  line-height: 1.35;
  color: #151515;
}

.brand-docs .brand-swatch .meta strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.brand-docs .brand-type-row {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1.1rem 0;
}

.brand-docs .brand-type-row:last-child {
  border-bottom: 0;
}

.brand-docs .brand-type-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(21, 21, 21, 0.45);
  margin-bottom: 0.35rem;
}

.brand-docs .brand-layer {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.brand-docs .brand-layer-item {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.02);
}

.brand-docs .brand-layer-item:nth-child(2) {
  background: rgba(0, 0, 0, 0.04);
}

.brand-docs .brand-layer-item:nth-child(3) {
  background: rgba(0, 0, 0, 0.07);
}

.brand-docs .brand-layer-item:nth-child(4) {
  background: rgba(0, 0, 0, 0.1);
}

.brand-docs .brand-layer-item:last-child {
  border-bottom: 0;
  background: #151515;
  color: #fff;
}

.brand-docs .brand-layer-item:last-child p {
  color: rgba(255, 255, 255, 0.65);
}

.brand-docs .brand-layer-item h4 {
  margin-bottom: 0.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
}

.brand-docs .brand-layer-item p {
  margin: 0;
  font-size: 14px;
}

.brand-docs .brand-ia {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
}

.brand-docs .brand-ia a {
  display: block;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #151515;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
}

.brand-docs .brand-ia a:hover,
.brand-docs .brand-ia a.is-current {
  background: #151515;
  color: #fff;
}

.brand-docs .brand-ia a span {
  display: block;
  margin-top: 0.35rem;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.55;
}

.brand-docs .brand-ia a:hover span,
.brand-docs .brand-ia a.is-current span {
  opacity: 0.75;
}

.brand-docs .brand-spacer-scale {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 1.5rem;
}

.brand-docs .brand-spacer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(21, 21, 21, 0.5);
}

.brand-docs .brand-spacer i {
  display: block;
  width: 28px;
  background: #151515;
}

.brand-docs .brand-comp-demo {
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 1.25rem;
  height: 100%;
}

.brand-docs .brand-comp-demo h5 {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.brand-docs .brand-filter-demo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 0.85rem;
}

.brand-docs .brand-filter-demo button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.35rem 0;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(21, 21, 21, 0.32);
  position: relative;
  cursor: default;
}

.brand-docs .brand-filter-demo button.active {
  color: #151515;
}

.brand-docs .brand-filter-demo button.active:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #151515;
}

.brand-docs .brand-wire {
  border: 1px solid rgba(0, 0, 0, 0.2);
  background:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 16px 16px;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
}

.brand-docs .brand-wire-title {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: #151515;
}

.brand-docs .brand-wire-frame {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 220px;
}

.brand-docs .bw-block {
  border: 1px dashed rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.75);
  color: rgba(21, 21, 21, 0.55);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.4rem;
  min-height: 28px;
}

.brand-docs .bw-hero {
  min-height: 48px;
  background: rgba(21, 21, 21, 0.08);
}

.brand-docs .bw-nav {
  min-height: 22px;
}

.brand-docs .bw-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.brand-docs .bw-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}

.brand-docs .bw-row-2-10 {
  display: grid;
  grid-template-columns: 2fr 10fr;
  gap: 6px;
}

.brand-docs .bw-tall {
  min-height: 72px;
}

.brand-docs .bw-cta {
  min-height: 36px;
  background: #151515;
  color: #fff;
  border-style: solid;
}

.brand-docs .brand-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.brand-docs .brand-stack-item {
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 1rem;
}

.brand-docs .brand-stack-item h5 {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.brand-docs .brand-stack-item p {
  margin: 0;
  font-size: 14px;
}

.brand-docs .brand-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 1rem 0 1.25rem;
}

.brand-docs .brand-toc a {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(21, 21, 21, 0.4);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.15rem;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.brand-docs .brand-toc a:hover {
  color: #151515;
  border-bottom-color: #151515;
}

.brand-docs .brand-voice-card {
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 1.15rem 1.25rem;
  height: 100%;
}

.brand-docs .brand-voice-card h5 {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.brand-docs .brand-voice-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.brand-docs .brand-voice-card li {
  font-size: 14px;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: #707070;
}

.brand-docs .brand-voice-card li:last-child {
  border-bottom: 0;
}

.brand-docs .brand-proof-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 1rem 0.75rem;
}

.brand-docs .brand-proof-row > div {
  text-align: center;
}

.brand-docs .brand-proof-row strong {
  display: block;
  font-size: clamp(1.1rem, 2.5vw, 1.65rem);
  font-weight: 800;
  color: #151515;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-docs .brand-proof-row span {
  display: block;
  margin-top: 0.35rem;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(21, 21, 21, 0.5);
}

@media (max-width: 991px) {
  .brand-docs .brand-proof-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575px) {
  .brand-docs .brand-proof-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.brand-docs .brand-motion-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.brand-docs .brand-motion-list li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.85rem 0;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  font-size: 14px;
}

.brand-docs .brand-motion-list li strong {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .brand-docs .bw-row-2-10 {
    grid-template-columns: 1fr;
  }
  .brand-docs .brand-motion-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
