/* ==========================================================================
   HIBBING SPEEDWAY — LIVE SITE
   core.css and web.css are the design system as shipped in HIBBING LOOK/showcase.
   This file dresses the CURRENT site's sections (same structure, same content) in
   that system: header and footer links, the home page's banners, spotlight hero,
   off-season hero, Hall of Fame, merch, sponsored partners, upcoming events and
   connect-with-us, plus the menu panel and cookie notice.
   ========================================================================== */

.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--mineral); color: var(--black); font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }
.head { top: 0; }
.img-gone { display: none !important; }
.wrap--narrow { max-width: 1040px; }

/* ---------- Header: the old nav (News, Schedule, Stats, Store) + cart, VIP, login ---------- */
.nav a { white-space: nowrap; padding: 0 18px; font-size: 22px; }
.nav a[aria-current="page"]::after { left: 18px; right: 18px; }
.head-act .vip { font-family: var(--f-steel); font-weight: 700; font-size: 22px; letter-spacing: .04em; color: var(--red-hot); text-decoration: none; padding: 0 6px; }
.head-act .vip:hover { color: var(--mineral); }
.head-auth { display: inline-flex; align-items: center; gap: 14px; padding-left: 14px; border-left: 1px solid var(--seam); }
.head-auth a:not(.btn) { font-size: 14px; font-weight: 600; color: var(--ink-hi); text-decoration: none; }
.head-auth a.dim { color: var(--ink-lo); }
.head-auth a:not(.btn):hover { color: var(--mineral); text-decoration: underline; }
/* The phone menu fills the screen under the header; the page behind is locked (site.js). */
.menu-panel { background: var(--steel-0); border-top: 1px solid var(--seam); padding: 8px 0 24px; height: calc(100vh - 88px); height: calc(100dvh - 88px); overflow-y: auto; overscroll-behavior: contain; }
.menu-panel[hidden] { display: none; }
html.menu-open { overflow: hidden; }
.menu-panel .wrap > a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--seam); font-family: var(--f-steel); font-weight: 700; font-size: 26px; text-decoration: none; color: var(--ink-mid); }
.menu-panel .wrap > a[aria-current="page"] { color: var(--mineral); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 4px; text-underline-offset: 8px; }
.menu-panel .wrap > a.vip { color: var(--red-hot); }
.menu-panel .wrap > a.dim { color: var(--ink-lo); font-size: 20px; }
@media (max-width: 1180px) { .head-act .vip, .head-auth { display: none; } }
/* Small phones: the logo gives up width so the menu button isn't pushed off the right edge
   (screen − 2 × 20px padding − three 44px buttons and their gaps − the 12px gap). */
@media (max-width: 420px) { .head-act { gap: 8px; } .logo img { height: auto; width: min(218px, calc(100vw - 200px)); } }
@media (min-width: 1181px) { .menu-panel { display: none !important; } }

/* ---------- Banners (Admin → Store: Boost / BBQ switches) ---------- */
.band { position: relative; }
.band--red { background: var(--red); color: var(--mineral); }
.band--steel { background: var(--steel-0); color: var(--ink-hi); border-bottom: 1px solid var(--seam); }
.band--steel .band-h { color: var(--mineral); }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.band-h { margin: 0; font-family: var(--f-iron); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: .9; text-transform: uppercase; }

