:root {
  --charcoal: #171d25;
  --blue: #005ea4;
  --blue-hover: #00457a;
  --blue-bright: #47afff;
  --soft-blue: #f2f8fc;
  --footer: #051532;
  --alert: #ba2722;
  --white: #ffffff;
  --line: #c9deef;
  --max: 1180px;
  --max-wide: 1360px;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--charcoal);
  background: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main, .site-footer { position: relative; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--white);
  color: var(--charcoal);
  padding: .7rem 1rem;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container,
.container-wide {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
}
.container-wide { width: min(calc(100% - 3rem), var(--max-wide)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  background: rgba(5, 21, 50, .97);
  border-bottom: 1px solid rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.site-header__inner {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr auto;
  align-items: center;
  gap: 2rem;
}
.brand {
  display: block;
  line-height: 0;
  text-decoration: none;
  border: 0;
  align-self: center;
}
.brand img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 2vw, 2.1rem);
  text-transform: uppercase;
  letter-spacing: .01em;
}
.site-nav a,
.footer-nav a {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .01em;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible { color: var(--blue-bright); }

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 4px;
  margin: 5px 0;
  background: currentColor;
  border-radius: 999px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 52px;
  padding: .85rem 1.4rem;
  border-radius: 0;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .25em;
  transition: background-color .2s ease, color .2s ease;
}
.button:hover,
.button:focus-visible {
  background: var(--blue-hover);
  color: var(--soft-blue);
}
.button--header { min-height: 46px; padding-inline: 1.25rem; }
.button--primary { margin-top: 1.8rem; font-size: 1rem; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 610px;
  display: flex;
  align-items: center;
  color: var(--white);
  background-color: var(--footer);
  background-image:
    linear-gradient(90deg, rgba(5, 21, 50, .82) 0%, rgba(5, 21, 50, .60) 39%, rgba(5, 21, 50, .08) 72%),
    url("assets/hero-background.webp");
  background-position: center center;
  background-size: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(5,21,50,.2));
}
.hero__content { padding-block: 5.6rem 6.2rem; }
.eyebrow {
  margin: 0 0 .65rem;
  color: var(--blue);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .25em;
  line-height: 1.35;
}
.eyebrow--hero {
  color: var(--blue-bright);
  font-size: 1.05rem;
  margin-bottom: 1.15rem;
  letter-spacing: .35em;
}
.hero h1,
h2,
h3 {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -.025em;
  line-height: 1.06;
}
.hero h1 {
  max-width: 860px;
  color: var(--white);
  font-size: clamp(3.05rem, 4.8vw, 4.9rem);
  letter-spacing: -.01em;
}
h2 { font-size: clamp(2.35rem, 4vw, 4rem); }
h3 { font-size: clamp(2rem, 3vw, 3rem); }
.hero__intro {
  max-width: 680px;
  margin: 1.45rem 0 0;
  font-size: clamp(1.03rem, 1.5vw, 1.22rem);
  line-height: 1.7;
  color: rgba(255,255,255,.92);
}

