/* ===================================================================
   ABK Advertising — design tokens + base styles
   Palette keyed to the brand logo: ABK signal-red + navy on white.
   =================================================================== */

:root {
  /* color */
  --bg:        #FFFFFF;
  --surface:   #F4F6FC;
  --surface-2: #EDF0FA;
  --text:      #14224A;
  --muted:     #5C6788;
  --primary:   #16277A;   /* ABK navy */
  --primary-d: #0E1A57;
  --secondary: #E8332E;   /* ABK signal-red */
  --secondary-d:#C81E1A;
  --accent:    #E8332E;
  --border:    #DDE3F1;
  --border-2:  #C9D2E8;
  --focus:     #E8332E;
  --ink-grad:  linear-gradient(135deg, #1B2E8C 0%, #16277A 45%, #0E1A57 100%);

  /* type */
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* spacing scale (8px base) */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  /* radii */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 30px; --r-pill: 999px;

  /* shadow */
  --sh-sm: 0 1px 2px rgba(20,34,74,.06), 0 1px 1px rgba(20,34,74,.04);
  --sh-md: 0 6px 20px rgba(20,34,74,.08), 0 2px 6px rgba(20,34,74,.05);
  --sh-lg: 0 24px 60px rgba(20,34,74,.16), 0 8px 20px rgba(20,34,74,.08);
  --sh-red: 0 10px 30px rgba(232,51,46,.30);

  --maxw: 1200px;
  --header-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.section { padding-block: clamp(56px, 9vw, 112px); }
.section--surface { background: var(--surface); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--secondary);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--secondary); border-radius: 2px; }

.section-title {
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.02em;
  color: var(--text); margin-top: 14px; text-wrap: balance;
}
.section-intro {
  margin-top: 16px; font-size: clamp(16px, 1.6vw, 18px); color: var(--muted);
  max-width: 60ch; line-height: 1.65;
}
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .section-intro { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 15px; line-height: 1;
  padding: 15px 24px; border-radius: var(--r-pill);
  min-height: 48px; white-space: nowrap;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s, background .18s, color .18s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--primary { background: var(--secondary); color: #fff; box-shadow: var(--sh-red); }
.btn--primary:hover { background: var(--secondary-d); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(232,51,46,.4); }
.btn--navy { background: var(--primary); color: #fff; }
.btn--navy:hover { background: var(--primary-d); transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--primary); border: 1.5px solid var(--border-2); }
.btn--outline:hover { border-color: var(--primary); background: var(--surface); transform: translateY(-2px); }
.btn--sm { padding: 11px 18px; font-size: 14px; min-height: 42px; }
.btn--wide { width: 100%; }

/* ---------- pills / chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; letter-spacing: .01em;
  padding: 8px 14px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--border); color: var(--text);
}
.chip svg { width: 15px; height: 15px; color: var(--secondary); }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

#root { isolation: isolate; }
