/* ============================================================
   RESEARCH PAGE — css/research.css
   HealingBio R&D — Microbial Platform & Natural Material Pipeline
   Tone: technical, premium, credible, calm
   Class prefix: rs- (page components), site-header / mobile-nav shared
   ============================================================ */

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  background: #ffffff;
  color: #1a2030;
  font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Noto Sans KR',
               -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure { margin: 0; }

/* ============================================================
   CSS VARIABLES
   ============================================================ */

:root {
  --blue:         #4682B4;
  --blue-mid:     #5a92bc;
  --blue-light:   #77A8C8;
  --blue-grad:    linear-gradient(135deg, #4682B4 0%, #77A8C8 100%);
  --blue-border:  rgba(70, 130, 180, 0.40);
  --warm-bg:      #f0f5fa;
  --text-head:    #1a2030;
  --text-body:    #3c4860;
  --text-meta:    #788099;
  --surface-border: #d8e2ec;
  --dark-bg:      #101820;
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 72px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
}

.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-right: auto;
}

.header-logo img {
  height: 30px;
  width: auto;
  display: block;
}

.header-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 50px;
}

.nav-link {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.70);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.03em;
  padding-bottom: 3px;
  transition: color 0.22s ease;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: rgba(255, 255, 255, 0.9);
  transition: width 0.2s ease;
}

.nav-link:hover { color: #ffffff; }
.nav-link:hover::after { width: 100%; }
.nav-link.is-active { color: #ffffff; font-weight: 500; }
.nav-link.is-active::after { width: 100%; }

.header-right {
  flex-shrink: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-contact {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

.header-contact:hover { color: #ffffff; }

.header-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 15px;
  user-select: none;
}

.header-lang {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.2s ease;
}

.header-lang:hover { color: #ffffff; }

.header-lang svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.mobile-menu-btn span {
  display: block;
  width: 22px; height: 1.5px;
  background: rgba(255, 255, 255, 0.85);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.mobile-menu-btn.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-menu-btn.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-btn.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   MOBILE NAVIGATION
   ============================================================ */

.mobile-nav {
  position: fixed;
  top: 72px; left: 0; right: 0;
  z-index: 190;
  background: rgba(5, 5, 5, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  display: none;
}

.mobile-nav.is-open { max-height: 420px; }

.mobile-nav-list { padding: 12px 0 16px; }

.mobile-nav-link {
  display: block;
  padding: 14px 40px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 17px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s ease, background 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

/* ============================================================
   LAYOUT — SHELL
   ============================================================ */

.research-main { padding-top: 0; }

.rs-shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SECTION BASE
   ============================================================ */

.rs-section {
  padding: 140px 0;
}

.rs-section--warm {
  background: var(--warm-bg);
}

/* ============================================================
   TYPOGRAPHY SYSTEM
   ============================================================ */

.rs-kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--blue-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 16px;
  display: block;
}

.rs-section-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text-head);
  margin-bottom: 20px;
}

.rs-section-lead {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-body);
  max-width: 820px;
}

.rs-section-heading {
  margin-bottom: 64px;
}

.rs-editorial {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rs-editorial p {
  font-size: 17px;
  line-height: 1.80;
  color: var(--text-body);
}

/* ============================================================
   CTA BUTTONS (hero inline)
   ============================================================ */

.rs-cta {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: opacity 0.22s ease;
  cursor: pointer;
}

.rs-cta--primary {
  background: var(--blue-grad);
  color: #ffffff;
}

.rs-cta--primary:hover { opacity: 0.88; }

/* ============================================================
   1. HERO SECTION
   ============================================================ */

.research-hero {
  position: relative;
  padding-top: 152px;
  padding-bottom: 100px;
  height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark-bg);
}

.research-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(10, 18, 14, 0.92) 0%,
    rgba(10, 18, 14, 0.75) 42%,
    rgba(10, 18, 14, 0.38) 65%,
    rgba(10, 18, 14, 0.10) 100%
  );
  pointer-events: none;
}

.research-hero > .rs-shell {
  width: 100%;
  position: static;
  z-index: 2;
}

.rs-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.rs-hero-image-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.rs-hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.50);
}