/* ---------- Spotlight hero (one slide per spotlight event; dots when more than one) ---------- */
.hero--sp { display: block; min-height: 0; }
.sp-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.sp-track::-webkit-scrollbar { display: none; }
.sp-slide { position: relative; flex: 0 0 100%; scroll-snap-align: center; min-height: clamp(640px, calc(100vh - 92px), 900px); display: flex; align-items: flex-end; overflow: hidden; }
.sp-slide .hero-photo { position: absolute; inset: 0; }
.sp-slide .hero-photo video { width: 100%; height: 100%; object-fit: cover; }
.sp-video { position: absolute; top: 50%; left: 50%; width: 300%; height: 300%; transform: translate(-50%, -50%); pointer-events: none; }
.sp-video iframe { width: 100%; height: 100%; border: 0; }
.sp-body { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: end; padding-top: 96px; padding-bottom: 64px; }
.sp-body--solo { grid-template-columns: minmax(0, 1fr); }
/* Only the first slide's title is the page's h1; the others are h2 with the same look. */
.hero h2.sp-title { font-family: var(--f-iron); font-weight: 400; font-size: clamp(56px, 6.6vw, 96px); line-height: .86; letter-spacing: 0; text-transform: uppercase; margin: 0 0 22px; max-width: 11.5ch; color: var(--mineral); text-wrap: balance; }
@media (max-width: 760px) { .hero h2.sp-title { font-size: 46px; line-height: .9; max-width: none; } }
.sp-title { font-family: var(--f-iron); font-weight: 400; font-size: clamp(56px, 7vw, 104px); line-height: .86; text-transform: uppercase; margin: 0; color: var(--mineral); max-width: 12ch; text-wrap: balance; }
.sp-when { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 22px 0 0; font-family: var(--f-steel); font-weight: 600; font-size: clamp(22px, 2.2vw, 30px); color: var(--ink-hi); }
.sp-tag { display: inline-flex; align-items: center; height: 30px; padding: 0 10px; background: var(--red); color: var(--mineral); font-family: var(--f-body); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sp-tag--steel { background: var(--steel-4); }
.sp-count { display: flex; align-items: flex-end; gap: 6px; margin-top: 28px; padding: 16px 22px; width: max-content; max-width: 100%; background: rgba(12,13,12,.78); border: 1px solid var(--seam); }
.sp-count .seg { display: flex; flex-direction: column; align-items: center; }
.sp-count .seg b { font-family: var(--f-iron); font-weight: 400; font-size: clamp(40px, 4.4vw, 60px); line-height: .9; min-width: 1.25em; text-align: center; font-variant-numeric: tabular-nums; }
.sp-count .seg i { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--ink-mid); margin-top: 6px; }
.sp-count .colon { font-family: var(--f-iron); font-size: 40px; line-height: 1; color: var(--ink-lo); padding-bottom: 22px; }
.sp-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.sp-flyer { display: block; justify-self: end; background: var(--steel-0); border: 1px solid var(--seam); padding: 10px; box-shadow: 0 26px 44px -26px rgba(0,0,0,.85); transition: transform .4s var(--ease-out); }
.sp-flyer img { max-height: min(62vh, 620px); width: auto; }
.sp-flyer:hover { transform: translateY(-4px); }
.sp-dots { position: absolute; z-index: 4; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 8px; }
.sp-dots button { width: 34px; height: 6px; padding: 0; border: 0; background: rgba(220,229,217,.35); }
.sp-dots button[aria-pressed="true"] { background: var(--red); }
.sp-dots button:hover { background: var(--mineral); }

