/* Vanguard Humanity Events: tokens and base. One face (General Sans), brand inks, flat fills. */
:root {
  --green: #1B7339;
  --green-2: #145A2C;
  --green-3: #0E4220;
  --red: #E1000F;
  --red-ink: #B0000C;
  --navy: #000091;
  --navy-2: #00006A;
  --ink: #15151C;
  --muted: #55555F;
  --paper: #F3F3F0;
  --paper-2: #E4E4DE;
  --white: #FFFFFF;

  --face: "General Sans", "IBM Plex Sans Arabic", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(4.25rem, 11vw, 11rem);

  --margin: clamp(16px, 3vw, 40px);
  --gap-section: clamp(96px, 12vw, 200px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--step-body)/1.5 var(--face);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 0.95; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
::selection { background: var(--green); color: var(--white); }

.wrap { padding-inline: var(--margin); max-width: 1520px; 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; }

/* One button shape for the whole site: square body, tab-cut top corners (from the banknote tabs). */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 56px; padding: 0 28px; border: 0; cursor: pointer; text-decoration: none;
  font: 600 var(--step-body)/1 var(--face); letter-spacing: -0.005em;
  background: var(--green); color: var(--white);
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%, 0 10px);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--green-2); }
.btn:active { transform: translateY(1px); }
.btn.ink { background: var(--ink); color: var(--paper); }
.btn.ink:hover { background: #000; }
.btn.paper { background: var(--paper); color: var(--ink); }
.btn.paper:hover { background: var(--white); }
.btn[disabled] { opacity: .6; cursor: progress; }

.link { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: color .2s var(--ease); }
.link:hover { color: var(--green); }

/* Entrances: content is visible without script; with script, parts rise in as they enter. */
.js [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-rise].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-rise] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
