/* ==========================================================================
   Junior Jacks Hockey Club — site styles
   Plain CSS, no framework. Edit the variables below to re-theme the site.
   ========================================================================== */

:root {
  --green: #037762;        /* primary brand color */
  --green-dark: #02503f;
  --green-light: #e6f3f0;
  --red: #c8102e;          /* accent from the logo */
  --ink: #0e1a1c;          /* near-black for text and dark sections */
  --ink-2: #1a2b2e;
  --ice: #f4f8f9;          /* light "ice" background */
  --line: #dde6e8;
  --muted: #5b6b6e;
  --white: #fff;

  --font-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 26, 28, .10);
  --shadow-lg: 0 20px 50px rgba(14, 26, 28, .18);
  --max: 1180px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.1em; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--ice { background: var(--ice); }
.section--dark { background: var(--ink); color: #dfe8ea; }
.section--dark h2, .section--dark h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head);
  font-weight: 700; font-size: 1rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #7fd6c3; }

.section-head { max-width: 720px; margin-bottom: 2.75rem; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }
.lead { font-size: 1.2rem; color: var(--muted); }
.section--dark .lead { color: #b7c6c9; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 1000;
  background: var(--white); color: var(--ink); padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid #7fd6c3; outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  white-space: nowrap; cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-dark); color: var(--white); }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: #a30d25; color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--outline { border-color: var(--green); color: var(--green); }
.btn--outline:hover { background: var(--green); color: var(--white); }
.btn--sm { font-size: .95rem; padding: .5rem 1.05rem; }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14, 26, 28, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header .container { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--white); margin-right: auto; }
.brand img { width: 50px; height: 50px; object-fit: contain; }
.brand span { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1; }
.brand small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .2em; color: #7fd6c3; margin-top: .2rem; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.main-nav a {
  display: block; padding: .5rem .85rem; border-radius: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none; color: #d6e1e3;
}
.main-nav a:hover { color: var(--white); background: rgba(255,255,255,.07); }
.main-nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.header-actions { display: flex; gap: .5rem; }
.header-actions .btn { border-color: rgba(255,255,255,.25); color: var(--white); }
.header-actions .btn:hover { background: var(--white); color: var(--ink); }
.header-actions .btn--primary { border-color: var(--green); }

.nav-toggle {
  display: none; background: none; border: 0; color: var(--white); padding: .5rem; cursor: pointer;
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .main-nav, .header-actions { display: none; }
  .site-header.is-open .main-nav,
  .site-header.is-open .header-actions { display: block; }
  .site-header.is-open { height: auto; }
  .site-header .container { flex-wrap: wrap; }
  .site-header.is-open .container { height: auto; padding-bottom: 1.25rem; }
  .site-header.is-open .brand { height: var(--header-h); }
  .main-nav, .header-actions { flex-basis: 100%; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: .8rem .25rem; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; }
  .main-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--red); padding-left: .9rem; }
  .site-header.is-open .header-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .75rem; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--white);
  min-height: min(88vh, 820px); display: flex; align-items: center;
  padding: 6rem 0 7rem;
  background: var(--ink) url("../images/1.jpg") center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(14,26,28,.94) 0%, rgba(14,26,28,.78) 45%, rgba(3,119,98,.35) 100%);
}
.hero::after { /* angled ice edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; z-index: -1;
  background: var(--white); clip-path: polygon(0 100%, 100% 30%, 100% 100%);
}
.hero__inner { max-width: 760px; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: #7fd6c3; display: block; }
.hero__tag { font-size: clamp(1.1rem, 2vw, 1.3rem); color: #d3dfe1; max-width: 620px; margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- Stat strip ---------- */
.stats { margin-top: -3.5rem; position: relative; z-index: 2; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 1.75rem 1.5rem; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--green); }
.stat__label { font-size: .95rem; color: var(--muted); margin-top: .4rem; font-weight: 500; }
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split__media::after {
  content: ""; position: absolute; inset: auto -14px -14px auto; width: 45%; height: 45%;
  border: 3px solid var(--green); border-radius: var(--radius); z-index: -1;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

.checklist { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; font-weight: 500; }
.checklist li::before {
  content: ""; flex: 0 0 22px; height: 22px; margin-top: .2rem; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.75rem; box-shadow: 0 2px 0 rgba(0,0,0,.02);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-light); color: var(--green); margin-bottom: 1.25rem;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.55rem; margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; }
