/* Jesus U Athletes, public site. Brand: cream ground, blue PMS 2995 C, red PMS 186 C.
   Red is never set on blue; on blue the accent turns cream. Fonts are self-hosted: no third parties. */
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(fonts/barlow-condensed-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(fonts/barlow-condensed-700.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url(fonts/barlow-condensed-800.woff2) format("woff2"); }

:root {
  --cream: #f6f0e1; --cream-2: #efe6d2; --paper: #fffaf0; --blue: #007ac3; --blue-deep: #005f98;
  --red: #e31837; --text: #1b2a41; --soft: #56627a; --rule: #dccfb4; --on-blue: #e3eef8;
  --display: "Barlow Condensed", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(18px, 5vw, 64px);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--cream); color: var(--text); font: 17px/1.6 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }

h1, h2, h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .95; color: var(--blue); text-wrap: balance; }
h1 { font-size: clamp(50px, 9vw, 104px); }
h2 { font-size: clamp(36px, 5.4vw, 60px); }
h3 { font-size: 26px; line-height: 1; }
p { text-wrap: pretty; }
.eyebrow { font: 700 14px/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.lede { font-size: 19px; color: var(--soft); max-width: 58ch; margin-top: 18px; }
.rule { width: 72px; height: 6px; background: var(--red); border-radius: 3px; margin-top: 20px; }
section { padding-block: clamp(64px, 10vw, 112px); }

/* Header */
.bar { position: sticky; top: 0; z-index: 10; background: rgba(246, 240, 225, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.bar .logo img { width: 112px; }
.bar nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 28px); font: 700 15px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.bar nav a { color: var(--text); text-decoration: none; }
.bar nav a.btn-red { color: #fff; }
.bar nav a[aria-current] { color: var(--blue); }
@media (max-width: 520px) { .bar nav .hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 17px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; }
.btn-red { background: var(--red); color: #fff; }
.btn-cream { background: var(--cream); color: var(--blue); }
.btn-line { border-color: var(--cream); color: var(--cream); }
.btn-blue { background: var(--blue); color: var(--cream); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Hero: fills most of the first screen. svh is the height with Safari's bars showing, so it never
   hides under them; the plain vh line is the fallback for browsers without svh. */
.hero { background: var(--blue); color: var(--cream); display: flex; align-items: center;
  min-height: min(82vh, 860px); min-height: min(82svh, 860px); padding-block: clamp(56px, 8vw, 96px); }
.hero > .wrap { width: 100%; }
.hero .grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 5vw, 80px); align-items: center; }
.hero .eyebrow { color: var(--cream); opacity: .85; font-size: 16px; }
.hero h1 { color: var(--cream); margin-top: 18px; font-size: clamp(56px, 8.2vw, 112px); line-height: .9; }
.hero p { margin-top: 26px; max-width: 44ch; font-size: clamp(19px, 1.6vw, 22px); color: var(--on-blue); }
.hero .btns { margin-top: 36px; }
.hero .shield { justify-self: center; width: clamp(188px, 30vw, 375px); } /* white one-colour mark, 300px +25% */
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero .grid { grid-template-columns: 1fr; }
  .hero .shield { width: 188px; justify-self: start; grid-row: 1; }
}

.scene { display: block; width: 100%; height: auto; background: var(--cream); }

/* Fridays */
.when { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.when div { background: var(--paper); border: 1px solid var(--rule); border-radius: 18px; padding: 22px 22px 24px; }
.when b { display: block; font: 800 clamp(34px, 4vw, 46px)/1 var(--display); color: var(--blue); text-transform: uppercase; }
.when span { display: block; font: 700 13px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.when p { color: var(--soft); margin-top: 8px; font-size: 16px; }
@media (max-width: 760px) { .when { grid-template-columns: 1fr; } }
.note { margin-top: 20px; color: var(--soft); }

/* Two-column text block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.split .body p + p { margin-top: 16px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.stat { border-top: 3px solid var(--blue); padding-top: 14px; margin-top: 28px; }
.stat b { display: block; font: 800 52px/1 var(--display); color: var(--blue); }
.stat span { font: 700 13px/1.3 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }

/* Verse */
.verse { background: var(--blue); color: var(--cream); text-align: center; }
.verse blockquote { font: 600 clamp(26px, 3.6vw, 40px)/1.25 var(--display); max-width: 30ch; margin: 0 auto; text-wrap: balance; }
.verse cite { display: block; margin-top: 24px; font: 700 14px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; font-style: normal; color: var(--on-blue); }

/* Call to action band */
.cta { background: var(--cream-2); }
.cta .split { align-items: center; }

/* Partner levels */
.levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 40px; }
.level { background: var(--paper); border: 1px solid var(--rule); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.level.top { background: var(--blue); border-color: var(--blue); color: var(--cream); }
.level h3 { font-size: 24px; }
.level.top h3 { color: var(--cream); }
.level .amt { font: 800 44px/1 var(--display); color: var(--blue); }
.level.top .amt { color: var(--cream); }
.level .spots { font: 700 13px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.level.top .spots { color: var(--on-blue); }
.level ul { list-style: none; display: grid; gap: 6px; margin-top: 6px; font-size: 15.5px; }
.level li { padding-left: 18px; position: relative; }
.level li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.level.top li::before { background: var(--cream); }

.steps { display: grid; gap: 14px; margin-top: 32px; counter-reset: s; }
.steps li { list-style: none; counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: var(--cream); font: 800 22px/44px var(--display); text-align: center; }
.steps b { display: block; font: 800 22px/1.1 var(--display); text-transform: uppercase; color: var(--blue); margin-top: 2px; }
.steps p { color: var(--soft); margin-top: 4px; }

.fine { background: var(--paper); border: 1px solid var(--rule); border-radius: 18px; padding: 24px; display: grid; gap: 12px; margin-top: 32px; }
.fine p { color: var(--soft); font-size: 16px; }
.fine b { color: var(--text); }

.shirt { background: #fff; border: 1px solid var(--rule); border-radius: 22px; padding: 18px; }
.shirt figcaption { margin-top: 10px; text-align: center; color: var(--soft); font-size: 15px; }

/* Footer */
footer { background: var(--blue-deep); color: var(--on-blue); padding-block: 56px 48px; font-size: 15.5px; }
footer .grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
footer img { width: 120px; }
footer a { color: var(--cream); }
footer p + p { margin-top: 10px; }
footer .small { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(246, 240, 225, .2); font-size: 14px; opacity: .85; }
@media (max-width: 760px) { footer .grid { grid-template-columns: 1fr; } }

/* Partner page: shirt views, contact line, downloads */
.views { display: grid; grid-template-columns: 1.4fr .69fr 1.4fr; gap: clamp(8px, 2vw, 24px); align-items: end; margin-top: 36px; }
.views figure { margin: 0; }
.views img { width: 100%; }
.views figcaption { margin-top: 8px; text-align: center; font: 700 13px/1.3 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
@media (max-width: 760px) { .views { grid-template-columns: 1fr .494fr; } .views figure:last-child { display: none; } }
.contact-line { margin-top: 18px; font-size: 19px; font-weight: 600; }
.btn-outline { border-color: var(--blue); color: var(--blue); }
.downloads { margin-top: 32px; display: grid; gap: 10px; max-width: 460px; }
.downloads a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; background: var(--paper);
  border: 1px solid var(--rule); border-radius: 14px; color: var(--text); text-decoration: none; font-weight: 600; }
.downloads a span { font: 700 13px/1 var(--display); letter-spacing: .12em; color: var(--red); }
.give { margin-top: 26px; display: grid; gap: 12px; justify-items: start; }
.give p { color: var(--soft); font-size: 15.5px; max-width: 52ch; }