.rs-hero-copy {
  position: relative;
  z-index: 3;
  align-items: center;
  text-align: center;
}

.rs-hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.50);
  margin-bottom: 20px;
}

.rs-hero-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.10;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.40);
  margin-bottom: 24px;
}

.rs-hero-lead {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  margin-bottom: 36px;
}

/* ============================================================
   2. R&D OVERVIEW
   ============================================================ */

.rs-overview-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: center;
}

.rs-overview-copy .rs-section-heading {
  margin-bottom: 24px;
}

.rs-fact-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rs-fact-card {
  padding: 28px 28px 26px;
  background: var(--warm-bg);
  border-top: 2px solid var(--blue);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rs-fact-number {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--blue-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.rs-fact-number small {
  font-size: 26px;
  letter-spacing: -0.02em;
}

.rs-fact-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-meta);
  letter-spacing: 0.02em;
}

/* ============================================================
   3. MICROBIAL TECHNOLOGY
   ============================================================ */

.rs-microbial-intro {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 80px;
  align-items: center;
  margin-bottom: 72px;
}

.rs-microbial-copy .rs-section-heading {
  margin-bottom: 24px;
}

.rs-microbial-visual {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
}

.rs-microbial-visual img {
  width: 360px;
  height: 360px;
  object-fit: cover;
  display: block;
}

.rs-principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.rs-principle-card {
  padding: 32px 24px 36px;
  background: #f0f5fa;
  border-top: 2px solid var(--blue);
  border-radius: 4px;
  transition: background 0.22s ease;
}

.rs-principle-card:hover {
  background: #e8f0f8;
}

.rs-principle-num {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--blue-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 14px;
  display: block;
}

.rs-principle-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-head);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.35;
}

.rs-principle-body {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-body);
}

/* ============================================================
   4. PLATFORM PROOF
   ============================================================ */

.rs-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rs-proof-card {
  padding: 36px 28px 36px;
  background: var(--warm-bg);
  border: 1px solid var(--surface-border);
  border-radius: 4px;
  transition: border-color 0.22s ease, background 0.22s ease;
}

.rs-proof-card:hover {
  border-color: var(--blue-border);
  background: #e8f0f8;
}

.rs-proof-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  color: var(--blue);
  display: block;
  margin-bottom: 14px;
}

.rs-proof-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-head);
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 12px;
}

.rs-proof-body {
  font-size: 15px;
  line-height: 1.72;
  color: var(--text-body);
}

/* ============================================================
   5+6. PIPELINE SECTION
   ============================================================ */

.rs-pipeline-index {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.rs-pipeline-card {
  padding: 20px 16px 18px;
  background: #ffffff;
  border: 1px solid var(--surface-border);
  border-radius: 4px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  font-family: inherit;
}

.rs-pipeline-card:hover {
  border-color: var(--blue-border);
  background: #e8f0f8;
}

.rs-pipeline-card.is-active {
  border-color: var(--blue);
  border-top-width: 2px;
  background: #e8f0f8;
}

.rs-pipeline-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-head);
  letter-spacing: -0.01em;
  margin-bottom: 5px;
  line-height: 1.3;
}

.rs-pipeline-card-code {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-meta);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  font-feature-settings: "tnum";
}

.rs-pipeline-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--blue);
  background: rgba(70, 130, 180, 0.08);
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.02em;
}

/* Detail panel */
.rs-pipeline-detail {
  background: #ffffff;
  border: 1px solid var(--surface-border);
  border-radius: 6px;
  padding: 44px 48px;
  transition: opacity 0.15s ease;
}

.rs-pipeline-detail.is-transitioning {
  opacity: 0;
}

.rs-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 24px;
}

.rs-detail-code {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.rs-detail-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-head);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.rs-detail-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--blue-mid);
  background: rgba(70, 130, 180, 0.08);
  border: 1px solid var(--blue-border);
  padding: 4px 12px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

