/* ========= SHARED.CSS (McKinsey-style base) ========= */

:root{
  --navy:#031940;
  --ink:#031940;
  --muted:rgba(3,25,64,.6);
  --line:#E5E7EB;
  --paper:#FFFFFF;
  --panel:#F9FAFB;

  --radius:14px;
  --shadow: 0 10px 26px rgba(17,24,39,.08);
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* page base */
body{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

/* hero */
#hero{
  border-bottom: 1px solid var(--line);
}
#hero img{
  display: block;
  width: 100%;
  max-height: 240px;
  object-fit: cover;
}

/* header brand with logo */
.header-brand{
  display: flex;
  align-items: center;
  gap: .65rem;
}

.header-logo{
  height: 34px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}

/* header */
header{
  background: var(--paper);
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

header h1{
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
}

/* nav */
nav ul{
  list-style: none;
  display: flex;
  gap: .25rem;
  flex-wrap: wrap;
}

nav ul li a{
  color: var(--ink);
  text-decoration: none;
  padding: .55rem .9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: background-color .15s ease, color .15s ease;
}

nav ul li a:hover{
  background: var(--panel);
}

nav ul li a.active{
  background: rgba(3,25,64,.08);
  color: var(--navy);
}

/* layout width */
main{
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* footer */
footer{
  margin-top: 3rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: #031940;
  text-align: center;
  padding: 2rem;
}

footer p{
  font-size: .95rem;
  color: #031940;
}

/* accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus{
  outline: 3px solid rgba(3,25,64,.20);
  outline-offset: 2px;
  border-radius: 8px;
}

/* responsive */
@media (max-width: 650px){
  header{
    padding: 1rem;
  }
}

.skip-link{
  position:absolute;
  left:-999px;
  top:10px;
  background:#fff;
  border:1px solid #E5E7EB;
  padding:.5rem .75rem;
  border-radius:10px;
}
.skip-link:focus{
  left:10px;
  z-index:999;
}