/* ---------- Off-season hero ---------- */
.hero--off { min-height: clamp(640px, calc(100vh - 92px), 900px); justify-content: flex-end; }
.os-body { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 48px; }
.os-body h1 { font-family: var(--f-iron); font-weight: 400; font-size: clamp(72px, 10.5vw, 164px); line-height: .82; text-transform: uppercase; margin: 0; color: var(--mineral); max-width: 9ch; }
.os-sub { display: flex; align-items: center; gap: 20px; margin: 26px 0 0; font-family: var(--f-steel); font-weight: 500; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; color: var(--ink-hi); max-width: 52ch; }
.os-sub .truss { flex: none; width: 120px; color: var(--red); }
/* The broadcast lower-third: one steel band across the foot of the photo, cells divided by seams. */
.os-band { position: relative; z-index: 2; background: var(--steel-0); border-top: 1px solid var(--seam); box-shadow: inset 0 1px 0 rgba(220,229,217,.06), 0 -18px 40px -20px rgba(0,0,0,.8); }
.os-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(240px, .9fr); }
.os-tile { container-type: inline-size; --os-rsv: 134px; display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; column-gap: 18px; row-gap: 4px; padding: 30px 28px; border-left: 1px solid var(--seam); text-decoration: none; color: var(--ink-hi); transition: background-color .25s var(--ease-out); }
.os-ico { grid-row: 1 / span 2; display: grid; place-items: center; width: 56px; height: 56px; background: var(--steel-3); border: 1px solid var(--steel-5); color: var(--red-hot); transition: background-color .25s var(--ease-out), color .25s; }
.os-ico .ico { width: 28px; height: 28px; }
.os-tile b { align-self: end; font-family: var(--f-iron); font-weight: 400; font-size: clamp(28px, calc((100cqi - var(--os-rsv)) / 3.8), 56px); line-height: .86; text-transform: uppercase; color: var(--mineral); white-space: nowrap; }
@media (min-width: 761px) and (max-width: 1500px) { .os-tile { --os-rsv: 106px; padding: 26px 20px; column-gap: 14px; grid-template-columns: 44px minmax(0, 1fr); } .os-ico { width: 44px; height: 44px; } .os-ico .ico { width: 24px; height: 24px; } }
.os-k { align-self: start; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mid); transition: color .25s; }
.os-tile:hover { background-color: var(--red); }
.os-tile:hover .os-ico { background: var(--steel-0); border-color: var(--steel-0); color: var(--mineral); }
.os-tile:hover .os-k { color: var(--mineral); }
.os-foot { display: grid; align-content: center; gap: 12px; margin: 0; padding: 24px 0 24px 28px; border-left: 1px solid var(--seam); font-family: var(--f-steel); font-weight: 600; font-size: 20px; color: var(--ink-hi); }
.os-foot a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; justify-self: start; min-height: 48px; padding: 0 22px; background: var(--red); color: var(--mineral); font-family: var(--f-body); font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 -2px 0 rgba(0,0,0,.35); transition: background-color .2s ease-out; }
.os-foot a:hover { background: #BC2537; }
.os-foot a .ico { width: 16px; height: 16px; }

/* ---------- Hall of Fame ---------- */
.hof-sec .sec-head { align-items: flex-end; }
.hof-stat { margin: 14px 0 0; font-size: 15px; color: var(--ink-mid); }
.hof-stat b { font-family: var(--f-iron); font-weight: 400; font-size: 32px; color: var(--mineral); vertical-align: -4px; margin-right: 4px; }
.hof-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.hof-card small { color: var(--red-hot) !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.hof-init { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-iron); font-size: 56px; color: var(--ore); z-index: 2; }

/* ---------- Merch ---------- */
.merch-sub { margin: 12px 0 0; font-size: 15px; color: var(--ink-mid); }
.merch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.merch-card { display: block; text-decoration: none; transition: border-color .2s; }
.merch-card:hover { border-color: var(--steel-5); }
.merch-ph { position: relative; height: 230px; background: var(--steel-0); }
.merch-ph img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease-out); }
.merch-card:hover .merch-ph img { transform: scale(1.04); }
.merch-tag { position: absolute; top: 10px; right: 10px; padding: 4px 8px; background: var(--red); color: var(--mineral); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.merch-tag--out { background: var(--steel-4); }
.merch-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 16px 16px; }
.merch-row b { font-family: var(--f-steel); font-weight: 700; font-size: 20px; line-height: 1.05; }
.merch-row .pr { font-family: var(--f-iron); font-size: 26px; line-height: 1; white-space: nowrap; }

/* ---------- Sponsored partners (Header ads) ---------- */
.partners-sec { padding: 44px 0 48px; background: var(--steel-0); border-top: 1px solid var(--seam); border-bottom: 1px solid var(--seam); }
.ads-k { margin: 0 0 12px; padding-top: 8px; border-top: 4px double currentColor; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mid); }
.ads-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ads-grid a { display: block; }
.ads-grid img { width: 100%; height: auto; border: 1px solid var(--seam); }

