/* ============================================================
   Unity Sports Club — brand stylesheet
   Palette: #008520 green / #6EC62C lime / #000 / #fff
   Flat design: borders and solid colour, no shadows, no gradients
   ============================================================ */

:root {
  --green: #008520;
  --green-dark: #006719;
  --lime: #6EC62C;
  --lime-dark: #5aa822;
  --black: #000000;
  --ink: #141414;
  --grey: #f2f4f1;
  --grey-deep: #e6eae4;
  --line: #dcdfd9;
  --white: #ffffff;
  --font-head: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--black); color: var(--white);
  padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.08;
  color: var(--black);
}

.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green);
  margin-bottom: 12px;
  padding-bottom: 4px;
  border-bottom: 3px solid var(--lime);
}
.kicker-lime { color: var(--lime); }

.section-title { font-size: clamp(26px, 4vw, 40px); margin-bottom: 16px; }
.section-sub { color: #444; max-width: 640px; }
.lead { font-size: 19px; line-height: 1.55; color: #222; }
.section-head { margin-bottom: 36px; }
.center { text-align: center; margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.text-link {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--lime);
}
.text-link:hover { border-bottom-color: var(--green); }

/* ---------- Badges ---------- */

.badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 12px;
}
.badge-lime { background: var(--lime); color: var(--black); }
.badge-black { background: var(--black); color: var(--white); }
.badge-green { background: var(--green); color: var(--white); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 14px 28px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-green { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }
.btn-lime { background: var(--lime); color: var(--black); border-color: var(--lime); }
.btn-lime:hover { background: var(--lime-dark); border-color: var(--lime-dark); color: var(--black); }
.btn-white { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-white:hover { background: var(--grey); border-color: var(--grey); color: var(--black); }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--black); }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 17px 36px; font-size: 16px; width: 100%; }
.btn-block { display: block; text-align: center; margin-top: 10px; }

/* ---------- Top bar ---------- */

.topbar { background: var(--black); color: var(--white); font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; gap: 12px; }
.topbar-item { color: #ccc; }
.topbar-phone { color: var(--lime); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.topbar-phone:hover { color: var(--white); }

/* ---------- Header ---------- */

.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo {
  display: block;
  height: auto;
  width: auto;
  max-height: 84px;
  max-width: 350px;
  object-fit: contain;
}

.site-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--ink);
  padding: 10px 12px;
  border-bottom: 3px solid transparent;
}
.nav-link:hover { color: var(--green); }
.nav-link.active { color: var(--green); border-bottom-color: var(--lime); }
.btn-nav {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  padding: 11px 22px;
  margin-left: 10px;
}
.btn-nav:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 2px solid var(--black);
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 3px; background: var(--black); }

/* ---------- Hero ---------- */

