/* DOE Grant microsite styles — isolated from Murray State global CSS */
:root {
  --doe-navy: #002a5b;
  --doe-navy-deep: #001f43;
  --doe-gold: #ecac00;
  --doe-ink: #202a35;
  --doe-muted: #536273;
  --doe-surface: #f3f6f9;
  --doe-white: #fff;
  --doe-focus: #ffbf47;
  --doe-content-width: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--doe-ink);
  background: var(--doe-white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: #064f91; text-underline-offset: .18em; }
a:hover { color: var(--doe-navy-deep); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--doe-focus);
  outline-offset: 3px;
}
.skip-link {
  position: absolute; z-index: 1000; top: .5rem; left: .5rem;
  padding: .75rem 1rem; color: #fff; background: #111;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--doe-navy); color: #fff; }
.header-inner {
  width: min(100% - 2.5rem, var(--doe-content-width));
  min-height: 104px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 1.25rem; min-width: 0; }
.brand img { display: block; object-fit: contain; }
.msu-logo { width: 210px; max-height: 66px; }
.doe-logo { width: 118px; max-height: 66px; }
.brand-divider { width: 1px; height: 48px; background: rgba(255,255,255,.55); }
.primary-nav ul {
  display: flex; align-items: center; justify-content: flex-end;
  gap: clamp(.8rem, 1.7vw, 1.6rem); margin: 0; padding: 0; list-style: none;
}
.primary-nav a {
  display: inline-block; padding: .75rem .15rem; color: #fff;
  font-weight: 700; text-decoration: none; border-bottom: 3px solid transparent;
}
.primary-nav a:hover, .primary-nav a:focus-visible {
  color: #fff; border-bottom-color: var(--doe-gold);
}
.nav-toggle {
  display: none; width: 48px; height: 44px; padding: 9px;
  border: 1px solid rgba(255,255,255,.7); border-radius: 4px;
  color: #fff; background: transparent; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; margin: 5px 0; background: currentColor;
}
.page-hero {
  min-height: 310px; display: flex; align-items: center;
  color: #fff; background-color: var(--doe-navy-deep);
  background-position: center; background-size: cover;
}
.page-hero-inner {
  width: min(100% - 2.5rem, var(--doe-content-width));
  margin: 0 auto; padding: 4rem 0;
}
.page-hero h1 {
  max-width: 850px; margin: .25rem 0 0;
  font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.08;
}
.eyebrow {
  margin: 0; color: #ffe09a; font-size: .9rem;
  font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
}
.content-shell {
  width: min(100% - 2.5rem, var(--doe-content-width));
  margin: 0 auto; padding: clamp(2rem, 5vw, 4.5rem) 0;
}
.page-intro { max-width: 900px; margin: 0 auto 2.5rem; font-size: 1.2rem; }
.main-content { margin: 0 auto 2.5rem; }
.main-content h2, .quick-links-section h2, .resource-banner h2 {
  color: var(--doe-navy); line-height: 1.2;
}
.quick-links-section {
  margin: 3rem 0; padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--doe-surface); border-top: 5px solid var(--doe-gold);
}
.resource-banner {
  margin: 3rem 0; padding: clamp(1.5rem, 3vw, 2.5rem);
  color: #fff; background: var(--doe-navy);
}
.resource-banner h2, .resource-banner a { color: #fff; }
.resource-banner a { text-decoration-thickness: 2px; }
.sub-footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #c8d0d9; }
.site-footer { color: #fff; background: var(--doe-navy-deep); }
.footer-inner {
  width: min(100% - 2.5rem, var(--doe-content-width));
  margin: 0 auto; padding: 2.5rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.footer-brand img { width: 190px; max-height: 62px; object-fit: contain; }
.footer-copy p { margin: .25rem 0; }
.footer-links a { color: #fff; }
.doegrant-content { max-width: 100%; }
@media (max-width: 900px) {
  .header-inner { min-height: 88px; flex-wrap: wrap; padding: .8rem 0; gap: .75rem; }
  .msu-logo { width: 170px; }
  .doe-logo { width: 95px; }
  .nav-toggle { display: block; margin-left: auto; }
  .primary-nav { display: none; flex-basis: 100%; width: 100%; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 0; }
  .primary-nav li { border-top: 1px solid rgba(255,255,255,.22); }
  .primary-nav a { display: block; padding: .9rem .25rem; border-bottom: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
  .header-inner, .page-hero-inner, .content-shell, .footer-inner {
    width: min(100% - 2rem, var(--doe-content-width));
  }
  .brand { gap: .65rem; }
  .msu-logo { width: 138px; }
  .doe-logo { width: 78px; }
  .brand-divider { height: 38px; }
  .page-hero { min-height: 250px; }
  .page-hero-inner { padding: 3rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
