/* Equippers Bristol — design system ripped from equipperschurch.com (Webflow) */

@font-face {
  font-family: "Formula Condensed";
  src: url("../fonts/FormulaCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Neue Montreal";
  src: url("../fonts/NeueMontreal-Medium.otf") format("opentype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Neue Montreal";
  src: url("../fonts/NeueMontreal-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --black: #000105;
  --panel: #191a1e;
  --panel-2: #101115;
  --white: #fff;
  --grey: #d8d8d9;
  --grey-mid: #7f8082;
  --red: #e60613;
  --red-dark: #b8040f;
  --red-light: #ed5059;
  --border: rgba(255, 255, 255, 0.15);
  --radius-sm: 1rem;
  --radius-md: 1.5rem;
  --radius-lg: 2rem;
  --font-display: "Formula Condensed", Arial, sans-serif;
  --font-body: "Neue Montreal", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad-x: clamp(1.25rem, 4vw, 4rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.01em;
}

h1.display { font-size: clamp(3.5rem, 11vw, 10rem); }
h2.display { font-size: clamp(2.5rem, 6vw, 5rem); }
h3.display { font-size: clamp(1.8rem, 4vw, 3rem); }

.eyebrow {
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--grey); max-width: 52ch; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--pad-x);
  background: rgba(0, 1, 5, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); list-style: none; }
.nav__links a { font-size: 0.95rem; color: var(--grey); transition: color 0.2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--white); }
.nav__toggle { display: none; background: none; border: 0; color: var(--white); font-size: 1.6rem; cursor: pointer; line-height: 1; }

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s, background 0.2s, color 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); }
.btn--white { background: var(--white); color: var(--black); }

/* ---------- hero ---------- */
.hero {
  min-height: calc(100svh - 65px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(4rem, 10vh, 8rem) var(--pad-x) clamp(2.5rem, 6vh, 5rem);
  position: relative;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
  filter: brightness(0.42) saturate(0.9);
  transform: scale(1.03);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 1, 5, 0.95) 0%, rgba(0, 1, 5, 0.25) 55%, rgba(0, 1, 5, 0.55) 100%);
}
.hero h1 span.red { color: var(--red); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin-top: 2rem; align-items: center; }
.hero__meta p { color: var(--grey); font-size: 1.05rem; }
.hero__meta strong { color: var(--white); }

/* ---------- sections ---------- */
.section { padding: clamp(4rem, 10vw, 8rem) var(--pad-x); }
.section--panel { background: var(--panel-2); }
.section__head { margin-bottom: clamp(2rem, 5vw, 4rem); max-width: 900px; }
.section__head .lede { margin-top: 1.25rem; }

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 8vw, 6rem) var(--pad-x);
  border-top: 1px solid var(--border);
}
.feature:nth-child(even) .feature__media { order: 2; }
.feature__media img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.feature__body h2 { margin-bottom: 1.25rem; }
.feature__body p { color: var(--grey); margin-bottom: 1rem; max-width: 55ch; }
.feature__body .btn { margin-top: 1rem; }

/* ---------- info cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.25s, border-color 0.25s;
}
a.card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.4); }
.card h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.8rem; line-height: 1; }
.card p { color: var(--grey); font-size: 0.98rem; }
.card .card__arrow { margin-top: auto; padding-top: 1.25rem; color: var(--red); font-weight: 700; }

/* ---------- times / kids grids ---------- */
.times { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.time-pill {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem 2.25rem;
  background: var(--panel);
}
.time-pill .day { color: var(--grey-mid); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.1em; }
.time-pill .time { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; }

.kids-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.kid {
  border-left: 3px solid var(--red);
  padding: 0.5rem 0 0.5rem 1.25rem;
}
.kid h4 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.6rem; }
.kid p { color: var(--grey); font-size: 0.95rem; }

/* ---------- values / beliefs ---------- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.value { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 2rem 1.75rem; }
.value h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 2rem; color: var(--red); margin-bottom: 0.5rem; }
.value p { color: var(--grey); }

.beliefs { max-width: 880px; counter-reset: belief; }
.belief { display: grid; grid-template-columns: 5rem 1fr; gap: 1.5rem; padding: 1.75rem 0; border-top: 1px solid var(--border); }
.belief .num { font-family: var(--font-display); font-size: 2.4rem; color: var(--red); line-height: 1; }
.belief p { color: var(--grey); }

/* ---------- give ---------- */
.give-detail {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  margin-top: 1.5rem;
}
.give-detail h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.9rem; margin-bottom: 0.75rem; }
.give-detail p { color: var(--grey); margin-bottom: 0.75rem; }
.give-detail .bank {
  font-variant-numeric: tabular-nums;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
  color: var(--white);
}

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: clamp(3rem, 7vw, 5rem) var(--pad-x) 2rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer__brand img { height: 30px; margin-bottom: 1.25rem; }
.footer__brand p { color: var(--grey); font-size: 0.95rem; max-width: 32ch; }
.footer h5 { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; color: var(--grey-mid); margin-bottom: 1rem; }
.footer ul { list-style: none; display: grid; gap: 0.6rem; }
.footer ul a { color: var(--grey); font-size: 0.95rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--white); }
.footer__legal {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  color: var(--grey-mid);
  font-size: 0.85rem;
}

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature__media { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__toggle { display: block; }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--black);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem var(--pad-x) 2rem;
    gap: 1.25rem;
  }
  .nav__links.is-open { display: flex; }
  .footer__grid { grid-template-columns: 1fr; }
  .belief { grid-template-columns: 3rem 1fr; gap: 1rem; }
}
