/* /brands: the WhiteLabelFans brand network. Builds on home.css (black and gold). */

.brands-page main { overflow-x: clip; }

/* ---------- Hero: animated wall of real companions ---------- */
.br-hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(620px, 92vh, 900px); display: flex; align-items: center;
  padding: calc(var(--nav-h, 82px) + 28px) 0 56px; background: var(--ink);
}
.br-wall {
  position: absolute; z-index: -2; top: -18%; bottom: -18%; right: -6%; width: min(1100px, 78%);
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
  transform: rotate(-8deg) skewX(-2deg); transform-origin: 60% 50%;
}
.br-col { overflow: hidden; }
.br-col-track { display: flex; flex-direction: column; gap: 14px; animation: br-rise var(--dur, 50s) linear infinite; animation-direction: var(--dir, normal); }
@keyframes br-rise { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 7px)); } }
.br-tile { position: relative; margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 2 / 3; background: #15120d; border: 1px solid color-mix(in srgb, var(--brand) 55%, transparent); box-shadow: 0 10px 34px rgba(0, 0, 0, .55), 0 0 26px color-mix(in srgb, var(--brand) 22%, transparent); }
.br-tile > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.br-tile figcaption { position: absolute; inset: auto 0 0; padding: 26px 8px 8px; display: flex; justify-content: center; background: linear-gradient(0deg, rgba(10, 9, 7, .92), transparent); }
.br-tile figcaption img { max-height: 20px; max-width: 86%; width: auto; }
.br-hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(10, 9, 7, .94) 30%, rgba(10, 9, 7, .55) 55%, rgba(10, 9, 7, .15) 80%, rgba(10, 9, 7, .35) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 22%, transparent 82%, rgba(10, 9, 7, .7) 100%),
    radial-gradient(40% 50% at 18% 45%, rgba(227, 173, 62, .16), transparent 70%);
}
.br-hero-in { position: relative; }
.br-crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.br-crumbs a { color: var(--muted); }
.br-crumbs a:hover { color: var(--gold-hi); }
.br-h1 { font-size: clamp(46px, 7vw, 100px); max-width: 12ch; margin: 0 0 18px; text-wrap: balance; }
.br-lede { max-width: 560px; }

