/**
 * Rocker B Ranch - brand tokens.
 *
 * This file is the whole visual identity. It re-points the base theme's tokens
 * and authors no component rules, which is what keeps a property from drifting
 * into a fork: if something here needs a selector rather than a token, that is
 * a gap in the base theme and belongs in docs/GAP-LOG.md, not in this file.
 *
 * Values: live.standards.site/rockerbranch, Brand Guidelines v1.0, 2026.
 *
 * Equal specificity with base.css, loaded after it, so source order wins.
 */

:root {
  /* --- Primary palette ------------------------------------------------
     The base theme's "locked" Unrivaled palette is locked by governance,
     not by CSS: every block references these as tokens, so re-pointing them
     here re-brands all 32 blocks at once. */
  /* --- Cap-height centring --------------------------------------------
     The base theme derives its cap shift from Neue Plak: ascent 1.154em
     against descent 0.241em, caps reaching 0.724em, which works out at
     .207em of lean. Rocker B is not set in Neue Plak. It is set in Fairplex
     Wide, whose em box barely leans at all, and the inherited .207em
     over-corrected every filled button by about 0.9px: labels sat ABOVE
     centre, which is the opposite of the fault the value was added to fix.

     Re-derived with the base theme's own formula, measured off Fairplex
     Wide at 13px: (0.923 - 0.231) - (0.626 - 0.010) = .076em. Verified in
     the browser, where it lands the red nav pill at -0.02px and the primary
     button at -0.10px off centre, against -0.88 and -0.95 before.

     This belongs here rather than in the base theme, which other properties
     still render in Neue Plak and would be broken by the Fairplex number. */
  --cap-shift: .076em;

  --color-navy: #00205B;        /* Texas Traditional Blue */
  --color-red: #E64E39;         /* Bullpen Blaze */
  --color-dark-red: #BE4528;    /* Hot Iron - the deeper blaze */
  --color-black: #000000;
  --color-white: #FFFDF2;       /* Home Plate White - warm, NOT #FFFFFF */

  /* Derived, not from the guidelines: a warm tint of Home Plate White to
     replace the base theme's cool #F2F2F2, so banded sections stay in the
     same temperature as the ground. TODO confirm with the brand owner. */
  --color-white-smoke: #F5F1E4;

  /* Neutrals warmed off the cream ground rather than the base theme's cool
     greys, which read blue against #FFFDF2. TODO confirm. */
  --gray-50:  #FAF7EC;
  --gray-100: #F2EEE1;
  --gray-200: #E5E0D2;
  --gray-300: #CFC9B8;
  --gray-400: #A8A294;
  --gray-500: #776F62;
  --gray-600: #554F46;

  /* --- Sport colour slots ---------------------------------------------
     Rocker B runs three sports, which is exactly what these slots are for.
     Roles are what components reference; slots only feed the roles.
       accent        bright/decorative, assumed to sit on a dark ground
       accent-deep   must stay legible as text on the cream ground
       accent-muted  supporting neutral */
  --color-sport-1: #E64E39;     /* Bullpen Blaze - the action colour */
  --color-sport-2: #00205B;     /* Texas Traditional Blue */
  --color-sport-3: #CFC9B8;     /* a warm grey, not Light Blue - see below */

  /* --- Secondary palette, available to blocks that colour-code sets ---- */
  --pillar-1: #E64E39;          /* Bullpen Blaze */
  --pillar-2: #00205B;          /* Texas Traditional Blue */
  --pillar-3: #BF8821;          /* Gratford Gold */
  --pillar-4: #F1B71C;          /* Texas Sun */
  --pillar-5: #9CB9D4;          /* Light Blue */

  /* --- Type ------------------------------------------------------------
     Rocker B is Fairplex: Narrow for display, Wide as the workhorse. Both are
     slab-rooted serifs, so the fallbacks are serif — a sans fallback would
     change the page's character entirely if a webfont failed to load.

     Supplied as desktop OTFs and converted here to woff2 (with woff as a
     fallback for older browsers). Five faces, exactly the five the brand
     guidelines specify. */
  --font-display:           "Fairplex Narrow", Georgia, "Times New Roman", serif;
  --font-display-poster:    "Fairplex Narrow", Georgia, "Times New Roman", serif;
  --font-display-condensed: "Fairplex Narrow", Georgia, "Times New Roman", serif;
  --font-ui:                "Fairplex Wide", Georgia, "Times New Roman", serif;
  --font-body:              "Fairplex Wide", Georgia, "Times New Roman", serif;

  /* The guidelines set headlines in Narrow MEDIUM, not Bold. The base theme
     assumes a heavy display face and asks for 800, which Fairplex does not
     have — left at 800 the browser would synthesise a bolder face than the
     brand allows, so the display weight comes down to 500. */
  --weight-poster-heavy: 500;


  /* --- Type scale -------------------------------------------------------
     The base theme calls its scale "canonical, not property-configurable".
     Overriding it here is deliberate and narrow, on measured grounds rather
     than taste: Pastel #93, #94 and #125 are three separate reports of the
     same thing, and #125 names "light grey text" on /stay/ — but that
     paragraph measures 7.95:1 against the cream ground, which passes AA
     comfortably. The complaint is size, not contrast. Body was 15px, below
     the 16px most readers are calibrated on, and Fairplex Wide has a small
     x-height for its em, so it reads a size smaller again.

     Headings and the section headline clamp are untouched: every heading step
     is already well above the threshold being reported.

     --fs-eyebrow was left at 10px here as a deliberate look. Pastel #139,
     #142, #143 and #149 are four more reports of the same thing and every one
     of them resolves to this token, so the look loses. .text-eyebrow at
     base.css:331 is its only consumer, used by 75 block templates; none of
     them is a fixed-height pill, so a larger glyph has nothing to overflow.

     Every consumer of these three tokens is flowing text — paragraphs, card
     meta, table cells, bios — so nothing here is a fixed-height pill that a
     larger glyph would overflow. .btn sets 13px directly and is unaffected.

     If Las Vegas or Flag want the same correction, promote this block to
     base.css rather than copying it into another child. */
  --fs-body:    17px;   /* was 15px */
  --fs-body-sm: 15px;   /* was 13px */
  --fs-meta:    13px;   /* was 12px */
  --fs-eyebrow: 12px;   /* was 10px */


  /* --- Colour discipline ------------------------------------------------
     Ben, 2026-10-08: "Keep color use simple - stick to this palette - accent
     on hover."

     Three colours do the work: Texas Traditional Blue, Home Plate White and
     Bullpen Blaze. Gratford Gold and Light Blue are gone from this file —
     Gold was never referenced, and Light Blue was feeding --accent-muted,
     which is now a warm grey off the same ramp as the rest of the neutrals.

     Blaze keeps the three places it is an ACTION: the Book Lodging button,
     the header CTA and the mobile menu CTA. Everywhere it was only ornament —
     eyebrows, hairlines, pillar dots, status pills, the arrows beside links —
     it now resolves to navy on a light ground and a muted Home Plate White on
     a dark one. Hover states are untouched, so Blaze is what appears when you
     interact with something, which is the point.

     Two tokens rather than thirty overrides because the base theme routes all
     of that ornament through --accent-decor. */
  /* The status badge is a filled chip, not ornament, so it gets its own pair
     rather than following --accent-decor into navy-on-navy. */
  --badge-bg: var(--color-navy);
  --badge-fg: var(--color-white);

  --accent-decor: var(--color-navy);
  --accent-decor-on-dark: #FFFDF2b3;
}

