/* =========================================================
   COLOR SYSTEM
   ========================================================= */

:root {

  --r-blue: #0b4f91;
  --r-blue-2: #2563eb;
  --r-navy: #082f5d;
  --r-cyan: #0ea5e9;

  --r-green: #059669;
  --r-purple: #7c3aed;
  --r-orange: #d97706;

  --r-text: #172033;
  --r-muted: #64748b;

  --r-border:
    rgba(15, 23, 42, 0.09);

  --r-soft:
    #f8fafc;

  --r-shadow:
    0 14px 34px
    rgba(15,23,42,.055);

}


/* =========================================================
   HERO
   ========================================================= */

.research-hero {

  position: relative;

  overflow: hidden;

  padding-bottom: 1.3rem;

}


.research-hero::after {

  content: "";

  display: block;

  height: 1px;

  margin-top: 1.35rem;

  background:

    linear-gradient(
      90deg,
      transparent,
      rgba(37,99,235,.32),
      transparent
    );

}


.research-hero h1 {

  max-width: 920px;

  font-size:
    clamp(
      2rem,
      4vw,
      3.2rem
    );

  line-height: 1.06;

  letter-spacing:
    -0.04em;

}


.research-hero-lead {

  max-width: 920px;

  color: #475569;

  font-size: 1.05rem;

  line-height: 1.75;

}


.research-chip-row {

  display: flex;

  flex-wrap: wrap;

  gap: .5rem;

  margin-top: 1rem;

}


.research-chip {

  display: inline-flex;

  align-items: center;

  padding:
    .43rem .72rem;

  border-radius: 999px;

  background:
    #ffffff;

  border:
    1px solid
    rgba(37,99,235,.14);

  color:
    #174c88;

  font-size: .8rem;

  font-weight: 680;

}


/* =========================================================
   QUICK NAVIGATION
   ========================================================= */

.research-jump {

  display: flex;

  flex-wrap: wrap;

  gap: .48rem;

  margin-top: 1rem;

}


.research-jump a {

  text-decoration: none;

  padding:
    .43rem .7rem;

  border-radius: 9px;

  background:
    #f8fafc;

  border:
    1px solid
    var(--r-border);

  color:
    #334155;

  font-size: .8rem;

  font-weight: 700;

}


/* =========================================================
   RESEARCH VISION
   ========================================================= */

.research-vision {

  display: grid;

  grid-template-columns:
    1.4fr .8fr;

  gap: 1rem;

}


.vision-main,
.vision-side {

  padding: 1.25rem;

  border-radius: 20px;

  border:
    1px solid
    var(--r-border);

  background:
    #fff;

  box-shadow:
    var(--r-shadow);

}


.vision-main {

  background:

    radial-gradient(
      circle at 100% 0,
      rgba(37,99,235,.09),
      transparent 37%
    ),

    linear-gradient(
      135deg,
      #ffffff,
      #f7fbff
    );

}


.vision-main h2,
.vision-side h2 {

  margin-top: 0;

}


.vision-main p {

  line-height: 1.7;

  color: #526175;

}


.vision-equation {

  margin-top: 1rem;

  padding:
    .9rem 1rem;

  border-radius: 14px;

  background:
    rgba(255,255,255,.78);

  border:
    1px solid
    rgba(37,99,235,.13);

  overflow-x: auto;

}


.vision-side ul {

  margin-bottom: 0;

  padding-left: 1.15rem;

}


.vision-side li {

  margin:
    .42rem 0;

  line-height: 1.5;

  color: #526175;

}


/* =========================================================
   PRIMARY RESEARCH PILLARS
   ========================================================= */

.pillar-grid {

  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0,1fr)
    );

  gap: 1rem;

}


.pillar-card {

  position: relative;

  overflow: hidden;

  min-height: 100%;

  padding: 1.25rem;

  border-radius: 20px;

  border:
    1px solid
    var(--r-border);

  background: #fff;

  box-shadow:
    0 10px 28px
    rgba(15,23,42,.045);

  transition:
    transform .2s ease,
    box-shadow .2s ease;

}


