:root {
  --state-blue: #12366f;
  --state-blue-dark: #092653;
  --state-blue-soft: #eaf0f8;
  --gold: #c49b4a;
  --gold-light: #e7cf9a;
  --ink: #17243a;
  --muted: #667187;
  --paper: #f5f6f8;
  --white: #fff;
  --page: min(1280px, calc(100% - 48px));
  --font: "Source Sans 3", Arial, sans-serif;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.container { width: var(--page); margin-inline: auto; }

.skip {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--state-blue);
  transform: translateY(-150%);
}

.skip:focus { transform: none; }

.overline {
  margin: 0 0 13px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-title {
  max-width: 820px;
  margin: 0;
  color: var(--state-blue-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.6vw, 60px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.08;
}

/* Official header */

.state-ribbon {
  color: rgba(255, 255, 255, .75);
  background: var(--state-blue-dark);
}

.state-ribbon .container {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.official-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.official-mark::before {
  width: 9px;
  height: 9px;
  background: var(--gold);
  content: "";
  transform: rotate(45deg);
}

.ribbon-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.state-ribbon a {
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.language {
  color: var(--state-blue-dark) !important;
  padding: 4px 9px;
  background: var(--gold-light);
}

.header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 8px 24px rgba(9, 38, 83, .08);
}

.header-main {
  display: grid;
  min-height: 92px;
  grid-template-columns: 250px 1fr auto;
  align-items: center;
  gap: 35px;
}

.logo img { width: 225px; }

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 2.8vw, 42px);
}

.main-nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.main-nav a:hover { color: var(--state-blue); }

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-tools button,
.header-tools a {
  display: grid;
  min-width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  color: var(--state-blue);
  background: var(--state-blue-soft);
  cursor: pointer;
}

.header-tools a {
  min-width: 112px;
  padding: 0 17px;
  color: var(--white);
  background: var(--state-blue);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

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

.mobile-menu {
  position: fixed;
  z-index: 45;
  inset: 130px 0 0;
  padding: 24px;
  background: var(--white);
  overflow-y: auto;
}

.mobile-menu[hidden] { display: none; }
.mobile-menu details { margin-bottom: 8px; background: var(--paper); }

.mobile-menu summary {
  display: flex;
  justify-content: space-between;
  padding: 17px 18px;
  color: var(--state-blue-dark);
  font-size: 17px;
  font-weight: 700;
  list-style: none;
}

.mobile-menu summary::after { color: var(--gold); content: "+"; }
.mobile-menu details[open] summary::after { content: "−"; }

.mobile-menu div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px 20px;
  padding: 0 18px 17px;
}

.mobile-menu a {
  padding: 7px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

/* Hero */

.hero {
  position: relative;
  min-height: 690px;
  color: var(--white);
  background: var(--state-blue-dark);
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 38, 83, .98) 4%, rgba(9, 38, 83, .9) 45%, rgba(9, 38, 83, .28) 78%, rgba(9, 38, 83, .05));
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 690px;
  max-width: 760px;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0 95px;
}