.rs-detail-img {
  width: 160px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(145deg, #d5e5f0 0%, #c2d6e8 100%);
}

.rs-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rs-detail-position {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-head);
  line-height: 1.6;
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}

.rs-detail-body {
  font-size: 15px;
  line-height: 1.78;
  color: var(--text-body);
  margin-bottom: 28px;
}

.rs-status-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
  padding: 20px 0;
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}

.rs-status-list li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-body);
}

.rs-status-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.rs-badge-row {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
}

.rs-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rs-badge--sci      { background: #1e4d3a; color: #ffffff; }
.rs-badge--patent   { background: #3b4a2a; color: #ffffff; }
.rs-badge--clinical { background: #1e3d4a; color: #ffffff; }
.rs-badge--proto    { background: #4a3b1e; color: #ffffff; }
.rs-badge--standard { background: var(--surface-border); color: var(--text-meta); }
.rs-badge--dev      { background: transparent; border: 1px solid var(--surface-border); color: var(--text-meta); }

/* ============================================================
   7. EVIDENCE
   ============================================================ */

.rs-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rs-evidence-card {
  background: var(--warm-bg);
  border: 1px solid var(--surface-border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.22s ease;
}

.rs-evidence-card:hover {
  border-color: var(--blue-border);
}

.rs-evidence-img {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(145deg, #d5e5f0 0%, #c2d6e8 100%);
}

.rs-evidence-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.rs-evidence-body {
  padding: 20px 22px 24px;
}

.rs-evidence-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(70, 130, 180, 0.08);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}

.rs-evidence-desc {
  font-size: 14px;
  line-height: 1.72;
  color: var(--text-body);
}

/* ============================================================
   8. CLOSING CTA
   ============================================================ */

.rs-closing {
  background: var(--dark-bg);
  padding: 120px 0;
}

.rs-closing-block {
  max-width: 680px;
}

.rs-closing-kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.40);
  margin-bottom: 20px;
  display: block;
}

.rs-closing-title {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.20;
  margin-bottom: 18px;
}

.rs-closing-body {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.80;
  margin-bottom: 44px;
}

.rs-closing-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.rs-cta-btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.rs-cta-btn--primary {
  background: var(--blue-grad);
  color: #ffffff;
}

.rs-cta-btn--primary:hover { opacity: 0.88; }

.rs-cta-btn--outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.rs-cta-btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.58);
  color: #ffffff;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: #0c1510;
  padding: 28px 0;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.28);
  text-align: center;
}

/* ============================================================
   RESPONSIVE — TABLET ≤ 1100px
   ============================================================ */

@media (max-width: 1100px) {

  .rs-shell { padding: 0 32px; }

  .rs-section { padding: 104px 0; }

  .rs-hero-title { font-size: 44px; }

  .rs-section-title { font-size: 32px; }

  .rs-overview-layout { grid-template-columns: 1fr; gap: 48px; }

  .rs-microbial-intro { grid-template-columns: 1fr; gap: 48px; }
  .rs-microbial-visual img { height: 280px; }

  .rs-principles-grid { grid-template-columns: repeat(2, 1fr); }

  .rs-proof-grid { grid-template-columns: 1fr; gap: 16px; }

  .rs-pipeline-index { grid-template-columns: repeat(4, 1fr); }

  .rs-pipeline-detail { padding: 32px; }

  .rs-evidence-grid { grid-template-columns: 1fr; }

  .rs-closing { padding: 88px 0; }

  .rs-closing-title { font-size: 32px; }

  .mobile-menu-btn { display: flex; }

  .header-nav,
  .header-right { display: none; }

  .mobile-nav { display: block; }

}

/* ============================================================
   RESPONSIVE — MOBILE ≤ 768px
   ============================================================ */