/* --- Fairplex ---------------------------------------------------------------
   Self-hosted, woff2 first with woff behind it. font-display:swap so copy is
   readable immediately and reflows to Fairplex when it arrives, rather than
   leaving the page blank while 300KB of fonts load.

   Weights map to what the brand guidelines actually use:
     Narrow  Medium 500 (headlines)   Bold 700 (subheads)
     Wide    Book   400 (body)        Bold 700 (subheads)   Black Italic 900 (CTAs)
   Nothing is declared for a weight we do not have a file for; asking the
   browser for one makes it synthesise a face the brand does not include. */

@font-face {
  font-family: "Fairplex Narrow";
  src: url("../fonts/FairplexNarOT-Med.woff2") format("woff2"),
       url("../fonts/FairplexNarOT-Med.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fairplex Narrow";
  src: url("../fonts/FairplexNarOT-Bold.woff2") format("woff2"),
       url("../fonts/FairplexNarOT-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fairplex Wide";
  src: url("../fonts/FairplexWideOT-Book.woff2") format("woff2"),
       url("../fonts/FairplexWideOT-Book.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fairplex Wide";
  src: url("../fonts/FairplexWideOT-Bold.woff2") format("woff2"),
       url("../fonts/FairplexWideOT-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fairplex Wide";
  src: url("../fonts/FairplexWideOT-BlackItalic.woff2") format("woff2"),
       url("../fonts/FairplexWideOT-BlackItalic.woff") format("woff");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* --- Logo lockup -----------------------------------------------------------
   Pastel #27 ("Need full ROCKER B RANCH logo", pinned on the header mark) and
   #28 ("swap", pinned on the same mark in the footer). Both ask for the full
   wordmark lockup in place of the horseshoe monogram.

   The base theme sizes a logo by height and lets width follow, which suits a
   near-square mark (361x284, 1.27:1). The lockup is 1297x248 - 5.23:1 - so at
   the inherited heights it would have run 277px wide in the header and 439px
   in the footer, where .site-footer__brand is capped at 320px. Heights are cut
   here rather than in the base theme: Las Vegas and Flag use their own marks at
   their own ratios, and this is the one property with a wide lockup. */
/* Pastel #27, second pass. The wordmark-only lockup was replaced with the
   linear one Zach supplied - the horseshoe B set between ROCKER and RANCH.

   Its proportions are different: 7.78:1 against the wordmark's 12.91:1, because
   the mark reaches above and below the capitals. Sizing by overall height would
   therefore have shrunk the type, so these heights were derived from the TYPE
   instead. At 25px the wordmark renders at 13.0px, which is exactly what it
   measured before the swap, and the lockup occupies 195px against the old 199px
   - the footprint barely moves, it just gains the mark. */
:root {
  --header-logo-height: 25px;   /* wordmark at 13.0px, lockup 195px wide */
}
@media (max-width: 1023px) {
  :root { --header-logo-height: 20px; }   /* 156px, as the old 30px gave 157px */
}
.site-footer__logo-img  { height: 36px; } /* 280px inside a 320px column */
.mobile-menu__logo img  { height: 22px; } /* the base theme's 34px was set for
                                             a squarer mark */

/* --- Two-up card grid -------------------------------------------------
   base.css caps the two-card grid at 1240px, on the grounds that uncapped it
   runs ~790px wide with a ~490px photo and swamps the page. On Rocker B's Eat
   page that cap leaves the grid left-aligned inside a 1520px content area with
   280px of dead space on the right, so the band reads as misaligned rather
   than restrained — 190px of margin on the left against 470px on the right.

   Ben, 24 November: fill the page evenly. The cap comes off here only, so Las
   Vegas and Flag keep base's behaviour, and the photo flattens from 16:10 to
   16:9 so the wider card does not buy its width back in height. At 1520px that
   is a 748px card with a 421px photo rather than 490px. */
.regions--duo .grid--cards { max-width: none; }
.regions--duo .grid--cards .card__photo { aspect-ratio: 16 / 9; }

/* --- Event card facts -------------------------------------------------
   The age chips and the dimensions note beside them are set in fixed px in
   base.css (11px and 10px), so they did not move when this property raised
   its type scale and ended up reading smaller than the "Graford, TX" line
   under them. These are the two facts a parent actually scans a card for, so
   they come up to sit with --fs-meta rather than under it.

   Ben, 24 November: increase the size of the copy that reads 9U, 11-14U,
   54/80. Scoped here, so Las Vegas and Flag keep base's sizing. */
.agechip {
  font-size: 14px;
  height: 26px;
  padding: 0 10px;
}
.ages__note { font-size: 14px; }

/* --- Event card date line ---------------------------------------------
   "MAR 10-14" sits in the eyebrow treatment, which is 12px here. It is the
   first thing a parent looks for on a card, so it comes up to read as a
   heading rather than as a label.

   Ben, 24 November, from Pastel #161 and #175. */
.evcard .card__tag { font-size: 16px; letter-spacing: .08em; }

/* --- Dining card favourite --------------------------------------------
   The favourite carried the venue panel's accent bar and tint, but the tint
   is 3% navy and the cards sit on cream, so it was still "blending in": the
   thing Pastel #158 raised and #173 repeated, attaching a screenshot of the
   navy Bullpen favourite as the reference. On a light card the panel has to
   bring its own ground, so it takes the navy from that reference.

   Scoped through .region-card rather than on .region-card__fav alone: each
   block's stylesheet is enqueued when the block renders, which is AFTER this
   file, so a single-class override here loses to regions/style.css on load
   order. Two classes wins it without !important. */
.region-card .region-card__fav {
  background: var(--color-navy);
  padding: 14px 16px;
}
/* White, not --accent-decor: that token resolves to the navy this panel now
   uses as its ground, so the label disappeared into it. The reference sets
   the label light over navy. */
.region-card .region-card__fav-label { color: var(--color-white); }
.region-card .region-card__fav-copy  { color: var(--color-white); }
