/* brand.css: the one wordmark style for every page on every site (steelheadtracker.com, columbiafishtracker.com,
   chinooktracker.com, cohotracker.com, sockeyetracker.com). Paul picked it on 29 Nov 2026 ("E4, put it on every site"):
   the run's own photo inside the letters, brightened, a faint light rim, a thin black edge around it, a soft sheen
   across the top, and "Tracker" in gold. Every page links this file; no page carries its own copy, so the logo cannot
   drift between pages again. Photos: U.S. Fish and Wildlife Service, public domain (credited in each page's sources).

   Markup:
     <span class="brand-wm">
       <span class="brand-fill bf-steelhead">Steelhead</span><span class="brand-trk">Tracker</span>
     </span>
   For the all-runs page: <span class="brand-plain">Columbia</span>, then one letter each:
     <span class="brand-fill bf-steelhead bf-letter">F</span><span class="brand-fill bf-chinook bf-letter">i</span>
     <span class="brand-fill bf-coho bf-letter">s</span><span class="brand-fill bf-sockeye bf-letter">h</span>
   Size comes from the page (font-size on .brand-wm or its parent). */

.brand-wm { font-weight: 900; letter-spacing: -0.5px; white-space: nowrap; line-height: 1.15; }

.brand-fill {
  --bf-img: none;
  display: inline-block;
  padding: 0 2px;
  color: transparent;
  background-color: #dfe7ec;                       /* the fill while the photo loads */
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.30) 0%, rgba(255,255,255,.08) 38%, rgba(255,255,255,0) 55%),
    var(--bf-img);
  background-size: cover;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
  /* The light rim is the first shadow (a thin pale ring hugging each letter), then the black edge around it.
     A text-stroke rim was tried first and drew the font's inner outlines across the e, k and y (audit, 30 Nov). */
  filter: drop-shadow(0 0 0.6px rgba(255,255,255,.75)) drop-shadow(0 0 1px #000) drop-shadow(0 0 1px #000) drop-shadow(0 2px 3px rgba(0,0,0,.7));
}
.brand-fill.bf-letter { padding: 0; }
.bf-steelhead { --bf-img: url(/img/brand/steelhead.webp); }
.bf-chinook   { --bf-img: url(/img/brand/chinook.webp); }
.bf-coho      { --bf-img: url(/img/brand/coho.webp); }
.bf-sockeye   { --bf-img: url(/img/brand/sockeye.webp); }
/* The letters of Fish in ColumbiaFishTracker each carry the patch of fish Paul placed for that letter (30 Nov 2026, his
   own boxes in the letter picker: F the Methow steelhead's band, i the bright Chinook's green back, s the coho's flank,
   h the red sockeye), cropped to the letter's own shape. */
.bf-letter.bf-steelhead { --bf-img: url(/img/brand/fish_f.webp); }
.bf-letter.bf-chinook   { --bf-img: url(/img/brand/fish_i.webp); }
.bf-letter.bf-coho      { --bf-img: url(/img/brand/fish_s.webp); }
.bf-letter.bf-sockeye   { --bf-img: url(/img/brand/fish_h.webp); }

.brand-trk   { color: #f2b134; text-shadow: 0 0 1px #000, 0 0 1px #000, 0 2px 3px rgba(0,0,0,.7); }
.brand-plain { color: #fff;    text-shadow: 0 0 1px #000, 0 0 1px #000, 0 2px 3px rgba(0,0,0,.7); }
