/* ===========================================================================
   BRAND LOCK: Carbon-Emery church of Christ · house style: Carbon County type + The Sign colors
   Every color and font on the site is defined here and only here.
   SUPER ADMIN ONLY. This file is read-only; editors change words, not style.
   Red block letters (like the building sign) on siding gray; photo areas dark.
   =========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@600;800;900&family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

:root {
  --red: #dd0b33; --white: #ffffff; --navy: #102641;

  /* Siding gray pages */
  --bg: #e6e5e1; --bg-2: #dcdbd6; --band: #d7d5cf;
  --card: #f6f5f2; --card-2: #ebe9e4;
  --line: rgba(30, 24, 26, .13); --line-2: rgba(30, 24, 26, .26);

  --text: #1b1618; --muted: #55504d; --dim: #635e5b;            /* v184: 4.6:1 on every light surface */
  --lead: #322c2c; --prose: #241e20; --card-text: #45403e;

  --accent: #c80a2e; --accent-2: #8d1527; --accent-d: #8c0822; --wine: #6d1424;
  --sign-shadow: 1px 1px 0 #8c0822, 2px 2px 0 #8c0822, 3px 3px 0 #7a071d, 4px 4px 0 #6a0619, 6px 8px 14px rgba(0,0,0,.28);

  --header-bg: rgba(24, 20, 22, .96);
  --hero-bg: linear-gradient(135deg, #171214 0%, #2a1a1e 60%, #3d1820 100%);
  --pattern: #ffffff; --hl-line: transparent; --now-bg: rgba(0, 0, 0, .3);
  --card-a1: #f6f5f2; --card-a2: #eeece7; --card-b1: #f6f5f2; --card-b2: #eeece7;
  --card-c1: #f6f5f2; --card-c2: #eeece7; --card-d1: #f6f5f2; --card-d2: #eeece7;
  --empty-1: #3a1c22; --empty-2: #120e0f;
  --ev-bg: rgba(200, 10, 46, .08); --cta-bg: #1b1618;
  --stripe: linear-gradient(90deg, var(--red) 0 100%);
  --siding: repeating-linear-gradient(90deg, rgba(0,0,0,.035) 0 1px, rgba(255,255,255,.35) 1px 2px, transparent 2px 54px);

  --preview-bg: #3a2a05; --preview-text: #ffd98a;
  --dot-live: #dd0b33; --dot-next: #c9952f; --dot-later: #8b8580;
  --red-hover: #f0193f;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Big Shoulders Display", "BSD Fallback", "Arial Narrow", Impact, sans-serif;
  --radius: 2px;
  --wrap: 1160px;
}

/* Dark areas: header, photo hero, closing band, footer, phone bar */
.site-header, .hero, .closing, .site-footer, .actionbar, .livebanner, .msheet, .getapp, .stage {
  --bg: #171214; --bg-2: #1f181a; --band: #221b1d; --card: #2a2224; --card-2: #342a2d;
  --line: rgba(255, 240, 220, .12); --line-2: rgba(255, 240, 220, .26);
  --text: #fbf4ea; --muted: #cdbfb2; --dim: #9c8d82; --lead: #efe4d6; --prose: #efe4d6; --card-text: #e6dacd;
  --accent: #ff4d66; --accent-2: #e7bf6b;
  --sign-shadow: 1px 1px 0 #8c0822, 2px 2px 0 #8c0822, 3px 3px 0 #7a071d, 4px 4px 0 #6a0619, 6px 10px 20px rgba(0,0,0,.6);
  color: var(--text);
}

/* v048: dark page bottom so short pages don't show a gray strip under the footer */
html { background: #171214; }
body { background: var(--bg); }

/* v082: seasonal secondary accent (logo red never changes). Season class set on <html> by site.js */
html.season-winter { --accent-2: #3f6078; --season: #9cc2dc; }
html.season-spring { --accent-2: #336a2f; --season: #8cc56e; }
html.season-summer { --accent-2: #765812; --season: #e2b84a; }
html.season-fall   { --accent-2: #964a18; --season: #e2873a; }
html[class*="season-"] .site-header, html[class*="season-"] .hero, html[class*="season-"] .closing, html[class*="season-"] .site-footer,
html[class*="season-"] .actionbar, html[class*="season-"] .msheet { --accent-2: var(--season); }
html[class*="season-"] { --stripe: linear-gradient(90deg, var(--red) 0 34%, var(--season) 34% 67%, var(--red) 67%); }
/* v082: seasonal glow in page headers + seasonal pattern lines */
html[class*="season-"] .hero { --hero-bg:
    radial-gradient(800px 420px at 92% 8%, rgba(221, 11, 51, .32), transparent 70%),
    radial-gradient(900px 520px at 0% 110%, color-mix(in srgb, var(--season) 42%, transparent), transparent 70%),
    linear-gradient(135deg, #171214 0%, #241b1d 60%, #2f1a1f 100%);
  --pattern: var(--season); }

/* v184: measured WCAG AA contrast (4.5:1+) for all text on light surfaces; dark surfaces already passed. */

/* v191: size-matched fallback so headlines do not jump when the web font arrives */
@font-face { font-family: "BSD Fallback"; src: local("Arial Narrow"), local("Liberation Sans Narrow"), local("DejaVu Sans Condensed"), local("Arial"); size-adjust: 88%; ascent-override: 92%; }