.hero-symbol {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  place-items: center;
  color: var(--state-blue-dark);
  background: var(--gold);
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(50px, 6vw, 78px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.hero-content > p {
  max-width: 660px;
  margin: 27px 0 36px;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-actions a {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.primary {
  color: var(--state-blue-dark);
  background: var(--gold-light);
}

.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
}

.hero-caption {
  position: absolute;
  z-index: 1;
  right: max(24px, calc((100vw - min(1280px, calc(100vw - 48px))) / 2));
  bottom: 28px;
  max-width: 320px;
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
}

/* Mandates */

.mandates {
  position: relative;
  z-index: 2;
  margin-top: -42px;
  padding-bottom: 110px;
}

.mandate-panel {
  display: grid;
  grid-template-columns: 260px 1fr;
  background: var(--white);
  box-shadow: 0 22px 55px rgba(9, 38, 83, .16);
}

.mandate-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 35px;
  color: var(--white);
  background: var(--state-blue);
}

.mandate-title small {
  margin-bottom: 10px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.mandate-title strong {
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
}

.mandate-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.mandate-links a {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  color: var(--ink);
  text-decoration: none;
}

.mandate-links a:nth-child(2) { background: var(--paper); }
.mandate-links a:hover { background: var(--state-blue-soft); }

.mandate-links small {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

.mandate-links strong {
  max-width: 250px;
  color: var(--state-blue-dark);
  font-size: 17px;
  line-height: 1.35;
}

/* Responsibilities */

.responsibilities { padding: 0 0 115px; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 45px;
  margin-bottom: 44px;
}

.section-head > p {
  max-width: 460px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.responsibility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.responsibility {
  min-height: 310px;
  padding: 32px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(23, 36, 58, .05);
}

.responsibility.featured {
  color: var(--white);
  background: var(--state-blue);
}

.responsibility-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--state-blue-dark);
  background: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 18px;
}

.responsibility h3 {
  margin: 56px 0 14px;
  color: var(--state-blue-dark);
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
}

.responsibility.featured h3 { color: var(--white); }

.responsibility p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.responsibility.featured p { color: rgba(255, 255, 255, .68); }

/* Programs */

.programs {
  padding: 105px 0;
  background: var(--state-blue-soft);
}

.program-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 80px;
}

.program-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.program-intro > p:last-of-type {
  margin: 23px 0 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.program-intro > a {
  width: fit-content;
  padding: 13px 18px;
  color: var(--white);
  background: var(--state-blue);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.program-list {
  display: grid;
  gap: 12px;
}

.program {
  display: grid;
  min-height: 88px;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 15px 23px;
  background: var(--white);
  box-shadow: 0 7px 18px rgba(9, 38, 83, .06);
  text-decoration: none;
}

.program:hover { transform: translateX(5px); }

.program-no {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 19px;
}

.program strong {
  color: var(--state-blue-dark);
  font-size: 16px;
}

.program span:last-child {
  color: var(--state-blue);
  font-size: 19px;
}

/* Institutional statement */

.institution { padding: 110px 0; }

.institution-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 75px;
}

.institution-photo {
  position: relative;
  min-height: 520px;
  margin: 0;
}

.institution-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.institution-photo figcaption {
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 240px;
  padding: 25px;
  color: var(--white);
  background: var(--state-blue);
  font-size: 13px;
  line-height: 1.55;
  box-shadow: 0 15px 35px rgba(9, 38, 83, .18);
}

.institution-copy > p:last-of-type {
  margin: 25px 0 31px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.institution-copy a {
  color: var(--state-blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

/* Results */

.results {
  padding: 90px 0;
  color: var(--white);
  background: var(--state-blue-dark);
}

.results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 50px;
}

.results .section-title { color: var(--white); }

.results-head p:last-child {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, .62);
  font-size: 15px;
  line-height: 1.65;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.result {
  min-height: 205px;
  padding: 28px;
  background: rgba(255, 255, 255, .07);
}

.result strong {
  display: block;
  margin-bottom: 27px;
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1;
}

.result span {
  max-width: 180px;
  display: block;
  color: rgba(255, 255, 255, .65);
  font-size: 13px;
  line-height: 1.5;
}

/* Press */

.press { padding: 110px 0; background: var(--paper); }

.press-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.press-head a {
  color: var(--state-blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.press-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
}

.lead-story,
.story {
  background: var(--white);
  box-shadow: 0 10px 28px rgba(23, 36, 58, .07);
}

.lead-story img {
  width: 100%;
  height: 370px;
  object-fit: cover;
}

.lead-body { padding: 29px 32px 34px; }

.meta {
  display: flex;
  gap: 15px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
}

.meta span { color: var(--gold); }

.lead-story h3 {
  max-width: 680px;
  margin: 0;
  color: var(--state-blue-dark);
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.35;
}

.lead-story a,
.story a { text-decoration: none; }

.story-list { display: grid; gap: 16px; }

.story {
  display: grid;
  grid-template-columns: 175px 1fr;
}

.story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-body { padding: 24px; }

.story h3 {
  margin: 25px 0 0;
  color: var(--state-blue-dark);
  font-size: 17px;
  line-height: 1.4;
}

/* Contact and footer */

.contact { color: var(--state-blue-dark); background: var(--gold-light); }

.contact-grid {
  display: grid;
  min-height: 220px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
}

.contact h2 {
  max-width: 800px;
  margin: 0 0 11px;
  font-family: Georgia, serif;
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 400;
  letter-spacing: -.035em;
}

.contact p { margin: 0; color: #705c34; font-size: 15px; }
.contact-actions { display: grid; gap: 9px; }

.contact-actions a {
  min-width: 260px;
  padding: 14px 19px;
  color: var(--white);
  background: var(--state-blue);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.contact-actions a:last-child {
  color: var(--state-blue);
  background: var(--white);
}

.footer { padding: 65px 0 28px; color: var(--white); background: #061d41; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, .65fr);
  gap: 50px;
  padding-bottom: 55px;
}

.footer-brand img {
  width: 215px;
  margin-bottom: 23px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 290px;
  color: rgba(255, 255, 255, .5);
  font-size: 12px;
  line-height: 1.7;
}

.footer h3 {
  margin: 0 0 18px;
  color: var(--gold-light);
  font-size: 12px;
}

.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin: 10px 0; }
.footer a { color: rgba(255, 255, 255, .58); font-size: 12px; text-decoration: none; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  color: rgba(255, 255, 255, .38);
  font-size: 11px;
}

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .header-main { grid-template-columns: 1fr auto; }
  .header-tools .search, .header-tools .services-link { display: none; }
  .menu-button { display: grid !important; }
  .responsibility-grid { grid-template-columns: 1fr 1fr; }
  .program-layout { gap: 45px; }
  .institution-grid { gap: 45px; }
  .result-grid { grid-template-columns: 1fr 1fr; }
  .press-grid { grid-template-columns: 1fr; }
  .story-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --page: calc(100% - 30px); }
  .state-ribbon .container { min-height: 34px; }
  .official-mark { font-size: 10px; }
  .ribbon-links a:first-child, .ribbon-links a:nth-child(2) { display: none; }
  .header-main { min-height: 74px; }
  .logo img { width: 184px; }
  .mobile-menu { inset: 108px 0 0; }
  .hero, .hero-content { min-height: 620px; }
  .hero-photo::after { background: rgba(9, 38, 83, .82); }
  .hero-content { padding: 65px 0 100px; }
  .hero h1 { font-size: 46px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions a { justify-content: center; }
  .hero-caption { display: none; }
  .mandate-panel { grid-template-columns: 1fr; }
  .mandate-links { grid-template-columns: 1fr; }
  .mandate-links a { min-height: 115px; }
  .responsibilities { padding-bottom: 80px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .responsibility-grid { grid-template-columns: 1fr; }
  .responsibility { min-height: 270px; }
  .programs, .institution, .results, .press { padding: 80px 0; }
  .program-layout, .institution-grid { grid-template-columns: 1fr; }
  .institution-photo { min-height: 390px; }
  .institution-photo figcaption { right: 15px; bottom: 15px; }
  .results-head { align-items: flex-start; flex-direction: column; }
  .result { min-height: 170px; padding: 22px; }
  .story-list { grid-template-columns: 1fr; }
  .lead-story img { height: 280px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; padding: 52px 0; }
  .contact-actions a { min-width: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 25px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 440px) {
  .language { display: none; }
  .mobile-menu div { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .story img { height: 190px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
