/* Dr Aryan Pasikhani - site stylesheet.
   Section 1: self-hosted fonts (the same files the page used to load from Google Fonts).
   Section 2: the page design, copied unchanged from the original my_website.html export.
   Section 3: small additions needed by the static build. Keep design changes out of section 3.
   Section 4: the official design the owner asked for on 3 Dec 2026 ("elegant, official, a president's website").
              It restyles section 2 and adds the header band; page.html's About markup was rearranged for it. */

/* ============ 1. Fonts ============ */
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/montserrat-latin-ext.920711de9a.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/montserrat-latin.6438d7b8ea.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/montserrat-latin-ext.920711de9a.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/montserrat-latin.6438d7b8ea.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/montserrat-latin-ext.920711de9a.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/montserrat-latin.6438d7b8ea.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/source-sans-3-italic-latin-ext.ad99363217.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/source-sans-3-italic-latin.b9b0f6feec.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/source-sans-3-latin-ext.ed3571ea9f.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/source-sans-3-latin.587435ca9d.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/source-sans-3-latin-ext.ed3571ea9f.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/source-sans-3-latin.587435ca9d.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/source-sans-3-latin-ext.ed3571ea9f.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/source-sans-3-latin.587435ca9d.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Cinzel (variable, 400-900): the name in the header band and the footer only (owner, 5 Dec 2026). */
/* latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/cinzel-latin-ext.bd11c74f54.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/cinzel-latin.ef95296c77.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============ 2. Page design (unchanged from the original export) ============ */
:root {
  --primary: #1565c0;
  --primary-dark: #0d47a1;
  --primary-soft: #e8f0fb;
  --ink: #1f2933;
  --body: #3a4450;
  --muted: #6b7684;
  --line: #e4e8ee;
  --band: #f6f8fb;
  --head: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --text: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shadow: 0 1px 3px rgba(16,24,40,0.06), 0 6px 18px rgba(16,24,40,0.06);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
html, body { margin: 0; background: #fff; color: var(--body); }
body { font-family: var(--text); font-size: 18px; line-height: 1.7; -webkit-font-smoothing: antialiased; text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); margin: 0; letter-spacing: -0.005em; }
p { margin: 0; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
strong { color: var(--ink); font-weight: 700; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
::selection { background: var(--primary-soft); }
.ic { width: 1em; height: 1em; flex: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* navbar */
.navbar { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--line); box-shadow: 0 2px 10px rgba(16,24,40,0.04); }
.navbar-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { font-family: var(--head); font-weight: 700; font-size: 19px; color: var(--ink); white-space: nowrap; }
.brand:hover { color: var(--ink); text-decoration: none; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu a { font-family: var(--head); font-weight: 500; font-size: 14.5px; color: #4a5563; padding: 8px 11px; border-radius: 6px; white-space: nowrap; }
.menu a:hover { color: var(--primary); background: var(--primary-soft); text-decoration: none; }
.menu a.is-active { color: var(--primary); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; }

/* sections */
.section { padding: 88px 0; }
.section.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 32px 56px; }
.shead h2 { font-size: 34px; line-height: 1.2; font-weight: 700; }
.shead p { margin-top: 12px; font-size: 16.5px; line-height: 1.6; color: var(--muted); }
.shead .rule { width: 44px; height: 3px; background: var(--primary); border-radius: 2px; margin-top: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }

/* about */
.about { padding: 72px 0 88px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px 64px; align-items: start; }
.profile { text-align: center; }
.avatar { width: 250px; height: 250px; margin: 0 auto; border-radius: 50%; overflow: hidden; box-shadow: 0 10px 30px rgba(16,24,40,0.15); border: 6px solid #fff; outline: 1px solid var(--line); }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.profile h1 { margin-top: 26px; font-size: 30px; line-height: 1.25; font-weight: 700; }
.postnom { margin-top: 6px; font-size: 17px; font-weight: 600; color: var(--primary); letter-spacing: 0.04em; }
.profile .role { margin-top: 12px; font-size: 18px; line-height: 1.5; color: var(--ink); }
.profile .org { margin-top: 4px; font-size: 17px; line-height: 1.5; color: var(--muted); }
.profile .org a { color: var(--muted); }
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--primary); background: var(--primary-soft); transition: background .2s ease, color .2s ease, transform .2s ease; font-family: var(--head); font-weight: 700; font-size: 11px; }
.socials a:hover { background: var(--primary); color: #fff; text-decoration: none; transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }
.bio h2 { font-size: 34px; font-weight: 700; }
.bio .lead { margin-top: 20px; }
.bio p + p { margin-top: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 8px; font-family: var(--head); font-weight: 600; font-size: 14.5px; border: 1px solid var(--primary); color: var(--primary); background: #fff; transition: background .2s ease, color .2s ease; cursor: pointer; }
.btn:hover { background: var(--primary-soft); text-decoration: none; }
.btn.solid { background: var(--primary); color: #fff; }
.btn.solid:hover { background: var(--primary-dark); color: #fff; }
.btn svg { width: 17px; height: 17px; }
.two-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }
.two-lists h3 { font-size: 19px; font-weight: 700; margin-bottom: 14px; }
.ilist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ilist li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.5; }
.ilist li svg { width: 20px; height: 20px; color: var(--primary); margin-top: 2px; flex: none; }
.ilist .sm { display: block; font-size: 15.5px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.stat { padding: 18px 16px; border-radius: 12px; background: var(--band); border: 1px solid var(--line); text-align: center; }
.stat-n { font-family: var(--head); font-weight: 700; font-size: 26px; line-height: 1.2; color: var(--primary); }
.stat-l { margin-top: 4px; font-size: 14.5px; line-height: 1.4; color: var(--muted); }

/* news */
.news { display: grid; gap: 14px; }
.news-item { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 6px 24px; padding: 20px 24px; }
.pill { display: inline-block; align-self: start; justify-self: start; padding: 4px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-dark); font-family: var(--head); font-weight: 600; font-size: 12.5px; line-height: 1.5; letter-spacing: 0.02em; }
.news-t { font-family: var(--head); font-weight: 600; font-size: 17.5px; line-height: 1.45; color: var(--ink); }
.news-d { margin-top: 6px; font-size: 16.5px; line-height: 1.6; color: var(--body); }
.news-a { display: inline-block; margin-top: 6px; font-size: 16px; font-weight: 600; }
.more { margin-top: 20px; }

/* research */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.rcard { padding: 28px 26px; transition: transform .2s ease, box-shadow .2s ease; }
.rcard:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(16,24,40,0.06), 0 14px 30px rgba(16,24,40,0.1); }
.ricon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--primary-soft); color: var(--primary); }
.ricon svg { width: 26px; height: 26px; }
.rcard h3 { margin-top: 18px; font-size: 19px; line-height: 1.35; font-weight: 700; }
.rcard p { margin-top: 10px; font-size: 16.5px; line-height: 1.65; }

/* publications */
.filters { display: inline-flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.filter { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--body); font-family: var(--head); font-weight: 600; font-size: 14px; cursor: pointer; transition: all .2s ease; }
.filter:hover { border-color: var(--primary); color: var(--primary); }
.filter.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }
.pubs { display: grid; gap: 14px; }
.pub { padding: 22px 26px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; }
.pub-t { font-family: var(--head); font-weight: 600; font-size: 17.5px; line-height: 1.45; color: var(--ink); }
.pub-au { margin-top: 6px; font-size: 16.5px; line-height: 1.55; color: var(--body); }
.pub-au strong { color: var(--primary-dark); }
.pub-v { margin-top: 2px; font-size: 16.5px; line-height: 1.55; font-style: italic; color: var(--muted); }
.pub-n { margin-top: 8px; font-size: 16px; color: var(--body); }
.pub-btns { display: flex; gap: 8px; margin-top: 12px; }
.xs { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 6px; border: 1px solid var(--primary); color: var(--primary); font-family: var(--head); font-weight: 600; font-size: 12.5px; }
.xs:hover { background: var(--primary); color: #fff; text-decoration: none; }
.pub-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.yr { font-family: var(--head); font-weight: 700; font-size: 15px; color: var(--ink); }
.kind { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* funding */
.fund-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; padding: 26px 30px; margin-bottom: 22px; background: linear-gradient(120deg, var(--primary-dark), var(--primary)); color: #fff; border-radius: 12px; }
.fund-sum .big { font-family: var(--head); font-weight: 700; font-size: 40px; line-height: 1.1; }
.fund-sum .lbl { font-size: 16.5px; line-height: 1.5; opacity: 0.92; max-width: 34em; }
.fund { display: grid; gap: 14px; }
.grant { padding: 20px 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; }
.grant.is-muted { opacity: 0.65; }
.g-t { font-family: var(--head); font-weight: 600; font-size: 17px; line-height: 1.45; color: var(--ink); }
.g-p { margin-top: 4px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.g-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 10px; font-size: 15.5px; color: var(--body); }
.g-meta .pill { font-size: 12px; }
.g-val { text-align: right; }
.g-v { font-family: var(--head); font-weight: 700; font-size: 19px; color: var(--ink); white-space: nowrap; }
.g-vn { font-size: 14.5px; color: var(--muted); white-space: nowrap; }

/* impact */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 22px 0 26px; }
.product { padding: 20px 22px; }
.product b { display: block; font-family: var(--head); font-size: 18px; color: var(--primary); }
.product span { display: block; margin-top: 4px; font-size: 16px; line-height: 1.5; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; font-size: 17px; line-height: 1.6; }
.checks li svg { width: 22px; height: 22px; color: var(--primary); flex: none; margin-top: 2px; }

/* experience timeline */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; margin-bottom: 16px; padding: 18px 24px; }
.tl-item::before { content: ""; position: absolute; left: -31px; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); }
.tl-item.now::before { background: var(--primary); }
.tl-top { display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; align-items: baseline; }
.tl-t { font-family: var(--head); font-weight: 600; font-size: 17.5px; line-height: 1.45; color: var(--ink); }
.tl-d { font-family: var(--head); font-weight: 600; font-size: 13.5px; color: var(--primary); white-space: nowrap; }
.tl-o { margin-top: 4px; font-size: 16.5px; line-height: 1.55; color: var(--muted); }
.subh { font-family: var(--head); font-size: 20px; font-weight: 700; margin: 34px 0 16px; }
.subh:first-child { margin-top: 0; }

