/* =========================================================
   PEDISEF — Brand Refresh
   Palette derived directly from the PEDISEF mark:
     Blue #0062DA (the rising figure) -> --clay
     Orange #FF7F00 (the supporting hand) -> --gold
     Green #2FA84F (the world / the goal) -> --teal
     Navy #0A2145 (deepened blue, for dark sections) -> --midnight
   Signature motif: a soft twin-arc gradient — the same orange/green
   arcs that cradle the figure in the logo — reused as a background
   glow and as the section dividers throughout the site.
   ========================================================= */

:root {
  /* Core neutrals */
  --midnight: #0A2145; /* Deep navy, derived from logo blue */
  --midnight-2: #123B7A;
  --ink: #101A2E;
  --ink-soft: #4B5568;
  --paper: #F6F8FB;
  --panel: #FFFFFF;

  /* Brand trio — straight from the logo */
  --blue: #0062DA;
  --blue-deep: #00499E;
  --orange: #FF7F00;
  --orange-deep: #CC5F00;
  --green: #2FA84F;
  --green-deep: #1C7C39;

  /* Legacy token names kept so shared includes inherit the new brand automatically */
  --gold: var(--orange);
  --gold-soft: #FFB066;
  --gold-deep: var(--orange-deep);
  --teal: var(--green);
  --teal-soft: #BFEACB;
  --clay: var(--blue);
  --clay-deep: var(--blue-deep);

  --line: rgba(10, 33, 69, 0.10);
  --shadow-sm: 0 1px 2px rgba(10, 33, 69, 0.06), 0 1px 1px rgba(10, 33, 69, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 33, 69, 0.10), 0 2px 8px rgba(10, 33, 69, 0.06);
  --shadow-lg: 0 24px 60px rgba(10, 33, 69, 0.16), 0 8px 20px rgba(10, 33, 69, 0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --max: 1180px;
  --step: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: calc(17px + var(--step));
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.high-contrast {
  --paper: #ffffff;
  --panel: #ffffff;
  --ink: #000000;
  --ink-soft: #000000;
  --line: rgba(0,0,0,0.4);
}
body.high-contrast .dark-section,
body.high-contrast header.site,
body.high-contrast footer.site { background: #000000 !important; color: #ffffff !important; }
body.high-contrast .gold-text { color: #ffd166 !important; }
body.high-contrast a, body.high-contrast button { text-decoration: underline; }
body.high-contrast .step-edge, body.high-contrast .art-block { display: none !important; }

h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 620; margin: 0 0 0.4em 0; letter-spacing: -0.01em; color: var(--midnight); }
body.high-contrast h1, body.high-contrast h2, body.high-contrast h3 { color: #000; }
p { margin: 0 0 1em 0; }
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
ul, ol { padding-left: 1.2em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--orange); color: #fff;
  font-weight: 700; padding: 12px 20px; z-index: 999; text-decoration: none;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 16px; top: 16px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ================= Signature brand glow ================= */
.brand-glow { position: relative; isolation: isolate; overflow: hidden; }
.brand-glow::before {
  content: "";
  position: absolute; inset: -20% -10% auto -10%; height: 130%;
  background:
    radial-gradient(46% 62% at 14% 30%, rgba(255,127,0,0.16), transparent 70%),
    radial-gradient(46% 62% at 86% 22%, rgba(47,168,79,0.16), transparent 70%),
    radial-gradient(38% 50% at 50% 0%, rgba(0,98,218,0.10), transparent 72%);
  z-index: -1;
  pointer-events: none;
}

/* ================= Utility bar (a11y + language) ================= */
.util-bar { background: var(--midnight); color: #fff; font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.util-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 28px; flex-wrap: wrap; }
.util-left, .util-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.util-label { color: var(--orange); letter-spacing: 0.08em; text-transform: uppercase; font-size: 10.5px; font-weight: 700; }
.util-bar button { background: transparent; border: 1px solid rgba(255,255,255,0.32); color: #fff; border-radius: 20px; padding: 5px 13px; font-family: inherit; font-size: 12px; cursor: pointer; transition: border-color .18s ease, color .18s ease, background .18s ease; }
.util-bar button:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.util-bar button[aria-pressed="true"], .util-bar button.is-active { background: var(--orange); color: #fff; border-color: var(--orange); font-weight: 700; }
.lang-toggle { display: flex; border: 1px solid rgba(255,255,255,0.32); border-radius: 20px; overflow: hidden; }
.lang-toggle button { border: none; border-radius: 0; }
.util-note { opacity: 0.6; font-size: 11px; }
@media (max-width: 720px) { .util-note { display: none; } }

/* ================= Header / Nav ================= */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 248, 251, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.nav-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 11px; font-family: 'Fraunces', serif; font-weight: 700; font-size: 21px; text-decoration: none; color: var(--midnight); }
.logo-mark {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--midnight) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; flex: none;
  border-radius: 11px;
  box-shadow: var(--shadow-sm);
}
.logo-mark svg { position: absolute; inset: 0; }
nav.main ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; font-weight: 600; font-size: 14.5px; }
nav.main a { text-decoration: none; border-bottom: 2px solid transparent; padding-bottom: 3px; color: var(--ink); transition: border-color .18s ease, color .18s ease; }
nav.main a:hover, nav.main a[aria-current="page"] { border-color: var(--orange); color: var(--blue-deep); }
nav.main a[aria-current="page"] { font-weight: 700; }
.header-ctas { display: flex; align-items: center; gap: 12px; }
.btn-donate-nav {
  background: var(--orange); color: #fff; padding: 11px 24px; text-decoration: none;
  font-weight: 700; font-size: 14px; white-space: nowrap; letter-spacing: 0.01em;
  border-radius: 999px; box-shadow: 0 6px 16px rgba(255,127,0,0.32);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-donate-nav:hover { background: var(--orange-deep); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(255,127,0,0.38); }
.menu-toggle { display: none; background: none; border: 2px solid var(--midnight); border-radius: 8px; padding: 8px 12px; font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 700; cursor: pointer; color: var(--midnight); }
.mobile-nav { display: none; }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 2px; }
.mobile-nav a { display: block; padding: 13px 4px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); font-weight: 600; }
.mobile-nav a[aria-current="page"] { color: var(--orange-deep); font-weight: 700; }
@media (max-width: 940px) {
  nav.main { display: none; }
  .menu-toggle { display: inline-block; }
}

/* ================= Buttons ================= */
.btn {
  display: inline-block; padding: 14px 30px; text-decoration: none; font-weight: 700;
  font-size: 15px; border: 2px solid transparent; cursor: pointer; letter-spacing: 0.01em;
  font-family: inherit; border-radius: 999px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(0,98,218,0.28); }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,98,218,0.34); }
.btn-outline { border-color: var(--midnight); color: var(--midnight); background: transparent; }
.btn-outline:hover { background: var(--midnight); color: #fff; transform: translateY(-2px); }
.btn-gold { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(255,127,0,0.30); }
.btn-gold:hover { background: var(--orange-deep); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255,127,0,0.36); }
.btn-outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--midnight); transform: translateY(-2px); }
.btn-block { width: 100%; text-align: center; box-sizing: border-box; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ================= Eyebrow / section head ================= */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange-deep); padding-bottom: 6px; border-bottom: 2px solid var(--orange); margin-bottom: 20px; }
.eyebrow.on-dark { color: var(--gold-soft); border-color: var(--gold-soft); }
.section-head { max-width: 660px; margin-bottom: 44px; }
.section-head p { color: var(--ink-soft); font-size: 16.5px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 38px); }
section { padding: 88px 0; }

