/* ==========================================================
   BNI Shreshtha · Part 2 — shared Red / White theme
   Used by index.html and all four brochure formats
   ========================================================== */

:root {
  --red: #d01f2e;
  --red-deep: #a01220;
  --red-soft: #fde8ea;
  --ink: #141418;
  --ink-2: #2b2b33;
  --muted: #6b6b76;
  --paper: #ffffff;
  --paper-2: #f6f4f2;
  --paper-3: #ecebe8;
  --line: rgba(20, 20, 24, .1);
  --gold: #c69a3c;
  --gold-2: #e8c873;

  --f-display: 'Archivo', 'Arial Black', system-ui, sans-serif;
  --f-body: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-script: 'Kaushan Script', cursive;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(20, 20, 24, .06);
  --shadow-md: 0 14px 40px -12px rgba(20, 20, 24, .22);
  --shadow-lg: 0 40px 90px -30px rgba(20, 20, 24, .4);
  --shadow-red: 0 18px 40px -14px rgba(208, 31, 46, .55);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

[hidden] { display: none !important; }
.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- BNI | SHRESHTHA lockup ---------- */
.lockup { display: inline-flex; align-items: center; gap: .55em; line-height: 1; font-size: 16px; }
.lockup__bni { display: flex; flex-direction: column; align-items: flex-start; }
.lockup__bni b { font-family: var(--f-display); font-weight: 900; font-size: 2em; letter-spacing: -.04em; color: var(--red); }
.lockup__bni small { font-size: .5em; font-weight: 600; letter-spacing: .22em; color: var(--ink); margin-top: .25em; }
.lockup__bar { width: 1.5px; align-self: stretch; background: currentColor; opacity: .5; }
.lockup__txt { font-family: var(--f-display); font-weight: 800; font-size: 1.15em; letter-spacing: .04em; }
.lockup--light .lockup__bni small, .lockup--light .lockup__txt { color: #fff; }
.lockup--light .lockup__bar { background: #fff; }
.lockup--white .lockup__bni b { color: #fff; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--red);
  margin: 0 0 1rem;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.display {
  font-family: var(--f-display); font-weight: 900; line-height: .95; letter-spacing: -.03em; margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
}
.display em { font-style: normal; color: var(--red); }
.h2 { font-family: var(--f-display); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; font-size: clamp(1.8rem, 4vw, 3rem); margin: 0; }
.h2 em { font-style: normal; color: var(--red); }
.script { font-family: var(--f-script); font-weight: 400; color: var(--red); }

/* Brochure signature: red slanted banner + black tag (“GLOBAL | STATS”) */
.banner { display: inline-flex; align-items: stretch; font-family: var(--f-display); font-weight: 900; text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
.banner b { background: var(--red); color: #fff; padding: .45em .9em .45em .7em; clip-path: polygon(0 0, 100% 0, calc(100% - .7em) 100%, 0 100%); }
.banner span { background: var(--ink); color: #fff; padding: .45em .9em .45em 1.1em; margin-left: -.45em; font-weight: 800; font-size: .8em; align-self: center; clip-path: polygon(.6em 0, 100% 0, calc(100% - .6em) 100%, 0 100%); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .8em 1.5em; border-radius: 999px;
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: .95rem; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-red); }
.btn:hover svg { transform: translateX(3px); }
.btn--ink { --bg: var(--ink); }
.btn--ink:hover { box-shadow: var(--shadow-md); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--white { --bg: #fff; --fg: var(--red); }
.btn--sm { min-height: 40px; padding: .55em 1.1em; font-size: .85rem; }

.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Sponsor strip used on every format (mirrors the brochure footer band) */
.spstrip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-md); overflow: hidden; }
.spstrip > div { background: var(--paper); padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: .15rem; }
.spstrip small { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.spstrip b { font-family: var(--f-display); font-weight: 800; font-size: 1rem; }
.spstrip span { font-size: .82rem; color: var(--muted); }
@media (max-width: 640px) { .spstrip { grid-template-columns: 1fr; } }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 9999;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: .75em 1.2em; border-radius: 999px; font-size: .88rem; box-shadow: var(--shadow-md);
  transition: opacity .3s, transform .4s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
