@font-face {
  font-family: 'Bebas Neue Bold';
  src: url('./assets/BebasNeue.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --fg-white: #ffffff;
  --fg-black: #000000;
  --fg-primary: #20123a;
  --bg-app: #0b0d12;
  --bg-muted: #1f2937;
  --text-muted: #9aa4b2;
  --brand-a: #33309F;
  --brand-b: #00668D;
  --stroke-weight-regular: 1px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-app);
  color: #e5e7eb;
  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

code {
  background: var(--bg-muted);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  font-size: 0.9em;
}

em { color: var(--text-muted); font-style: normal; }
strong { color: #f3f4f6; }

.page-header,
.page-footer {
  padding: 3rem 2rem 1.5rem;
}

.page-header h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.page-header p {
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  max-width: 900px;
}

section {
  padding: 0 0 2rem;
  border-top: 1px solid var(--bg-muted);
  margin-top: 2.5rem;
}

.label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.label .group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.4rem;
  border-radius: 4px;
  background: var(--brand-a);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------- */
/* Full-bleed banner — 100vw, edge-to-edge of viewport                    */
/*   Mirrors `IntelReportDetailHeader.tsx:167`:                           */
/*     className="group relative h-36 w-full overflow-hidden sm:h-44 lg:h-52" */
/* --------------------------------------------------------------------- */
.banner {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: #000;
}

.banner > .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
}

/* Tailwind-parity heights */
.h-36 { height: 9rem; }   /* 144 */
.h-44 { height: 11rem; }  /* 176 */
.h-52 { height: 13rem; }  /* 208 — production lg */

/* Responsive banner — exactly what IntelReportDetailHeader renders */
.banner-responsive { height: 9rem; }
@media (min-width: 640px)  { .banner-responsive { height: 11rem; } }
@media (min-width: 1024px) { .banner-responsive { height: 13rem; } }

/* --------------------------------------------------------------------- */
/* Title overlay — IntelReportCoverTextOverlay.tsx                        */
/* --------------------------------------------------------------------- */
.glitch-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.cover-title {
  position: absolute;
  z-index: 30;
  pointer-events: none;
  bottom: 1rem;
  left: 1rem;
}

.cover-title--left   { left: 1rem;  bottom: 1rem; }
.cover-title--right  { right: 1rem; bottom: 1rem; text-align: right; left: auto; }
.cover-title--center {
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  text-align: center;
}

@media (min-width: 640px) {
  .cover-title--left   { left: 1.5rem;  bottom: 1.5rem; }
  .cover-title--right  { right: 1.5rem; bottom: 1.5rem; }
  .cover-title--center { bottom: 1.5rem; }
}

@media (min-width: 1024px) {
  .cover-title--left   { left: 2rem;  bottom: 2rem; }
  .cover-title--right  { right: 2rem; bottom: 2rem; }
  .cover-title--center { bottom: 2rem; }
}

.cover-title__text {
  font-family: 'Bebas Neue Bold', Impact, sans-serif;
  font-weight: 700;
  color: var(--fg-white);
  text-transform: uppercase;
  user-select: none;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 0.92;
  letter-spacing: 1px;
  text-shadow: 0 4px 0 var(--fg-primary);
  -webkit-text-stroke: var(--stroke-weight-regular) var(--fg-black);
}

.page-footer {
  border-top: 1px solid var(--bg-muted);
  margin-top: 3rem;
  padding-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}