/* Cycling niche word */
.br-cycle { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 22px; font: 400 clamp(24px, 3vw, 38px)/1 var(--display); text-transform: uppercase; color: var(--cream); letter-spacing: .02em; }
.br-cycle-pre { color: var(--muted); font-size: .62em; letter-spacing: .14em; }
.br-cycle-box { --h: 1.4em; display: inline-block; height: var(--h); overflow: hidden; padding: 0 .5em; border-radius: 10px; text-align: center; background: rgba(227, 173, 62, .12); border: 1px solid rgba(251, 226, 154, .35); }
.br-cycle-list { display: flex; flex-direction: column; animation: br-cycle calc(var(--n) * 1.8s) steps(1) infinite; }
.br-cycle-list b { display: flex; align-items: center; justify-content: center; height: var(--h); line-height: 1; padding-bottom: .05em; font-weight: 400; white-space: nowrap; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes br-cycle {
  0.0%, 8.33% { transform: translateY(calc(var(--h) * -0)); }
  8.34%, 16.67% { transform: translateY(calc(var(--h) * -1)); }
  16.68%, 25.0% { transform: translateY(calc(var(--h) * -2)); }
  25.01%, 33.33% { transform: translateY(calc(var(--h) * -3)); }
  33.34%, 41.67% { transform: translateY(calc(var(--h) * -4)); }
  41.68%, 50.0% { transform: translateY(calc(var(--h) * -5)); }
  50.01%, 58.33% { transform: translateY(calc(var(--h) * -6)); }
  58.34%, 66.67% { transform: translateY(calc(var(--h) * -7)); }
  66.68%, 75.0% { transform: translateY(calc(var(--h) * -8)); }
  75.01%, 83.33% { transform: translateY(calc(var(--h) * -9)); }
  83.34%, 91.67% { transform: translateY(calc(var(--h) * -10)); }
  91.68%, 100.0% { transform: translateY(calc(var(--h) * -11)); }
}

@media (max-width: 860px) {
  .br-hero { min-height: 0; padding-bottom: 40px; align-items: flex-end; }
  .br-wall { width: 150%; right: -40%; grid-template-columns: repeat(4, 1fr); opacity: .55; }
  .br-col:nth-child(n+5) { display: none; }
  .br-hero-shade { background: linear-gradient(0deg, var(--ink) 8%, rgba(10, 9, 7, .78) 45%, rgba(10, 9, 7, .55) 100%); }
}

/* ---------- Logo marquee ---------- */
.br-marquee { overflow: hidden; padding: 22px 0; background: #0d0b08; border-top: 1px solid rgba(251, 226, 154, .12); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.br-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: br-scroll 70s linear infinite; }
.br-marquee:hover .br-track { animation-play-state: paused; }
.br-mlogo { flex: 0 0 auto; display: flex; align-items: center; height: 44px; opacity: .88; transition: opacity .2s; }
.br-mlogo:hover { opacity: 1; }
.br-mlogo img { max-height: 44px; width: auto; }
@keyframes br-scroll { to { transform: translateX(-50%); } }

/* ---------- Filters ---------- */
.br-network { padding-top: clamp(56px, 7vw, 96px); }
.br-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 28px; }
.br-chip {
  font: 700 13px/1 "Inter", sans-serif; letter-spacing: .04em; color: var(--cream);
  padding: 11px 16px; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(251, 226, 154, .22);
  transition: background .2s, border-color .2s, color .2s;
}
.br-chip:hover { border-color: rgba(251, 226, 154, .55); }
.br-chip.is-on { background: var(--gold-grad); color: #1a1206; border-color: transparent; }
.br-chip:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }

/* ---------- Grid + cards ---------- */
.br-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.br-card {
  --brand: #e7b54a;
  position: relative; display: flex; flex-direction: column; min-width: 0;
  border-radius: 20px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 14%, #14110c), #100d09 55%);
  border: 1px solid color-mix(in srgb, var(--brand) 38%, transparent);
  box-shadow: 0 16px 50px rgba(0, 0, 0, .45);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s;
}
.br-card[hidden] { display: none; }
.br-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 75%, transparent); box-shadow: 0 22px 60px rgba(0, 0, 0, .55), 0 0 0 1px color-mix(in srgb, var(--brand) 30%, transparent), 0 0 46px color-mix(in srgb, var(--brand) 22%, transparent); }
.br-hit { position: absolute; inset: 0; z-index: 1; }
.br-hit:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: -3px; border-radius: 20px; }

.br-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #0d0b08; }
.br-media::after { content: ""; position: absolute; inset: 86% 0 0; background: linear-gradient(0deg, rgba(16, 13, 9, .85), transparent); pointer-events: none; }


