/* "Brands the team behind ZeroWeb has worked with": text-only name wall (never logos), two styles
   (stickers, tapes) in two looks (.bw-s Sari-sari tags, .bw-j Jeepney plates). Markup: src/site/views/brands.ts.
   The tapes only move with html.motion (JS on, no reduced motion); otherwise they are static rows. */
.bw{--ink:#151312;--paper:#FFFBF2;--cream:#FFF6E6;--lemon:#FFE45C;--pink:#FF7AB6;--mint:#7EE0B8;--sky:#7CC4FF;--tomato:#FF5B3A;--grape:#9B7CFF;--gold:#FFC83D;
  --bw-serif:inherit;--bw-cond:inherit;--bw-mono:inherit;--bw-sans:inherit;
  position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:clamp(22px,3vw,40px);margin-top:clamp(40px,6vw,88px);text-align:left;font-family:var(--bw-sans)}
.bw-hd{display:grid;gap:14px;align-items:end}
@media (min-width:1000px){.bw-hd{grid-template-columns:1.3fr 1fr;gap:60px}}
.bw-h{margin:0;font-size:clamp(1.9rem,3.6vw,3.4rem);line-height:.94;text-wrap:balance}
.bw-h em{font-style:normal}
.bw-sub{margin:0;max-width:44ch;font-size:clamp(1rem,1.25vw,1.125rem);line-height:1.5}
.bw-sub b{font-weight:700}
.bw-note{margin:0;font:400 .6875rem/1.3 var(--bw-mono);letter-spacing:.06em;text-transform:uppercase;opacity:.75}
.bw-sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.bw-defs{position:absolute;width:0;height:0;overflow:hidden}
.bws-wall{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:center}
.bws-st{position:relative;display:inline-flex;align-items:center;line-height:1;white-space:nowrap;transform:rotate(var(--r,0deg))}

/* ---------- S (Sari-sari home): kraft price tags with a red pin, Shantell headings ---------- */
.bw-s .bw-h{font:700 clamp(20px,1.8vw,24px)/1.2 "Shantell","Nunito",sans-serif;color:#201B15}
.bw-s .bw-h em{font-style:normal;color:#D53A27}
.bw-s .bw-sub{color:#4A4036;font-size:16px}
.bw-s .bw-hd{grid-template-columns:minmax(0,1fr)!important;gap:6px}
.bw-s .bws-wall{gap:14px}
.bw-s .bws-st{font:800 18px/1 "Nunito",sans-serif;background:#fff;color:#201B15;border:2.5px solid #201B15;padding:10px 16px 10px 28px;border-radius:6px;white-space:normal}
.bw-s .bws-st::before{content:"";position:absolute;left:9px;top:50%;width:9px;height:9px;margin-top:-4.5px;border-radius:50%;background:#D53A27}
@media (max-width:640px){.bw-s .bws-st{font-size:16px}}
.bw-s .bwt-band{border:3px solid #201B15;border-radius:12px;background:#FFF8EA;color:#201B15;overflow:hidden}
.bw-s .bwt-tape+.bwt-tape{border-top:2.5px dashed #201B15}
.bw-s .bwt-nm{font-family:"Gluten","Nunito",sans-serif!important;font-weight:800;font-style:normal!important;text-transform:none!important;font-stretch:100%!important}
.bw-s .bwt-nm.y{color:#D53A27}
.bw-s .bwt-star{color:#23764A!important}

/* ---------- J (shared pages, on the dark band): chrome number plates ---------- */
.bw-j{margin-top:64px}
.bw-j .bw-h{font:800 15px/1.3 "Archivo",sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#FFC42E}
.bw-j .bw-h em{font-style:normal}
.bw-j .bw-sub{color:#D9D3C8;font-size:16px}
.bw-j .bw-hd{grid-template-columns:minmax(0,1fr)!important;gap:8px}
.bw-j .bws-wall{gap:14px 12px}
.bw-j .bws-st{font:400 clamp(15px,1.5vw,21px)/1.1 "Bungee","Archivo",sans-serif;color:#16120F;background:linear-gradient(180deg,#fff 0%,#dfe4ea 38%,#8d97a3 50%,#d3d9df 66%,#fff 100%);border:3px solid #fff;outline:3px solid #16120F;border-radius:10px;padding:12px 18px 9px;white-space:normal}
.bw-j .bwt-band{border-block:4px solid #FFC42E;background:#16120F;color:#fff}
.bw-j .bwt-tape+.bwt-tape{border-top:3px solid #E3342B}
.bw-j .bwt-nm{font-family:"Bungee","Archivo",sans-serif!important;font-weight:400!important;font-style:normal!important;text-transform:none!important;font-stretch:100%!important;letter-spacing:0!important}
.bw-j .bwt-nm.y{color:#FFC42E}

/* ---------- tapes: static rows by default (no JS, reduced motion) ---------- */
.bwt-band{position:relative;overflow:hidden;max-width:100%}
.bwt-tape{overflow:hidden}
.bwt-track{display:flex;flex-wrap:wrap;justify-content:center;padding:clamp(10px,1.4vw,18px) calc(var(--pad,24px) + 8px)}
.bwt-run{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;row-gap:.1em}
.bwt-run.dup{display:none}
.bwt-run>.bwt-star:last-child{display:none}
.bwt-nm{font-size:clamp(1.6rem,3.4vw,3.2rem);line-height:1.1;padding:0 .02em;white-space:nowrap}
.bwt-nm.x{font-family:var(--bw-cond);font-weight:800;font-stretch:75%;text-transform:uppercase;letter-spacing:-.01em}
.bwt-nm.y{font-family:var(--bw-serif);font-style:italic;font-weight:360;letter-spacing:-.02em}
.bwt-star{flex:none;width:clamp(20px,2.6vw,36px);height:clamp(20px,2.6vw,36px);margin:0 clamp(10px,1.4vw,22px)}

/* ---------- tapes: moving (JS on and motion allowed) ---------- */
@media (prefers-reduced-motion:no-preference){
  .motion .bwt-tape{white-space:nowrap}
  .motion .bwt-track{flex-wrap:nowrap;justify-content:flex-start;width:max-content;padding-inline:0;animation:bwt-go var(--dur,50s) linear infinite}
  .motion .bwt-tape.t2 .bwt-track{animation-direction:reverse}
  .motion .bwt-run{flex:none;flex-wrap:nowrap}
  .motion .bwt-run.dup{display:flex}
  .motion .bwt-run>.bwt-star:last-child{display:block}
  .motion .bwt-nm{font-size:clamp(2.4rem,5vw,4.8rem);line-height:1}
  .motion .bw-s .bwt-nm,.motion .bw-j .bwt-nm{font-size:clamp(1.8rem,3.4vw,3.2rem)}
  .motion .bwt-star{width:clamp(26px,3.4vw,46px);height:clamp(26px,3.4vw,46px);margin:0 clamp(16px,2vw,30px)}
  .bwt-band:hover .bwt-track{animation-play-state:paused}
  /* stickers wobble on hover */
  .motion .bw-s .bws-st,.motion .bw-j .bws-st{transition:transform .3s cubic-bezier(.22,1,.36,1)}
  .motion .bw-s .bws-st:hover,.motion .bw-j .bws-st:hover{transform:rotate(0deg) translateY(-3px)}
}
@keyframes bwt-go{to{transform:translateX(calc(-100% / var(--k,2)))}}
@media (prefers-reduced-motion:reduce){.bwt-track,.bws-st{animation:none!important;transition:none!important}}
