/* Option Genius Resource Library
   Brand: primary #14338d, accent #df3f34, growth #98da20
   Fonts: Work Sans (headings), Open Sans (body)
   No em dashes. Sentence case. Educational framing. */

:root {
  --blue-900: #14338d;
  --blue-700: #1c48c7;
  --blue-050: #eef2fb;
  --red-500: #df3f34;
  --red-600: #c02f0d;
  --green-500: #98da20;
  --charcoal: #383737;
  --gray-100: #f5f7fa;
  --gray-200: #e5e9ec;
  --gray-300: #d4dae2;
  --gray-500: #6b7480;
  --white: #ffffff;
  --maxw: 1180px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 51, 141, 0.08);
  --shadow-lift: 0 18px 50px rgba(20, 51, 141, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Open Sans', Helvetica, Verdana, Arial, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Work Sans', 'Open Sans', sans-serif;
  color: var(--blue-900);
  margin: 0 0 0.5em;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

p { margin: 0 0 1em; }
a { color: var(--blue-700); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--blue-900); color: var(--white); padding: 10px 14px; border-radius: 8px; z-index: 999;
}
.skip-link:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  backdrop-filter: saturate(140%) blur(6px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 72px; flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 180px; height: 44px;
}
.brand-mark img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-mark-dark { width: 180px; height: 44px; }
.brand-mark-dark img { filter: brightness(0) saturate(100%) invert(15%) sepia(78%) saturate(2490%) hue-rotate(218deg) brightness(91%) contrast(96%); }
.site-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-nav a { color: var(--charcoal); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover { color: var(--blue-900); }

.header-cta {
  background: var(--red-500); color: var(--white);
  padding: 10px 16px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 0.9rem;
  transition: background 0.15s ease;
}
.header-cta:hover { background: var(--red-600); }

/* Intro */
.intro {
  background: linear-gradient(160deg, var(--blue-900) 0%, #0e2873 70%, #0a1f5b 100%);
  color: var(--white);
  padding: clamp(54px, 7vw, 92px) 0 clamp(36px, 5vw, 56px);
  position: relative;
}
.intro-inner { max-width: 820px; }
.eyebrow {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14); color: var(--white);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  margin: 0 0 18px;
}
.eyebrow-on-light { background: var(--blue-050); color: var(--blue-900); }
.intro h1 { color: var(--white); margin-bottom: 16px; }
.intro-sub { color: rgba(255, 255, 255, 0.86); font-size: 1.08rem; max-width: 720px; }

/* Featured */
.featured {
  background: var(--white);
  padding: clamp(48px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--gray-200);
}
.featured-inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  align-items: start;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow);
}
.featured-art {
  background: var(--white);
  border: 2px dashed var(--gray-300);
  border-radius: 12px;
  min-height: 360px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 18px;
}
.featured-art-label {
  color: var(--gray-500);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.featured-text { padding-top: 4px; }
.featured-blurb { font-size: 1.05rem; color: var(--charcoal); }
.featured-list { padding-left: 18px; margin: 6px 0 14px; }
.featured-list li { margin: 4px 0; }
.featured-status {
  background: #fff7d6;
  border-left: 4px solid #d6a500;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  color: #4a3a00;
  margin: 14px 0 16px;
}
.featured-note { font-size: 0.85rem; color: var(--gray-500); margin: 8px 0 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 10px; text-decoration: none;
  font-weight: 700; font-family: 'Work Sans', sans-serif; font-size: 0.98rem;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
  border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--red-500); color: var(--white); }
.btn-primary:hover { background: var(--red-600); transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn-secondary { background: var(--white); color: var(--blue-900); border-color: var(--blue-900); }
.btn-secondary:hover { background: var(--gray-100); }
.btn-bridge { background: var(--blue-700); color: var(--white); }
.btn-bridge:hover { background: var(--blue-900); }

/* Section heads */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-head .eyebrow { background: var(--gray-100); color: var(--blue-900); }
.section-sub { color: var(--charcoal); font-size: 1.02rem; }

/* Library */
.library { background: var(--white); padding: clamp(48px, 6vw, 72px) 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 24px 22px 26px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.card-tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: var(--blue-900); color: var(--white);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  align-self: flex-start;
  margin: 0 0 4px;
}
.card h3 { margin: 0; }
.card-byline { color: var(--gray-500); font-size: 0.9rem; margin: 0; }
.card-list { padding-left: 18px; margin: 6px 0 10px; }
.card-list li { margin: 4px 0; font-size: 0.95rem; }
.card .btn { margin-top: auto; align-self: flex-start; }

/* About + bridge */
.about { background: var(--gray-100); padding: clamp(48px, 6vw, 72px) 0; }
.about-inner { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: start; }
.about p { font-size: 1rem; }
.bridge {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow);
}
.bridge h3 { color: var(--blue-900); margin-bottom: 8px; }
.bridge p { font-size: 0.95rem; color: var(--charcoal); }

/* Footer */
.site-footer { background: var(--blue-900); color: rgba(255, 255, 255, 0.88); padding: 48px 0 24px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 32px; align-items: start; }
.footer-brand p { color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; max-width: 320px; margin-top: 8px; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.footer-nav h4 { color: var(--white); margin-bottom: 10px; }
.footer-nav a {
  display: block; color: rgba(255, 255, 255, 0.78); text-decoration: none;
  padding: 4px 0; font-size: 0.93rem;
}
.footer-nav a:hover { color: var(--white); }
.footer-disclaimer { border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 28px; padding-top: 18px; color: rgba(255, 255, 255, 0.72); font-size: 0.85rem; line-height: 1.6; }
.footer-disclaimer a { color: var(--green-500); }
.footer-entity { font-weight: 700; color: var(--white); margin-top: 10px; }

/* Responsive */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .featured-inner { grid-template-columns: 1fr; }
  .featured-art { min-height: 220px; }
  .about-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .site-nav { display: none; }
}
@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
  .header-cta { order: 2; font-size: 0.85rem; padding: 8px 14px; }
  .header-inner { gap: 8px; }
  .brand-mark, .brand-mark-dark { width: 140px; height: 36px; }
}

@media print {
  .site-header, .site-footer, .header-cta, .btn { display: none; }
  body { color: #000; background: #fff; }
  .intro, .featured { background: none; color: #000; }
  .intro h1, .intro .eyebrow, .intro-sub { color: #000; }
}

/* Current assets supplied by Ameen, 2026-10-08. Keep original colors. */
.site-header { background: #eef2fb; }
.brand-mark { width: 230px; height: 68px; }
.brand-mark-dark img { filter: none; }
.footer-brand .brand-mark { background: white; border-radius: 10px; padding: 8px; }
.intro-inner { position: relative; max-width: 1180px; padding-right: 270px; }
.intro-mascot { position: absolute; right: 24px; top: 0; width: 200px; height: 200px; object-fit: contain; }
.about .eyebrow { color: var(--blue-900); background: var(--blue-050); }
@media(max-width: 700px) { .intro-inner { padding-right: 24px; } .intro-mascot { position: static; width: 100px; height: 100px; display: block; margin-bottom: 18px; } .brand-mark { width: 175px; height: 55px; } }

/* Header containment: explicit image sizing prevents inline-grid overflow. */
.header-inner { min-height: 92px; padding-top: 12px; padding-bottom: 12px; }
.brand-mark { display: flex; align-items: center; width: 230px; height: 64px; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media(max-width: 700px) { .header-inner { min-height: 80px; } .brand-mark { width: 175px; height: 52px; } }
