/* ResearchMed Connect — site styles
   Layout: sticky header, wide centered container, alternating tinted bands. */
:root {
  --bg: #f6f9fc;
  --band: #eef4f9;
  --surface: #ffffff;
  --ink: #102338;
  --muted: #52657b;
  --line: #d9e3ed;
  --primary: #1b5896;
  --primary-hover: #154a80;
  --on-primary: #ffffff;
  --teal: #0e7c84;
  --teal-soft: #e1f2f3;
  --amber: #9a5a00;
  --amber-soft: #fbefd9;
  --violet: #5b4a9e;
  --violet-soft: #ece8f8;
  --hero-a: #e3f1f6;
  --hero-b: #f6f9fc;
  --shadow: 0 1px 2px rgba(16, 35, 56, .06), 0 6px 20px rgba(16, 35, 56, .06);

  --font-display: "Lora", ui-serif, Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --radius: 12px;
  --radius-sm: 8px;
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1520; --band: #0f1c2a; --surface: #13212f; --ink: #e5edf6; --muted: #9db0c4;
    --line: #22384d; --primary: #6fa8e6; --primary-hover: #8dbbec; --on-primary: #08131e;
    --teal: #53c3ca; --teal-soft: #11303a; --amber: #f0b45a; --amber-soft: #33260f;
    --violet: #b3a6ec; --violet-soft: #252040; --hero-a: #0f2433; --hero-b: #0b1520;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1520; --band: #0f1c2a; --surface: #13212f; --ink: #e5edf6; --muted: #9db0c4;
  --line: #22384d; --primary: #6fa8e6; --primary-hover: #8dbbec; --on-primary: #08131e;
  --teal: #53c3ca; --teal-soft: #11303a; --amber: #f0b45a; --amber-soft: #33260f;
  --violet: #b3a6ec; --violet-soft: #252040; --hero-a: #0f2433; --hero-b: #0b1520;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0; text-wrap: balance; font-weight: 600; }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--teal); display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 24px; height: 24px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.1; display: block; }
.brand-tag { font-size: .78rem; color: var(--muted); display: block; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 11px; border-radius: 8px; font-size: .97rem; font-weight: 500; white-space: nowrap; }
.nav a:hover { background: var(--band); }
.nav a[aria-current="page"] { color: var(--primary); background: var(--band); }
.nav-more { position: relative; }
.nav-more > button { font: inherit; font-weight: 500; font-size: .97rem; background: none; border: 0; color: var(--ink); padding: 8px 11px; border-radius: 8px; cursor: pointer; }
.nav-more > button:hover { background: var(--band); }
.nav-more .menu { position: absolute; right: 0; top: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 6px; min-width: 200px; display: grid; }
.nav-more .menu a { padding: 8px 10px; }
.nav-more .menu[hidden] { display: none; }
.menu-toggle { display: none; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--ink); place-items: center; }
.theme-toggle { background: none; border: 1px solid var(--line); border-radius: 10px; width: 40px; height: 40px; cursor: pointer; color: var(--ink); display: grid; place-items: center; flex: none; }
.theme-toggle:hover { background: var(--band); }
@media (max-width: 1020px) {
  .menu-toggle { display: grid; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 20px 16px; box-shadow: var(--shadow); max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a { padding: 11px 10px; }
  .nav-more > button { display: none; }
  .nav-more .menu { position: static; box-shadow: none; border: 0; padding: 0; display: grid !important; min-width: 0; background: none; }
}

.announce { background: var(--teal); color: #fff; font-size: .95rem; }
.announce .wrap { display: flex; gap: 10px; align-items: center; justify-content: center; padding-block: 8px; text-align: center; flex-wrap: wrap; }
.announce a { color: #fff; font-weight: 600; }
:root[data-theme="dark"] .announce, :root:not([data-theme="light"]) .announce { color: #fff; }

/* ---------- Buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 1rem; padding: 12px 22px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, transform .15s; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 8px 14px; font-size: .92rem; border-radius: 8px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.pill-eyebrow { border: 1px solid color-mix(in srgb, var(--teal) 35%, transparent); background: var(--surface); border-radius: 999px; padding: 6px 14px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.tag-video { background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); }
.tag-note { background: var(--teal-soft); color: var(--teal); }
.tag-highlight { background: var(--amber-soft); color: var(--amber); }
.tag-gallery { background: var(--violet-soft); color: var(--violet); }
.tag-update { background: var(--band); color: var(--muted); border: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: .92rem; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding-block: 72px; }
.section.band { background: var(--band); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head > div { display: grid; gap: 10px; max-width: 62ch; min-width: 0; }
.section-head p { color: var(--muted); }
.see-all { font-weight: 600; text-decoration: none; white-space: nowrap; }
.see-all:hover { text-decoration: underline; }

.hero { background: linear-gradient(180deg, var(--hero-a), var(--hero-b)); padding-block: 72px 64px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero-copy .lead { font-size: 1.2rem; color: var(--ink); max-width: 58ch; }
.hero-copy .sub { color: var(--muted); max-width: 60ch; }
.hero-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 22px; display: grid; gap: 14px; min-width: 0; }
.hero-panel h2 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .02em; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hero-panel .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); flex: none; }
.feed { display: grid; gap: 4px; }
.feed a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; padding: 10px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.feed a:hover { background: var(--band); }
.feed .t { font-weight: 600; line-height: 1.35; grid-column: 2; }
.feed .m { font-size: .85rem; color: var(--muted); grid-column: 2; }
.feed .tag { grid-row: span 2; align-self: start; }
.stats { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; color: var(--muted); padding-top: 6px; border-top: 1px solid var(--line); }
.stats b { color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-block: 48px; } .section { padding-block: 56px; } }

.page-hero { background: linear-gradient(180deg, var(--hero-a), var(--hero-b)); padding-block: 56px 40px; border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; gap: 14px; justify-items: start; }
.page-hero p { color: var(--muted); max-width: 64ch; font-size: 1.1rem; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.card { text-decoration: none; color: var(--ink); }
a.card:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { aspect-ratio: 16 / 9; background: var(--band); position: relative; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .play { position: absolute; inset: 0; display: grid; place-items: center; }
.card-media .play span { width: 56px; height: 56px; border-radius: 50%; background: rgba(8, 19, 30, .72); display: grid; place-items: center; }
.card-media .dur { position: absolute; right: 8px; bottom: 8px; background: rgba(8, 19, 30, .8); color: #fff; font-size: .78rem; padding: 2px 7px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.poster { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 22%, var(--band)), color-mix(in srgb, var(--teal) 22%, var(--band))); color: var(--ink); }
.poster svg { width: 40%; max-width: 88px; opacity: .55; }
.card-body { padding: 18px; display: grid; gap: 8px; align-content: start; flex: 1; }
.card-body h3 { font-size: 1.12rem; }
.card-body p { color: var(--muted); font-size: .98rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .85rem; color: var(--muted); }
.card-foot { padding: 0 18px 18px; display: flex; gap: 10px; flex-wrap: wrap; }

/* Note card: document-like */
.note-card .note-top { display: flex; gap: 14px; align-items: flex-start; }
.doc-icon { width: 44px; height: 54px; flex: none; border-radius: 6px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; position: relative; font-size: .62rem; font-weight: 800; letter-spacing: .04em; }
.doc-icon::after { content: ""; position: absolute; top: 0; right: 0; border-width: 0 12px 12px 0; border-style: solid; border-color: var(--bg) var(--bg) color-mix(in srgb, var(--teal) 30%, var(--teal-soft)) color-mix(in srgb, var(--teal) 30%, var(--teal-soft)); border-radius: 0 6px 0 3px; }

/* Highlight card: citation-like */
.hl-card .card-body { gap: 10px; }
.cite-line { font-size: .85rem; color: var(--amber); font-weight: 700; letter-spacing: .02em; }
.authors { font-size: .92rem; color: var(--muted); font-style: italic; }
.doi { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); word-break: break-all; }
.findings { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; color: var(--ink); font-size: .96rem; }
.hl-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
.hl-feature .card-media { aspect-ratio: auto; min-height: 100%; }
@media (max-width: 760px) { .hl-feature { grid-template-columns: 1fr; } .hl-feature .card-media { aspect-ratio: 16/9; } }

/* Gallery */
.masonry { columns: 3 260px; column-gap: 16px; }
.masonry figure { break-inside: avoid; margin: 0 0 16px; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.masonry button { all: unset; cursor: zoom-in; display: block; width: 100%; }
.masonry button:focus-visible { outline: 3px solid var(--teal); }
.masonry img { width: 100%; height: auto; }
.masonry figcaption { padding: 10px 12px; font-size: .92rem; color: var(--muted); }
.strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.strip a { aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--band); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.strip a:hover img { transform: scale(1.04); }

/* Lightbox */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; }
dialog.lightbox::backdrop { background: rgba(4, 10, 16, .86); }
dialog.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 8px; }
dialog.lightbox .cap { color: #fff; text-align: center; padding: 10px; }
dialog.lightbox .close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 1.5rem; cursor: pointer; }

/* Updates list */
.updates { display: grid; gap: 0; border-top: 1px solid var(--line); }
.update { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 6px 24px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.update time { font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 3px; }
.update h3 { font-size: 1.15rem; margin-bottom: 4px; }
@media (max-width: 600px) { .update { grid-template-columns: 1fr; } }

/* Toolbar */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.search { position: relative; flex: 1 1 260px; max-width: 380px; }
.search input { width: 100%; font: inherit; padding: 10px 14px 10px 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; color: var(--muted); }
.empty { border: 1px dashed var(--line); border-radius: var(--radius); padding: 36px 24px; text-align: center; color: var(--muted); background: var(--surface); grid-column: 1 / -1; }
.empty strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 6px; }

/* Services / features */
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.feature .ico { width: 44px; height: 44px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; }
.feature .ico svg { width: 22px; height: 22px; }
.feature p { color: var(--muted); }
.feature a { font-weight: 600; text-decoration: none; margin-top: 4px; }
.why { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 28px; }
.why div { display: grid; gap: 6px; padding-top: 16px; border-top: 2px solid var(--teal); }
.why h3 { font-size: 1.05rem; }
.why p { color: var(--muted); font-size: .98rem; }
.cta { background: var(--primary); color: var(--on-primary); border-radius: 18px; padding: 44px 36px; display: grid; gap: 16px; justify-items: start; }
.cta p { max-width: 60ch; opacity: .92; }
.cta .btn-primary { background: var(--on-primary); color: var(--primary); }
.cta .btn-ghost { background: transparent; color: var(--on-primary); border-color: color-mix(in srgb, var(--on-primary) 45%, transparent); }

/* Detail pages */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.detail aside { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 14px; position: sticky; top: 90px; }
.detail aside dl { margin: 0; display: grid; gap: 10px; }
.detail aside dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.detail aside dd { margin: 0; overflow-wrap: anywhere; }
.player { aspect-ratio: 16 / 9; width: 100%; background: #000; border-radius: var(--radius); overflow: hidden; }
.player iframe, .player video { width: 100%; height: 100%; border: 0; }
.detail-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.back { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; font-weight: 600; font-size: .95rem; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } .detail aside { position: static; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; align-content: start; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.form textarea { min-height: 130px; resize: vertical; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #0b1a2a; color: #c6d4e2; padding-block: 56px 28px; margin-top: 0; }
.site-footer a { color: #e6eef7; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-grid h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #8fa6bd; margin-bottom: 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-brand { display: grid; gap: 10px; }
.foot-brand .brand-name { color: #fff; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid #1f3348; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .88rem; color: #8fa6bd; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

.skeleton { background: linear-gradient(90deg, var(--band), var(--surface), var(--band)); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: var(--radius); min-height: 220px; }
@keyframes sk { to { background-position: -200% 0; } }

.form-status { padding: 18px 20px; border-radius: 10px; font-size: 1.05rem; }
.form-status.ok { background: var(--teal-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--teal) 40%, transparent); }
.form-status.ok strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--teal); margin-bottom: 4px; }
.form-status.err { background: var(--amber-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--amber) 40%, transparent); }

/* Nav call-to-action, index badges, WhatsApp button */
.nav a.nav-cta { background: var(--primary); color: var(--on-primary); margin-left: 6px; }
.nav a.nav-cta:hover, .nav a.nav-cta[aria-current="page"] { background: var(--primary-hover); color: var(--on-primary); }
@media (max-width: 1020px) { .nav a.nav-cta { margin: 8px 0 0; text-align: center; } }
.idx-row { display: flex; flex-wrap: wrap; gap: 6px; }
.idx { font-size: .74rem; font-weight: 700; letter-spacing: .03em; padding: 3px 9px; border-radius: 6px; border: 1px solid; background: var(--surface); }
.idx-lg .idx { font-size: .85rem; padding: 6px 12px; }
.idx-scopus { color: #c05a00; border-color: color-mix(in srgb, #c05a00 45%, transparent); }
.idx-embase { color: #1d6f42; border-color: color-mix(in srgb, #1d6f42 45%, transparent); }
.idx-pubmed { color: #205493; border-color: color-mix(in srgb, #205493 45%, transparent); }
.idx-web-of-science { color: #6a3d9a; border-color: color-mix(in srgb, #6a3d9a 45%, transparent); }
:root[data-theme="dark"] .idx-scopus { color: #ffae5c; } :root[data-theme="dark"] .idx-embase { color: #6fd39b; } :root[data-theme="dark"] .idx-pubmed { color: #8ab8f0; } :root[data-theme="dark"] .idx-web-of-science { color: #c7a6f0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .idx-scopus { color: #ffae5c; } :root:not([data-theme="light"]) .idx-embase { color: #6fd39b; } :root:not([data-theme="light"]) .idx-pubmed { color: #8ab8f0; } :root:not([data-theme="light"]) .idx-web-of-science { color: #c7a6f0; } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
.latest { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 6px; }
.latest h3 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.wa-fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 50; display: inline-flex; align-items: center; gap: 8px; background: #1f9d55; color: #fff; text-decoration: none; font-weight: 700; padding: 12px 16px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.wa-fab:hover { background: #188a49; color: #fff; }
@media (max-width: 520px) { .wa-fab span { display: none; } .wa-fab { padding: 14px; } }
[hidden] { display: none !important; }

/* Publications */
.pub-card { position: relative; }
.pub-head { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--band); }
.pub-logo { width: 56px; height: 56px; border-radius: 10px; background: #fff; object-fit: contain; border: 1px solid var(--line); flex: none; }
.pub-logo-txt { display: grid; place-items: center; font-weight: 800; font-size: .8rem; color: var(--primary); }
.pub-logo-lg { width: 88px; height: 88px; }
.pub-j { display: grid; gap: 2px; min-width: 0; }
.pub-short { font-weight: 700; letter-spacing: .02em; }
.pub-issue { font-size: .86rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.pub-card h3 { font-size: 1.14rem; line-height: 1.35; }
.pub-more { font-weight: 600; color: var(--primary); font-size: .95rem; margin-top: 4px; }
.proof { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: 28px; }
.proof-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 48px; align-items: center; }
.proof-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.proof-stats div { display: grid; }
.proof-stats b { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--primary); font-variant-numeric: tabular-nums; }
.proof-stats span { font-size: .9rem; color: var(--muted); margin-top: 6px; }
.proof-right { display: grid; gap: 12px; justify-items: start; }
.proof-logos { display: flex; flex-wrap: wrap; gap: 14px; }
.proof-logo { display: grid; justify-items: center; gap: 6px; text-decoration: none; color: var(--muted); }
.proof-logo img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 12px; border: 1px solid var(--line); padding: 4px; transition: transform .2s; }
.proof-logo:hover img { transform: translateY(-2px); }
.proof-logo small { font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
@media (max-width: 760px) { .proof-grid { grid-template-columns: 1fr; } .proof-stats { gap: 24px; } .proof-stats b { font-size: 2rem; } }
.idx:not(.idx-scopus):not(.idx-embase):not(.idx-pubmed):not(.idx-web-of-science) { color: var(--teal); border-color: color-mix(in srgb, var(--teal) 40%, transparent); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }
.proof-txt { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 800; font-size: .82rem; letter-spacing: .02em; text-align: center; padding: 4px; }
.proof-scopus { color: #c05a00; border-color: color-mix(in srgb, #c05a00 45%, transparent); }
.proof-elsevier { color: #e9711c; border-color: color-mix(in srgb, #e9711c 45%, transparent); }
.proof-logo small { max-width: 96px; text-align: center; line-height: 1.25; }

/* Floating notice board */
.notice-board { position: fixed; left: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 45; width: min(340px, calc(100vw - 36px)); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(8, 19, 30, .22); overflow: hidden; animation: nb-in .5s ease-out both; }
@keyframes nb-in { from { transform: translateY(20px); opacity: 0; } }
.nb-head { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; background: #b3261e; color: #fff; cursor: pointer; font-weight: 700; letter-spacing: .02em; }
.nb-head:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
.nb-bell { display: grid; animation: nb-ring 2.4s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes nb-ring { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(14deg); } 85% { transform: rotate(-12deg); } 92% { transform: rotate(6deg); } }
.nb-label { flex: 1; }
.nb-count { background: #fff; color: #b3261e; border-radius: 999px; font-size: .75rem; padding: 1px 8px; font-variant-numeric: tabular-nums; }
.nb-toggle { font-size: 1.2rem; width: 18px; text-align: center; }
.nb-body { max-height: 230px; overflow: hidden; position: relative; }
.nb-body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 24px; background: linear-gradient(transparent, var(--surface)); pointer-events: none; }
.nb-list { list-style: none; margin: 0; padding: 4px 0; }
.nb-scroll { animation: nb-up 22s linear infinite; }
.notice-board:hover .nb-scroll, .notice-board:focus-within .nb-scroll { animation-play-state: paused; }
@keyframes nb-up { to { transform: translateY(-50%); } }
.nb-list li > a, .nb-list li > div { display: grid; gap: 2px; padding: 10px 14px; border-bottom: 1px dashed var(--line); text-decoration: none; color: var(--ink); }
.nb-list li > a:hover { background: var(--band); }
.nb-date { font-size: .76rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.nb-title { font-weight: 600; line-height: 1.35; font-size: .96rem; }
.nb-details { font-size: .88rem; color: var(--muted); }
.nb-new { display: inline-block; background: #b3261e; color: #fff; font-size: .65rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 1px 6px; border-radius: 4px; margin-right: 6px; vertical-align: 2px; animation: nb-blink 1.2s steps(2, start) infinite; }
@keyframes nb-blink { to { visibility: hidden; } }
.notice-board.nb-min { width: auto; }
.notice-board.nb-min .nb-body { display: none; }
@media (prefers-reduced-motion: reduce) { .nb-scroll, .nb-bell, .nb-new, .notice-board { animation: none !important; } .nb-body { overflow-y: auto; } }
.admin-actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }

/* Admin panel */
.admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.admin-tabs button { font: inherit; font-weight: 600; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.admin-tabs button[aria-selected="true"] { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.admin-tabs .signout { margin-left: auto; color: var(--muted); }
.admin-panel { display: grid; gap: 18px; max-width: 820px; }
.admin-form { max-width: 820px; }
.admin-form h3 { font-size: 1.2rem; }
.form label.check { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.form label.check input { width: 20px; height: 20px; }
.upl { display: grid; gap: 8px; padding: 12px; border: 1px dashed var(--line); border-radius: 10px; }
.upl-l { font-weight: 600; font-size: .95rem; }
.upl-cur { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); overflow-wrap: anywhere; }
.upl-cur img { width: 48px; height: 48px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.upl select { font: inherit; padding: 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.admin-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.admin-list li { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.al-main { display: grid; gap: 2px; min-width: 0; flex: 1 1 260px; }
.al-main span { font-size: .88rem; }
.al-btns { display: flex; gap: 6px; }
.al-btns button { font: inherit; font-size: .9rem; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.al-btns button.danger { color: #b3261e; border-color: color-mix(in srgb, #b3261e 40%, transparent); }
.al-btns button:disabled { opacity: .5; cursor: default; }
.steps { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; padding: 12px 18px; border-radius: 10px; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.2); max-width: calc(100vw - 32px); }
.toast.ok { background: #1f7a4d; color: #fff; }
.toast.bad { background: #b3261e; color: #fff; }

/* Contributors */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.tm-card { display: grid; align-content: start; justify-items: center; text-align: center; gap: 4px; padding: 22px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s; }
a.tm-card:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.tm-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--teal-soft); margin-bottom: 8px; background: var(--band); }
.tm-init { display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; color: var(--teal); }
.tm-name { font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.tm-role { color: var(--primary); font-weight: 600; font-size: .92rem; }
.tm-inst { color: var(--muted); font-size: .88rem; }

/* Scrolling notice ticker under the header */
.ticker { display: flex; align-items: stretch; background: #fff7e6; border-top: 1px solid #f0d9a8; color: #3b2a05; font-size: .95rem; overflow: hidden; }
:root[data-theme="dark"] .ticker { background: #2a2210; border-top-color: #4a3a14; color: #f5e6c4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ticker { background: #2a2210; border-top-color: #4a3a14; color: #f5e6c4; } }
.tk-label { flex: none; display: inline-flex; align-items: center; gap: 6px; background: #b3261e; color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; padding: 9px 14px; position: relative; z-index: 1; }
.tk-label::after { content: ""; position: absolute; right: -10px; top: 0; bottom: 0; width: 10px; background: #b3261e; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.tk-viewport { flex: 1; overflow: hidden; display: flex; align-items: center; min-width: 0; mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); }
.tk-track { display: flex; width: max-content; animation: tk-move 30s linear infinite; }
.ticker:hover .tk-track, .ticker:focus-within .tk-track { animation-play-state: paused; }
@keyframes tk-move { to { transform: translateX(-50%); } }
.tk-run { display: flex; align-items: center; white-space: nowrap; padding-left: 28px; }
.tk-item { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; padding: 8px 0; }
a.tk-item:hover .tk-title { text-decoration: underline; }
.tk-title { font-weight: 600; }
.tk-details { opacity: .8; }
.tk-new { background: #b3261e; color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; animation: nb-blink 1.2s steps(2, start) infinite; }
.tk-sep { color: #c98a00; margin: 0 22px; font-size: .8rem; }
@keyframes nb-blink { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .tk-track { animation: none; } .tk-viewport { overflow-x: auto; } .tk-new { animation: none; } }

/* Books: call for chapter authors */
.bk-list { display: grid; gap: 22px; }
.bk-card { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); scroll-margin-top: 90px; }
.bk-cover { align-self: start; aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; background: var(--band); box-shadow: 0 6px 18px rgba(16, 35, 56, .18); }
.bk-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk-fallback { width: 100%; height: 100%; display: grid; place-items: center; padding: 16px; text-align: center; background: linear-gradient(160deg, var(--primary), var(--teal)); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.3; border-left: 8px solid rgba(0, 0, 0, .18); }
.bk-body { display: grid; gap: 10px; align-content: start; min-width: 0; }
.bk-body h3 { margin: 0; font-size: 1.35rem; line-height: 1.3; }
.bk-status { justify-self: start; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.bk-status.is-open { background: var(--teal-soft); color: var(--teal); }
.bk-status.is-closed { background: var(--band); color: var(--muted); }
.bk-sub { margin: 0; color: var(--primary); font-weight: 600; }
.bk-desc { margin: 0; color: var(--muted); }
.bk-ch { background: var(--band); border-radius: 10px; padding: 12px 16px; }
.bk-ch strong { font-size: .9rem; }
.bk-ch ul { margin: 6px 0 0; padding-left: 20px; columns: 2 240px; column-gap: 28px; }
.bk-ch li { margin: 3px 0; break-inside: avoid; }
.bk-ch summary { cursor: pointer; color: var(--primary); font-weight: 600; margin-top: 6px; font-size: .92rem; }
.bk-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; }
.bk-meta dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.bk-meta dd { margin: 0; font-weight: 600; }
@media (max-width: 640px) { .bk-card { grid-template-columns: 1fr; } .bk-cover { width: 150px; } }

/* Mentor credentials, domains, journey, steps, audience */
.hero-cred { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-cred li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .92rem; color: var(--muted); }
.hero-cred b { color: var(--primary); }
.experts { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px 56px; align-items: center; }
.experts-copy { display: grid; gap: 14px; justify-items: start; }
.experts-copy p { color: var(--muted); max-width: 60ch; }
.experts-copy p strong { color: var(--ink); }
.ticks { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.ticks svg { width: 22px; height: 22px; flex: none; padding: 3px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); }
.cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cred { background: linear-gradient(150deg, color-mix(in srgb, var(--primary) 10%, var(--surface)), var(--surface)); border: 1px solid var(--line); border-radius: 16px; padding: 24px 20px; display: grid; gap: 6px; box-shadow: var(--shadow); }
.cred b { font-family: var(--font-display); font-size: 2.2rem; line-height: 1.05; color: var(--primary); }
.cred:nth-child(2) b, .cred:nth-child(3) b { color: var(--teal); }
.cred span { color: var(--muted); font-size: .95rem; }
.domains { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.domains li { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 10px; padding: 10px 16px; font-weight: 600; }
.domains li.more { border-style: dashed; border-left-width: 1px; color: var(--muted); font-weight: 500; }
.journey { list-style: none; padding: 0; margin: 0; counter-reset: j; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.journey li { counter-increment: j; position: relative; display: grid; gap: 4px; padding: 18px 18px 18px 62px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.journey li::before { content: counter(j, decimal-leading-zero); position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-soft); color: var(--teal); font-weight: 800; font-size: .85rem; }
.journey span, .steps span { color: var(--muted); font-size: .95rem; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.steps li { counter-increment: s; display: grid; gap: 6px; align-content: start; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--primary); border-radius: var(--radius); }
.steps li::before { content: "Step " counter(s); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.steps b { font-size: 1.1rem; }
.aud { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.aud div { padding: 20px; border-radius: var(--radius); background: var(--band); display: grid; gap: 6px; }
.aud h3 { font-size: 1.05rem; }
.aud p { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .experts { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .cred b { font-size: 1.8rem; } .cred { padding: 18px 14px; } }

/* Testimonials */
.tst-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.tst-card { margin: 0; position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.tst-card::before { content: "\201C"; position: absolute; top: 4px; right: 18px; font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--teal-soft); pointer-events: none; }
.tst-stars { color: #e3a008; letter-spacing: 2px; font-size: 1.05rem; }
.tst-stars span { color: var(--line); }
.tst-card blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; white-space: pre-line; position: relative; }
.tst-service { align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--teal); background: var(--teal-soft); padding: 3px 10px; border-radius: 999px; }
.tst-card figcaption { margin-top: auto; display: flex; gap: 12px; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.tst-card figcaption img, .tst-init { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.tst-init { display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); font-weight: 800; }
.tst-card figcaption span { display: grid; gap: 2px; min-width: 0; }
.tst-card figcaption small { color: var(--muted); font-size: .88rem; }

/* Founder & Managing Director */
.founder { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px 48px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); }
.fd-photo img, .fd-init { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; display: block; background: var(--band); border: 1px solid var(--line); }
.fd-init { display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 4rem; color: var(--teal); background: linear-gradient(150deg, var(--teal-soft), var(--band)); }
.fd-body { display: grid; gap: 12px; justify-items: start; min-width: 0; }
.fd-name { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.fd-qual { margin: 0; font-weight: 700; color: var(--primary); }
.fd-pos { margin: -6px 0 0; color: var(--muted); font-weight: 600; }
.fd-bio { margin: 0; color: var(--muted); max-width: 68ch; }
.fd-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.fd-chip { font-size: .9rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); }
.fd-msg { margin: 4px 0 0; padding: 14px 18px; border-left: 4px solid var(--primary); background: var(--band); border-radius: 0 10px 10px 0; font-family: var(--font-display); font-style: italic; font-size: 1.08rem; max-width: 68ch; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; padding: 22px; } .fd-photo { max-width: 240px; } }

/* Research papers: co-authors wanted */
.pp-card { grid-template-columns: 240px 1fr; }
.pp-img { aspect-ratio: 4 / 3; }
.pp-card .idx-row { margin: 0; }
@media (max-width: 640px) { .pp-card { grid-template-columns: 1fr; } .pp-card .pp-img { width: 100%; max-width: 360px; } }