/* ---------- Upcoming events ---------- */
.ev-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(19,20,19,.22); }
.ev { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 20px 0; border-bottom: 1px solid rgba(19,20,19,.22); text-decoration: none; color: inherit; }
.ev-date { display: grid; place-items: center; align-content: center; height: 96px; background: var(--black); color: var(--mineral); transition: background-color .2s; }
.ev-date b { font-family: var(--f-iron); font-weight: 400; font-size: 52px; line-height: .85; }
.ev-date i { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .16em; margin-top: 4px; }
.ev:hover .ev-date, .ev-list li:first-child .ev:not(.ev--off) .ev-date { background: var(--red); }
.ev-main { min-width: 0; display: grid; gap: 4px; }
.ev-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--f-steel); font-weight: 700; font-size: clamp(28px, 2.6vw, 38px); line-height: 1; }
.ev:hover .ev-title { color: var(--red); }
.ev-meta { font-size: 15px; color: var(--ink-dark-mid); }
.ev-note { font-size: 14px; font-weight: 700; color: var(--red); }
.ev-tag { padding: 3px 8px; background: var(--red); color: var(--mineral); font-family: var(--f-body); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ev--off .ev-title, .ev--off .ev-meta { text-decoration: line-through; text-decoration-thickness: 2px; }
.ev--off .ev-title .ev-tag { text-decoration: none; }
.ev--off { opacity: .75; }
.ev-go { width: 22px; height: 22px; color: var(--ink-dark-lo); transition: transform .25s var(--ease-out), color .2s; }
.ev:hover .ev-go { color: var(--red); transform: translateX(4px); }
.ev-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.ev-empty { padding: 56px 24px; border: 1.5px dashed var(--black); text-align: center; }
.ev-empty p { margin: 0; font-family: var(--f-iron); font-size: 36px; line-height: 1; }

/* ---------- Connect with us (desktop only, as before) ---------- */
.connect-sec { text-align: center; border-top: 4px solid var(--red); }
.connect-h { margin-bottom: 36px; }
.connect { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.connect a { display: grid; place-items: center; width: 128px; height: 128px; background: var(--steel-2); border: 1px solid var(--seam); color: var(--mineral); text-decoration: none; box-shadow: inset 0 1px 0 rgba(220,229,217,.07), 0 18px 32px -18px rgba(0,0,0,.7); transition: background-color .2s, transform .25s var(--ease-out); }
.connect a:hover { background: var(--red); transform: translateY(-4px); }
.connect svg { width: 56px; height: 56px; }
.connect span { font-family: var(--f-steel); font-weight: 700; font-size: 20px; }
@media (max-width: 760px) { .connect-sec { display: none; } }

/* ---------- Footer ---------- */
.foot-top { grid-template-columns: 1.3fr repeat(3, 1fr); }
.foot .h5 { margin: 0 0 16px; font-family: var(--f-steel); font-weight: 700; font-size: 22px; color: var(--mineral); letter-spacing: .02em; }
.foot-brand p { font-size: 22px; }
.foot-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.foot-social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--seam); color: var(--ink-hi); font-weight: 800; font-size: 13px; text-decoration: none !important; transition: background-color .2s, color .2s; }
.foot-social a:hover { background: var(--red); border-color: var(--red); color: var(--mineral); }
.foot-social svg { width: 20px; height: 20px; }
.foot-maps { display: flex; gap: 14px; font-size: 13px; }
.foot-maps a { text-decoration: underline !important; }
.foot-ads { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px; padding: 0 0 40px; }
.foot-ads img { width: 100%; max-width: 728px; height: auto; }
.foot-legal { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }

/* ---------- Cookie notice ---------- */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; background: var(--steel-0); color: var(--ink-hi); border-top: 4px solid var(--red); box-shadow: 0 -18px 40px rgba(0,0,0,.45); }
.cookie[hidden] { display: none; }
.cookie-in { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.cookie p { margin: 0; font-size: 15px; max-width: 80ch; }
.cookie-act { display: flex; gap: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .os-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .os-foot { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; padding: 18px 0; border-left: 0; border-top: 1px solid var(--seam); }
  .os-tile:first-child { border-left: 0; }
  .hof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .merch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-body { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sp-flyer { justify-self: start; grid-row: 1; }
  .sp-flyer img { max-height: 46vh; }
}
@media (max-width: 1000px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .sp-slide { min-height: 0; }
  .sp-body { padding-top: 40px; padding-bottom: 56px; }
  .sp-title { font-size: 48px; }
  .sp-count { padding: 12px 14px; }
  .sp-count .seg b { font-size: 34px; }
  .sp-count .colon { font-size: 26px; padding-bottom: 18px; }
  .sp-act .btn--lg { min-height: 50px; padding: 0 18px; font-size: 13px; }
  .hero--off { min-height: 0; }
  .os-body { padding-top: 140px; padding-bottom: 32px; }
  .os-body h1 { font-size: 64px; }
  .os-sub { gap: 12px; align-items: flex-start; font-size: 20px; }
  .os-sub .truss { width: 44px; margin-top: 8px; }
  .os-grid { grid-template-columns: 1fr; padding: 0; }
  .os-tile { border-left: 0; border-bottom: 1px solid var(--seam); padding: 18px 20px; column-gap: 14px; grid-template-columns: 48px minmax(0, 1fr); }
  .os-ico { width: 48px; height: 48px; }
  .os-tile b { font-size: min(38px, calc((100cqi - 102px) / 3.8)); }
  .os-foot { border-left: 0; padding: 20px; }
  .hof-sec .sec-head { flex-direction: column; align-items: flex-start; }
  .hof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .merch-sec .sec-head { flex-direction: column; align-items: flex-start; }
  .merch-ph { height: 170px; }
  .merch-row b { font-size: 17px; }
  .merch-row .pr { font-size: 21px; }
  .ads-grid { grid-template-columns: 1fr; }
  .ev { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 14px; }
  .ev-date { height: 60px; }
  .ev-date b { font-size: 32px; }
  .ev-title { font-size: 22px; }
  .ev-meta { font-size: 13px; }
  .foot-top { grid-template-columns: 1fr; gap: 32px; padding: 56px 0 40px; }
}

/* ---------- Shared inner-page parts (_iron.html) ---------- */
.mast { min-height: 400px; }
.mast-photo img { filter: saturate(.78) contrast(1.04); transform-origin: 60% 50%; animation: drift 38s var(--ease-io) infinite alternate; }
@media (prefers-reduced-motion: reduce) { .mast-photo img { animation: none; } }
.mast .mast-truss { color: var(--red); } /* red truss under every hero, as in the concept */
.mast-photo.duo img { filter: grayscale(1) contrast(1.15) brightness(.85); }
.mast h1 { max-width: 12ch; }
.mast-red { color: inherit; } /* one colour per title: red is heat, not decoration */
.mast-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 24px; }
.mast-truss { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; color: var(--red); height: 12px; -webkit-mask-size: 24px 12px; mask-size: 24px 12px; }
.page { padding: 64px 0 112px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.page-rail { position: sticky; top: 96px; display: grid; gap: 24px; }
/* A rail with nothing in it (no merch, no ads booked) gives its column back. */
.page-rail:not(:has(*)) { display: none; }
.page-grid:has(> .page-rail:not(:has(*))) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1100px) { .page-grid { grid-template-columns: minmax(0, 1fr); } .page-rail { position: static; } }
.rail-ads { display: grid; gap: 18px; }
.rail-ad { display: block; text-decoration: none; }
.rail-ad .k { display: block; padding: 6px 0 8px; border-top: 4px double currentColor; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.rail-ad img { width: 100%; height: auto; border: 1px solid var(--seam); }
.stock .rail-ad img { border: 1.5px solid var(--black); }
.ad-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.ad-row a { display: block; max-width: 728px; flex: 1 1 360px; }
.ad-row img { width: 100%; height: auto; }
.merch-rail { padding: 0 0 16px; }
.merch-rail-h { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--red); color: var(--mineral); }
.merch-rail-h span { font-family: var(--f-steel); font-weight: 700; font-size: 20px; }
.merch-rail-h small { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.merch-rail-item { display: block; margin: 14px 16px 0; text-decoration: none; color: inherit; }
.merch-ph--sm { height: 150px; }
.merch-rail .merch-row { padding: 10px 0 0; }
.merch-rail .merch-row b { font-size: 17px; }
.merch-rail .merch-row .pr { font-size: 20px; }
.merch-rail-all { margin: 16px 16px 0; display: flex; }
.empty-sheet { padding: 72px 24px; border: 1.5px dashed currentColor; text-align: center; }
.empty-sheet p { margin: 0; font-family: var(--f-iron); font-size: clamp(28px, 3vw, 40px); line-height: 1; text-transform: uppercase; }
.tag { display: inline-flex; align-items: center; padding: 3px 8px; background: var(--red); color: var(--mineral); font-family: var(--f-body); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; vertical-align: middle; }
.tag--steel { background: var(--steel-4); }
.tag--ok { background: var(--flag-green); color: var(--black); }
@media (max-width: 760px) { .mast { min-height: 280px; } .page { padding: 40px 0 72px; } }

/* Home: Upcoming Events and Connect sit over full-bleed photographs (scrimmed steel). */
.events-sec, .connect-sec { position: relative; isolation: isolate; }
.events-sec::before, .connect-sec::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--steel-1) url(/assets/iron/photos/track-dusk.jpg) center 60% / cover; filter: saturate(.78); }
.events-sec::after, .connect-sec::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,13,12,.94) 0%, rgba(12,13,12,.82) 50%, rgba(12,13,12,.55) 100%); }
.connect-sec::before { background-image: url(/assets/iron/photos/crowd.jpg); background-position: center 40%; }
.connect-sec::after { background: rgba(12,13,12,.72); }
.events-sec .sec-head { border-bottom-color: var(--mineral); }
.events-sec .ev-list { border-top-color: var(--seam); }
.events-sec .ev { border-bottom-color: var(--seam); color: var(--mineral); }
.events-sec .ev-date { background: var(--mineral); color: var(--black); box-shadow: inset 0 0 0 2px var(--black), inset 0 0 0 5px var(--mineral), inset 0 0 0 6px rgba(19,20,19,.3); }
.events-sec .ev:hover .ev-date, .events-sec .ev-list li:first-child .ev:not(.ev--off) .ev-date { background: var(--red); color: var(--mineral); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 -3px 0 var(--red-deep); }
.events-sec .ev:hover .ev-title { color: var(--red-hot); }
.events-sec .ev-meta { color: var(--ink-hi); }
.events-sec .ev-note { color: var(--red-hot); }
.events-sec .ev-go { color: var(--ink-mid); }
.events-sec .ev:hover .ev-go { color: var(--red-hot); }
.events-sec .ev-empty { border-color: var(--steel-5); }
.events-sec .btn--black { background: var(--steel-4); color: var(--mineral); }
.events-sec .btn--black:hover { background: var(--steel-5); }
.steel .rail-ad .k { opacity: 1; color: var(--ink-mid); }
.steel .stock .select select { background: var(--stock-0); border-color: var(--black); color: var(--ink-dark); }