.pillar-card:hover {

  transform:
    translateY(-4px);

  box-shadow:
    0 18px 40px
    rgba(15,23,42,.08);

}


.pillar-card.geometry {

  background:

    radial-gradient(
      circle at 100% 0,
      rgba(37,99,235,.11),
      transparent 43%
    ),

    linear-gradient(
      180deg,
      #fff,
      #f5f9ff
    );

}


.pillar-card.hybrid {

  background:

    radial-gradient(
      circle at 100% 0,
      rgba(5,150,105,.11),
      transparent 43%
    ),

    linear-gradient(
      180deg,
      #fff,
      #f5fbf8
    );

}


.pillar-card.quantum {

  background:

    radial-gradient(
      circle at 100% 0,
      rgba(124,58,237,.11),
      transparent 43%
    ),

    linear-gradient(
      180deg,
      #fff,
      #faf7ff
    );

}


.pillar-number {

  width: 40px;

  height: 40px;

  display: grid;

  place-items: center;

  margin-bottom: .75rem;

  border-radius: 12px;

  color: #fff;

  font-weight: 850;

}


.geometry .pillar-number {
  background: #2563eb;
}


.hybrid .pillar-number {
  background: #059669;
}


.quantum .pillar-number {
  background: #7c3aed;
}


.pillar-card h3 {

  margin:
    .25rem 0 .55rem;

  font-size: 1.12rem;

}


.pillar-card p {

  color: #526175;

  line-height: 1.6;

  font-size: .92rem;

}


.pillar-card ul {

  padding-left: 1.15rem;

  margin-bottom: 0;

}


.pillar-card li {

  margin:
    .38rem 0;

  color: #526175;

  font-size: .86rem;

  line-height: 1.45;

}


/* =========================================================
   RESEARCH MAP SVG
   ========================================================= */

.research-map {

  margin: 1rem 0 0;

}


.research-map svg {

  display: block;

  width: 100%;

  height: auto;

  border-radius: 20px;

  border:
    1px solid
    var(--r-border);

  background: #fff;

  box-shadow:
    0 10px 30px
    rgba(15,23,42,.045);

}


.research-map figcaption {

  margin-top: .65rem;

  color: #64748b;

  line-height: 1.5;

  font-size: .88rem;

}


/* =========================================================
   TOPIC CARDS
   ========================================================= */

.topic-grid {

  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0,1fr)
    );

  gap: .9rem;

}


.topic-card {

  padding: 1rem;

  border-radius: 17px;

  background:
    linear-gradient(
      180deg,
      #ffffff,
      #fafcff
    );

  border:
    1px solid
    var(--r-border);

}


.topic-icon {

  width: 38px;

  height: 38px;

  display: grid;

  place-items: center;

  border-radius: 11px;

  margin-bottom: .6rem;

  background: #eff6ff;

  color: #174c88;

  font-weight: 850;

  font-size: .72rem;

}


.topic-card h3 {

  margin:
    .2rem 0 .4rem;

  font-size: .98rem;

}


.topic-card p {

  margin: 0;

  color: #64748b;

  line-height: 1.55;

  font-size: .85rem;

}


/* =========================================================
   FEATURED RESEARCH
   ========================================================= */

.featured-research-grid {

  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0,1fr)
    );

  gap: 1rem;

}


.research-card {

  display: flex;

  flex-direction: column;

  overflow: hidden;

  border-radius: 20px;

  border:
    1px solid
    var(--r-border);

  background: #fff;

  box-shadow:
    0 10px 28px
    rgba(15,23,42,.045);

}


.research-card-media {

  height: 245px;

  padding: 15px;

  box-sizing: border-box;

  display: flex;

  align-items: center;

  justify-content: center;

  background:

    radial-gradient(
      circle at center,
      #ffffff,
      #f7fafc
    );

  border-bottom:
    1px solid
    rgba(15,23,42,.06);

}


.research-card-media img {

  width: 100%;

  height: 100%;

  max-width: 100%;

  max-height: 100%;

  object-fit: contain;

  object-position: center;

  display: block;

}