.section--dark .card { background: var(--ink-2); border-color: rgba(255,255,255,.08); }
.section--dark .card p { color: #b7c6c9; }
.section--dark .card__icon { background: rgba(127,214,195,.12); color: #7fd6c3; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Gallery carousel ---------- */
.gallery { position: relative; }
.gallery__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2rem) / 3);
  gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: .5rem; scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item {
  scroll-snap-align: start; border: 0; padding: 0; background: none; cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden; position: relative;
}
.gallery__item img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--white); color: var(--ink); box-shadow: var(--shadow); display: grid; place-items: center;
}
.gallery__btn:hover { background: var(--green); color: var(--white); }
.gallery__btn svg { width: 22px; height: 22px; }
.gallery__btn--prev { left: -18px; }
.gallery__btn--next { right: -18px; }
@media (max-width: 900px) { .gallery__track { grid-auto-columns: calc((100% - 1rem) / 2); } }
@media (max-width: 560px) { .gallery__track { grid-auto-columns: 85%; } .gallery__btn { display: none; } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(8, 14, 16, .9); }
.lightbox img { max-height: 86vh; width: auto; margin: auto; border-radius: 10px; }
.lightbox__close {
  position: fixed; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--white); color: var(--ink); font-size: 1.6rem; cursor: pointer; line-height: 1;
}

/* ---------- CTA banner (roster link) ---------- */
.banner {
  position: relative; isolation: isolate; overflow: hidden; border-radius: calc(var(--radius) + 6px);
  padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem); color: var(--white);
  background: var(--ink) center/cover no-repeat;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3,80,63,.95), rgba(14,26,28,.55)); }
.banner h2 { margin: 0 0 .25em; color: var(--white); }
.banner p { margin: 0; color: #d3dfe1; max-width: 520px; }

/* ---------- Staff ---------- */
.staff { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.person {
  text-align: center; background: var(--ink-2); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 2.25rem 1.5rem 2rem;
}
.person img {
  width: 132px; height: 132px; border-radius: 50%; object-fit: cover; margin: 0 auto 1.25rem;
  border: 4px solid var(--green); box-shadow: 0 0 0 6px rgba(3,119,98,.25); background: #24383b;
}
.person h3 { font-size: 1.7rem; margin-bottom: .15em; color: var(--white); }
.person p { margin: 0; color: #7fd6c3; font-weight: 600; font-size: .95rem; letter-spacing: .04em; }
@media (max-width: 860px) { .staff { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact__info { display: grid; gap: 1rem; margin-top: 1.5rem; }
.info-row { display: flex; gap: 1rem; align-items: center; text-decoration: none; color: var(--ink); font-weight: 600; }
.info-row span.icon {
  flex: 0 0 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-light); color: var(--green);
}
.info-row svg { width: 22px; height: 22px; }
.info-row:hover { color: var(--green); }

.form {
  background: var(--white); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1.1rem;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--ice);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--green); background: var(--white); box-shadow: 0 0 0 4px rgba(3,119,98,.15);
}
.field textarea { min-height: 150px; resize: vertical; }
.form .btn { justify-self: start; }
.form__note { font-size: .85rem; color: var(--muted); margin: 0; }
.form__status { margin: 0; font-weight: 600; }
.form__status.is-error { color: var(--red); }
.hp { position: absolute; left: -5000px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; color: var(--white);
  padding: clamp(4.5rem, 10vw, 7.5rem) 0 clamp(4rem, 8vw, 6rem);
  background: var(--ink) center/cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(14,26,28,.94), rgba(14,26,28,.7) 60%, rgba(3,119,98,.45)); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 48px; z-index: -1; background: var(--white); clip-path: polygon(0 100%, 100% 20%, 100% 100%); }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: .2em; }
