/* ===== Executive CV-inspired, clean and print-like ===== */

:root{
  --bg: #f6f7f9;
  --paper: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e5e7eb;
  --accent: #1f4b99;       /* subtle “CV blue” */
  --accent2: #0b2d66;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --radius2: 22px;
  --max: 1100px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 600px at 20% -10%, rgba(31,75,153,0.08), transparent 55%),
              radial-gradient(900px 500px at 90% 0%, rgba(11,45,102,0.06), transparent 50%),
              var(--bg);
}

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

.container{
  width: min(var(--max), 92vw);
  margin: 0 auto;
}

.skip{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip:focus{
  left: 12px;
  top: 12px;
  width:auto;
  height:auto;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  z-index: 9999;
}

/* ===== Header ===== */
.topbar{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246,247,249,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand__name{
  font-weight: 720;
  letter-spacing: 0.2px;
  font-size: 16px;
}
.brand__role{
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.nav{
  display:flex;
  gap: 14px;
  align-items:center;
}
.nav a{
  font-size: 13px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
}
.nav a:hover{
  color: var(--ink);
  background: rgba(31,75,153,0.08);
  text-decoration:none;
}

.menuBtn{
  display:none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 8px 10px;
  cursor:pointer;
}

.contactRow{
  padding-bottom: 12px;
}
.contactPills{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
}
.pill{
  font-size: 12.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.75);
  padding: 8px 10px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  gap: 8px;
  cursor:pointer;
}
a.pill{ cursor: pointer; }
.pill:hover{ background: #fff; color: var(--ink); text-decoration:none; }

.toast{
  margin-top: 8px;
  min-height: 18px;
  font-size: 12px;
  color: var(--muted);
}

.mobileNav{
  display:none;
  padding: 0 0 14px 0;
  gap: 8px;
  flex-wrap: wrap;
}
.mobileNav a{
  font-size: 13px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.7);
}

/* ===== Hero ===== */
.hero{
  padding: 26px 0 18px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 18px;
  align-items:start;
}
.kicker{
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent2);
  font-weight: 700;
}
h1{
  margin: 10px 0 8px;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.lede{
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.hero__metrics{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.metric{
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: 0 1px 0 rgba(15,23,42,0.03);
}
.metric__value{
  font-weight: 800;
  font-size: 18px;
  color: var(--accent2);
}
.metric__label{
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

/* ===== Sections ===== */
.section{
  padding: 22px 0;
}
.section--alt{
  background: linear-gradient(to bottom, rgba(31,75,153,0.05), transparent 30%);
  border-top: 1px solid rgba(229,231,235,0.6);
  border-bottom: 1px solid rgba(229,231,235,0.6);
}
.section__header{
  margin-bottom: 14px;
}
.section__header h2{
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.section__header p{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card, .panel, .role{
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  padding: 16px;
  box-shadow: var(--shadow);
}

.card{ margin-bottom: 14px; }
.card__title{
  font-weight: 720;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--accent2);
}

h3{
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -0.01em;
}
h4{
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--accent2);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.meta{
  color: var(--muted);
  font-size: 12.5px;
}
.meta--right{
  text-align:right;
  white-space: nowrap;
}
.tight{ margin: 8px 0 0; color: var(--muted); line-height: 1.55; }

.bullets{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.bullets li{ margin: 6px 0; }

.timeline{
  display:flex;
  flex-direction:column;
  gap: 14px;
}

.role__head{
  display:flex;
  justify-content:space-between;
  gap: 14px;
  align-items:flex-start;
  margin-bottom: 10px;
}
.role__head h3{ margin: 0 0 4px; }

.chips{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 6px 0 12px;
}
.chip{
  font-size: 12px;
  color: var(--accent2);
  background: rgba(31,75,153,0.08);
  border: 1px solid rgba(31,75,153,0.14);
  padding: 6px 10px;
  border-radius: 999px;
}

.pubs{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.pubs li{ margin: 8px 0; }

.footer{
  padding: 18px 0 28px;
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
}
.muted{ color: var(--muted); font-size: 12.5px; }
.backTop{
  font-size: 12.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.8);
  padding: 8px 10px;
  border-radius: 999px;
}
.backTop:hover{ color: var(--ink); text-decoration:none; background: #fff; }

/* ===== Responsive ===== */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__metrics{ grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 820px){
  .nav{ display:none; }
  .menuBtn{ display:inline-flex; }
  .mobileNav{ display:flex; }
  .grid3{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  h1{ font-size: 30px; }
  .hero__metrics{ grid-template-columns: 1fr; }
  .role__head{ flex-direction:column; }
  .meta--right{ text-align:left; }
}