.section { scroll-margin-top: calc(var(--header-h) + 14px); }
.section--about { padding: 6.5rem 0 5.6rem; }
.section--faq {
  padding: 5.7rem 0;
  background: var(--soft-blue);
}
.section--awardee { padding: 6.8rem 0; }
.title-rule {
  width: 54px;
  height: 3px;
  margin: 1.1rem 0 1.55rem;
  background: var(--blue-bright);
}
.section-lead {
  margin: 0;
  max-width: 1110px;
  color: #34445a;
  line-height: 1.75;
}
.things { padding-top: 3.8rem; scroll-margin-top: calc(var(--header-h) + 14px); }
.things > h3 { margin-bottom: 1.9rem; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}
.info-card {
  border: 1px solid var(--line);
  padding: 1.7rem 1.55rem 1.85rem;
  background: var(--white);
}
.info-card__top {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1rem;
  align-items: center;
}
.info-card h4 {
  margin: 0;
  color: var(--blue);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 1.65rem;
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: .02em;
}
.info-card p {
  margin: 1rem 0 0;
  color: #415168;
  font-size: .98rem;
  line-height: 1.58;
}
.icon-disc {
  width: 58px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--soft-blue);
}
.icon-disc svg {
  width: 34px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.7;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.mini-rule {
  width: 38px;
  height: 2px;
  margin: 1rem 0 0 74px;
  background: var(--blue-bright);
}

.faq-list { display: grid; gap: .75rem; }
.faq-list details {
  border: 1px solid var(--line);
  background: var(--white);
}
.faq-list summary {
  list-style: none;
  position: relative;
  cursor: pointer;
  padding: 1rem 3.4rem 1rem 1.25rem;
  font-weight: 600;
  color: #17355e;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-52%);
  color: var(--blue);
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 600;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 1.25rem 1.2rem; color: #405069; }
.faq-answer p { margin: 0; }

.awardee-grid {
  display: grid;
  grid-template-columns: minmax(250px, 360px) 1fr;
  gap: clamp(3rem, 7vw, 6.3rem);
  align-items: center;
}
.portrait-wrap {
  position: relative;
  width: min(100%, 330px);
  margin-inline: auto;
}
.portrait-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 25%;
}
.portrait-bracket {
  position: absolute;
  width: 74px;
  height: 74px;
  pointer-events: none;
}
.portrait-bracket--top {
  top: -14px;
  right: -14px;
  border-top: 3px solid var(--blue-bright);
  border-right: 3px solid var(--blue-bright);
}
.portrait-bracket--bottom {
  left: -14px;
  bottom: -14px;
  border-left: 3px solid var(--blue-bright);
  border-bottom: 3px solid var(--blue-bright);
}
.awardee-copy blockquote { margin: 1.2rem 0 0; color: #415168; }
.awardee-copy blockquote p { margin: 0 0 1rem; }
.awardee-copy cite {
  color: var(--charcoal);
  font-style: normal;
  font-weight: 600;
}

.site-footer {
  display: block;
  clear: both;
  background: var(--footer);
  color: var(--white);
  padding: 2.5rem 0;
  z-index: 1;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(250px, 360px) 1fr;
  grid-template-areas:
    "brand nav"
    "copyright tagline";
  gap: 1rem 3rem;
  align-items: center;
}
.site-footer__brand {
  grid-area: brand;
  display: block;
  width: min(100%, 320px);
  line-height: 0;
  text-decoration: none;
  border: 0;
}
.site-footer__brand img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.footer-copyright {
  grid-area: copyright;
  margin: 0;
  font-size: .78rem;
  color: rgba(255,255,255,.72);
}
.footer-nav {
  grid-area: nav;
  display: flex;
  justify-content: flex-end;
  gap: 1.35rem;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.footer-nav__apply { color: var(--blue-bright) !important; text-decoration: underline !important; }
.footer-tagline {
  grid-area: tagline;
  justify-self: end;
  margin: 0;
  color: var(--blue-bright);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: .9rem;
}
.footer-tagline span,
.footer-copyright span { display: inline; }


/* Hamburger is mobile-only. Keep it out of desktop/tablet layout explicitly. */
@media (min-width: 721px) {
  button.menu-toggle {
    display: none !important;
  }
}

/* Tablet: keep full navigation, but place Apply on the nav row and balance logo/nav widths. */
@media (min-width: 721px) and (max-width: 1100px) {
  :root { --header-h: 144px; }
  .site-header__inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand brand"
      "nav apply";
    gap: .65rem 1.25rem;
    padding-block: .8rem;
    align-content: center;
  }
  .brand {
    grid-area: brand;
    width: min(100%, 440px);
  }
  .site-nav {
    grid-area: nav;
    width: min(100%, 440px);
    justify-content: flex-start;
    gap: clamp(.8rem, 2vw, 1.35rem);
  }
  .site-nav a { font-size: .82rem; }
  .button--header {
    grid-area: apply;
    align-self: center;
    min-height: 42px;
    padding: .75rem 1rem;
    font-size: .8rem;
  }
  .hero { min-height: 560px; }
  .hero h1 {
    max-width: 860px;
    font-size: clamp(2.8rem, 6vw, 4rem);
  }
  .info-grid { grid-template-columns: 1fr; }
  .info-card { padding: 1.5rem; }
  .awardee-grid {
    grid-template-columns: minmax(220px, .8fr) 1.25fr;
    gap: 3rem;
  }
  .site-footer__inner {
    grid-template-columns: minmax(220px, 300px) 1fr;
    gap: 1rem 2rem;
  }
  .footer-nav { gap: .9rem; }
  .footer-nav a { font-size: .78rem; }
  .footer-tagline { font-size: .8rem; }
}

/* Mobile: logo first, Apply directly beneath it, hamburger beside Apply, dropdown below. */
@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --header-h: 168px; }
  .container,
  .container-wide { width: min(calc(100% - 3rem), var(--max)); }

  .site-header__inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand brand"
      "apply menu"
      "nav nav";
    gap: .8rem 1rem;
    padding-block: .9rem;
    align-items: center;
  }
  .brand {
    grid-area: brand;
    width: 100%;
    max-width: none;
  }
  .button--header {
    grid-area: apply;
    display: inline-flex;
    width: 100%;
    min-height: 52px;
  }
  button.menu-toggle {
    grid-area: menu;
    display: block !important;
    justify-self: end;
  }
  .site-nav {
    grid-area: nav;
    display: none;
    width: 100%;
    padding: .35rem 0 .6rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    display: block;
    padding: .8rem .2rem;
    font-size: .9rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .hero {
    min-height: 620px;
    background-position: 62% center;
    background-image:
      linear-gradient(90deg, rgba(5, 21, 50, .92) 0%, rgba(5, 21, 50, .74) 58%, rgba(5, 21, 50, .28) 100%),
      url("assets/hero-background.webp");
  }
  .hero__content { padding-block: 4rem 5rem; }
  .hero h1 { font-size: clamp(2.65rem, 12vw, 4rem); }
  .button--primary { letter-spacing: .1em; }

  .section--about,
  .section--faq,
  .section--awardee { padding-block: 4.5rem; }
  .things { padding-top: 3rem; }
  .awardee-grid { grid-template-columns: 1fr; }
  .portrait-wrap { width: min(78%, 320px); }

  .site-footer { padding: 2.7rem 0; }
  .site-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
  .site-footer__brand {
    width: min(100%, 320px);
    order: 1;
  }
  .footer-nav { display: none; }
  .footer-tagline {
    order: 2;
    justify-self: auto;
    font-size: .82rem;
    line-height: 1.55;
  }
  .footer-copyright {
    order: 3;
    font-size: .76rem;
    line-height: 1.55;
  }
  .footer-tagline span,
  .footer-copyright span { display: block; }
}