.research-card-body {

  padding:
    1.05rem 1.15rem 1.15rem;

  display: flex;

  flex-direction: column;

  flex: 1;

}


.research-card h3 {

  margin:
    .55rem 0 .45rem;

  line-height: 1.34;

  font-size: 1.05rem;

}


.research-card p {

  color: #526175;

  line-height: 1.6;

  font-size: .9rem;

}


.research-card .card-link-row {

  margin-top: auto;

  display: flex;

  flex-wrap: wrap;

  gap: .45rem;

}


.research-card .card-link-row a {

  text-decoration: none;

  padding:
    .4rem .63rem;

  border-radius: 9px;

  border:
    1px solid
    rgba(37,99,235,.15);

  background:
    #f7fbff;

  color:
    #174c88;

  font-size: .78rem;

  font-weight: 750;

}


/* =========================================================
   VENUE / STATUS TAGS
   ========================================================= */

.venue-label {

  display: inline-flex;

  width: fit-content;

  padding:
    .3rem .55rem;

  border-radius: 999px;

  background:
    #eef6ff;

  border:
    1px solid
    #d5e8ff;

  color:
    #174c88;

  font-size: .68rem;

  font-weight: 850;

  letter-spacing: .02em;

}


.emerging-label {

  display: inline-flex;

  width: fit-content;

  padding:
    .3rem .55rem;

  border-radius: 999px;

  background:
    #f3e8ff;

  border:
    1px solid
    #ddd6fe;

  color:
    #6d28d9;

  font-size: .68rem;

  font-weight: 850;

}


/* =========================================================
   METHOD SECTION
   ========================================================= */

.method-grid {

  display: grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0,1fr)
    );

  gap: .75rem;

}


.method-step {

  position: relative;

  padding: 1rem;

  border-radius: 16px;

  border:
    1px solid
    var(--r-border);

  background: #fff;

}


.method-step strong {

  display: block;

  margin-bottom: .4rem;

  color: var(--r-navy);

}


.method-step p {

  margin: 0;

  color: #64748b;

  line-height: 1.5;

  font-size: .84rem;

}


/* =========================================================
   EXPERIMENTAL PLATFORMS
   ========================================================= */

.platform-banner {

  margin-bottom: 1rem;

}


.platform-banner img {

  display: block;

  width: 100%;

  height: auto;

  border-radius: 20px;

  border:
    1px solid
    var(--r-border);

  box-shadow:
    var(--r-shadow);

}


.platform-banner figcaption {

  margin-top: .6rem;

  color: #64748b;

  font-size: .88rem;

}


.platform-grid {

  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0,1fr)
    );

  gap: .8rem;

}


.platform-item {

  padding: .9rem;

  border-radius: 15px;

  border:
    1px solid
    var(--r-border);

  background: #fff;

}


.platform-item strong {

  display: block;

  margin-bottom: .25rem;

  color: var(--r-navy);

}


.platform-item span {

  color: #64748b;

  font-size: .83rem;

  line-height: 1.45;

}


/* =========================================================
   GALLERY
   ========================================================= */

.research-gallery {

  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0,1fr)
    );

  gap: .9rem;

}


.research-gallery figure {

  margin: 0;

  display: flex;

  flex-direction: column;

  overflow: hidden;

  border-radius: 17px;

  background: #fff;

  border:
    1px solid
    var(--r-border);

}


.gallery-media {

  height: 205px;

  box-sizing: border-box;

  padding: 12px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #fafcff;

}


.gallery-media img {

  width: 100%;

  height: 100%;

  object-fit: contain;

}


.research-gallery figcaption {

  padding:
    .7rem .8rem .8rem;

  color: #526175;

  font-size: .82rem;

  line-height: 1.4;

}


/* =========================================================
   EQUATION BLOCK
   ========================================================= */

.equation-row {

  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0,1fr)
    );

  gap: .8rem;

}


.equation-box {

  padding: 1rem;

  border-radius: 15px;

  border:
    1px solid
    var(--r-border);

  background: #fff;

}


.equation-box h3 {

  margin-top: 0;

  font-size: .95rem;

}