@media (max-width: 768px) {

  .rs-shell { padding: 0 20px; }

  .rs-section { padding: 80px 0; }

  .research-hero {
    height: auto;
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .rs-hero-title { font-size: 36px; }

  .rs-hero-lead { font-size: 16px; }

  .rs-section-title { font-size: 26px; }

  .rs-overview-layout { grid-template-columns: 1fr; }

  .rs-fact-grid { flex-direction: row; flex-wrap: wrap; }

  .rs-fact-card { flex: 1 1 140px; }

  .rs-fact-number { font-size: 36px; }

  .rs-microbial-intro { grid-template-columns: 1fr; }

  .rs-principles-grid { grid-template-columns: 1fr; }

  .rs-proof-grid { grid-template-columns: 1fr; }

  .rs-pipeline-index {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .rs-pipeline-detail { padding: 24px 20px; }

  .rs-detail-header { flex-direction: column-reverse; }

  .rs-detail-img {
    width: 100%;
    height: 160px;
  }

  .rs-detail-name { font-size: 22px; }

  .rs-evidence-grid { grid-template-columns: 1fr; }

  .rs-closing { padding: 72px 0; }

  .rs-closing-title { font-size: 26px; }

  .rs-closing-actions { flex-direction: column; }

  .rs-cta-btn {
    width: 100%;
    text-align: center;
  }

}

/* Header dropdown navigation */
.nav-item {
  position: relative;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  min-width: 176px;
  padding: 10px;
  background: rgba(5, 12, 14, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.nav-submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.nav-item:hover .nav-submenu,
.nav-item:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-submenu-link {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-submenu-link:hover,
.nav-submenu-link:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.10);
}

/* ============================================================
   R&D PAGE - FOOD / FEED FORMAT UNIFICATION
   ============================================================ */

.food-premium-redesign.research-page {
  --rs-ink: #111827;
  --rs-body: #596577;
  --rs-line: #dfe4ea;
  --rs-soft: #f5f7f9;
  --rs-navy: #111b2b;
  --rs-gold: #d8ad46;
  background: #fff;
}

.food-premium-redesign.research-page .rs-shell {
  max-width: 1440px;
  padding: 0 48px;
}

.food-premium-redesign.research-page .rs-premium-hero {
  background: #fff;
}

.food-premium-redesign.research-page .rs-premium-hero .fp-hero-media {
  border: 0;
  background: #edf0f2;
}

.food-premium-redesign.research-page .rs-premium-hero .fp-hero-media img {
  height: 500px;
  object-fit: cover;
}

.food-premium-redesign.research-page .fp-brand-main .rs-premium-hero .fp-hero-copy h1 {
  font-size: 72px;
  line-height: 1.1;
}

.food-premium-redesign.research-page .rs-local-nav {
  border-bottom: 1px solid var(--rs-line);
}

.food-premium-redesign.research-page .rs-section {
  padding: 132px 0;
  background: #fff;
}

.food-premium-redesign.research-page .rs-section--warm {
  background: var(--rs-soft);
}

.food-premium-redesign.research-page .rs-kicker {
  margin-bottom: 14px;
  background: none;
  color: var(--rs-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .15em;
  -webkit-text-fill-color: currentColor;
}

.food-premium-redesign.research-page .rs-section-title {
  margin: 0;
  color: var(--rs-ink);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.035em;
}

.food-premium-redesign.research-page .rs-section-lead,
.food-premium-redesign.research-page .rs-editorial p,
.food-premium-redesign.research-page .rs-principle-body,
.food-premium-redesign.research-page .rs-proof-body,
.food-premium-redesign.research-page .rs-detail-body,
.food-premium-redesign.research-page .rs-evidence-desc {
  color: var(--rs-body);
  font-size: 16px;
  line-height: 1.8;
}

.food-premium-redesign.research-page .rs-section-heading {
  margin-bottom: 60px;
}

/* Overview: one statement and a continuous set of research facts. */
.food-premium-redesign.research-page .rs-overview-layout {
  grid-template-columns: minmax(0, .72fr) minmax(540px, 1fr);
  gap: 84px;
  align-items: start;
}

.food-premium-redesign.research-page .rs-overview-copy .rs-section-heading {
  margin-bottom: 28px;
}

.food-premium-redesign.research-page .rs-fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-left: 1px solid var(--rs-line);
}

.food-premium-redesign.research-page .rs-fact-card {
  min-height: 205px;
  padding: 28px 24px;
  gap: 18px;
  border: 0;
  border-right: 1px solid var(--rs-line);
  border-radius: 0;
  background: transparent;
}

.food-premium-redesign.research-page .rs-fact-number {
  background: none;
  color: var(--rs-gold);
  font-size: 48px;
  font-weight: 800;
  -webkit-text-fill-color: currentColor;
}

.food-premium-redesign.research-page .rs-fact-number small {
  font-size: 24px;
}

.food-premium-redesign.research-page .rs-fact-label {
  color: var(--rs-ink);
  font-size: 15px;
  font-weight: 800;
}

/* Patented fermentation platform: dark technical section with four process notes. */
.food-premium-redesign.research-page .rs-section--platform {
  background: var(--rs-navy);
}

.food-premium-redesign.research-page .rs-section--platform .rs-section-title,
.food-premium-redesign.research-page .rs-section--platform .rs-principle-title {
  color: #fff;
}

.food-premium-redesign.research-page .rs-section--platform .rs-editorial p,
.food-premium-redesign.research-page .rs-section--platform .rs-principle-body {
  color: rgba(255, 255, 255, .72);
}

.food-premium-redesign.research-page .rs-microbial-intro {
  grid-template-columns: minmax(0, .94fr) minmax(420px, .7fr);
  gap: 84px;
  margin-bottom: 76px;
}

.food-premium-redesign.research-page .rs-microbial-copy .rs-section-heading {
  margin-bottom: 30px;
}

.food-premium-redesign.research-page .rs-microbial-visual {
  height: 520px;
  border-radius: 0;
}

.food-premium-redesign.research-page .rs-microbial-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.food-premium-redesign.research-page .rs-principles-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
  border-left: 1px solid rgba(255, 255, 255, .16);
}

.food-premium-redesign.research-page .rs-principle-card {
  min-height: 210px;
  padding: 30px 28px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  border-radius: 0;
  background: transparent;
}

.food-premium-redesign.research-page .rs-principle-card:hover {
  background: rgba(255, 255, 255, .04);
}

.food-premium-redesign.research-page .rs-principle-num {
  margin-bottom: 34px;
  background: none;
  color: var(--rs-gold);
  font-size: 13px;
  font-weight: 900;
  -webkit-text-fill-color: currentColor;
}

.food-premium-redesign.research-page .rs-principle-title {
  margin-bottom: 14px;
  font-size: 23px;
  font-weight: 800;
}

/* Research and manufacturing proof becomes a numbered list, not three cards. */
.food-premium-redesign.research-page .rs-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 2px solid var(--rs-ink);
}

.food-premium-redesign.research-page .rs-proof-card {
  display: grid;
  grid-template-columns: 70px minmax(280px, .42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 32px 0;
  border: 0;
  border-bottom: 1px solid var(--rs-line);
  border-radius: 0;
  background: transparent;
}

.food-premium-redesign.research-page .rs-proof-card:hover {
  border-color: var(--rs-line);
  background: transparent;
}

.food-premium-redesign.research-page .rs-proof-num {
  margin: 0;
  color: var(--rs-gold);
  font-size: 13px;
  font-weight: 900;
}

.food-premium-redesign.research-page .rs-proof-title {
  margin: 0;
  color: var(--rs-ink);
  font-size: 24px;
  font-weight: 800;
}

.food-premium-redesign.research-page .rs-proof-body {
  margin: 0;
}

/* Pipeline retains its tabs while adopting the restrained line-based system. */
.food-premium-redesign.research-page .rs-pipeline-index {
  gap: 0;
  margin-bottom: 42px;
  border-top: 2px solid var(--rs-ink);
  border-left: 1px solid var(--rs-line);
}

.food-premium-redesign.research-page .rs-pipeline-card {
  min-height: 162px;
  padding: 22px 18px;
  border: 0;
  border-right: 1px solid var(--rs-line);
  border-bottom: 1px solid var(--rs-line);
  border-radius: 0;
  background: transparent;
}

.food-premium-redesign.research-page .rs-pipeline-card:hover,
.food-premium-redesign.research-page .rs-pipeline-card.is-active {
  border-color: var(--rs-line);
  border-top-width: 0;
  background: #eef1f4;
}

.food-premium-redesign.research-page .rs-pipeline-card.is-active {
  box-shadow: inset 0 3px 0 var(--rs-gold);
}

.food-premium-redesign.research-page .rs-pipeline-card-name,
.food-premium-redesign.research-page .rs-detail-name,
.food-premium-redesign.research-page .rs-detail-position {
  color: var(--rs-ink);
}

.food-premium-redesign.research-page .rs-pipeline-card-name {
  font-size: 17px;
  font-weight: 800;
}

.food-premium-redesign.research-page .rs-pipeline-card-code,
.food-premium-redesign.research-page .rs-detail-code {
  color: var(--rs-gold);
}

.food-premium-redesign.research-page .rs-pipeline-card-tag,
.food-premium-redesign.research-page .rs-detail-category {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--rs-body);
  font-size: 12px;
  font-weight: 700;
}

.food-premium-redesign.research-page .rs-pipeline-detail {
  padding: 48px;
  border: 1px solid var(--rs-line);
  border-top: 2px solid var(--rs-ink);
  border-radius: 0;
  background: #fff;
}

.food-premium-redesign.research-page .rs-detail-name {
  font-size: 34px;
  font-weight: 800;
}

.food-premium-redesign.research-page .rs-detail-position {
  font-size: 18px;
  font-weight: 700;
}

.food-premium-redesign.research-page .rs-status-list {
  border-color: var(--rs-line);
}

.food-premium-redesign.research-page .rs-status-list li {
  color: var(--rs-body);
}

.food-premium-redesign.research-page .rs-status-list li::before {
  border-radius: 0;
  background: var(--rs-gold);
}

/* Research documents are presented as a concise, image-led archive. */
.food-premium-redesign.research-page .rs-evidence-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 2px solid var(--rs-ink);
}