.br-live { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; font: 800 11px/1 "Inter", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #eafff6; background: rgba(10, 9, 7, .7); border: 1px solid rgba(68, 229, 167, .45); padding: 6px 9px; border-radius: 999px; backdrop-filter: blur(6px); }
.br-live i { width: 7px; height: 7px; border-radius: 50%; background: #44e5a7; box-shadow: 0 0 0 0 rgba(68, 229, 167, .6); animation: br-pulse 2s infinite; }
@keyframes br-pulse { 70% { box-shadow: 0 0 0 7px rgba(68, 229, 167, 0); } 100% { box-shadow: 0 0 0 0 rgba(68, 229, 167, 0); } }

.br-body { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 4px 18px 18px; flex: 1; }
.br-logo { height: 46px; display: flex; align-items: center; }
.br-logo img { max-height: 46px; max-width: 100%; width: auto; height: auto; }
.br-tag { margin: 0; color: #e6dcc9; font-size: 15px; line-height: 1.45; }
.br-meta { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.br-meta li { font: 700 11px/1 "Inter", sans-serif; letter-spacing: .05em; text-transform: uppercase; color: color-mix(in srgb, var(--brand) 70%, #fff); background: color-mix(in srgb, var(--brand) 14%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); padding: 6px 8px; border-radius: 8px; }
.br-meta .br-new { color: #1a1206; background: var(--gold-grad); border-color: transparent; }
.br-actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: auto; padding-top: 6px; }
.br-visit { font: 800 14px/1.2 "Inter", sans-serif; color: var(--cream); text-decoration: none; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 26%, #15120d); border: 1px solid color-mix(in srgb, var(--brand) 60%, transparent); overflow-wrap: anywhere; }
.br-visit:hover { background: color-mix(in srgb, var(--brand) 42%, #15120d); }
.br-launch { font: 700 13px/1.2 "Inter", sans-serif; color: var(--gold-hi); text-decoration: none; }
.br-launch:hover { text-decoration: underline; }

/* Three real companions from the site: one large, two stacked */
.br-trio {
  /* Square box, 2fr/1fr columns, two rows: every cell is exactly 2:3, so the
     square source photos lose only their sides, never a head or feet. */
  aspect-ratio: 1 / 1; max-height: none;
  display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 0;
}
.br-trio img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 50%) 50%; display: block; min-height: 0; min-width: 0; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.br-trio img + img { border-left: 2px solid #0d0b08; }
.br-trio img:last-child { border-top: 2px solid #0d0b08; }
.br-trio img:first-child { grid-row: 1 / span 2; }
.br-card:hover .br-trio img { transform: scale(1.03); }

/* Coming soon: logo panel, no link to the site yet */
.br-media-soon { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: radial-gradient(70% 70% at 50% 40%, color-mix(in srgb, var(--brand) 32%, #120f0a), #0d0b08); }
.br-media-soon img { width: 74%; max-width: 280px; height: auto; filter: drop-shadow(0 8px 30px rgba(0, 0, 0, .6)); }
.br-soon-label { font: 400 clamp(22px, 2.2vw, 28px)/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--gold-hi); border: 1px solid rgba(251, 226, 154, .45); padding: 8px 14px 6px; border-radius: 10px; background: rgba(10, 9, 7, .45); }
.br-live.br-soon { color: #fff3d0; border-color: rgba(251, 226, 154, .55); }
.br-live.br-soon i { background: var(--gold); animation: none; }
.br-is-soon:hover { transform: none; }
.br-visit-soon { cursor: default; opacity: .7; }
.br-is-soon .br-media { aspect-ratio: 4 / 3; }
.br-visit-soon:hover { background: color-mix(in srgb, var(--brand) 26%, #15120d); }

/* Featured flagship: spans two columns on wide screens, with its three
   companions side by side (2:1 box = three exact 2:3 frames). */
@media (min-width: 900px) {
  .br-featured { grid-column: span 2; }
  .br-featured .br-trio { aspect-ratio: 2 / 1; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr; }
  .br-featured .br-trio img:first-child { grid-row: auto; }
  .br-featured .br-trio img:last-child { border-top: 0; }
  .br-featured .br-body { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding: 10px 22px 22px; }
  .br-featured .br-logo { height: 56px; flex: 0 0 auto; }
  .br-featured .br-logo img { max-height: 56px; }
  .br-featured .br-tag { flex: 1 1 260px; font-size: 17px; }
  .br-featured .br-meta, .br-featured .br-actions { flex: 1 1 100%; }
  .br-featured .br-actions { margin-top: 2px; }
}

/* "Your brand here" card */
.br-yours { text-decoration: none; border-style: dashed; border-color: rgba(251, 226, 154, .4); background: radial-gradient(80% 60% at 50% 30%, rgba(227, 173, 62, .14), transparent 70%), #100d09; min-height: 320px; }
.br-yours-in { margin: auto; padding: 32px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.br-plus { font: 400 72px/1 var(--display); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.br-yours strong { font: 400 30px/1.05 var(--display); text-transform: uppercase; color: var(--cream); }
.br-yours p { margin: 0; color: var(--muted); max-width: 26ch; }
.br-more { margin: 26px 0 0; color: var(--muted); }
.br-more a { color: var(--gold-hi); }

/* ---------- Money ---------- */
.br-money { background: radial-gradient(60% 60% at 80% 40%, rgba(227, 173, 62, .12), transparent 70%), var(--ink-2); }
.br-streams { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-self: center; }
.br-streams li { display: grid; gap: 4px; padding: 18px 20px; border-radius: 16px; background: linear-gradient(180deg, rgba(227, 173, 62, .1), rgba(227, 173, 62, .02)); border: 1px solid rgba(251, 226, 154, .2); }
.br-streams strong { font: 400 22px/1.1 var(--display); text-transform: uppercase; color: var(--cream); letter-spacing: .02em; }
.br-streams span { color: var(--muted); font-size: 15px; }

/* ---------- Affiliate framing ---------- */
.br-own-note { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.br-own-note a { color: var(--gold-hi); }
.br-why-cta { margin: 26px 0 0; }
.br-ownsite-in { border-style: dashed; background: #0f0c09; }

/* ---------- SEO helpers: keyword H1, brand headings, at-a-glance table ---------- */
.br-kw { margin: 0 0 14px; font-size: 13px; }
.br-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.br-glance { padding-top: 0; }
.br-table-wrap { overflow-x: auto; margin-top: 18px; border: 1px solid rgba(251, 226, 154, .18); border-radius: 16px; }
.br-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.br-table th, .br-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); color: #e6dcc9; }
.br-table thead th { font: 700 11px/1 "Inter", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-hi); background: rgba(227, 173, 62, .07); }
.br-table tbody th { color: var(--cream); font-weight: 700; }
.br-table tbody tr:last-child > * { border-bottom: 0; }
.br-table a { color: var(--gold-hi); }
.br-related { max-width: 860px; margin: 22px 0 0; color: var(--muted); font-size: 15px; }
.br-related a { color: var(--gold-hi); }

/* ---------- Networks + FAQ ---------- */
.br-networks-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 26px; border: 1px solid rgba(251, 226, 154, .25); background: radial-gradient(70% 90% at 0% 0%, rgba(227, 173, 62, .14), transparent 70%), #110e0a; }
.br-networks-in .hx-text { margin-bottom: 0; }
.br-networks-in .hx-ctas { justify-content: flex-end; margin: 0; }
.br-faq .faq-list { max-width: 860px; display: grid; gap: 12px; margin-top: 28px; }

@media (max-width: 860px) {
  .br-networks-in { grid-template-columns: 1fr; }
  .br-networks-in .hx-ctas { justify-content: flex-start; }
}
@media (max-width: 640px) {
  /* Phones: two brands per row, compact cards. Honeyz and "Your brand here" span the row. */
  .br-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .br-card { border-radius: 14px; }
  .br-card:hover { transform: none; }
  .br-featured, .br-yours { grid-column: 1 / -1; }
  .br-featured .br-trio { aspect-ratio: 2 / 1; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr; }
  .br-featured .br-trio img:first-child { grid-row: auto; }
  .br-featured .br-trio img:last-child { border-top: 0; }
  .br-body { padding: 2px 10px 12px; gap: 7px; }
  .br-logo { height: 28px; }
  .br-logo img { max-height: 28px; }
  .br-featured .br-logo { height: 40px; }
  .br-featured .br-logo img { max-height: 40px; }
  .br-tag { font-size: 12.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .br-featured .br-tag { font-size: 14px; }
  .br-meta, .br-launch { display: none; }
  .br-actions { padding-top: 2px; }
  .br-visit { font-size: 12px; padding: 7px 9px; border-radius: 9px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
  .br-visit span { display: none; }
  .br-live { top: 7px; left: 7px; font-size: 9px; padding: 4px 7px; gap: 5px; }
  .br-live i { width: 6px; height: 6px; }
  .br-soon-label { font-size: 15px; padding: 6px 9px 4px; }
  .br-media-soon { gap: 10px; }
  .br-yours { min-height: 0; }
  .br-yours-in { padding: 22px 18px; gap: 8px; }
  .br-plus { font-size: 44px; }
  .br-yours strong { font-size: 24px; }
  .br-filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .br-filters::-webkit-scrollbar { display: none; }
  .br-chip { flex: 0 0 auto; }
  .hx-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hx-stats-grid > div:nth-child(3) { border-left: 0; }
}
@media (max-width: 400px) {
  .br-body { padding: 2px 8px 11px; }
  .br-visit { font-size: 11px; padding: 6px 7px; letter-spacing: -.01em; }
}
@media (max-width: 350px) {
  .br-visit { white-space: normal; overflow-wrap: anywhere; text-overflow: clip; line-height: 1.25; }
}
@media (prefers-reduced-motion: reduce) {
  .br-card, .br-trio img { transition: none; }
  .br-live i, .br-track, .br-col-track, .br-cycle-list { animation: none; }
  .br-marquee { overflow-x: auto; }
}
