/* rivalhood-region.css — region/state page styles (hero, tabs, school cards).
   Requires rivalhood.css. */
/* ── map-led hero ──────────────────────────────────────────────── */
.rh-rg-hero { max-width: 1480px; margin: 0 auto; padding: 30px 32px 56px; }
.rh-rg-hero__grid { display: grid; grid-template-columns: 0.95fr 1.1fr; gap: 48px; align-items: center; }
@media (max-width: 1000px) { .rh-rg-hero__grid { grid-template-columns: 1fr; gap: 32px; } }
.rh-rg-eyebrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.rh-rg-title { font-family:'Archivo', sans-serif; font-weight: 900; font-stretch: 75%; font-size: clamp(60px, 8.5vw, 132px); letter-spacing: -0.02em; line-height: 0.82; text-transform: uppercase; color: var(--cream); }
.rh-rg-title em { font-style: normal; color: var(--red); display: block; }
.rh-rg-sub { margin-top: 20px; max-width: 440px; font-size: 16px; line-height: 1.55; color: #c9c2b3; }
.rh-rg-cta { margin-top: 28px; display: inline-flex; gap: 12px; flex-wrap: wrap; }
.rh-rg-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 32px; background: var(--rule); border: 1px solid var(--rule); }
.rh-rg-stat { background: var(--ink-3); padding: 16px 18px; }
.rh-rg-stat .n { font-family:'Archivo', sans-serif; font-weight: 900; font-stretch: 75%; font-size: 36px; line-height: 0.9; color: var(--cream); letter-spacing: -0.01em; }
.rh-rg-stat .n .red { color: var(--red); }
.rh-rg-stat .l { font-family:'DM Mono', monospace; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* ── tabbed region browser ─────────────────────────────────────── */
.rh-rb-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 26px; }
.rh-rb-tab { font-family:'Archivo', sans-serif; font-weight: 800; font-stretch: 85%; text-transform: uppercase; letter-spacing: 0.09em; font-size: 12px; color: var(--muted); background: var(--ink-3); border: 1px solid var(--rule); border-radius: 999px; padding: 11px 22px; cursor: pointer; transition: color 0.15s, background 0.15s, border-color 0.15s; }
.rh-rb-tab:hover:not(:disabled) { color: var(--cream); border-color: #4a4a4a; }
.rh-rb-tab.is-active { color: #fff; background: var(--red); border-color: var(--red); cursor: default; }
.rh-rb-tab.is-soon { color: var(--muted-2); cursor: not-allowed; opacity: 0.75; }
.rh-rb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1060px) { .rh-rb-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .rh-rb-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .rh-rb-grid { grid-template-columns: 1fr; } }
.rh-rb-card { position: relative; min-height: 150px; padding: 22px 24px 26px; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; color: #fff; transition: transform 0.16s ease, box-shadow 0.16s ease; }
.rh-rb-card::before { content:''; position:absolute; inset:0; background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, transparent 42%, rgba(0,0,0,0.28) 100%); pointer-events: none; }
.rh-rb-card.is-live { cursor: pointer; }
.rh-rb-card.is-live:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,0.45); }
.rh-rb-card.is-live:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
.rh-rb-card__top { position: relative; z-index: 2; }
.rh-rb-card__nm { font-family:'Archivo', sans-serif; font-weight: 900; font-stretch: 75%; text-transform: uppercase; font-size: 25px; line-height: 0.92; letter-spacing: -0.01em; color: #f5f1e8; }
.rh-rb-card__mascot { font-family:'Archivo', sans-serif; font-weight: 600; font-size: 14px; margin-top: 10px; color: rgba(255,255,255,0.82); }
.rh-rb-card__foot { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rh-rb-card__city { font-family:'DM Mono', monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.rh-rb-card__go { font-family:'DM Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); opacity: 0; transform: translateX(-4px); transition: opacity 0.16s, transform 0.16s; }
.rh-rb-card.is-live:hover .rh-rb-card__go, .rh-rb-card.is-live:focus-visible .rh-rb-card__go { opacity: 1; transform: translateX(0); color: #fff; }
.rh-rb-card__soon { font-family:'DM Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.rh-rb-card__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; z-index: 3; }

/* school cards can be real links (live schools) */
a.rh-rb-card { text-decoration: none; color: #fff; }
