:root {
  --ink: #101828;
  --muted: #667085;
  --line: #dbe4ee;
  --blue: #0f6b99;
  --blue-dark: #084a6a;
  --teal: #00a6ad;
  --red: #dc2626;
  --green: #15803d;
  --soft: #f4f8fb;
  --white: #ffffff;
  --shadow: 0 14px 36px rgba(15, 23, 42, .10);
  --radius: 22px;
  --max: 1120px;
  --safe-bottom: max(12px, env(safe-area-inset-bottom));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #f7f9fc;
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  padding-bottom: calc(72px + var(--safe-bottom));
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.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; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 1000; width: auto; height: auto; clip: auto; margin: 0; padding: 12px 16px; border-radius: 12px; background: #fff; color: var(--ink); font-weight: 800; }

.site-top {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.14);
  background: rgba(10, 25, 41, .94);
  backdrop-filter: blur(14px);
}
.topbar { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 950; letter-spacing: .03em; }
.brand img { width: 42px; height: 42px; object-fit: cover; border-radius: 11px; background: #fff; }
.brand span { font-size: 1rem; }
.toplinks { display: none; align-items: center; gap: 6px; }
.toplinks a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; text-decoration: none; color: #e7f5ff; font-weight: 800; font-size: .92rem; }
.toplinks a:hover, .toplinks a:focus-visible { background: rgba(255,255,255,.10); }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 15%, rgba(0, 192, 199, .22), transparent 32%),
    linear-gradient(145deg, #081727 0%, #0d3a56 55%, #0f6b99 100%);
}
.hero::after { content: ""; position: absolute; inset: auto -20% -32% 20%; height: 55%; transform: rotate(-6deg); background: rgba(255,255,255,.05); }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 20px; padding: 24px 0 28px; }
.eyebrow { margin: 0; color: #9fe8ed; font-size: .76rem; font-weight: 950; letter-spacing: .15em; text-transform: uppercase; }
.hero h1 { margin: 7px 0 0; max-width: 760px; font-family: "Arial Black", "Segoe UI", Arial, sans-serif; font-size: clamp(2.9rem, 13vw, 5.8rem); line-height: .94; letter-spacing: -.045em; text-transform: uppercase; font-style: normal; }
.hero h1 > span { display: block; color: #a8f1f4; white-space: nowrap; }
.hero h1 > span > span { display: inline; color: inherit; }

.rank-badge {
  display: inline-flex;
  align-items: center;
  margin: 14px 0 0;
  border: 1px solid rgba(168,241,244,.45);
  border-radius: 999px;
  background: rgba(168,241,244,.10);
  padding: 8px 12px;
  color: #d9fbfd;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .035em;
}
.rank-stat span { line-height: 1.25; letter-spacing: .055em; }

.hero-lede { margin: 14px 0 0; max-width: 680px; color: rgba(255,255,255,.88); font-size: 1rem; font-weight: 650; line-height: 1.6; }
.hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 999px; padding: 10px 17px; text-align: center; text-decoration: none; font-weight: 900; line-height: 1.1; }
.btn-primary { background: #fff; color: #0a2132; }
.btn-secondary { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-whatsapp { background: #148a46; color: #fff; }
.btn-instagram { background: #fff; color: #111827; }
.hero-media { align-self: end; }
.hero-art { position: relative; width: min(100%, 510px); margin-inline: auto; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 26px; background: #fff; box-shadow: 0 30px 70px rgba(0,0,0,.25); }
.hero-art img { width: 100%; aspect-ratio: 868 / 1001; object-fit: cover; }
.hero-badge { position: absolute; left: 12px; bottom: 12px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; background: rgba(7,23,37,.90); padding: 8px 12px; color: #fff; font-size: .78rem; font-weight: 950; text-transform: uppercase; letter-spacing: .06em; }

.pb-strip { position: relative; z-index: 3; margin-top: -1px; background: #fff; border-bottom: 1px solid var(--line); }
.pb-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { min-width: 0; padding: 15px 8px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-last-child(-n+2) { border-bottom: 0; }
.stat strong { display: block; color: var(--ink); font-family: "Arial Black", "Segoe UI", Arial, sans-serif; font-size: clamp(1.8rem, 7vw, 2.75rem); font-style: normal; line-height: 1; letter-spacing: -.035em; }
.stat span { display: block; margin-top: 4px; color: var(--muted); font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .10em; }
.stat.primary strong { color: var(--blue); }

main { padding: 20px 0 36px; }
.section { margin-top: 18px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.card-pad { padding: 18px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.kicker { margin: 0 0 4px; color: var(--blue); font-size: .75rem; font-weight: 950; text-transform: uppercase; letter-spacing: .14em; }
h2 { margin: 0; font-family: "Arial Black", "Segoe UI", Arial, sans-serif; font-size: clamp(1.9rem, 8vw, 3.25rem); line-height: 1; text-transform: uppercase; font-style: normal; letter-spacing: -.04em; }
h3 { margin: 0; font-size: 1.08rem; }
.section-copy { margin: 10px 0 0; color: var(--muted); font-weight: 600; }
.text-link { flex: none; color: var(--blue); font-size: .9rem; font-weight: 900; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.latest-card { overflow: hidden; background: linear-gradient(135deg, #fff 0%, #eefaff 100%); }
.latest-layout { display: grid; gap: 16px; }
.latest-big { font-family: "Arial Black", "Segoe UI", Arial, sans-serif; font-size: clamp(4rem, 18vw, 7.2rem); font-style: normal; letter-spacing: -.055em; color: var(--blue); line-height: .82; }
.latest-big small { display: block; margin-top: 9px; font-family: "Segoe UI", Arial, sans-serif; font-size: .72rem; font-style: normal; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.latest-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.metric { border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.85); padding: 12px; }
.metric b { display: block; font-size: 1.45rem; line-height: 1; }
.metric span { display: block; margin-top: 5px; color: var(--muted); font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.live-note { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; color: var(--muted); font-size: .82rem; font-weight: 750; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(21,128,61,.12); }
.live-dot.offline { background: #c0841a; box-shadow: 0 0 0 4px rgba(192,132,26,.12); }

.run-list { display: grid; gap: 10px; }
.run { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 17px; padding: 14px; background: #fff; }
.run strong { display: block; font-family: "Arial Black", "Segoe UI", Arial, sans-serif; font-size: 2rem; line-height: 1; font-style: normal; color: var(--blue); }
.run .meta { margin-top: 4px; color: var(--muted); font-size: .82rem; font-weight: 650; }
.run .mph { text-align: right; font-weight: 900; font-size: 1.02rem; }
.run .mph small { display: block; color: var(--muted); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }

.quick-grid { display: grid; gap: 12px; }
.quick { padding: 17px; }
.quick .icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: #e9f7fb; color: var(--blue); font-size: 1.2rem; font-weight: 950; }
.quick h3 { margin-top: 11px; font-size: 1.12rem; }
.quick p { margin: 6px 0 0; color: var(--muted); font-size: .92rem; font-weight: 600; }
.quick a { display: inline-flex; margin-top: 12px; color: var(--blue); font-weight: 900; text-decoration: none; }

.story-grid { display: grid; gap: 14px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 14px; }
.spec { border: 1px solid var(--line); border-radius: 15px; padding: 12px; background: var(--soft); }
.spec b { display: block; font-size: 1rem; }
.spec span { display: block; margin-top: 3px; color: var(--muted); font-size: .76rem; font-weight: 750; }
.goal-box { border-radius: 18px; padding: 16px; background: #0d2638; color: #fff; }
.goal-box .goal { font-family: "Arial Black", "Segoe UI", Arial, sans-serif; font-size: 3.25rem; line-height: .9; font-style: normal; color: #a8f1f4; }
.goal-box p { margin: 8px 0 0; color: rgba(255,255,255,.80); font-weight: 650; }

.social-card { overflow: hidden; background: linear-gradient(145deg, #111827 0%, #3b1d41 58%, #0f6b99 100%); color: #fff; }
.social-card .section-copy { color: rgba(255,255,255,.78); }
.social-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 15px; }

.team-section { overflow: hidden; }
.team-grid { display: grid; gap: 10px; margin-top: 16px; }
.team-card { min-width: 0; display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 13px; align-items: start; border: 1px solid var(--line); border-radius: 18px; padding: 12px; background: var(--soft); }
.team-photo { width: 78px; height: 78px; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo img.contain { object-fit: contain; padding: 6px; }
.team-photo span { font-weight: 950; color: var(--blue); }
.team-name { font-size: 1.06rem; font-weight: 950; line-height: 1.15; }
.team-role { margin-top: 3px; color: var(--blue); font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.team-detail { margin-top: 5px; color: var(--muted); font-size: .82rem; font-weight: 650; line-height: 1.4; }
.team-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.team-links a { display: inline-flex; min-height: 36px; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 6px 10px; color: var(--blue); font-size: .74rem; font-weight: 900; text-decoration: none; }
.team-empty { grid-column: 1 / -1; border: 1px dashed var(--line); border-radius: 16px; padding: 14px; color: var(--muted); font-size: .88rem; font-weight: 700; text-align: center; background: var(--soft); }

.current-sponsors { overflow: hidden; background: #fff; }
.current-sponsor-grid { display: grid; gap: 10px; margin-top: 16px; }
.current-sponsor { min-width: 0; display: grid; grid-template-columns: 74px minmax(0,1fr); gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 18px; padding: 12px; background: var(--soft); text-decoration: none; color: var(--ink); }
.current-sponsor:hover { border-color: #9ecfdf; background: #fff; }
.current-sponsor-logo { width: 74px; height: 64px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.current-sponsor-logo img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 6px; }
.current-sponsor-logo span { font-size: .9rem; font-weight: 950; color: var(--blue); text-align: center; }
.current-sponsor-name { font-size: 1.08rem; font-weight: 950; line-height: 1.15; }
.current-sponsor-detail { margin-top: 4px; color: var(--muted); font-size: .82rem; font-weight: 650; line-height: 1.4; }
.current-sponsor-link { margin-top: 6px; color: var(--blue); font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.sponsor-card { overflow: hidden; border-color: #b9dce8; background: linear-gradient(135deg, #e9f8fc 0%, #ffffff 68%); }
.sponsor-points { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.sponsor-points li { display: flex; gap: 9px; align-items: flex-start; color: #344054; font-weight: 700; }
.sponsor-points li::before { content: "✓"; flex: 0 0 auto; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #d9f5e5; color: #166534; font-size: .8rem; font-weight: 950; }
.sponsor-actions { display: grid; gap: 9px; margin-top: 16px; }

.footer { border-top: 1px solid var(--line); background: #fff; padding: 26px 0 96px; }
.footer-grid { display: grid; gap: 18px; }
.footer-brand { font-weight: 950; }
.footer p { margin: 6px 0 0; color: var(--muted); font-size: .88rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.footer-links a { color: var(--blue); font-size: .88rem; font-weight: 850; text-decoration: none; }

.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; border-top: 1px solid var(--line); background: rgba(255,255,255,.97); backdrop-filter: blur(12px); padding: 7px 10px var(--safe-bottom); box-shadow: 0 -8px 28px rgba(15,23,42,.12); }
.mobile-bar-inner { max-width: 620px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.mobile-bar a { min-height: 50px; display: grid; place-items: center; align-content: center; gap: 1px; border-radius: 12px; text-decoration: none; color: #344054; font-size: .67rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.mobile-bar a b { font-size: 1.05rem; line-height: 1; }
.mobile-bar a.primary { background: #e9f7fb; color: var(--blue-dark); }

@media (min-width: 700px) {
  body { padding-bottom: 0; }
  .toplinks { display: flex; }
  .hero-grid { grid-template-columns: minmax(0,1.15fr) minmax(310px,.85fr); align-items: center; padding: 44px 0 52px; }
  .hero-actions { display: flex; flex-wrap: wrap; }
  .hero-actions .btn { min-width: 170px; }
  .pb-grid { grid-template-columns: repeat(4,1fr); }
  .stat { border-bottom: 0; }
  .stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .stat:last-child { border-right: 0; }
  main { padding-top: 28px; }
  .card-pad { padding: 24px; }
  .latest-layout { grid-template-columns: .9fr 1.1fr; align-items: center; }
  .quick-grid { grid-template-columns: repeat(2,1fr); }
  .story-grid { grid-template-columns: 1.15fr .85fr; align-items: stretch; }
  .team-grid, .current-sponsor-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sponsor-actions, .social-actions { display: flex; flex-wrap: wrap; }
  .sponsor-actions .btn, .social-actions .btn { min-width: 190px; }
  .footer-grid { grid-template-columns: 1fr auto; align-items: center; }
  .mobile-bar { display: none; }
  .footer { padding-bottom: 32px; }
}
@media (min-width: 980px) {
  .wrap { width: min(var(--max), calc(100% - 56px)); }
  .hero-lede { font-size: 1.1rem; }
  .quick-grid { grid-template-columns: repeat(4,1fr); }
  .quick { min-height: 205px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Dedicated team page */
.page-hero {
  color: #fff;
  background: linear-gradient(145deg, #081727 0%, #0d3a56 62%, #0f6b99 100%);
}
.page-hero .wrap { padding-top: 34px; padding-bottom: 34px; }
.page-hero h1 { margin: 7px 0 8px; font-family: "Arial Black", "Segoe UI", Arial, sans-serif; font-size: clamp(2.4rem, 12vw, 4.7rem); line-height: .96; letter-spacing: -.04em; text-transform: uppercase; }
.page-hero p:last-child { max-width: 720px; margin: 0; color: #d7e7f2; font-weight: 650; }
.team-page-main { padding-top: 22px; padding-bottom: 28px; }
.team-page-main .team-grid { margin-top: 0; }
@media (min-width: 700px) {
  .page-hero .wrap { padding-top: 52px; padding-bottom: 52px; }
  .team-page-main { padding-top: 30px; padding-bottom: 40px; }
}