/* ---------- Tap targets on phones and touch screens ----------
   Every link and control is at least 44px tall. Room comes from min-height and padding, never
   from bigger type; a link inside a heading takes vertical padding with the same negative
   margin, so its hit area grows and nothing on the page moves. (a.x where a page stylesheet,
   loaded after this one, sets the same property.) */
@media (max-width: 900px), (pointer: coarse) {
  .btn--sm { min-height: 44px; }
  .logo { min-height: 44px; }
  .foot ul { gap: 0; }
  .foot ul a, .foot-legal a, .foot-maps a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .foot-legal, .foot-maps { gap: 0 18px; }
  .sec-head .more { padding-top: 18px; }
  .ed-back, .hofd-back { min-height: 44px; }
  .hofd-back { display: inline-flex; align-items: center; }
  a.season-res.show-sm { display: flex; align-items: center; min-height: 44px; margin-top: 0; }
  .sched-title a, .wcard-title, .sc-name { display: inline-block; padding-block: 13px; margin-block: -13px; }
  a.st-back { padding-block: 12px; margin-top: -12px; margin-bottom: 20px; }
  a.st-back.st-back--flat { margin-block: -12px; }
  .wcard-title { display: block; }
}

/* Small phones: a button too long for the screen wraps its label instead of running off it. */
@media (max-width: 420px) { .btn { white-space: normal; max-width: 100%; text-align: center; } }