.hero {
  background: var(--green);
  color: var(--white);
  padding: 64px 0 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 30, 6, 0.78);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
}
.hero-content { padding-bottom: 56px; }
.hero-title {
  color: var(--white);
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.98;
  margin: 18px 0;
}
.hero-sub { font-size: 19px; max-width: 520px; color: #eaf5ec; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-panel {
  background: rgba(0, 0, 0, 0.86);
  color: var(--white);
  padding: 28px;
  border: 2px solid var(--black);
  border-top: 6px solid var(--lime);
}
.hero-panel-head { border-bottom: 1px solid #333; padding-bottom: 16px; margin-bottom: 8px; }
.hero-panel-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--lime);
  margin-bottom: 4px;
}
.hero-panel-head strong { font-family: var(--font-head); font-size: 24px; text-transform: uppercase; display: block; }
.hero-panel-head span:last-child { color: #bbb; font-size: 14px; }

.hero-stats { list-style: none; }
.hero-stats li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #333;
}
.hero-stats li:last-child { border-bottom: 0; }
.hero-stats strong {
  font-family: var(--font-head); font-size: 22px; text-transform: uppercase;
  color: var(--lime); white-space: nowrap;
}
.hero-stats span { font-size: 14px; color: #bbb; text-align: right; }

/* ---------- Ticker ---------- */

.ticker { background: var(--black); color: var(--lime); overflow: hidden; border-top: 3px solid var(--lime); }
.ticker-track {
  display: flex; align-items: center; gap: 28px;
  padding: 12px 0;
  width: max-content;
  animation: ticker 30s linear infinite;
}
.ticker-track span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
}
.ticker-dot { width: 10px; height: 10px; background: var(--lime); border-radius: 0; flex-shrink: 0; }
@keyframes ticker { to { transform: translateX(-33.333%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Sections ---------- */

.section { padding: 72px 0; }
.section-grey { background: var(--grey); }
.section-black { background: var(--black); color: var(--white); }
.section-black .section-title, .section-black h3 { color: var(--white); }
.section-black p { color: #ccc; }

.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.two-col p { margin-bottom: 16px; }
.two-col .btn { margin-top: 8px; }

/* ---------- Page hero ---------- */

.page-hero {
  background: var(--green);
  color: var(--white);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 30, 6, 0.78);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(34px, 5vw, 56px); }
.page-hero-sub { color: #eaf5ec; font-size: 18px; max-width: 640px; margin-top: 10px; }

/* ---------- Me and the Ball card ---------- */

.matb-card {
  background: var(--black);
  color: var(--white);
  padding: 32px;
  border-top: 6px solid var(--lime);
}
.matb-card h3 { color: var(--lime); font-size: 30px; margin: 14px 0 12px; }
.matb-card p { color: #ccc; margin-bottom: 16px; }
.matb-card .text-link { color: var(--lime); }
.matb-card .text-link:hover { color: var(--white); }

.check-list { list-style: none; }
.check-list li { padding: 9px 0 9px 34px; position: relative; color: #ddd; }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 14px;
  width: 16px; height: 16px;
  background: var(--lime);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.check-list-light li { border-bottom: 1px solid #333; padding: 14px 0 14px 34px; }
.check-list-light li::before { top: 19px; }

/* ---------- Focus strip ---------- */

.focus-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 2px solid var(--line);
  background: var(--white);
}
.focus-item { padding: 28px 20px; border-right: 2px solid var(--line); }
.focus-item:last-child { border-right: 0; }
.focus-icon { color: var(--green); margin-bottom: 14px; }
.focus-item h3 { font-size: 17px; margin-bottom: 8px; }
.focus-item p { font-size: 14px; color: #555; line-height: 1.5; }
.focus-item:hover { background: var(--grey); }
.focus-item:hover .focus-icon { color: var(--black); }

/* ---------- Schedule ---------- */

.schedule-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.schedule-card, .term-card {
  border: 2px solid var(--black);
  padding: 26px;
  background: var(--white);
}
.schedule-card h3, .term-card h3 { font-size: 21px; margin: 10px 0 14px; }
.schedule-days { font-family: var(--font-head); font-size: 22px; font-weight: 700; text-transform: uppercase; }
.schedule-time { font-size: 17px; color: var(--green); font-weight: 700; }
.schedule-active { background: var(--black); color: var(--white); border-color: var(--black); }
.schedule-active h3 { color: var(--white); }
.schedule-active .schedule-time { color: var(--lime); }
.schedule-tag {
  display: inline-block;
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  background: var(--lime); color: var(--black);
  padding: 4px 10px;
}
.term-card { background: var(--grey); }
.term-next { font-size: 14px; color: #555; margin-top: 8px; border-top: 1px solid var(--line); padding-top: 10px; }

/* ---------- Venues ---------- */

.venue-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.venue-card {
  border: 2px solid #333;
  padding: 24px;
  background: #111;
}
.venue-icon { color: var(--lime); margin-bottom: 12px; }
.venue-card h3 { font-size: 18px; margin-bottom: 6px; }
.venue-card p { font-size: 14px; margin-bottom: 14px; }
.venue-card .text-link { color: var(--lime); }
.venue-card .text-link:hover { color: var(--white); }
.venue-card:hover { border-color: var(--lime); }

.venue-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.venue-card-lg { border: 2px solid var(--line); padding: 26px; background: var(--white); }
.venue-card-lg:hover { border-color: var(--black); }
.venue-lg-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; color: var(--green); }
.venue-num {
  font-family: var(--font-head); font-weight: 800; font-size: 34px;
  color: var(--lime); line-height: 1;
  -webkit-text-stroke: 1px var(--black);
}
.venue-card-lg h3 { font-size: 19px; min-height: 44px; }
.venue-area { font-weight: 700; color: var(--green); font-size: 14px; margin-bottom: 8px; }
.venue-note { font-size: 14px; color: #555; margin-bottom: 18px; min-height: 42px; }

.venue-list { list-style: none; border: 2px solid var(--line); }
.venue-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 20px; border-bottom: 2px solid var(--line);
}
.venue-list li:last-child { border-bottom: 0; }
.venue-list strong { display: block; font-family: var(--font-head); text-transform: uppercase; font-size: 16px; }
.venue-list span { font-size: 13px; color: #555; }

/* ---------- Fees ---------- */

.fees-snapshot { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 20px; }
.fee-box { border: 2px solid var(--black); padding: 28px; background: var(--white); text-align: center; }
.fee-box h3 { font-size: 19px; margin-bottom: 10px; }
.fee-amount { font-family: var(--font-head); font-weight: 800; font-size: 40px; color: var(--green); }
.fee-note { font-size: 14px; color: #555; }
.fee-box-featured { background: var(--black); color: var(--white); border-color: var(--black); padding-top: 34px; }
.fee-box-featured h3 { color: var(--white); }
.fee-box-featured .fee-amount { color: var(--lime); }
.fee-box-featured .fee-note { color: #bbb; }

.fee-table { width: 100%; border-collapse: collapse; border: 2px solid var(--black); }
.fee-table th {
  background: var(--black); color: var(--white);
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px;
  font-size: 13px; padding: 12px 16px; text-align: left;
}
.fee-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.fee-table tr:last-child td { border-bottom: 0; }
.fee-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.fee-table th.num { text-align: right; }
.fee-total td { background: var(--green); color: var(--white); font-size: 17px; }
.table-sub { font-size: 13px; color: #666; font-weight: 400; }
.table-note { font-size: 13px; color: #666; margin-top: 10px; }
.table-note code { background: var(--grey); padding: 2px 6px; }

.saving-note {
  border: 2px solid var(--lime);
  border-left-width: 8px;
  padding: 14px 18px;
  margin-top: 16px;
  font-size: 15px;
  background: var(--white);
}

/* ---------- Calculator ---------- */

.calc-card {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 0;
  border: 2px solid var(--black); background: var(--white);
}
.calc-controls { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.calc-field span {
  display: block; font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; font-size: 13px; letter-spacing: 1px;
  margin-bottom: 6px;
}
.calc-field select {
  width: 100%; padding: 12px; font-size: 16px;
  border: 2px solid var(--black); background: var(--white);
  font-family: var(--font-body);
}
.calc-result {
  background: var(--black); color: var(--white);
  padding: 28px; display: flex; flex-direction: column; justify-content: center;
}
.calc-label { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: #aaa; }
.calc-total { font-family: var(--font-head); font-weight: 800; font-size: 46px; color: var(--lime); margin: 6px 0; }
.calc-breakdown { font-size: 14px; color: #bbb; margin-bottom: 16px; }

/* ---------- M-Pesa ---------- */

.mpesa-card { border: 2px solid var(--black); background: var(--white); }
.mpesa-head { background: var(--green); color: var(--white); padding: 14px 20px; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; }
.mpesa-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid var(--line);
}
.mpesa-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #666; width: 110px; flex-shrink: 0; }
.mpesa-value { font-family: var(--font-head); font-size: 22px; letter-spacing: 1px; }
.copy-btn {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1px;
  background: var(--grey); border: 2px solid var(--black);
  padding: 6px 12px; cursor: pointer;
}
.copy-btn:hover { background: var(--lime); }
.copy-btn.copied { background: var(--green); color: var(--white); border-color: var(--green); }
.mpesa-inline { margin-top: 24px; }
.pay-steps { list-style: none; counter-reset: step; margin-top: 8px; }
.pay-steps li {
  counter-increment: step;
  padding: 12px 0 12px 48px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.pay-steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 12px;
  width: 30px; height: 30px;
  background: var(--green); color: var(--white);
  font-family: var(--font-head); font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.pay-steps li:last-child { border-bottom: 0; }

/* ---------- Callout ---------- */

.callout {
  border: 2px solid var(--black);
  border-left: 8px solid var(--green);
  background: var(--white);
  padding: 18px 22px;
  margin-top: 24px;
}
.callout p { margin-bottom: 6px; }
.section-black .callout, .cta-band .callout { border-color: var(--lime); }

/* ---------- Forms ---------- */

.register-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }

.reg-form fieldset { border: 2px solid var(--black); padding: 26px; margin-bottom: 26px; }
.reg-form legend {
  font-family: var(--font-head); font-weight: 800; font-size: 18px;
  text-transform: uppercase; letter-spacing: 1px;
  background: var(--green); color: var(--white);
  padding: 6px 16px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field span {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 6px; color: var(--black);
}
.field em { color: var(--green); font-style: normal; }
.field-full { grid-column: 1 / -1; margin-top: 18px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px;
  border: 2px solid var(--black); background: var(--white);
  font-family: var(--font-body); font-size: 16px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--lime); outline-offset: 0;
}

.form-errors {
  border: 2px solid var(--black);
  border-left: 8px solid #c0392b;
  background: #fdf0ee;
  padding: 16px 20px;
  margin-bottom: 26px;
}
.form-errors ul { margin: 8px 0 0 20px; }

.consent { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 26px; font-size: 14px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex-shrink: 0; }
.consent em { color: var(--green); font-style: normal; }
.form-alt { margin-top: 16px; font-size: 14px; color: #555; }

.fee-preview {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  background: var(--grey); border: 2px solid var(--black);
  padding: 14px 20px; margin-bottom: 26px;
}
.fee-preview strong { font-family: var(--font-head); font-size: 28px; color: var(--green); }
.fee-preview small { width: 100%; color: #666; }

.reg-aside { display: flex; flex-direction: column; gap: 24px; }
.aside-card { border: 2px solid var(--black); padding: 26px; background: var(--white); }
.aside-card h3 { font-size: 20px; margin-bottom: 14px; }
.aside-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.aside-dark h3 { color: var(--lime); }
.aside-dark p { color: #ccc; margin-bottom: 14px; }

.steps-list { list-style: none; counter-reset: step; }
.steps-list li {
  counter-increment: step;
  padding: 9px 0 9px 42px;
  position: relative;
  font-size: 15px;
}
.steps-list li::before {
  content: counter(step);
  position: absolute; left: 0; top: 10px;
  width: 26px; height: 26px;
  background: var(--lime); color: var(--black);
  font-family: var(--font-head); font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.matb-card .steps-list li { color: #ddd; }

/* ---------- Confirmation ---------- */

.confirm-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.confirm-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--lime); color: var(--black);
  font-family: var(--font-head); font-weight: 800; font-size: 18px;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 14px 22px; margin-bottom: 30px;
}
.confirm-facts { margin-bottom: 32px; }

/* ---------- Facts panel ---------- */

.facts-panel { border: 2px solid var(--black); padding: 28px; }
.facts-title { font-size: 20px; margin-bottom: 14px; }
.facts-list div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.facts-list div:last-child { border-bottom: 0; }
.facts-list dt { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 1px; color: #555; flex-shrink: 0; }
.facts-list dd { font-weight: 500; text-align: right; }

/* ---------- Values ---------- */

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { background: var(--white); border: 2px solid var(--black); padding: 26px; border-top: 6px solid var(--green); }
.value-icon { color: var(--green); margin-bottom: 14px; }
.value-card h3 { font-size: 20px; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: #555; }
.mini-list { list-style: none; font-size: 14px; color: #444; }
.mini-list li { padding: 6px 0 6px 18px; position: relative; }
.mini-list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 8px; background: var(--lime); }

/* ---------- Age cards / expect ---------- */

.age-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.age-card { border: 2px solid var(--black); padding: 26px; background: var(--white); }
.age-card h3 { font-size: 24px; color: var(--green); margin-bottom: 10px; }
.age-card p { font-size: 14px; color: #555; }

.expect-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.expect-item { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid #333; color: var(--lime); }
.expect-item p { color: #ddd; font-size: 15px; }

/* ---------- Terms & timetable ---------- */

.term-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.term-box { border: 2px solid var(--black); padding: 24px; background: var(--white); }
.term-box h3 { font-size: 21px; margin: 8px 0 6px; }
.term-box p { color: #555; }
.term-box-active { background: var(--green); border-color: var(--green); color: var(--white); }
.term-box-active h3, .term-box-active p { color: var(--white); }

.toggle-wrap { display: inline-flex; border: 2px solid var(--black); margin-bottom: 24px; background: var(--white); }
.toggle-btn {
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 12px 26px; border: 0; background: var(--white); cursor: pointer;
}
.toggle-btn + .toggle-btn { border-left: 2px solid var(--black); }
.toggle-active { background: var(--black); color: var(--lime); }

.timetable { border: 2px solid var(--black); background: var(--white); }
.tt-row {
  display: grid; grid-template-columns: 1.2fr 1.2fr 1fr 1fr; gap: 12px;
  padding: 18px 22px; align-items: center;
}
.tt-head { background: var(--black); color: var(--white); font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; padding: 12px 22px; }
.tt-note { font-size: 14px; color: #555; margin-top: 16px; }

/* ---------- Gallery ---------- */

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-tile { aspect-ratio: 4 / 3; display: flex; flex-direction: column; border: 2px solid var(--black); }
.tile-art { flex: 1; display: flex; align-items: center; justify-content: center; }
.gallery-tile figcaption {
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 12px 16px; border-top: 2px solid var(--black);
}
.tile-green { background: var(--green); color: var(--white); }
.tile-green figcaption { background: var(--white); color: var(--black); }
.tile-black { background: var(--black); color: var(--lime); }
.tile-black figcaption { background: var(--black); color: var(--white); border-top-color: var(--lime); }
.tile-lime { background: var(--lime); color: var(--black); }
.tile-lime figcaption { background: var(--white); color: var(--black); }
.tile-white { background: var(--white); color: var(--green); }
.tile-white figcaption { background: var(--grey); color: var(--black); }
.gallery-tile:hover .tile-art { transform: scale(1.06); }
.tile-art { transition: transform .2s ease; }

/* ---------- News ---------- */

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { border: 2px solid var(--black); padding: 24px; background: var(--white); }
.news-card:hover { border-color: var(--green); }
.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.news-meta time { font-size: 13px; color: #777; }
.news-card h3 { font-size: 19px; margin-bottom: 10px; line-height: 1.2; }
.news-card p { font-size: 14px; color: #555; margin-bottom: 14px; }

.news-list { max-width: 760px; }
.news-item { border: 2px solid var(--black); border-left: 8px solid var(--green); padding: 28px; margin-bottom: 24px; background: var(--white); }
.news-item-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.news-item-meta time { font-size: 13px; color: #777; }
.news-item h2 { font-size: 24px; margin-bottom: 10px; }
.news-item p { color: #444; }

.empty-state { text-align: center; padding: 60px 20px; border: 2px dashed var(--line); }
.empty-state h2 { color: #888; margin-bottom: 8px; }

/* ---------- Contact ---------- */

.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 8px; }
.contact-card {
  border: 2px solid var(--black); padding: 22px; display: flex; flex-direction: column; gap: 4px;
  color: var(--black);
}
.contact-card strong { font-family: var(--font-head); font-size: 26px; }
.contact-card:hover { background: var(--grey); color: var(--black); }
.contact-card-green { border-color: var(--green); background: var(--green); color: var(--white); }
.contact-card-green:hover { background: var(--green-dark); color: var(--white); }
.contact-card-green .text-link { color: var(--lime); border-bottom-color: var(--lime); }
.contact-label { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; opacity: .8; }

/* ---------- Prose (privacy etc.) ---------- */

.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin: 32px 0 10px; }
.prose p { margin-bottom: 14px; color: #333; }
.prose ul { margin: 0 0 16px 24px; color: #333; }
.prose li { margin-bottom: 6px; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--black); color: var(--white); padding: 72px 0; border-top: 6px solid var(--lime); }
.cta-inner { text-align: center; }
.cta-inner h2 { color: var(--white); font-size: clamp(30px, 4.5vw, 48px); margin-bottom: 14px; }
.cta-inner > p { color: #ccc; font-size: 18px; max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-closing {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--lime); margin-top: 34px; font-size: 15px;
}

/* ---------- Footer ---------- */

.site-footer { background: var(--black); color: #ccc; border-top: 6px solid var(--green); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px; padding: 56px 0 40px;
}
.brand-logo-card {
  background: var(--white);
  padding: 10px 16px;
  display: inline-flex;
  margin-bottom: 16px;
}
.brand-logo-footer { max-height: 64px; max-width: 260px; }
.footer-brand p { font-size: 14px; margin-bottom: 8px; }
.footer-est { color: var(--lime); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.footer-heading {
  color: var(--lime); font-size: 15px; letter-spacing: 2px;
  margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid #333;
}
.footer-col a { display: block; color: #ccc; font-size: 15px; padding: 5px 0; }
.footer-col a:hover { color: var(--lime); }
.footer-pay { font-size: 14px; margin-top: 12px; border-top: 1px solid #333; padding-top: 12px; }
.footer-pay strong { color: var(--lime); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid #333; padding: 20px 0; font-size: 13px; color: #888;
}
.footer-tagline { color: #888; }

/* ---------- Floating contact ---------- */

.float-contact {
  position: fixed; right: 18px; bottom: 18px;
  display: flex; flex-direction: column; gap: 12px; z-index: 90;
}
.float-btn {
  width: 56px; height: 56px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--black);
  position: relative;
}
.float-wa { background: #25D366; }
.float-wa:hover { background: #1eb85a; }
.float-call { background: var(--black); border-color: var(--lime); }
.float-call:hover { background: #222; }
.float-label {
  position: absolute; right: 66px; top: 50%; transform: translateY(-50%);
  background: var(--black); color: var(--white);
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 4px 10px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .15s ease;
}
.float-btn:hover .float-label, .float-btn:focus .float-label { opacity: 1; }

/* ---------- Admin ---------- */

.login-wrap { max-width: 420px; }
.login-card { border: 2px solid var(--black); padding: 28px; }
.admin-bar { display: flex; gap: 12px; margin-bottom: 24px; }
.table-scroll { overflow-x: auto; }
.admin-table { min-width: 900px; font-size: 14px; }
.admin-table td { padding: 10px 12px; }
.admin-table code { background: var(--grey); padding: 2px 6px; font-size: 12px; }

/* ---------- 404 ---------- */

.error-section { padding: 110px 0; }
.center-block { text-align: center; }
.error-code {
  font-family: var(--font-head); font-weight: 800; font-size: 110px;
  color: var(--lime); line-height: 1; display: block;
  -webkit-text-stroke: 2px var(--black);
}
.error-section h1 { font-size: 34px; margin: 10px 0; }
.error-section p { color: #555; margin-bottom: 28px; }

/* ---------- Photos ---------- */

.photo-card {
  border: 2px solid var(--black);
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 2px solid var(--black);
}
.photo-card figcaption {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 11px 14px;
  color: var(--black);
}

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.community-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* photo strip — full-bleed 4-wide band between sections */
.photo-strip { background: var(--black); }
.strip-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.strip-photo {
  display: block;
  position: relative;
}
.strip-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .15s ease; }
.strip-photo:hover img { opacity: 0.82; }

/* photos inside cards & columns */
.story-photo { margin-top: 24px; border: 2px solid var(--black); }
.story-photo img { display: block; width: 100%; }
.story-photo figcaption {
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 10px 14px; border-top: 2px solid var(--black);
}
.matb-photo { margin: -32px -32px 20px; border-bottom: 3px solid var(--lime); }
.matb-photo img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.aside-photo { border: 2px solid var(--black); background: var(--white); }
.aside-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.aside-photo figcaption {
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 10px 14px; border-top: 2px solid var(--black);
}
.aside-dark .aside-photo { margin: -26px -26px 18px; border-color: var(--lime); border-width: 0 0 3px; }

/* gallery filter */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 28px; border: 2px solid var(--black); width: max-content; max-width: 100%; }
.filter-btn {
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 11px 20px; border: 0; border-right: 2px solid var(--black);
  background: var(--white); cursor: pointer; color: var(--ink);
}
.filter-btn:last-child { border-right: 0; }
.filter-btn:hover { background: var(--grey); }
.filter-active, .filter-btn.filter-active:hover { background: var(--black); color: var(--lime); }
.photo-card.photo-hidden { display: none; }

/* news images */
.news-thumb {
  display: block; width: calc(100% + 48px); max-width: none;
  margin: -24px -24px 16px; border-bottom: 2px solid var(--black);
  aspect-ratio: 16 / 9; object-fit: cover;
}
.news-item-img {
  display: block; width: calc(100% + 56px); max-width: none;
  margin: -28px -28px 20px; border-bottom: 2px solid var(--black);
  aspect-ratio: 21 / 9; object-fit: cover;
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .focus-strip { grid-template-columns: repeat(3, 1fr); }
  .focus-item:nth-child(3) { border-right: 0; }
  .focus-item:nth-child(-n+3) { border-bottom: 2px solid var(--line); }
  .venue-grid, .venue-cards, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-content { padding-bottom: 36px; }
  .hero-panel { margin-bottom: -1px; }
}

@media (max-width: 860px) {
  .header-inner {
    position: relative;
    justify-content: flex-start;
    padding-left: 12px;
    padding-right: 12px;
  }
  .brand-logo { max-height: 88px; max-width: calc(100vw - 84px); }
  .nav-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
  }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column; align-items: stretch;
    border-bottom: 3px solid var(--black);
    padding: 10px 20px 20px;
    gap: 0;
  }
  .site-nav.open { display: flex; }
  .nav-link { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-link.active { border-bottom-color: var(--lime); }
  .btn-nav { margin: 14px 0 0; text-align: center; }

  .two-col, .register-layout, .confirm-layout, .calc-card { grid-template-columns: 1fr; }
  .schedule-grid, .fees-snapshot, .term-grid, .age-grid, .news-grid, .gallery-grid { grid-template-columns: 1fr; }
  .photo-grid, .community-row { grid-template-columns: repeat(2, 1fr); }
  .strip-row { grid-template-columns: repeat(2, 1fr); gap: 3px; }
  .expect-grid { grid-template-columns: 1fr; }
  .tt-row { grid-template-columns: 1fr; gap: 4px; padding: 16px 18px; }
  .tt-head { display: none; }
  .timetable .tt-row span { display: block; }
  .tt-row span:nth-child(2), .tt-row span:nth-child(3) { font-weight: 700; font-size: 18px; }
  .hero { padding-top: 44px; }
  .section { padding: 52px 0; }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .topbar-inner { font-size: 12px; }
  .topbar-inner .topbar-item:first-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }
  .topbar-phone { flex-shrink: 0; }
  .focus-strip { grid-template-columns: 1fr; }
  .focus-item { border-right: 0; border-bottom: 2px solid var(--line); }
  .focus-item:last-child { border-bottom: 0; }
  .venue-grid, .venue-cards, .values-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .photo-grid { gap: 12px; }
  .filter-bar { width: 100%; }
  .filter-btn { flex: 1; padding: 10px 8px; font-size: 12px; }
  .hero-stats li { flex-direction: column; gap: 0; }
  .hero-stats span { text-align: left; }
  .mpesa-row { flex-wrap: wrap; }
  .copy-btn { margin-left: 0; }
  .float-label { display: none; }
  .hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-cta .btn {
    padding: 14px 10px;
    font-size: 13px;
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.25;
  }
}

@media print {
  .topbar, .site-header, .site-footer, .float-contact, .cta-band, .ticker { display: none; }
}