/* Signature stepped ramp divider */
.step-edge { height: 56px; width: 100%; display: block; }

/* ================= Page hero (inner pages) ================= */
.page-hero { padding: 60px 0 0; background: var(--panel); }
.page-hero .wrap { padding-bottom: 54px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; }
.page-hero .lede { font-size: 17.5px; color: var(--ink-soft); max-width: 50ch; }
.page-hero .art-block { aspect-ratio: 4/3; }
@media (max-width: 940px) { .page-hero .wrap { grid-template-columns: 1fr; } .page-hero .art-block { order: -1; } }

/* Illustrative art blocks — brand pattern used in place of photography */
.art-block {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--midnight) 0%, var(--midnight-2) 55%, var(--green) 150%);
  box-shadow: var(--shadow-md);
}
.art-block.tone-gold { background: linear-gradient(155deg, var(--orange-deep) 0%, var(--orange) 60%, #FFC98A 150%); }
.art-block.tone-teal { background: linear-gradient(155deg, var(--green) 0%, #16632D 60%, var(--teal-soft) 165%); }
.art-block.tone-clay { background: linear-gradient(155deg, var(--blue-deep) 0%, var(--blue) 60%, #7FB6FF 155%); }
.art-block svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.art-caption { position: absolute; left: 16px; bottom: 14px; color: #fff; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; background: rgba(10,33,69,0.45); backdrop-filter: blur(4px); padding: 8px 12px; border-radius: 8px; }

/* Abstract avatar (stand-in for consented portrait photography) */
.avatar { width: 72px; height: 72px; border-radius: 50%; flex: none; position: relative; overflow: hidden; box-shadow: var(--shadow-sm); }
.avatar svg { position: absolute; inset: 0; }

/* ================= Stat pathway ================= */
.stats-path { background: var(--midnight); color: #fff; position: relative; overflow: hidden; }
.stats-path::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50% 90% at 8% 0%, rgba(255,127,0,0.22), transparent 65%),
    radial-gradient(50% 90% at 96% 100%, rgba(47,168,79,0.22), transparent 65%);
  pointer-events: none;
}
.stats-path .wrap { padding: 10px 28px 54px; position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.stats-grid::before { content: ""; position: absolute; top: 17px; left: 0; right: 0; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,178,102,0.55) 0 10px, transparent 10px 18px); }
.stat { position: relative; padding-top: 40px; padding-right: 20px; }
.stat::before { content: ""; position: absolute; top: 9px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--orange); border: 3px solid var(--midnight); }
.stat .num { font-family: 'Fraunces', serif; font-size: 38px; font-weight: 700; color: var(--gold-soft); }
.stat .label { font-size: 13.5px; color: rgba(255,255,255,0.75); margin-top: 4px; max-width: 22ch; }
@media (max-width: 940px) { .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; } .stats-grid::before { display: none; } }

/* ================= Cards / grids ================= */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 940px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--panel); padding: 30px 26px 34px; display: flex; flex-direction: column; gap: 12px;
  border-radius: var(--radius-md); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease, border-color .28s ease;
}
.card .chip { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 4px; border-radius: 11px; }
.card .tag { font-family: 'IBM Plex Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--orange-deep); }
.card h3 { font-size: 19px; margin: 0; }
.card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.chip.c-teal { background: linear-gradient(135deg, var(--green), var(--green-deep)); }
.chip.c-gold { background: linear-gradient(135deg, var(--orange), var(--orange-deep)); }
.chip.c-clay { background: linear-gradient(135deg, var(--blue), var(--blue-deep)); }
.chip.c-midnight { background: linear-gradient(135deg, var(--midnight-2), var(--midnight)); }

/* ================= Impact / quote band ================= */
.quote-wrap { position: relative; }
.quote-band { background: linear-gradient(120deg, var(--blue) 0%, var(--midnight) 100%); color: #fff; padding: 68px 0; position: relative; overflow: hidden; }
.quote-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(46% 80% at 92% 0%, rgba(255,127,0,0.20), transparent 70%),
              radial-gradient(46% 80% at 6% 100%, rgba(47,168,79,0.20), transparent 70%);
  pointer-events: none;
}
.quote-band .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; position: relative; }
.quote-band blockquote { font-family: 'Fraunces', serif; font-style: italic; font-weight: 380; font-size: clamp(21px, 2.4vw, 27px); line-height: 1.45; margin: 0 0 16px 0; }
.quote-band cite { font-style: normal; font-size: 14px; opacity: 0.85; font-family: 'IBM Plex Mono', monospace; }
.quote-band p { font-size: 15.5px; opacity: 0.92; }
@media (max-width: 940px) { .quote-band .wrap { grid-template-columns: 1fr; } }

/* ================= Forms ================= */
.form-panel { background: var(--panel); border: 1px solid var(--line); padding: 36px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
fieldset { border: none; padding: 0; margin: 0 0 28px; }
legend { font-family: 'Fraunces', serif; font-size: 19px; font-weight: 600; color: var(--midnight); margin-bottom: 14px; padding: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--midnight); }
.field .hint { font-size: 12.5px; color: var(--ink-soft); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field select, .field textarea {
  font-family: inherit; font-size: 15px; padding: 12px 14px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 10px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.radio-row, .check-row { display: flex; gap: 22px; flex-wrap: wrap; }
.radio-opt, .check-opt { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.required-mark { color: var(--orange); }
.form-success { display: none; background: var(--teal-soft); border: 1.5px solid var(--green); color: var(--green-deep); padding: 16px 18px; font-size: 14.5px; font-weight: 600; margin-bottom: 20px; border-radius: 10px; }
.form-success.is-visible { display: block; }
.form-success.on-dark { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.35); color: #fff; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } .form-panel { padding: 26px 20px; } }

/* Donation tabs */
.donate-tabs { display: flex; border: 1.5px solid var(--line); margin-bottom: 22px; border-radius: 12px; overflow: hidden; }
.donate-tab { flex: 1; background: var(--paper); border: none; padding: 14px 10px; font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; color: var(--ink-soft); cursor: pointer; border-right: 1.5px solid var(--line); }
.donate-tab:last-child { border-right: none; }
.donate-tab.is-active { background: var(--midnight); color: #fff; }
.donate-panel { display: none; }
.donate-panel.is-active { display: block; }
.amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.amount-btn { padding: 14px 6px; border: 1.5px solid var(--line); background: var(--paper); font-family: 'IBM Plex Mono', monospace; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--ink); border-radius: 10px; }
.amount-btn.is-active { border-color: var(--orange); background: var(--orange); color: #fff; }
.provider-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.provider-chip { border: 1.5px solid var(--line); padding: 9px 16px; font-size: 13.5px; font-weight: 600; background: var(--paper); border-radius: 999px; }
@media (max-width: 500px) { .amount-grid { grid-template-columns: repeat(2, 1fr); } }

/* ================= Team / testimonials ================= */
.team-card { background: var(--panel); padding: 26px; display: flex; gap: 16px; align-items: flex-start; border-radius: var(--radius-md); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.team-card .name { font-family: 'Fraunces', serif; font-size: 17.5px; font-weight: 600; color: var(--midnight); }
.team-card .role { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--orange-deep); margin: 3px 0 8px; }
.team-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ================= Footer ================= */
footer.site { background: var(--midnight); color: #fff; padding: 64px 0 30px; position: relative; overflow: hidden; }
footer.site::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(40% 70% at 100% 0%, rgba(255,127,0,0.14), transparent 70%),
              radial-gradient(40% 70% at 0% 100%, rgba(47,168,79,0.14), transparent 70%);
  pointer-events: none;
}
footer.site .wrap { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.15); }
footer.site h3 { font-size: 13.5px; color: var(--gold-soft); font-family: 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 14.5px; color: rgba(255,255,255,0.85); }
footer.site a { text-decoration: none; }
footer.site a:hover { color: var(--gold-soft); }
.newsletter-form { display: flex; gap: 0; margin-top: 8px; border-radius: 10px; overflow: hidden; }
.newsletter-form input { flex: 1; padding: 11px 12px; border: 1.5px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.06); color: #fff; font-family: inherit; font-size: 14px; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form button { border: none; background: var(--orange); color: #fff; padding: 0 18px; font-weight: 700; cursor: pointer; font-size: 13px; }
.newsletter-form button:hover { background: var(--orange-deep); }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.55); flex-wrap: wrap; gap: 10px; }
@media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ====================== Subtle Animations ====================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-visual {
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.card, .team-card, .social-tile, .news-card, .org-link, .event-row, .resource-row, .testimonial-card {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease;
}
.card:hover, .team-card:hover, .social-tile:hover, .news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,98,218,0.25);
}
.stat .num {
  opacity: 0;
  transform: scale(0.8);
  transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.stat.visible .num {
  opacity: 1;
  transform: scale(1);
}
.btn { transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease, border-color .3s ease; }
.btn:hover { transform: translateY(-3px); }
.art-block::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.25),
    transparent
  );
  transform: skewX(-20deg);
  animation: shine 8s infinite;
  opacity: 0.6;
}
@keyframes shine {
  0% { transform: translateX(-150%) skewX(-20deg); }
  20% { transform: translateX(300%) skewX(-20deg); }
  100% { transform: translateX(300%) skewX(-20deg); }
}
.art-block{
    position:relative;
    overflow:hidden;
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
}
#heroVideo{
    display:block;
    width:100%;
    height:auto;
    max-width:100%;
    object-fit:contain;
    border-radius: 20px;
    opacity:1;
    transform:scale(1);
    filter:blur(0);
    transition:
        opacity 1.2s cubic-bezier(.22,1,.36,1),
        transform 2s cubic-bezier(.22,1,.36,1),
        filter 1.2s ease;
}
#heroVideo.changing{
    opacity:0;
    transform:scale(1.08);
    filter:blur(12px);
}