.math-block {

  overflow-x: auto;

  padding:
    .7rem .8rem;

  border-radius: 12px;

  background:
    #f7fbff;

  border:
    1px solid
    rgba(37,99,235,.10);

}


/* =========================================================
   RESEARCH TIMELINE
   ========================================================= */

.timeline {

  position: relative;

  display: grid;

  gap: .8rem;

  margin-top: .8rem;

}


.timeline-item {

  display: grid;

  grid-template-columns:
    82px 1fr;

  gap: .85rem;

}


.timeline-year {

  font-weight: 850;

  color:
    var(--r-blue);

}


.timeline-content {

  padding:
    .9rem 1rem;

  border-radius: 14px;

  background: #fff;

  border:
    1px solid
    var(--r-border);

}


.timeline-content strong {

  display: block;

  margin-bottom: .25rem;

}


.timeline-content p {

  margin: 0;

  color: #64748b;

  line-height: 1.5;

  font-size: .85rem;

}


/* =========================================================
   CURRENT + FUTURE
   ========================================================= */

.future-grid {

  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0,1fr)
    );

  gap: .8rem;

}


.future-card {

  padding: 1rem;

  border-radius: 16px;

  border:
    1px solid
    var(--r-border);

  background:

    linear-gradient(
      180deg,
      #fff,
      #fafcff
    );

}


.future-card strong {

  display: block;

  color: var(--r-navy);

  margin-bottom: .3rem;

}


.future-card span {

  color: #64748b;

  line-height: 1.5;

  font-size: .84rem;

}


/* =========================================================
   CODE / SOFTWARE
   ========================================================= */

.software-grid {

  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0,1fr)
    );

  gap: .8rem;

}


.software-card {

  padding: 1rem;

  border-radius: 15px;

  border:
    1px solid
    var(--r-border);

  background: #fff;

}


.software-card h3 {

  margin-top: 0;

  font-size: .95rem;

}


.software-card p {

  color: #64748b;

  font-size: .84rem;

  line-height: 1.5;

}


.software-card a {

  text-decoration: none;

  font-weight: 700;

  font-size: .82rem;

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

  .pillar-grid,
  .topic-grid,
  .platform-grid,
  .research-gallery,
  .future-grid,
  .software-grid {

    grid-template-columns:
      repeat(
        2,
        minmax(0,1fr)
      );

  }


  .method-grid {

    grid-template-columns:
      repeat(
        2,
        minmax(0,1fr)
      );

  }


  .featured-research-grid {

    grid-template-columns: 1fr;

  }

}


@media (max-width: 800px) {

  .research-vision {

    grid-template-columns: 1fr;

  }


  .pillar-grid,
  .topic-grid,
  .platform-grid,
  .research-gallery,
  .future-grid,
  .software-grid,
  .equation-row,
  .method-grid {

    grid-template-columns: 1fr;

  }


  .timeline-item {

    grid-template-columns: 1fr;

    gap: .3rem;

  }


  .research-card-media {

    height: 215px;

  }

}

/* =========================================================
   RESEARCH PAGE — POLISHED LAYOUT OVERRIDES
   Scoped to this page so the shared site stylesheet is safe.
   ========================================================= */