.food-premium-redesign.research-page .rs-evidence-card {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  align-items: stretch;
  border: 0;
  border-bottom: 1px solid var(--rs-line);
  border-radius: 0;
  background: transparent;
}

.food-premium-redesign.research-page .rs-evidence-card:hover {
  border-color: var(--rs-line);
}

.food-premium-redesign.research-page .rs-evidence-img {
  min-height: 230px;
  border-right: 1px solid var(--rs-line);
  background: #fff;
}

.food-premium-redesign.research-page .rs-evidence-img img {
  height: 100%;
  object-fit: contain;
  padding: 28px;
}

.food-premium-redesign.research-page .rs-evidence-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 40px;
}

.food-premium-redesign.research-page .rs-evidence-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.food-premium-redesign.research-page .rs-evidence-num {
  color: var(--rs-gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.food-premium-redesign.research-page .rs-evidence-tag {
  padding: 0 0 0 14px;
  margin: 0;
  border-left: 1px solid var(--rs-line);
  border-radius: 0;
  background: none;
  color: var(--rs-gold);
  font-size: 12px;
  font-weight: 900;
}

.food-premium-redesign.research-page .rs-evidence-title {
  margin: 0 0 12px;
  color: var(--rs-ink);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.35;
}

.food-premium-redesign.research-page .rs-evidence-desc {
  margin: 0;
}

/* SCI-indexed research is presented as one focused publication feature. */
.food-premium-redesign.research-page .rs-journal-feature {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(500px, 1.3fr);
  align-items: stretch;
  border-top: 2px solid var(--rs-ink);
  border-bottom: 1px solid var(--rs-line);
}

.food-premium-redesign.research-page .rs-journal-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px 54px 54px 0;
}

.food-premium-redesign.research-page .rs-journal-label {
  margin: 0 0 22px;
  color: var(--rs-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.food-premium-redesign.research-page .rs-journal-copy h3 {
  margin: 0 0 22px;
  color: var(--rs-ink);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.28;
}

.food-premium-redesign.research-page .rs-journal-copy > p:last-child {
  margin: 0;
  color: var(--rs-body);
  font-size: 16px;
  line-height: 1.8;
}

.food-premium-redesign.research-page .rs-journal-image {
  display: flex;
  align-items: center;
  min-height: 360px;
  margin: 0;
  padding: 28px;
  border-left: 1px solid var(--rs-line);
  background: #fff;
}

.food-premium-redesign.research-page .rs-journal-image img {
  display: block;
  width: 100%;
  max-height: 430px;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .food-premium-redesign.research-page .rs-section {
    padding: 92px 0;
  }

  .food-premium-redesign.research-page .fp-brand-main .rs-premium-hero .fp-hero-copy h1 {
    font-size: 54px;
  }

  .food-premium-redesign.research-page .rs-overview-layout,
  .food-premium-redesign.research-page .rs-microbial-intro {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .food-premium-redesign.research-page .rs-proof-card {
    grid-template-columns: 70px minmax(220px, .42fr) minmax(0, 1fr);
  }

  .food-premium-redesign.research-page .rs-pipeline-index {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 800px) {
  .food-premium-redesign.research-page .rs-journal-feature {
    grid-template-columns: 1fr;
  }

  .food-premium-redesign.research-page .rs-journal-copy {
    padding: 36px 0;
  }

  .food-premium-redesign.research-page .rs-journal-image {
    min-height: 0;
    padding: 24px;
    border-top: 1px solid var(--rs-line);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .food-premium-redesign.research-page .rs-shell {
    padding: 0 22px;
  }

  .food-premium-redesign.research-page .rs-premium-hero .fp-hero-media img,
  .food-premium-redesign.research-page .rs-microbial-visual {
    height: 320px;
  }

  .food-premium-redesign.research-page .fp-brand-main .rs-premium-hero .fp-hero-copy h1 {
    font-size: 42px;
  }

  .food-premium-redesign.research-page .rs-section {
    padding: 76px 0;
  }

  .food-premium-redesign.research-page .rs-section-title {
    font-size: 34px;
  }

  .food-premium-redesign.research-page .rs-section-heading {
    margin-bottom: 42px;
  }

  .food-premium-redesign.research-page .rs-fact-grid,
  .food-premium-redesign.research-page .rs-principles-grid,
  .food-premium-redesign.research-page .rs-pipeline-index,
  .food-premium-redesign.research-page .rs-evidence-grid {
    grid-template-columns: 1fr;
  }

  .food-premium-redesign.research-page .rs-fact-card,
  .food-premium-redesign.research-page .rs-evidence-card {
    border-left: 1px solid var(--rs-line);
  }

  .food-premium-redesign.research-page .rs-proof-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 26px 0;
  }

  .food-premium-redesign.research-page .rs-principle-card {
    min-height: 0;
  }

  .food-premium-redesign.research-page .rs-pipeline-detail {
    padding: 30px 22px;
  }

  .food-premium-redesign.research-page .rs-evidence-img img {
    height: 250px;
  }

  .food-premium-redesign.research-page .rs-evidence-card {
    grid-template-columns: 1fr;
    border-left: 0;
  }

  .food-premium-redesign.research-page .rs-evidence-img {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--rs-line);
  }

  .food-premium-redesign.research-page .rs-evidence-img img {
    height: 220px;
    padding: 20px;
  }

  .food-premium-redesign.research-page .rs-evidence-body {
    padding: 26px 22px 30px;
  }

  .food-premium-redesign.research-page .rs-evidence-title {
    font-size: 22px;
  }

  .food-premium-redesign.research-page .rs-journal-copy {
    padding: 30px 0;
  }

  .food-premium-redesign.research-page .rs-journal-copy h3 {
    font-size: 28px;
  }

  .food-premium-redesign.research-page .rs-journal-image {
    padding: 18px;
  }
}
