/* Play Footy Inc. Colors from the logo: light blue and orange. */
:root {
  --blue: #53b5da;      /* logo blue: shapes and edges, never text */
  --sky: #e8f5fc;       /* light panels */
  --sky-2: #d4edf8;
  --ink: #0b4f6c;       /* headings and links, 8:1 on sky */
  --text: #1f2d36;
  --muted: #4a5a64;
  --orange: #ef9744;    /* logo orange: accents only */
  --give: #b4560c;      /* donate buttons, white text 4.9:1 */
  --give-hover: #96480a;
  --line: #d9e6ec;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 79, 108, .06), 0 8px 24px rgba(11, 79, 108, .08);
  --head: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--give); }
h1, h2, h3, .h2, .h3 { font-family: var(--head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.25rem, 6vw, 3.6rem); font-weight: 800; }
.h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 800; }
h3, .h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }
figure { margin: 0; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.eyebrow {
  font-family: var(--head);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--give);
  margin-bottom: .6em;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }

/* Buttons: one line on every screen */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px;
  border-radius: 999px;
  font-family: var(--head); font-weight: 800; font-size: 1rem;
  text-decoration: none; white-space: nowrap;
  border: 2px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.08rem; }
.btn-give { background: var(--give); color: #fff; }
.btn-give:hover, .btn-give[aria-current] { background: var(--give-hover); color: #fff; }
.btn-quiet { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: #fff; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.brand img { width: 168px; height: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  font-family: var(--head); font-weight: 700; color: var(--ink); text-decoration: none;
  padding: 10px 14px; border-radius: 999px; white-space: nowrap;
}
.nav a:hover { background: var(--sky); color: var(--ink); }
.nav a[aria-current] { background: var(--sky); box-shadow: inset 0 -3px 0 var(--blue); }
.header-give { min-height: 42px; padding: 0 20px; }

@media (max-width: 700px) {
  .header-row { gap: 0 12px; padding-top: 10px; }
  .brand img { width: 140px; }
  .header-give { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 6px 0 8px; justify-content: space-between; gap: 2px; }
  .nav a { flex: 1; text-align: center; padding: 8px 6px; }
}

/* Hero */
.hero {
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(83, 181, 218, .28), transparent 60%),
    radial-gradient(60% 50% at 0% 100%, rgba(239, 151, 68, .14), transparent 60%),
    var(--sky);
  padding: 40px 0 48px;
}
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero-copy h1 { margin-bottom: .35em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 18px; }
.trust { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: .95rem; margin: 0; }
.trust .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(83,181,218,.25); flex: none; }
.hero-frame { position: relative; }
.hero-photo img { border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; object-position: 50% 55%; }
.hero-photo figcaption, .framed figcaption, .gallery figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
@media (min-width: 900px) {
  .hero { padding: 72px 0 80px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .hero-frame::before { content: ''; position: absolute; inset: -14px 14px 14px -14px; border: 3px solid var(--orange); border-radius: 26px; z-index: 0; }
  .hero-frame img { position: relative; z-index: 1; }
  .hero-photo figcaption { margin-top: 22px; }
  .brand img { width: 196px; }
}

/* Sections */
.section { padding: 56px 0; }
.section.sky { background: var(--sky); }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.page-head { background: linear-gradient(180deg, var(--sky), #fff); padding: 48px 0 32px; }
@media (min-width: 900px) { .page-head { padding: 80px 0 48px; } }

.cards { display: grid; gap: 18px; margin-top: 28px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } .cards-2x2 { grid-template-columns: repeat(2, 1fr); } }
.note.equip { max-width: 760px; margin: 0; }
.card {
  background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--blue);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.card p { margin: 0; color: var(--muted); }
.card-num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--sky); color: var(--ink); font-family: var(--head); font-weight: 800; margin-bottom: 12px;
}
.more { margin: 28px 0 0; }
.link-arrow { font-family: var(--head); font-weight: 800; text-decoration: none; }
.link-arrow::after { content: ' \2192'; }
.link-arrow:hover { text-decoration: underline; }

.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split-rev > :first-child { order: 0; }
}
.framed img { border-radius: 18px; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mosaic img { border-radius: 14px; aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.mosaic .wide { grid-column: 1 / -1; }
.mosaic .wide img { aspect-ratio: 16 / 7; }

.ticks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--orange); box-shadow: inset 0 0 0 4px #fff, 0 0 0 2px var(--orange);
}
.note { background: var(--sky); border-left: 4px solid var(--blue); padding: 14px 16px; border-radius: 8px; }

.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.jump a {
  font-family: var(--head); font-weight: 700; font-size: .95rem; text-decoration: none;
  padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); white-space: nowrap;
}
.jump a:hover { border-color: var(--ink); }

.gallery { display: grid; gap: 18px; margin-top: 28px; }
@media (min-width: 600px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery img { border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.mission {
  font-family: var(--head); font-weight: 700; font-size: 1.3rem; line-height: 1.45; color: var(--ink);
  border-left: 5px solid var(--orange); padding-left: 18px;
}

.facts { display: grid; gap: 0; margin: 24px 0 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { display: grid; gap: 2px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { background: #fbfdfe; }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-weight: 700; color: var(--ink); }
.facts dd { margin: 0; }
@media (min-width: 700px) { .facts div { grid-template-columns: 220px 1fr; gap: 24px; } }

.contact { display: grid; gap: 24px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; align-items: center; } }
.contact-list li { background: #fff; border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px; box-shadow: var(--shadow); overflow-wrap: anywhere; }
.contact-label { display: block; font-weight: 700; color: var(--ink); font-size: .9rem; }

.ways { display: grid; gap: 18px; margin-top: 28px; }
@media (min-width: 900px) { .ways { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.way { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; align-items: flex-start; }
.way p { color: var(--muted); flex: 1; }
.tax { max-width: 760px; }
.tax p { color: var(--muted); }

.nw { white-space: nowrap; }
.placeholder { background: #fff4d6; color: #6b4a00; border: 1px dashed #c99a2e; border-radius: 6px; padding: 1px 6px; font-weight: 700; white-space: nowrap; }

/* Donate band */
.give-band { background: var(--ink); color: #fff; padding: 48px 0; }
.give-band h2 { color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin-bottom: .3em; }
.give-band p { margin: 0; color: #d8ecf5; }
.give-band-inner { display: grid; gap: 22px; align-items: center; }
.give-band .btn-give { justify-self: start; }
@media (min-width: 760px) { .give-band-inner { grid-template-columns: 1fr auto; } }

/* Footer */
.site-footer { background: #f5fafc; border-top: 4px solid var(--blue); padding: 48px 0 0; font-size: .97rem; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.footer-logo { width: 190px; margin-bottom: 14px; }
.legal-line { color: var(--muted); max-width: 30em; }
.footer-h { font-family: var(--head); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin: 0 0 10px; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 32px; padding: 18px 20px; color: var(--muted); font-size: .9rem; }
.footer-bottom p { margin: 0; }