/* teaching */
.tgrid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 22px; }
.tcard { padding: 26px 28px; }
.tcard h3 { font-size: 19px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.tcard h3 svg { width: 22px; height: 22px; color: var(--primary); }
.dots { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dots li { position: relative; padding-left: 20px; font-size: 16.5px; line-height: 1.6; }
.dots li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.names { display: flex; flex-wrap: wrap; gap: 8px; }
.names span { padding: 6px 14px; border-radius: 999px; background: var(--band); border: 1px solid var(--line); font-size: 15.5px; color: var(--ink); }
.note { margin-top: 16px; font-size: 15.5px; color: var(--muted); }

/* certifications */
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.badge { padding: 20px 14px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform .2s ease, box-shadow .2s ease; color: inherit; }
.badge:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(16,24,40,0.06), 0 14px 30px rgba(16,24,40,0.1); text-decoration: none; }
.badge-img { width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; }
.badge-img img { max-width: 96px; max-height: 96px; object-fit: contain; }
.mono { width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--primary-soft); color: var(--primary-dark); font-family: var(--head); font-weight: 700; font-size: 16px; }
.badge-c { margin-top: 12px; font-family: var(--head); font-weight: 700; font-size: 15.5px; color: var(--ink); }
.badge-n { margin-top: 2px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.further { margin-top: 22px; font-size: 16.5px; }

/* service */
.sv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.cline { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.55; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cline:last-child { border-bottom: 0; }
.cline svg { width: 22px; height: 22px; color: var(--primary); flex: none; margin-top: 1px; }
.footer { padding: 30px 0; border-top: 1px solid var(--line); text-align: center; font-size: 15px; color: var(--muted); }

@media (max-width: 1080px) {
  .menu a { padding: 8px 8px; font-size: 14px; }
}
@media (max-width: 960px) {
  .burger { display: inline-flex; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(16,24,40,0.08); }
  .menu.open { display: flex; }
  .menu a { padding: 12px 10px; font-size: 16px; }
  .sgrid, .about-grid, .tgrid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .cards3, .products { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 64px 0; }
}
@media (max-width: 720px) {
  body { font-size: 17.5px; }
  .container { padding: 0 18px; }
  .avatar { width: 200px; height: 200px; }
  .two-lists, .sv { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-item, .pub, .grant { grid-template-columns: minmax(0, 1fr); padding: 18px 18px; }
  .pub-side { flex-direction: row; align-items: center; }
  .g-val { text-align: left; }
  .shead h2, .bio h2 { font-size: 28px; }
  .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============ 3. Additions for the static build ============ */
[hidden] { display: none !important; }
.minw0 { min-width: 0; }
.avatar picture { display: contents; }
.badge-img img { width: auto; height: auto; }
.badge-x { margin-top: 4px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.badge-c, .badge-n, .badge-x { display: block; }
.cert-note { margin-top: 22px; font-size: 16.5px; }
.cert-note ~ .further { margin-top: 10px; }

/* No pictorial icons in the content (owner, 3 Dec 2026): the interest, education and impact lists use the
   same small dot as .dots, and the research cards and card headings are plain text */
.ilist li::before, .checks li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 0.62em; border-radius: 50%; background: var(--primary); }
.rcard h3 { margin-top: 0; }

/* EC-Council cards: the link wraps the artwork and text; "Copy name" / "Copy ID" sit below it */
.badge-link { display: flex; flex-direction: column; align-items: center; flex: 1 0 auto; color: inherit; }
.badge-link:hover { color: inherit; text-decoration: none; }
.badge-copy { display: none; width: 100%; max-width: 132px; margin-top: 12px; gap: 6px; }
html.js .badge-copy { display: grid; }
.copy { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--primary); font-family: var(--head); font-weight: 600; font-size: 12.5px; line-height: 1.4; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.copy:hover { border-color: var(--primary); background: var(--primary-soft); }
.copy.is-done { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-dark); }
.copy-src { position: fixed; top: 0; left: -9999px; opacity: 0; }
.js-only { display: none; }
html.js .js-only { display: inline; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Skip link: off-screen until focused with the keyboard */
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; padding: 10px 16px; background: #fff; color: var(--primary-dark); border: 2px solid var(--primary); border-radius: 0 0 8px 0; font-family: var(--head); font-weight: 600; font-size: 14.5px; }
.skip:focus { left: 0; }

/* Controls that need JavaScript stay hidden without it, so the page is complete either way */
.filters { display: none; }
html.js .filters { display: inline-flex; }
.more { display: none; }
html.js .more { display: block; }
html.js .news:not(.all) .news-extra { display: none; }
html.js .news.all + .more { display: none; }

/* 404 page */
.notfound { padding: 120px 0; text-align: center; }
.notfound h1 { font-size: 34px; font-weight: 700; }
.notfound p { margin-top: 14px; }
.notfound .btns { justify-content: center; }

@media print {
  .navbar, .skip, .filters, .more, .btns, .badge-copy, .js-only { display: none !important; }
  html.js .news .news-extra { display: grid !important; }
  .section, .about { padding: 24px 0; }
  .card { box-shadow: none; break-inside: avoid; }
}

/* Between the phone menu (960px and below) and about 1010px the nine menu links were wider than the bar and the
   page scrolled sideways. Tighten them a little in that range. */
@media (min-width: 961px) and (max-width: 1030px) {
  .menu { gap: 0; }
  .menu a { padding: 8px 5px; font-size: 13.5px; }
}

/* ============ 4. Official design (owner, 3 Dec 2026) ============ */
/* The owner asked for an "official, elegant, president's website" look. Same fonts and the same title-left
   sections; what changes: a navy header band with the portrait and name, a figures strip, a navy footer, a
   deeper blue, a thin brass accent, hairline borders, squarer corners, and nothing that jumps on hover.
   The About markup in page.html was rearranged for the header band (.hero, .hero-text, .eyebrow, .bio-grid). */
:root {
  --display: "Cinzel", "Trajan Pro", "Montserrat", serif;
  --navy: #0a2342;
  --primary: #14438b;
  --primary-dark: #0c2d63;
  --primary-soft: #edf1f7;
  --accent: #b08d57;
  --accent-light: #dcc595;
  --ink: #101a29;
  --body: #36404d;
  --line: #dde2e9;
  --band: #f6f7f9;
  --shadow: 0 1px 2px rgba(16,24,40,0.04);
}
h1, h2, h3 { letter-spacing: -0.01em; }
.navbar { box-shadow: none; }
.menu a, .burger, .btn, .filter, .xs, .copy, .names span { border-radius: 4px; }
.card, .fund-sum { border-radius: 6px; }

/* header band */
.about { padding: 0; }
.hero { position: relative; overflow: hidden; padding: 84px 0 136px; color: #fff; border-bottom: 3px solid var(--accent); background: #041226; }

/* Animated header (owner, 5 Dec 2026). The owner asked for an animated navy gradient "with theme of defence",
   rejected two decorated versions (a radar dial; a hexagonal lattice with light pulses) as obvious and "fake",
   found plain drifting light too quiet, and then asked for an "animated gradient" that is "hypnotic" and
   attractive. So the gradient itself is the feature: .flow is a very large, blurred wheel of navy, royal and
   electric blue that turns slowly about a point below the band, and four soft fields of light (.glow) circle
   over it and brighten where they cross. A veil keeps the text side dark enough to read. No shapes, symbols
   or patterns. Decoration only (.hero-fx is aria-hidden); it stops for reduced motion and is not printed. */
.hero-fx { position: absolute; inset: 0; pointer-events: none; }
.flow { position: absolute; left: 62%; top: 118%; width: 2600px; height: 2600px; margin: -1300px 0 0 -1300px; border-radius: 50%; filter: blur(70px); will-change: transform;
  background: conic-gradient(from 0deg, #041226 0deg, #0a2f73 40deg, #1b66d6 78deg, #3aa0f2 100deg, #0d3a8c 128deg, #041226 170deg, #082658 205deg, #1552bd 246deg, #2f8dea 272deg, #0b3078 304deg, #041226 360deg);
  animation: flow-turn 42s linear infinite; }
.glow { position: absolute; border-radius: 50%; mix-blend-mode: screen; will-change: transform; }
.glow.g1 { width: 880px; height: 880px; right: -180px; top: -420px; background: radial-gradient(closest-side, rgba(52,128,240,0.60), rgba(52,128,240,0.16) 55%, transparent); animation: glow-a 19s ease-in-out infinite; }
.glow.g2 { width: 760px; height: 760px; left: 34%; bottom: -520px; background: radial-gradient(closest-side, rgba(40,170,246,0.42), rgba(40,170,246,0.10) 58%, transparent); animation: glow-b 23s ease-in-out infinite; }
.glow.g3 { width: 700px; height: 700px; left: -260px; top: -300px; background: radial-gradient(closest-side, rgba(36,96,214,0.42), transparent); animation: glow-c 27s ease-in-out infinite; }
.glow.g4 { width: 560px; height: 560px; right: 18%; top: 10%; background: radial-gradient(closest-side, rgba(120,196,255,0.26), transparent); animation: glow-d 16s ease-in-out infinite; }
.hero-fx::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,10,24,0.62), rgba(3,10,24,0.34) 46%, rgba(3,10,24,0.06) 78%), linear-gradient(180deg, rgba(2,9,22,0.22), transparent 28%, transparent 58%, rgba(2,9,22,0.60)); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: rgba(220,197,149,0.45); }
@keyframes flow-turn { to { transform: rotate(360deg); } }
@keyframes glow-a { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 33% { transform: translate3d(-300px, 150px, 0) scale(1.18); } 66% { transform: translate3d(-90px, 260px, 0) scale(0.92); } }
@keyframes glow-b { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 33% { transform: translate3d(260px, -170px, 0) scale(1.22); } 66% { transform: translate3d(-200px, -80px, 0) scale(0.95); } }
@keyframes glow-c { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(320px, 170px, 0) scale(1.2); } }
@keyframes glow-d { 0%, 100% { transform: translate3d(0, 0, 0) scale(0.85); opacity: 0.55; } 50% { transform: translate3d(-180px, 90px, 0) scale(1.3); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .flow, .glow { animation: none; } }
.hero-in { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 36px 68px; align-items: center; }
.hero .avatar { width: 240px; height: 240px; margin: 0; border: 5px solid #fff; outline: 1px solid var(--accent-light); outline-offset: 6px; box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
.eyebrow { font-family: var(--head); font-weight: 600; font-size: 12.5px; line-height: 1.6; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-light); }
.eyebrow::before { content: ""; display: inline-block; width: 40px; height: 1px; margin-right: 16px; vertical-align: middle; background: var(--accent-light); }
.eyebrow a { color: inherit; }
.eyebrow a:hover { color: #fff; text-decoration: none; }
.hero h1 { margin-top: 20px; font-family: var(--display); font-size: clamp(46px, 4.2vw, 60px); line-height: 1.1; font-weight: 500; letter-spacing: 0.02em; color: #fff; }
.hero .postnom { margin-top: 18px; font-size: 15.5px; letter-spacing: 0.18em; color: var(--accent-light); }
.hero .postnom a { color: inherit; }
.hero .postnom a:hover { color: #fff; }
.hero .role { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.16); font-size: 21px; line-height: 1.45; color: #fff; }
.hero .org { margin-top: 4px; font-size: 17px; line-height: 1.5; color: rgba(255,255,255,0.76); }
.hero .org a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.35); text-underline-offset: 3px; }
.hero .org a:hover { color: #fff; }
.hero .btns { margin-top: 30px; }
.hero .btn { border-color: rgba(255,255,255,0.5); background: transparent; color: #fff; }
.hero .btn:hover { background: rgba(255,255,255,0.12); color: #fff; }
.hero .btn.solid { background: #fff; border-color: #fff; color: var(--navy); }
.hero .btn.solid:hover { background: var(--accent-light); border-color: var(--accent-light); color: var(--navy); }
.hero .socials { justify-content: flex-start; margin-top: 22px; }
.hero .socials a { width: 40px; height: 40px; background: transparent; border: 1px solid rgba(255,255,255,0.35); color: #fff; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.hero .socials a:hover { background: #fff; border-color: #fff; color: var(--navy); transform: none; }
.hero :focus-visible { outline-color: #fff; }

/* figures strip, overlapping the band */
.stats { position: relative; gap: 0; margin-top: -58px; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 16px 40px rgba(10,35,66,0.10); }
.stat { padding: 26px 16px 24px; background: transparent; border: 0; border-left: 1px solid var(--line); border-radius: 0; }
.stat:first-child { border-left: 0; }
/* one cell holding two figures side by side (grants and awards), split by a short hairline */
.stat-pair { display: grid; grid-template-columns: 1.7fr 1fr; padding-left: 6px; padding-right: 6px; }
.stat-pair > div { padding: 0 4px; }
.stat-pair > div + div { position: relative; }
.stat-pair > div + div::before { content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px; background: var(--line); }
.stat-n { font-size: 30px; font-weight: 600; color: var(--navy); }
.stat-l { margin-top: 8px; font-family: var(--head); font-weight: 600; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; }

/* biography, laid out like the other sections */
.bio-grid { padding: 72px 0 88px; }
.bio .lead { margin-top: 0; font-size: 20px; line-height: 1.65; color: var(--ink); }

/* sections, cards, labels */
.shead h2 { font-weight: 600; letter-spacing: -0.015em; }
.shead .rule { width: 56px; height: 2px; border-radius: 0; background: var(--accent); }
.pill { padding: 4px 10px; border-radius: 3px; font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; }
.g-meta .pill { font-size: 11px; }
.fund-sum { background: var(--navy); }
.rcard, .badge { transition: border-color .2s ease, box-shadow .2s ease; }
.rcard:hover, .badge:hover { transform: none; border-color: #b9c4d4; box-shadow: 0 2px 8px rgba(16,24,40,0.06); }
.copy:hover, .copy.is-done { border-color: var(--primary); }

/* footer */
.footer { padding: 44px 0 40px; background: var(--navy); border-top: 3px solid var(--accent); color: rgba(255,255,255,0.72); }
.foot-name { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: 0.04em; color: #fff; }
.foot-org { margin-top: 6px; font-size: 15.5px; }
.foot-copy { margin-top: 14px; font-size: 13.5px; color: rgba(255,255,255,0.55); }

@media (max-width: 960px) {
  .hero { padding: 56px 0 108px; }
  .eyebrow::before { display: none; }
  .flow { left: 50%; top: 105%; }
  .glow.g1 { right: -520px; } .glow.g2 { left: -200px; } .glow.g4 { right: -120px; top: 30%; }
  .hero-fx::after { background: linear-gradient(180deg, rgba(3,10,24,0.30), rgba(3,10,24,0.42) 50%, rgba(2,9,22,0.62)); }
  .hero-in { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .hero .avatar { width: 196px; height: 196px; }
  .hero h1 { font-size: 44px; }
  .hero .btns, .hero .socials { justify-content: center; }
  .bio-grid { padding: 56px 0 64px; }
}
@media (max-width: 720px) {
  .hero h1 { font-size: clamp(25px, 7.6vw, 30px); }
  .eyebrow { font-size: 11px; letter-spacing: 0.12em; }
  .hero .role { font-size: 19px; }
  .stat:nth-child(odd) { border-left: 0; }
  .stat-pair { grid-template-columns: 1.5fr 1fr; }
  .stat-pair > div { padding: 0 2px; }
  .stat-pair .stat-l { font-size: 10.5px; letter-spacing: 0.06em; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bio .lead { font-size: 18.5px; }
}
@media print {
  .hero { padding: 0 0 16px; background: none; border: 0; color: #000; animation: none; }
  .hero-fx { display: none; }
  .hero h1, .hero .role, .hero .org, .hero .postnom, .eyebrow { color: #000; }
  .hero .socials { display: none; }
  .stats { margin-top: 0; box-shadow: none; }
  .footer { background: none; border-top: 1px solid #999; color: #000; }
  .foot-name, .foot-copy { color: #000; }
}
