:root{
  --bg:#0b0b0d;
  --fg:#f2f2f4;
  --muted:#a9a9b2;
  --line:#2a2a33;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  background:var(--bg);
  color:var(--fg);
}

a{color:var(--fg); text-decoration:none}
a:hover{text-decoration:underline}

.wrap{min-height:100vh}

/* Page layer + background */
.page{
  position:relative;
  min-height:100vh;
  overflow:hidden;

  display:flex;
  flex-direction:column;
}

/* Background */
.page::before{
  content:"";
  position:absolute;
  inset:0;
  background: url("../assets/research-bg.jpg") center/cover no-repeat;
  filter: brightness(0.55) contrast(1.05) saturate(0.75) blur(2px);
  transform: scale(1.03);
  z-index:0;
}

/* Gradient */
.page::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg,
    rgba(11,11,13,0.94) 0%,
    rgba(11,11,13,0.78) 34%,
    rgba(11,11,13,0.46) 58%,
    rgba(11,11,13,0.18) 78%,
    rgba(11,11,13,0.06) 100%);
  z-index:1;
}

/* ✅ Top header as a real page header (not fixed, no box) */
.site-header{
  position:relative;
  z-index:2;
  padding:22px 44px 0;

  text-align:right;
}

.site-header .brand{
  margin:0 0 6px;
  letter-spacing:0.22em;
  text-transform:uppercase;
  font-size:14px;
  font-weight:600;
  opacity:0.92;
}

.site-header .menu{
  font-size:13px;
  color:var(--muted);
}

.site-header .menu a{
  color:var(--muted);
  margin:0 10px;
}

.site-header .menu a:first-child{ margin-left:0; }
.site-header .menu a:last-child{ margin-right:0; }

.site-header .menu a:hover{
  color:var(--fg);
  text-decoration:none;
}

/* ✅ Main content centered vertically in remaining space */
.main{
  position:relative;
  z-index:2;

  flex:1;
  display:flex;
  align-items:center;
}

.content{
  width:100%;
  max-width:980px;
  padding:28px 44px 56px;
}

/* Title + lead */
.h1{
  margin:0 0 12px;
  font-size:22px;
  font-weight:600;
}

.content > h2{
  margin:22px 0 9px;
  font-size:17px;
  line-height:1.25;
  font-weight:600;
}

.lead{
  margin:0 0 12px;
  line-height:1.25;
  color:var(--muted);
  max-width:70ch;
}

.focus{
  margin:0 0 24px;
  padding:0;
  list-style:none;
  color:var(--muted);
  max-width:70ch;
}

.focus li{
  margin:6px 0;
  line-height:1.25;
}

.focus li::before{
  content:"— ";
  color:rgba(242,242,244,0.45);
}

/* 3 blocks */
.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap:16px;
}

.card{
  border:1px solid rgba(242,242,244,0.14);
  border-radius:16px;
  padding:18px 16px;
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(3px);
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
  min-height: 140px;
}

.card:hover{
  transform: translateY(-2px);
  border-color: rgba(242,242,244,0.28);
  background: rgba(255,255,255,0.05);
}

.card h2{
  margin:0 0 8px;
  font-size:16px;
  font-weight:600;
}

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

.card a{
  display:inline-block;
  font-size:13px;
  opacity:0.92;
}

.card a:hover{
  opacity:1;
  text-decoration:none;
}

/* Seal */
.seal{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:22px;
  color:var(--muted);
  font-size:12px;
}

.seal img{
  height:22px;
  width:auto;
  opacity:0.75;
}

@media (max-width: 900px){
  .grid{ grid-template-columns: 1fr; }

  .site-header{ padding:16px 22px 0; }
  .main{ align-items:flex-start; }
  .content{ padding:22px 22px 44px; }
  .content > h2{ margin:20px 0 8px; line-height:1.25; }
  .lead{ line-height:1.25; margin-bottom:11px; }
}
