/* ============================================================
   FORRESTER RESEARCH — Main Stylesheet
   Mirrors forrester.com design language exactly
   ============================================================ */

/* ── Variables ── */
:root {
  --color-navy:        #002B5B;
  --color-blue:        #0052A5;
  --color-blue-light:  #0077CC;
  --color-orange:      #E85D26;
  --color-orange-dark: #CC4A1A;
  --color-dark:        #111827;
  --color-gray:        #4B5563;
  --color-gray-light:  #9CA3AF;
  --color-bg-light:    #F3F6F9;
  --color-border:      #DCE3ED;
  --color-white:       #FFFFFF;

  --font-serif:  'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --font-sans:   'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;

  --nav-h: 72px;
  --topbar-h: 36px;

  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 10px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,43,91,.10);
  --shadow-lg:  0 12px 40px rgba(0,43,91,.14);
  --shadow-xl:  0 24px 60px rgba(0,43,91,.18);

  --transition: all .22s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-sans); }
ul { list-style: none; }

/* ── Layout helpers ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 80px 0; }
.section--light  { background: var(--color-white); }
.section--gray   { background: var(--color-bg-light); }
.section--navy   { background: var(--color-navy); }
.section--dark   { background: #0A1929; }

/* ── Typography ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-orange);
  flex-shrink: 0;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  letter-spacing: -.015em;
}
.section-title--white { color: #fff; }
.section-title--lg { font-size: 44px; }
.section-sub {
  font-size: 17px;
  color: var(--color-gray);
  line-height: 1.75;
  margin-top: 14px;
  max-width: 620px;
}
.section-sub--light { color: #7BAAC8; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  border: none;
  transition: var(--transition);
  letter-spacing: .02em;
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.btn--primary {
  background: var(--color-orange);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,93,38,.35);
}
.btn--navy {
  background: var(--color-navy);
  color: #fff;
}
.btn--navy:hover { background: #003A7A; }

.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn--outline-white:hover {
  border-color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.07);
}
.btn--outline-navy {
  background: transparent;
  color: var(--color-navy);
  border: 1.5px solid var(--color-navy);
}
.btn--outline-navy:hover {
  background: var(--color-navy);
  color: #fff;
}
.btn--sm { padding: 8px 18px; font-size: 13px; }
.btn--lg { padding: 15px 32px; font-size: 16px; }

/* ── Link arrow ── */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-blue);
  transition: var(--transition);
}
.link-arrow:hover { color: var(--color-orange); gap: 10px; }
.link-arrow svg { width: 14px; height: 14px; }

/* ── Section header row ── */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 24px;
}
.section-header__left {}
.section-header__right {}

/* ── Cards ── */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.card__img {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.card__img--tall { height: 260px; }
.card__img-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 18px;
}
.card__img-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg, transparent, transparent 10px,
    rgba(255,255,255,.12) 10px, rgba(255,255,255,.12) 11px
  );
}
.card__body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  background: var(--color-orange);
  color: #fff;
}
.card__title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.35;
  margin-bottom: 12px;
}
.card__title--lg { font-size: 22px; }
.card__desc {
  font-size: 13.5px;
  color: var(--color-gray);
  line-height: 1.7;
  margin-bottom: 16px;
}
.card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.card__date { font-size: 12px; color: var(--color-gray-light); font-weight: 500; }

/* ── Tag pill ── */
.tag-pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 12px;
  background: rgba(0,82,165,.08);
  color: var(--color-blue);
}

/* ── Color classes for card backgrounds ── */
.bg-navy   { background: linear-gradient(135deg, #002B5B 0%, #001833 100%); }
.bg-blue   { background: linear-gradient(135deg, #0052A5 0%, #002B5B 100%); }
.bg-teal   { background: linear-gradient(135deg, #0E7490 0%, #164E63 100%); }
.bg-green  { background: linear-gradient(135deg, #166534 0%, #14532D 100%); }
.bg-purple { background: linear-gradient(135deg, #4C1D95 0%, #2E1065 100%); }
.bg-dark   { background: linear-gradient(135deg, #1F2937 0%, #111827 100%); }
.bg-orange { background: linear-gradient(135deg, #C2410C 0%, #7C2D12 100%); }

/* ── Avatar ── */
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

/* ── Scroll animations ── */
[data-anim] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
[data-anim].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-anim-delay="1"] { transition-delay: .1s; }
[data-anim-delay="2"] { transition-delay: .2s; }
[data-anim-delay="3"] { transition-delay: .3s; }
[data-anim-delay="4"] { transition-delay: .4s; }

/* ── Divider ── */
.divider { width: 100%; height: 1px; background: var(--color-border); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 30px; }
  .section-title--lg { font-size: 36px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 48px 0; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .section-title { font-size: 26px; }
  .section-title--lg { font-size: 28px; }
}