.page-hero p { color: #d3dfe1; font-size: 1.15rem; max-width: 640px; margin: 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1.25rem; font-size: .9rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; color: #7fa3a8; }
.breadcrumbs a { color: #b7c6c9; text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs [aria-current] { color: #7fd6c3; }

/* ---------- Prose / quote ---------- */
.prose { max-width: 760px; }
.prose p { font-size: 1.12rem; }
.quote {
  position: relative; margin: 0; padding: clamp(2rem, 5vw, 3.25rem);
  background: var(--green); color: var(--white); border-radius: calc(var(--radius) + 6px);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.6; font-weight: 500;
}
.quote::before {
  content: "\201C"; position: absolute; top: -.15em; left: .25em;
  font-family: Georgia, serif; font-size: 8rem; line-height: 1; color: rgba(255,255,255,.18);
}
.quote p { position: relative; margin: 0 0 1rem; }
.quote footer { font-family: var(--font-head); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 1rem; color: #bfeee3; }

.photo-band { height: clamp(220px, 34vw, 420px); background: center 25% / cover no-repeat; }

/* ---------- Roster ---------- */
.roster-filter { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.5rem; }
.chip {
  font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
  padding: .55rem 1.15rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
}
.chip:hover { border-color: var(--green); color: var(--green); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--white); }

.roster-group + .roster-group { margin-top: 3.5rem; }
.roster-group h2 { font-size: 2rem; display: flex; align-items: center; gap: 1rem; }
.roster-group h2::after { content: ""; flex: 1; height: 2px; background: var(--line); }
.roster-group[hidden] { display: none; }

.players { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 1040px) { .players { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .players { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }

.player {
  position: relative; background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease;
}
.player:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.player img { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: #dfe8ea; }
.player__body { padding: 1rem 1.1rem 1.15rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.player__name { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: 1.35rem; line-height: 1.05; margin: 0; }
.player__pos { display: block; font-family: var(--font-body); text-transform: none; font-weight: 500; font-size: .85rem; color: var(--muted); margin-top: .25rem; }
.player__num {
  position: absolute; top: 12px; right: 12px; box-shadow: 0 6px 16px rgba(0,0,0,.25);
  font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; line-height: 1;
  color: var(--white); background: var(--green); border-radius: 10px; padding: .4rem .55rem; min-width: 3.1rem; text-align: center;
}
@media (max-width: 480px) { .player__name { font-size: 1.1rem; } .player__num { font-size: 1.25rem; min-width: 2.6rem; } }

/* ---------- Tournaments ---------- */
.events { display: grid; gap: 1.5rem; }
.event {
  display: grid; grid-template-columns: 120px 180px 1fr auto; align-items: center; gap: 2rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 2rem; transition: box-shadow .2s ease, transform .2s ease;
}
.event:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.event__date {
  text-align: center; background: var(--ink); color: var(--white); border-radius: 12px; padding: .9rem .5rem;
  font-family: var(--font-head); text-transform: uppercase; line-height: 1;
}
.event__date .m { display: block; font-size: 1.05rem; letter-spacing: .14em; color: #7fd6c3; font-weight: 700; }
.event__date .d { display: block; font-size: 2.1rem; font-weight: 800; margin-top: .3rem; }
.event__logo { width: 180px; height: 110px; object-fit: contain; }
.event h3 { font-size: 1.9rem; margin-bottom: .2em; }
.event__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; color: var(--muted); font-weight: 500; margin: 0; }
.event__meta span { display: inline-flex; align-items: center; gap: .4rem; }
.event__meta svg { width: 18px; height: 18px; color: var(--green); }
@media (max-width: 900px) {
  .event { grid-template-columns: 96px 1fr; gap: 1.25rem; padding: 1.5rem; }
  .event__logo { grid-row: 1; grid-column: 2; width: 140px; height: 80px; }
  .event__body { grid-column: 1 / -1; }
  .event .btn { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- Simple centered page (thank-you / 404) ---------- */
.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 6rem 0; }
.center-page .badge {
  width: 88px; height: 88px; margin: 0 auto 1.5rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-light); color: var(--green);
}
.center-page .badge svg { width: 44px; height: 44px; }
.center-page p { color: var(--muted); max-width: 560px; margin-inline: auto; }
.center-page .actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b7c6c9; padding: 4rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 74px; height: 74px; object-fit: contain; margin-bottom: 1rem; }
.footer-brand p { margin: 0 0 .4rem; max-width: 340px; }
.site-footer h2 { font-size: 1.15rem; letter-spacing: .14em; color: var(--white); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: #b7c6c9; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: var(--white); transition: background .2s ease;
}
.social a:hover { background: var(--green); }
.social svg { width: 20px; height: 20px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); margin-top: 3rem; padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem;
}
.footer-bottom strong { color: var(--white); font-weight: 600; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* small-screen tweaks */
.stat__num { white-space: nowrap; }
@media (max-width: 760px) { .stat__num { font-size: 2.3rem; } .stat { padding: 1.4rem 1rem; } }
@media (max-width: 860px) { .split__media::after { display: none; } }
