/* Folkies Vantage by Joliciatype (licensed by LLDCPDX). Confirm web-embedding rights before a live client launch. */
@font-face { font-family: "Folkies Vantage Sans"; src: url("fonts/folkies-vantage-sans.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "Folkies Vantage Script"; src: url("fonts/folkies-vantage-script.otf") format("opentype"); font-display: swap; }
/* Rain Delay: "Overcast Scoreboard" direction.
   Wet concrete greys, one safety-orange accent, condensed type, deadpan copy.
   Orange (#FF6A13) is only used on the dark greys; on light backgrounds the accent becomes #A33A00. */
:root {
  --bg: #F1EBDF;
  --surface: #FFFFFF;
  --text: #15191A;
  --muted: #4A5357;
  --line: #CFC6B4;
  --accent: #FF6A13;
  --accent-text: #15191A;
  --accent-strong: #A33A00;
  --asphalt: #15191A;
  --concrete: #262C2E;
  --mist: #C9D1D4;
  --cream: #F1E7D2;
  --amber: #E8A33A;
  --wood: #4A3222;
  --chalk: #1F2A26;
  --focus: #FF6A13;
  --error: #B42318;
  --open: #4ADE80;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-head: "Folkies Vantage Sans", "Arial Narrow", sans-serif;
  --font-script: "Folkies Vantage Script", "Brush Script MT", cursive;
  --font-body: "Barlow", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 4px;
  --slot-bg: repeating-linear-gradient(115deg, #2A3134 0 2px, #262C2E 2px 22px);
  --slot-label-bg: #FF6A13;
  --slot-label-text: #15191A;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: .92; }
h2 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
.h-sub { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.kicker { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: .7rem; }
.muted { color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.4rem; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border: 2px solid var(--accent); cursor: pointer; }
.btn-orange { background: var(--accent); color: var(--accent-text); }
.btn-orange:hover { background: #FF8A45; }
.btn-line { background: transparent; color: #FFFFFF; border-color: #FFFFFF; }
.btn-line:hover { background: rgba(255,255,255,.1); }
.btn-line.dark { color: var(--text); border-color: var(--text); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Scoreboard ticker */
.ticker { display: flex; align-items: stretch; background: #0D1011; color: #E8EDEE; font-family: var(--font-mono); font-size: .85rem; border-bottom: 1px solid #2A3134; }
.ticker-label { flex: none; display: grid; place-items: center; padding: 0 1rem; background: var(--accent); color: var(--accent-text); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .75rem; }
.ticker-window { overflow: hidden; flex: 1; min-height: 40px; display: flex; align-items: center; }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker-window:hover .ticker-track, .ticker-window:focus-within .ticker-track { animation-play-state: paused; }
.ticker-track ul { display: flex; list-style: none; padding: 0; margin: 0; }
.fixture { display: flex; gap: .7rem; align-items: baseline; padding: .6rem 1.6rem; border-right: 1px solid #2A3134; white-space: nowrap; }
.fixture-time { color: var(--accent); font-weight: 700; }
.fixture.is-live .fixture-time { background: var(--accent); color: var(--accent-text); padding: 0 .4rem; border-radius: 2px; animation: pulse 1.6s ease-in-out infinite; }
.fixture-teams { font-weight: 700; }
.fixture-teams abbr { text-decoration: none; color: #9AA6AA; }
.fixture-meta { color: #9AA6AA; }
.ticker-empty { padding: .6rem 1rem; color: #C9D1D4; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .ticker-window { overflow-x: auto; } .ticker-track ul[aria-hidden="true"] { display: none; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--asphalt); color: #FFFFFF; }
.header-inner { display: flex; align-items: center; gap: 1rem 2rem; min-height: 64px; flex-wrap: wrap; }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; text-transform: uppercase; text-decoration: none; letter-spacing: .02em; margin-right: auto; line-height: 1; }
.wordmark span { color: var(--accent); margin-left: .15em; }
.site-header ul { display: flex; gap: 1.4rem; list-style: none; padding: 0; flex-wrap: wrap; }
.site-header nav a { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--mist); padding-block: .5rem; display: inline-block; }
.site-header nav a:hover { color: #FFFFFF; }
.site-header .hours-badge { color: var(--mist); font-size: .78rem; }

/* Hero: concrete and rain */
.hero { position: relative; overflow: hidden; isolation: isolate; color: #FFFFFF; background: var(--asphalt); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -2; filter: brightness(1.35) contrast(1.1); }
/* Text side stays dark concrete; the screens glow through on the right. */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(21,25,26,.94) 0%, rgba(21,25,26,.82) 40%, rgba(21,25,26,.25) 72%, rgba(21,25,26,.08) 100%),
              linear-gradient(180deg, rgba(21,25,26,0) 0%, rgba(21,25,26,.35) 70%, rgba(21,25,26,.96) 100%); }
.rain { position: absolute; inset: -20% -10%; pointer-events: none; opacity: .35;
  background-image: repeating-linear-gradient(105deg, transparent 0 22px, rgba(201,209,212,.55) 22px 23px, transparent 23px 61px),
                    repeating-linear-gradient(105deg, transparent 0 37px, rgba(201,209,212,.35) 37px 38px, transparent 38px 89px);
  animation: rain .9s linear infinite; }
@keyframes rain { from { transform: translate3d(0, -60px, 0); } to { transform: translate3d(-16px, 0, 0); } }
/* WebGL rain (rain-gl.js) replaces the CSS lines when it can run: the layer then fits the hero exactly. */
.rain.rain--gl { inset: 0; opacity: 1; background: none; animation: none; }
.rain.rain--gl canvas { display: block; width: 100%; height: 100%; }
.hero-inner { position: relative; padding-block: clamp(4rem, 10vw, 7.5rem) 2.5rem; }
.hero-kicker { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: clamp(3.3rem, 10vw, 8.2rem); margin-top: .8rem; max-width: 13ch; }
.hero h1 span { display: block; color: var(--mist); font-size: .48em; line-height: 1; margin-top: .4rem; max-width: 22ch; }
.hero-lede { margin-top: 1.6rem; max-width: 38rem; font-size: clamp(1.05rem, 2vw, 1.25rem); color: #DCE3E5; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #3A4245; margin-top: 2rem; }
.stats div { padding: 1.4rem 0 2rem; border-right: 1px solid #3A4245; padding-left: 1.2rem; }
.stats div:first-child { padding-left: 0; }
.stats div:last-child { border-right: 0; }
.stats dt { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #AEB8BB; }
.stats dd { margin: .2rem 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; }

/* Games + rules */
.games-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem 4rem; }
.rules { list-style: none; padding: 0; counter-reset: rule; margin-top: 1.4rem; }
.rules li { counter-increment: rule; position: relative; padding: 1rem 0 1rem 3.6rem; border-top: 2px solid var(--text); }
.rules li::before { content: counter(rule, decimal-leading-zero); position: absolute; left: 0; top: .95rem; font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; line-height: 1; color: var(--accent-strong); }
.rules strong { font-weight: 600; }
.games .events { margin-top: 1.4rem; }
.event-list { list-style: none; padding: 0; display: grid; gap: .7rem; }
.event { display: grid; grid-template-columns: 4.6rem 1fr; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--text); padding: .9rem 1rem; }
.event-date { display: grid; line-height: 1; align-content: center; }
.event-dow, .event-mon, .event-tba { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.event-day { font-family: var(--font-display); font-weight: 800; font-size: 2.3rem; }
.event-title { font-family: var(--font-body); font-weight: 600; font-size: 1.08rem; text-transform: none; line-height: 1.25; }
.event .tag { color: var(--accent-strong); }
.event-desc { color: var(--muted); font-size: .95rem; margin-top: .2rem; }
.event-time { display: inline-block; margin-top: .3rem; font-family: var(--font-mono); font-weight: 700; font-size: .85rem; }

/* Eat & drink */
.eat { background: var(--asphalt); color: #FFFFFF; --muted: #AEB8BB; --line: #3A4245; --accent-strong: #FF8A45; }
.eat .kicker { color: var(--accent); }
.eat-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 2rem; align-items: end; margin-bottom: 2.4rem; }
.happy { background: var(--accent); color: var(--accent-text); padding: 1.2rem 1.3rem; border-radius: var(--radius); }
.happy-title { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; line-height: 1; margin-bottom: .4rem; }
.eat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.col-title { font-size: 1.8rem; color: var(--accent); border-bottom: 2px solid var(--accent); padding-bottom: .4rem; }
.eat .menu-list { list-style: none; padding: 0; }
.eat .tag { color: var(--accent); }
.photo-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; margin-top: 3rem; }

/* Parties */
.parties-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem; align-items: start; }
.parties-grid > div > p:not(.kicker) { margin-top: 1rem; color: var(--muted); }
.check { list-style: none; padding: 0; margin-top: 1.4rem; display: grid; gap: .6rem; }
.check li { padding-left: 1.8rem; position: relative; font-weight: 500; }
.check li::before { content: ""; position: absolute; left: 0; top: .45em; width: .9rem; height: .5rem; border-left: 3px solid var(--accent-strong); border-bottom: 3px solid var(--accent-strong); transform: rotate(-45deg); }
.inquiry { display: grid; gap: .9rem; background: var(--surface); border: 2px solid var(--text); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 8px 8px 0 var(--text); }
.inquiry .btn { justify-self: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.opt { color: var(--muted); font-weight: 400; }
.form-status { background: #E8F7EE; border-color: #15803D; color: #0F3D22; }

/* Visit */
.visit { background: var(--mist); --accent-strong: #8A3100; }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.visit-grid > div > * + * { margin-top: 1rem; }
address { font-style: normal; font-size: 1.2rem; font-weight: 500; }
.visit .hours-badge { --open: #15803D; --closed: #4A5357; }
.hours-card { background: var(--surface); padding: 1.5rem; border: 2px solid var(--text); }
.hours-card tr[aria-current="date"] th, .hours-card tr[aria-current="date"] td { color: var(--accent-strong); }

/* Footer */
.site-footer { background: #0D1011; color: var(--mist); padding-block: 2.5rem; }
.footer-inner { display: grid; gap: .5rem; }
.footer-mark { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; text-transform: uppercase; color: #FFFFFF; line-height: 1; }
.footer-mark span { color: var(--accent); margin-left: .15em; }
.concept { font-family: var(--font-mono); font-size: .74rem; color: #AEB8BB; }

@media (max-width: 820px) {
  .games-grid, .eat-head, .eat-grid, .parties-grid, .visit-grid, .photo-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero::before { background: linear-gradient(180deg, rgba(21,25,26,.72) 0%, rgba(21,25,26,.86) 45%, rgba(21,25,26,.96) 100%); }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(3) { padding-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid #3A4245; }
  .site-header nav { order: 3; width: 100%; overflow-x: auto; }
  .header-inner { padding-block: .5rem; }
  .field-row { grid-template-columns: 1fr; }
}

/* ===== Bar-first identity pass: coaster mark, warm palette, chalk + felt textures ===== */
/* Logo lockup */
.wordmark { display: inline-flex; align-items: center; gap: .65rem; }
.wordmark .mark { width: 48px; height: 48px; flex: none; }
.wm-text { display: grid; line-height: .95; }
.wm-text small { font-family: var(--font-mono); font-weight: 700; font-size: .62rem; letter-spacing: .16em; color: var(--amber); text-transform: uppercase; margin-top: .2rem; }
.wordmark span.wm-text { color: #FFFFFF; margin: 0; }

/* Hero: lockup line first, coaster badge on the right */
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 3rem; align-items: center; }
.hero-inner > *:not(.hero-coaster) { grid-column: 1; }
.hero-coaster { grid-column: 2; grid-row: 1 / span 5; width: clamp(220px, 26vw, 360px); height: auto; aspect-ratio: 1; transform: rotate(-8deg); filter: drop-shadow(10px 14px 0 rgba(0,0,0,.35)); }
.hero-kicker { color: var(--cream); font-size: .95rem; letter-spacing: .14em; border: 1.5px solid rgba(241,231,210,.5); display: inline-block; padding: .45rem .8rem; border-radius: 10px; justify-self: start; }

/* 3. Ticker as a chalkboard "On the screens" list */
.ticker { background: var(--chalk); background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 3px 3px; border-bottom: 3px solid var(--wood); }
.ticker-label { gap: .5rem; display: flex; align-items: center; background: var(--amber); color: #15191A; font-size: .72rem; }
.ticker-label .tv { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; }
.fixture-teams { color: #F4EFE4; }
.fixture-time { color: var(--amber); }
.fixture.is-live .fixture-time { background: var(--accent); }

/* 4. Felt stats strip */
.stats.felt { background: #20262A; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.2px); background-size: 4px 4px; border: 0; border-top: 3px solid var(--amber); padding-inline: 1.4rem; margin-bottom: 0; }
.stats.felt dd { color: var(--cream); }
.stats.felt div:first-child { padding-left: 0; }

/* 4. Happy hour on a chalkboard in a wood frame */
.happy.chalk { background: var(--chalk); color: #EDEAE2; border: 8px solid var(--wood); border-radius: 6px; box-shadow: inset 0 0 30px rgba(0,0,0,.45); background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px); background-size: 3px 3px; }
.happy.chalk .happy-title { color: var(--amber); font-family: var(--font-display); letter-spacing: .04em; }

/* 4. Coaster ring dividers behind section kickers */
.kicker { position: relative; padding-left: 1.6rem; }
.kicker::before { content: ""; position: absolute; left: 0; top: 50%; width: 1.1rem; height: 1.1rem; transform: translateY(-50%); border-radius: 50%; border: 2.5px solid currentColor; box-shadow: inset 0 0 0 2px var(--bg), inset 0 0 0 3.5px currentColor; opacity: .85; }
.eat .kicker::before { box-shadow: inset 0 0 0 2px var(--asphalt), inset 0 0 0 3.5px currentColor; }
.games, .parties { background-image: radial-gradient(circle at 92% 12%, transparent 58px, rgba(74,50,34,.10) 59px, rgba(74,50,34,.10) 61px, transparent 62px); }

/* Eat section on warm wood-dark instead of cold black */
.eat { background: #1C1714; --muted: #C7BBA6; --line: #3E342C; }
.photo-row { grid-template-columns: 1.2fr 1fr 1fr; }

/* Visit on cream felt */
.visit { background: var(--cream); background-image: radial-gradient(rgba(74,50,34,.06) 1px, transparent 1.2px); background-size: 4px 4px; }

/* Footer lockup */
.footer-mark { display: flex; align-items: center; gap: .8rem; }
.footer-mark .mark { width: 64px; height: 64px; }
.footer-mark small { display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; color: var(--amber); margin-left: .6rem; align-self: center; }

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-coaster { grid-column: 1; grid-row: auto; width: 170px; order: -1; justify-self: start; margin-bottom: .5rem; }
  .wordmark .mark { width: 40px; height: 40px; }
  .photo-row { grid-template-columns: 1fr; }
}

/* ===== Headline type: tall vintage condensed sans + bouncy brush script, worn-ink edges ===== */
h1, h2 { font-family: var(--font-head); font-weight: 400; letter-spacing: .01em; line-height: .92; }
h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.h-sub { font-size: clamp(2rem, 4vw, 3rem); }
.hero h1 { max-width: none; margin-top: 1.1rem; }
.hero h1 .h-sans { display: block; color: #FFFFFF; margin-top: 0; font-size: clamp(3.6rem, 9.5vw, 9rem); line-height: .86; max-width: 9ch; }
.hero h1 .h-script { display: block; position: relative; z-index: 1; margin-top: -.2em; margin-left: .25em; font-family: var(--font-script); font-weight: 400; text-transform: none;
  font-size: clamp(1.9rem, 4.4vw, 4rem); line-height: 1.15; color: var(--amber); letter-spacing: 0; word-spacing: .14em; transform: rotate(-4deg); transform-origin: left center; max-width: 16ch;
  -webkit-text-stroke: .1em #1B2022; paint-order: stroke fill; text-shadow: none; }
.wm-script { font-family: var(--font-script); font-weight: 400; text-transform: none; font-size: 1.5rem; letter-spacing: 0; word-spacing: .12em; line-height: 1; }
.wordmark .wm-text .wm-script { color: #FFFFFF; }
.footer-mark .wm-script { font-size: 2.2rem; color: #FFFFFF; }
.wm-text small { margin-top: .35rem; }
@media (max-width: 820px) { .hero h1 .h-script { margin-top: -.12em; max-width: 13ch; } }
.hero h1 { filter: none; }

/* Hand-drawn mascot logo (die-cut sticker version for dark backgrounds) */
.wordmark .mark { width: 58px; height: auto; }
.hero-coaster { width: clamp(240px, 30vw, 420px); height: auto; aspect-ratio: auto; transform: rotate(-4deg); filter: none; }
.footer-mark .mark { width: 76px; height: auto; }
@media (max-width: 820px) { .hero-coaster { width: 200px; transform: rotate(-3deg); } .wordmark .mark { width: 48px; } }

/* Cloud Pint icon as menu section marker */
.col-title { display: flex; align-items: center; gap: .55rem; }
.col-title::before { content: ""; width: 1.4rem; height: 1.7rem; flex: none; background: url("img/cloud-pint.svg") center / contain no-repeat; }

/* Stand-in Pexels photos in the photo frames (a live site would use the client's own photography) */
.photo-slot.has-photo { place-items: start start; }
.photo-slot.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-slot.has-photo figcaption { font-size: .6rem; opacity: .88; }
