/* The club site, on top of style.css (the Queen City Clash stylesheet, kept as it is so the
   two sites look alike). Same rules: UC Black and greys, UC Red only as a fill under white
   text, Gettler Gold for small accents. */

/* ---- the bar across the top: the club's pages ---------------------------------- */

a.brand { text-decoration: none; color: #fff; }
a.brand:hover { color: #fff; }
.site-title { color: var(--text); text-decoration: none; }
.site-nav { margin-left: auto; display: flex; gap: 2px; flex-wrap: wrap; }
.site-nav a {
  border-bottom: 3px solid transparent; padding: 14px 10px 11px; color: var(--dim);
  font-weight: 600; text-decoration: none; white-space: nowrap;
}
.site-nav a:hover { color: var(--text); }
.site-nav a.on { color: #fff; border-bottom-color: var(--red); }
@media (max-width: 700px) {
  .site-nav { margin-left: 0; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .site-nav a { padding: 10px 8px 9px; }
}

/* The organisers' announcement, under the bar (style.css's .notice, full width). */
.announce { margin: 0; border-radius: 0; border-left: 0; border-right: 0; border-top: 0; padding: 10px 24px; justify-content: center; }
.announce span { flex: 0 1 auto; min-width: 0; }
.announce a { font-weight: 600; }

/* ---- landing page ---------------------------------------------------------------- */

.hero { padding: 0; position: relative; overflow: hidden; background: var(--bar); border-bottom: 1px solid var(--line); }
/* A few slanted red bars behind the title, like a boost trail. */
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(224, 1, 34, .9) 58% 60%, transparent 60% 63%,
      rgba(224, 1, 34, .55) 63% 64%, transparent 64% 67%, rgba(224, 1, 34, .3) 67% 67.6%, transparent 67.6%);
}
.hero-inner { position: relative; max-width: 1480px; margin: 0 auto; padding: 72px 24px 64px; }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.hero h2 { font: clamp(56px, 10vw, 136px)/.86 var(--display); text-transform: uppercase; letter-spacing: 0; color: #fff; margin: 14px 0 0; }
.hero h2 span { display: block; }
.hero h2 .red { display: inline-block; background: var(--red); padding: 6px 18px 0 12px; margin-top: 8px; }
.lede { max-width: 560px; font-size: 18px; line-height: 1.55; color: var(--dim); margin: 22px 0 0; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 18px; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--panel); color: var(--text); font-weight: 700; text-decoration: none; }
.btn:hover { background: var(--raised); color: #fff; }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.btn.red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn img { width: 18px; height: 18px; }
.btn[hidden] { display: none !important; }

.section-title { font: 32px/1 var(--display); text-transform: uppercase; color: #fff; margin: 8px 0 16px; }

/* The five programs. */
.programs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 32px; }
a.program { display: flex; flex-direction: column; gap: 8px; min-height: 190px; padding: 20px; background: var(--panel);
  border: 1px solid var(--line-soft); border-top: 4px solid var(--red); border-radius: var(--r); color: var(--text); text-decoration: none;
  transition: background .12s, transform .12s; }
a.program:hover { background: var(--raised); color: var(--text); transform: translateY(-2px); }
.program h3 { font: 30px/1 var(--display); text-transform: uppercase; color: #fff; margin: 0; }
.program p { color: var(--dim); margin: 0; flex: 1; }
.program .go { font-size: 13px; font-weight: 700; color: #fff; }
.program .go::after { content: ' →'; color: var(--red); }
.program.feature { border-top-color: var(--gold); }
.program .tag { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--bar); background: var(--gold); padding: 1px 7px; border-radius: var(--r); }

/* Upcoming events and the ways to reach us, side by side. */
.home-two { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 16px; align-items: start; }
.home-two > section { margin: 0; }
@media (max-width: 900px) { .home-two { grid-template-columns: 1fr; } }
.event-list { display: flex; flex-direction: column; }
.event-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-soft); color: var(--text); text-decoration: none; }
.event-row:first-child { border-top: 0; padding-top: 4px; }
a.event-row:hover .event-title { text-decoration: underline; text-decoration-color: var(--red); }
.event-date { display: flex; flex-direction: column; align-items: center; background: var(--raised); border-radius: var(--r); padding: 6px 0; }
.event-date small { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.event-date b { font: 28px/1 var(--display); color: #fff; }
.event-title { font-weight: 700; font-size: 15px; }
.event-meta { color: var(--mute); font-size: 13px; }

.reach { display: flex; flex-direction: column; gap: 8px; }
.reach a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: var(--r);
  background: var(--raised); color: var(--text); text-decoration: none; font-weight: 600; }
.reach a::after { content: '↗'; color: var(--mute); }
.reach a:hover { background: #2a2a2a; color: #fff; }

/* ---- program pages ---------------------------------------------------------------- */

.page-hero { border-bottom: 1px solid var(--line); background: var(--bar); }
.page-hero-inner { max-width: 1480px; margin: 0 auto; padding: 44px 24px 36px; }
.page-hero h2 { font: clamp(48px, 8vw, 92px)/.9 var(--display); text-transform: uppercase; color: #fff; margin: 10px 0 0; }
.page-hero p { max-width: 680px; font-size: 17px; line-height: 1.55; color: var(--dim); margin: 16px 0 0; }
.page-hero .cta { margin-top: 22px; }

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-bottom: 16px; }
.cols > section { margin: 0; }
.prose p { color: var(--dim); line-height: 1.65; margin: 10px 0 0; max-width: 72ch; }
.prose p:first-of-type { margin-top: 12px; }
.prose ul { color: var(--dim); line-height: 1.7; padding-left: 20px; margin: 10px 0 0; }
.prose li::marker { color: var(--red); }
.prose b { color: var(--text); }

/* Numbered steps (how to join, how tryouts work). */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 16px; }
.step { counter-increment: step; margin: 0; }
.step::before { content: counter(step); display: block; font: 44px/1 var(--display); color: var(--red); margin-bottom: 8px; }
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { color: var(--dim); margin: 0; }

.callout { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  background: var(--red); border: 0; color: #fff; padding: 22px 24px; }
.callout h3 { font: 28px/1 var(--display); text-transform: uppercase; margin: 0; }
.callout p { margin: 6px 0 0; color: #fff; opacity: .9; }
.callout .btn { background: #fff; color: var(--bar); border-color: #fff; }
.callout .btn:hover { background: #f0f0f0; color: var(--bar); }

/* ---- QCC: the Queen City Clash site under the club's bar -------------------------- */

.subbar { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; min-height: 52px; padding: 0 24px;
  background: var(--panel); border-bottom: 1px solid var(--line); }
.subbar h1 { font-size: 13px; }
.subbar .qcc-tag { font: 18px/1 var(--display); color: var(--gold); padding-top: 2px; }
.subbar #tabs a { padding: 12px 10px 9px; }
@media (max-width: 700px) { .subbar { padding: 0 16px; } }
.qcc-down { text-align: center; padding: 48px 20px; }

/* ---- footer ----------------------------------------------------------------------- */

.site-foot { border-top: 1px solid var(--line); background: var(--bar); margin-top: 32px; }
.site-foot-inner { max-width: 1480px; margin: 0 auto; padding: 24px; display: flex; gap: 12px 24px; flex-wrap: wrap; align-items: center; justify-content: space-between; color: var(--mute); font-size: 13px; }
.site-foot nav { margin: 0; gap: 4px 16px; }
.site-foot a { color: var(--dim); text-decoration: none; }
.site-foot a:hover { color: #fff; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand .brand { font-size: 16px; padding: 4px 8px 2px; }

/* ---- admin -------------------------------------------------------------------------- */

.event-edit { display: grid; grid-template-columns: 150px 96px minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1.4fr) minmax(0, 1.2fr) auto; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.event-edit.head { border-top: 0; padding-top: 0; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--mute); }
.event-edit input, .event-edit select { width: 100%; min-width: 0; }
input[type=date] { background: var(--panel); border: 1px solid var(--line); color: var(--text); border-radius: var(--r); padding: 5px 8px; font: inherit; min-height: 32px; color-scheme: dark; }
@media (max-width: 900px) { .event-edit { grid-template-columns: 1fr 1fr; } .event-edit.head { display: none; } }
.form input[type=url], .form input[type=email] { width: 100%; }
.saved { color: var(--good); font-size: 13px; }
.admin-later { color: var(--mute); }
.admin-later li { margin: 4px 0; }

/* ---- fixes on top ------------------------------------------------------------------ */

/* style.css spaces every h2 out widely; the big display titles keep the font's own spacing. */
.page-hero h2, .section-title, .hero h2 { letter-spacing: .01em; }
/* Short pages: the footer sits at the bottom of the window. */
body.site { min-height: 100vh; display: flex; flex-direction: column; }
body.site > main { flex: 1 0 auto; width: 100%; }
.site-nav { scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
@media (max-width: 700px) {
  .hero::before { opacity: .35; }
  .hero-inner { padding: 48px 16px 44px; }
  .page-hero-inner { padding: 32px 16px 28px; }
  .site-foot-inner { padding: 20px 16px; }
  .announce { padding: 10px 16px; }
}