/* Hero mobile fix */
@media (max-width:940px){
    .hero .wrap{
        grid-template-columns:1fr !important;
        gap:35px !important;
        padding-bottom:40px !important;
    }
    .hero .art-block{
        width:100%;
        max-width:100%;
        margin:0 auto;
    }
    #heroVideo{
        width:100%;
        height:auto;
        max-height:75vh;
        object-fit:contain;
    }
}
@media (max-width:600px){
    .hero{
        padding-top:40px !important;
    }
    .hero .art-block{
        width:100%;
        max-height:520px;
    }
    #heroVideo{
        width:100%;
        height:auto;
        border-radius:18px;
    }
    .hero h1{
        font-size:34px !important;
    }
    .hero p{
        font-size:16px !important;
    }
}
@media (max-width:600px){
    .stats-path .wrap{
        padding:20px 20px 40px;
    }
    .stats-grid{
        grid-template-columns:1fr;
        gap:25px;
    }
    .stats-grid::before{
        display:none;
    }
    .stat{
        padding:20px;
        background:rgba(255,255,255,0.05);
        border-left:3px solid var(--orange);
    }
    .stat::before{
        display:none;
    }
    .stat .num{
        font-size:34px;
    }
    .stat .label{
        max-width:none;
        font-size:14px;
    }
}

.logo-box{
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
}

.logo-box img{
    width:85%;
    height:85%;
    object-fit:contain;
    display:block;
}