@media (max-width: 420px) {
  :root { --header-h: 154px; }
  .button--header {
    min-height: 48px;
    padding-inline: .8rem;
    font-size: .78rem;
  }
  button.menu-toggle { width: 48px; height: 48px; }
  .hero h1 { font-size: clamp(2.35rem, 12vw, 3.25rem); }
}

/* Approved navigation typography — keep consistent at all responsive sizes. */
.site-nav,
.footer-nav,
.site-nav a,
.footer-nav a {
  text-transform: uppercase;
  letter-spacing: .01em;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* =========================================================
   FINAL APPROVED OVERRIDES — 2026-09-21 v4
   Kept at the end of the stylesheet so these values win.
   ========================================================= */
.site-nav,
.site-nav a,
.footer-nav,
.footer-nav a {
  text-transform: uppercase !important;
  letter-spacing: .01em !important;
}

.eyebrow--hero {
  letter-spacing: .35em !important;
}

.hero h1 {
  max-width: 860px !important;
  letter-spacing: -.01em !important;
}

.button {
  text-transform: uppercase;
  letter-spacing: .25em !important;
}

.footer-tagline {
  letter-spacing: .25em !important;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

button.menu-toggle {
  display: none !important;
}

@media (max-width: 720px) {
  button.menu-toggle {
    display: flex !important;
  }
}


/* =========================================================
   FINAL APPROVED OVERRIDES — 2026-09-21 v5
   Mobile hamburger visibility, stacked info cards, button tracking.
   ========================================================= */
.button {
  text-transform: uppercase;
  letter-spacing: .1em !important;
}

button.menu-toggle {
  display: none !important;
  color: #fff !important;
  background: transparent !important;
}

@media (max-width: 720px) {
  button.menu-toggle {
    display: block !important;
    width: 52px;
    height: 52px;
    padding: 10px;
  }

  button.menu-toggle span {
    display: block !important;
    width: 100%;
    height: 4px;
    margin: 5px 0;
    background: #fff !important;
    border-radius: 999px;
  }

  .info-grid {
    grid-template-columns: 1fr !important;
  }
}


/* =========================================================
   SCROLLING FIX — 2026-09-22 v10
   IMPORTANT: Do not set height, min-height, overflow-x, or
   overflow-y on html/body. The browser viewport remains the
   only scroll container so all sections and the footer remain
   reachable on mobile and tablet sizes.
   ========================================================= */