body.research-page {
  --r-ink: #132238;
  --r-copy: #45566d;
  --r-subtle: #6b7b91;
  --r-line: rgba(15, 47, 93, .11);
  --r-blue: #0b4f91;
  --r-blue-2: #2563eb;
  --r-navy: #082f5d;
  --r-cyan: #0ea5e9;
  --r-green: #059669;
  --r-purple: #7c3aed;
  --r-shadow-soft: 0 18px 50px rgba(26, 54, 93, .07);
  --r-shadow-card: 0 12px 34px rgba(26, 54, 93, .065);
  color: var(--r-ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(37, 99, 235, .055), transparent 28rem),
    linear-gradient(180deg, #fbfdff 0%, #f7fafe 38%, #ffffff 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body.research-page *,
body.research-page *::before,
body.research-page *::after {
  box-sizing: border-box;
}

/* --- Main shell: generous content width, no squeezed research column --- */
body.research-page .page-shell {
  width: min(1480px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
  padding: 2.25rem 0 4.5rem;
  display: grid;
  grid-template-columns: minmax(220px, 255px) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

body.research-page .profile-sidebar,
body.research-page .content-area,
body.research-page .research-vision,
body.research-page .vision-main,
body.research-page .vision-side,
body.research-page .pillar-card,
body.research-page .topic-card,
body.research-page .research-card {
  min-width: 0;
}

body.research-page .content-area {
  width: 100%;
  max-width: none;
}

/* --- Profile rail --- */
body.research-page .profile-card {
  position: sticky;
  top: 92px;
  padding: 1rem;
  border: 1px solid var(--r-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .90);
  box-shadow: var(--r-shadow-card);
  backdrop-filter: blur(10px);
}

body.research-page .avatar-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 17px;
  background: #eef4fb;
}

body.research-page .profile-avatar {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

body.research-page .profile-card h2 {
  margin: .95rem 0 .15rem;
  font-size: 1.16rem;
  letter-spacing: -.02em;
}

body.research-page .sidebar-subtitle {
  margin: 0 0 .7rem;
  color: var(--r-blue);
  font-weight: 760;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}

body.research-page .sidebar-note {
  margin: 0;
  color: var(--r-copy);
  font-size: .84rem;
  line-height: 1.6;
}

body.research-page .sidebar-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .45rem;
  margin-top: .95rem;
}

body.research-page .sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: .55rem .65rem;
  border: 1px solid rgba(37, 99, 235, .12);
  border-radius: 10px;
  background: #f7faff;
  color: #174c88;
  text-decoration: none;
  font-size: .76rem;
  font-weight: 760;
}

/* --- Spacing rhythm --- */
body.research-page .section-block {
  margin: 0 0 clamp(2.3rem, 5vw, 4.6rem);
  scroll-margin-top: 105px;
}

body.research-page .section-heading {
  margin-bottom: 1.15rem;
}

body.research-page .section-heading h2,
body.research-page .vision-main h2,
body.research-page .vision-side h2 {
  color: var(--r-ink);
  letter-spacing: -.03em;
}

body.research-page .section-heading h2 {
  margin: .2rem 0 0;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  line-height: 1.18;
}

body.research-page .eyebrow {
  margin: 0 0 .5rem;
  color: #1f5f9f;
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* --- Hero becomes a clear, premium introduction instead of loose text --- */
body.research-page .research-hero {
  margin: 0 0 clamp(2.3rem, 5vw, 4.2rem);
  padding: clamp(1.5rem, 3.3vw, 2.65rem);
  border: 1px solid rgba(37, 99, 235, .12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 94% 8%, rgba(14, 165, 233, .16), transparent 24rem),
    radial-gradient(circle at 8% 100%, rgba(37, 99, 235, .09), transparent 26rem),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(245,249,255,.96));
  box-shadow: var(--r-shadow-soft);
}

body.research-page .research-hero::after {
  display: none;
}

body.research-page .research-hero h1 {
  max-width: 17ch;
  margin: .25rem 0 1rem;
  color: #0b2444;
  font-size: clamp(2.25rem, 5vw, 4.35rem);
  line-height: .99;
  letter-spacing: -.055em;
}

body.research-page .research-hero-lead {
  max-width: 980px;
  margin: 0;
  color: var(--r-copy);
  font-size: clamp(.98rem, 1.3vw, 1.09rem);
  line-height: 1.78;
}

body.research-page .research-chip-row {
  gap: .55rem;
  margin-top: 1.35rem;
}

body.research-page .research-chip {
  min-height: 36px;
  padding: .48rem .74rem;
  border: 1px solid rgba(37,99,235,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 4px 14px rgba(26,54,93,.035);
  color: #174c88;
  font-size: .76rem;
  font-weight: 760;
}

body.research-page .research-jump {
  gap: .5rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15,47,93,.08);
}

body.research-page .research-jump a {
  padding: .46rem .7rem;
  border-color: rgba(15,47,93,.09);
  background: rgba(248,250,252,.9);
  color: #34465e;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

body.research-page .research-jump a:hover {
  transform: translateY(-1px);
  border-color: rgba(37,99,235,.24);
  background: #fff;
}

/* =========================================================
   RESEARCH VISION — the key fix for the screenshot
   One full-width philosophy panel + a horizontal question grid.
   This prevents the tall narrow right column and the empty left card.
   ========================================================= */
body.research-page .research-vision {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

body.research-page .vision-main,
body.research-page .vision-side {
  border: 1px solid var(--r-line);
  border-radius: 24px;
  box-shadow: var(--r-shadow-card);
}

body.research-page .vision-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 4vw, 3.25rem);
  row-gap: .9rem;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  background:
    radial-gradient(circle at 96% 4%, rgba(37,99,235,.10), transparent 22rem),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
}

body.research-page .vision-main > .eyebrow,
body.research-page .vision-main > h2,
body.research-page .vision-main > .vision-equation,
body.research-page .vision-main > .vision-flow {
  grid-column: 1 / -1;
}

body.research-page .vision-main h2 {
  margin: -.05rem 0 .2rem;
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  line-height: 1.08;
}

body.research-page .vision-main > p {
  margin: 0;
  color: var(--r-copy);
  font-size: .96rem;
  line-height: 1.76;
}

body.research-page .vision-main > p strong {
  color: #173d69;
}

body.research-page .vision-flow {
  display: grid;
  grid-template-columns: repeat(9, auto);
  justify-content: start;
  align-items: center;
  gap: .45rem;
  margin-top: .55rem;
  padding: .9rem 1rem;
  overflow-x: auto;
  border: 1px solid rgba(37,99,235,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  scrollbar-width: thin;
}

body.research-page .vision-flow span {
  white-space: nowrap;
  padding: .47rem .68rem;
  border-radius: 9px;
  background: #eff6ff;
  color: #164d88;
  font-size: .78rem;
  font-weight: 800;
}

body.research-page .vision-flow b {
  color: #6f8bad;
  font-size: .95rem;
}

body.research-page .vision-side {
  padding: clamp(1.25rem, 2.7vw, 2rem);
  color: #eaf2ff;
  background:
    radial-gradient(circle at 100% 0%, rgba(14,165,233,.22), transparent 19rem),
    linear-gradient(135deg, #0a284c 0%, #0c3a69 100%);
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 18px 44px rgba(8, 47, 93, .14);
}

body.research-page .vision-side .eyebrow {
  color: #8dd7ff;
}

body.research-page .vision-side h2 {
  margin: -.05rem 0 1rem;
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

body.research-page .vision-side ul {
  counter-reset: research-question;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: .72rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.research-page .vision-side li {
  counter-increment: research-question;
  display: grid;
  grid-template-columns: 2.1rem minmax(0,1fr);
  gap: .7rem;
  align-items: start;
  margin: 0;
  padding: .9rem;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
  color: #e7f0fb;
  font-size: .84rem;
  line-height: 1.52;
}

body.research-page .vision-side li::before {
  content: counter(research-question, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 2.05rem;
  height: 2.05rem;
  border: 1px solid rgba(141,215,255,.26);
  border-radius: 10px;
  background: rgba(141,215,255,.10);
  color: #a9e2ff;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .04em;
}

/* --- Intelligent grids: cards wrap before they become narrow --- */
body.research-page .pillar-grid {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1rem;
}

body.research-page .topic-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .85rem;
}

body.research-page .featured-research-grid {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1rem;
}

body.research-page .method-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .8rem;
}

body.research-page .platform-grid,
body.research-page .research-gallery,
body.research-page .future-grid,
body.research-page .software-grid,
body.research-page .equation-row {
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: .85rem;
}

/* --- Unified card treatment --- */
body.research-page .pillar-card,
body.research-page .topic-card,
body.research-page .research-card,
body.research-page .method-step,
body.research-page .platform-item,
body.research-page .research-gallery figure,
body.research-page .equation-box,
body.research-page .timeline-content,
body.research-page .future-card,
body.research-page .software-card {
  border-color: var(--r-line);
  box-shadow: 0 9px 26px rgba(26,54,93,.045);
}

body.research-page .pillar-card,
body.research-page .topic-card,
body.research-page .method-step,
body.research-page .platform-item,
body.research-page .equation-box,
body.research-page .future-card,
body.research-page .software-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.research-page .pillar-card:hover,
body.research-page .topic-card:hover,
body.research-page .method-step:hover,
body.research-page .platform-item:hover,
body.research-page .future-card:hover,
body.research-page .software-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37,99,235,.19);
  box-shadow: 0 16px 34px rgba(26,54,93,.075);
}

body.research-page .topic-card {
  padding: 1.05rem;
  border-radius: 18px;
}

body.research-page .topic-icon {
  border: 1px solid rgba(37,99,235,.08);
}

body.research-page .research-card {
  border-radius: 22px;
}

body.research-page .research-card-media {
  height: clamp(210px, 24vw, 275px);
  background: linear-gradient(180deg, #fbfdff, #f5f9fd);
}

body.research-page .research-card-body {
  padding: 1.15rem 1.2rem 1.25rem;
}

body.research-page .research-card h3 {
  color: #183451;
}

body.research-page .research-map svg,
body.research-page .platform-banner img {
  border-radius: 22px;
  box-shadow: var(--r-shadow-card);
}

body.research-page .timeline {
  gap: .7rem;
}

body.research-page .timeline-item {
  grid-template-columns: 74px minmax(0,1fr);
  align-items: start;
}

body.research-page .timeline-year {
  padding-top: .9rem;
}

/* --- Comfortable mobile/tablet behavior --- */
@media (max-width: 1160px) {
  body.research-page .page-shell {
    width: min(1060px, calc(100% - 36px));
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  body.research-page .profile-card {
    position: static;
    display: grid;
    grid-template-columns: 132px minmax(0,1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 1rem;
    align-items: start;
  }

  body.research-page .avatar-wrap {
    grid-row: 1 / 4;
    aspect-ratio: 1 / 1;
  }

  body.research-page .profile-card h2 {
    margin-top: .1rem;
  }

  body.research-page .sidebar-links {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0,1fr));
  }
}

@media (max-width: 760px) {
  body.research-page .page-shell {
    width: min(100% - 24px, 720px);
    padding-top: 1rem;
  }

  body.research-page .research-hero {
    padding: 1.25rem;
    border-radius: 22px;
  }

  body.research-page .research-hero h1 {
    max-width: none;
    font-size: clamp(2rem, 11vw, 3.15rem);
  }

  body.research-page .vision-main {
    grid-template-columns: 1fr;
    padding: 1.2rem;
  }

  body.research-page .vision-main > .eyebrow,
  body.research-page .vision-main > h2,
  body.research-page .vision-main > .vision-equation,
  body.research-page .vision-main > .vision-flow {
    grid-column: 1;
  }

  body.research-page .vision-side {
    padding: 1.15rem;
  }

  body.research-page .vision-side ul {
    grid-template-columns: 1fr;
  }

  body.research-page .featured-research-grid,
  body.research-page .pillar-grid,
  body.research-page .topic-grid,
  body.research-page .method-grid,
  body.research-page .platform-grid,
  body.research-page .research-gallery,
  body.research-page .future-grid,
  body.research-page .software-grid,
  body.research-page .equation-row {
    grid-template-columns: 1fr;
  }

  body.research-page .profile-card {
    grid-template-columns: 88px minmax(0,1fr);
    padding: .85rem;
  }

  body.research-page .sidebar-note {
    display: none;
  }

  body.research-page .sidebar-links {
    grid-template-columns: 1fr 1fr;
  }

  body.research-page .timeline-item {
    grid-template-columns: 1fr;
    gap: .3rem;
  }

  body.research-page .timeline-year {
    padding-top: 0;
  }
}

@media (max-width: 480px) {
  body.research-page .page-shell {
    width: min(100% - 18px, 460px);
  }

  body.research-page .profile-sidebar {
    display: none;
  }

  body.research-page .research-chip {
    font-size: .72rem;
  }

  body.research-page .research-jump {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  body.research-page .research-jump a {
    text-align: center;
  }
}
