body { margin: 0; padding: 0; width: 100%; }

.site-header {
  transform: translateY(-100%);
  transition: transform 0.6s ease-out;
}
body.page-loaded .site-header { transform: translateY(0); }

.loader {
  height: 3px;
  background: repeating-linear-gradient(90deg, #0033FE 0px, #0033FE 10px, transparent 10px, transparent 20px);
  position: fixed;
  top: 50%; left: 0;
  width: 0%;
  z-index: 9999;
  margin-top: -1.5px;
}
.loader-svg {
  position: fixed;
  top: 50%; left: 0;
  width: 20px; height: 20px;
  margin-top: -10px;
  z-index: 10000;
  background-image: url('../images/S1.svg');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0; visibility: hidden;
}
.content { display: none; }
body.page-loaded .loader { display: none !important; }
body.page-loaded .content { display: block; }

.primary-nav a.active { color: var(--lime); }

/* ── RESEARCH HERO ── */
.rh-section {
  width: 100%;
  padding: 0 var(--side);
  position: sticky;
  top: var(--header-h, 60px);
  z-index: 1;
}
.rh-card {
  width: 100%;
  border-radius: clamp(8px, 0.8vw, 12px);
  background: linear-gradient(180deg, rgb(9,30,58) 0%, rgb(47,128,237) 100%);
  border: 1px solid rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 76px) clamp(22px, 3vw, 40px) clamp(36px, 5vw, 60px);
  min-height: clamp(280px, 32vw, 440px);
}
.rh-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(237,238,240,0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.rh-left { position: relative; z-index: 1; }
.rh-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: clamp(18px, 1.8vw, 22px);
  padding: 0 clamp(8px, 0.8vw, 12px);
  background: var(--lime);
  color: var(--ink);
  border-radius: 2px;
  font-size: clamp(7px, 0.6vw, 9px);
  letter-spacing: 0.08em;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: clamp(10px, 1.2vw, 18px);
}
.rh-title {
  margin: 0;
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.rh-sub {
  margin: clamp(12px, 1.5vw, 20px) 0 0;
  font-size: var(--text-md);
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.75);
  max-width: 48ch;
}
.rh-right { position: relative; z-index: 1; }
.rh-search-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.rh-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: clamp(10px, 1.2vw, 16px) clamp(12px, 1.5vw, 20px);
  font-family: inherit;
  font-size: var(--text-sm);
  color: var(--white);
  letter-spacing: 0.02em;
}
.rh-search-input::placeholder { color: rgba(255,255,255,0.45); }
.rh-search-btn {
  width: clamp(38px, 3.5vw, 50px);
  height: clamp(38px, 3.5vw, 50px);
  background: var(--lime);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s ease;
}
.rh-search-btn:hover { background: #c8f07a; }
.rh-search-btn svg { display: block; }

/* ── FILTER BAR ── */
.rf-section {
  width: 100%;
  padding: clamp(8px, 1vw, 12px) var(--side);
  position: sticky;
  top: var(--header-h, 60px);
  z-index: 50;
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgba(25,36,59,0.30) 1px, transparent 1px);
  background-size: 24px 24px;
}
.rf-bar {
  width: 100%;
  background: var(--ink);
  border-radius: clamp(6px, 0.7vw, 10px);
  padding: clamp(8px, 1vw, 14px) clamp(14px, 2vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 1.5vw, 20px);
  flex-wrap: wrap;
}
.rf-tabs {
  display: flex;
  align-items: center;
  gap: clamp(4px, 0.6vw, 8px);
  flex-wrap: wrap;
}
.rf-tab {
  height: clamp(28px, 2.5vw, 36px);
  padding: 0 clamp(10px, 1.2vw, 18px);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.65);
  font-family: inherit;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.rf-tab:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.rf-tab.active {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
  font-weight: 500;
}
.rf-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rf-sort-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.rf-sort-select {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  color: var(--white);
  font-family: inherit;
  font-size: var(--text-xs);
  padding: 4px 8px;
  cursor: pointer;
  letter-spacing: 0.04em;
  outline: none;
}
.rf-sort-select option { background: var(--ink); }

/* ── PUBLICATIONS ── */
.rpub-section {
  width: 100%;
  padding: clamp(24px, 3vw, 40px) var(--side) 0;
}
.rpub-inner {
  padding: clamp(24px, 3vw, 40px) 0;
}
.rpub-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.rpub-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.rpub-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(16px, 2vw, 32px);
  align-items: center;
  padding: clamp(18px, 2.2vw, 30px) 0;
  border-top: 1px solid rgba(25,36,59,0.15);
  transition: background 0.25s ease;
}
.rpub-item:last-child { border-bottom: 1px solid rgba(25,36,59,0.15); }
.rpub-left {}
.rpub-tags {
  display: flex;
  align-items: center;
  gap: clamp(4px, 0.5vw, 8px);
  flex-wrap: wrap;
  margin-bottom: clamp(6px, 0.8vw, 12px);
}
.rpub-tag {
  display: inline-flex;
  align-items: center;
  height: clamp(16px, 1.5vw, 20px);
  padding: 0 clamp(6px, 0.7vw, 10px);
  border-radius: 2px;
  font-size: clamp(7px, 0.6vw, 9px);
  letter-spacing: 0.08em;
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 2px 2px 4px rgba(0,0,0,0.15);
}
.rpub-tag--year { background: var(--ink); color: var(--white); }
.rpub-tag--type { background: var(--blue); color: var(--white); }
.rpub-tag--pre  { background: rgba(25,36,59,0.12); color: var(--ink); border: 1px solid rgba(25,36,59,0.3); }

.rpub-title {
  margin: 0 0 clamp(6px, 0.8vw, 10px);
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.rpub-desc {
  margin: 0;
  font-size: var(--text-md);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: rgba(25,36,59,0.65);
  max-width: 72ch;
}
.rpub-action {
  flex-shrink: 0;
}
.rpub-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: clamp(34px, 3.2vw, 44px);
  padding: 0 clamp(12px, 1.4vw, 20px);
  border-radius: 5px;
  border: 1px solid var(--blue);
  background: transparent;
  color: var(--blue);
  text-decoration: none;
  font-family: inherit;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease;
}
.rpub-btn:hover { background: var(--blue); color: var(--white); }
.rpub-btn svg { transition: transform 0.25s ease; }
.rpub-btn:hover svg { transform: rotate(45deg); }

/* Pagination */
.rpub-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 0.6vw, 8px);
  margin-top: clamp(28px, 3.5vw, 48px);
}
.rpub-page {
  width: clamp(32px, 3vw, 40px);
  height: clamp(32px, 3vw, 40px);
  border-radius: 5px;
  border: 1px solid rgba(25,36,59,0.2);
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: var(--text-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease;
}
.rpub-page:hover { background: var(--ink); color: var(--white); }
.rpub-page.active,
.rpub-page.current { background: var(--blue); color: var(--white); border-color: var(--blue); }
a.rpub-page { text-decoration: none; }
.rpub-page--next {
  width: auto;
  padding: 0 clamp(12px, 1.4vw, 18px);
  gap: 6px;
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── NEWS & BLOG ── */
.rnews-section {
  width: 100%;
  padding: clamp(48px, 6vw, 88px) var(--side) 0;
}
.rnews-head {
  margin-bottom: clamp(22px, 2.8vw, 38px);
}
.rnews-grid {
  display: grid;
  grid-template-columns: 1fr clamp(200px, 30vw, 420px);
  gap: clamp(16px, 2.5vw, 32px);
  align-items: stretch;
}
.rnews-featured {
  border-radius: clamp(8px, 0.8vw, 12px);
  border: 1px solid rgba(25,36,59,0.15);
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rnews-featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.rnews-featured .cover {
  width: 100%;
  flex: 1;
  min-height: clamp(100px, 14vw, 200px);
  background: url('../images/article.jpg') center / cover no-repeat;
}
.rnews-featured .card-body {
  padding: clamp(16px, 2vw, 28px);
  flex-shrink: 0;
}
.rnews-featured .card-body h3 {
  margin: 8px 0 10px;
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.rnews-featured .card-body p {
  margin: 0 0 clamp(14px, 1.8vw, 22px);
  font-size: var(--text-md);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: rgba(25,36,59,0.65);
}
.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  color: var(--blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  transition: gap 0.25s ease;
}
.read-more-link:hover { gap: 10px; }

.rnews-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(10px, 1.2vw, 16px);
}
.rnews-small {
  display: grid;
  grid-template-columns: clamp(64px, 6.5vw, 90px) 1fr;
  gap: clamp(10px, 1.2vw, 16px);
  align-items: start;
  padding: clamp(10px, 1.2vw, 16px);
  border-radius: clamp(6px, 0.7vw, 10px);
  border: 1px solid rgba(25,36,59,0.12);
  background: var(--white);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rnews-small:hover {
  transform: translateX(3px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.09);
}
.rnews-small-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 4px;
  background: url('../images/article.jpg') center / cover no-repeat;
  flex-shrink: 0;
}
.rnews-small-body {}
.rnews-small-body .tag {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: clamp(7px, 0.6vw, 8px);
  padding: 2px 8px;
  border-radius: 2px;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
  box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
.rnews-small-body h5 {
  margin: 0 0 4px;
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.01em;
  line-height: 1.25;
}
.rnews-small-body p {
  margin: 0;
  font-size: clamp(10px, 0.85vw, 13px);
  line-height: 1.4;
  color: rgba(25,36,59,0.6);
}

/* ── PODCAST & MEDIA ── */
.rpod-section {
  width: 100%;
  padding: clamp(48px, 6vw, 88px) var(--side) 0;
}
.rpod-head {
  margin-bottom: clamp(22px, 2.8vw, 38px);
}
.rpod-sub {
  font-size: var(--text-md);
  color: rgba(25,36,59,0.6);
  letter-spacing: 0.02em;
  margin: clamp(8px, 1vw, 14px) 0 0;
}

/* Podcast cards row */
.rpod-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.8vw, 24px);
  margin-bottom: clamp(16px, 2vw, 24px);
}
.rpod-card {
  border-radius: clamp(8px, 0.8vw, 12px);
  border: 1px solid rgba(25,36,59,0.12);
  background: var(--white);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rpod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}
.rpod-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: url('../images/article.jpg') center / cover no-repeat;
  position: relative;
  overflow: hidden;
}
.rpod-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(25,36,59,0.85);
  color: var(--white);
  font-size: clamp(9px, 0.75vw, 11px);
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 3px;
  font-weight: 500;
}
.rpod-body {
  padding: clamp(12px, 1.4vw, 20px);
}
.rpod-body .tag {
  display: inline-block;
  background: var(--lime);
  color: var(--ink);
  font-size: clamp(7px, 0.6vw, 8px);
  padding: 2px 8px;
  border-radius: 2px;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  font-weight: 500;
}
.rpod-body h5 {
  margin: 0 0 5px;
  font-size: clamp(13px, 1.2vw, 17px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.rpod-body p {
  margin: 0;
  font-size: clamp(10px, 0.85vw, 13px);
  line-height: 1.4;
  color: rgba(25,36,59,0.6);
}

/* Video cards row */
.rvid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.8vw, 24px);
}
.rvid-card {
  border-radius: clamp(8px, 0.8vw, 12px);
  background: var(--ink);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rvid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}
.rvid-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgb(9,30,58) 0%, rgb(0,51,254) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rvid-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(237,238,240,0.08) 1px, transparent 1px);
  background-size: 20px 20px;
}
.rvid-play {
  width: clamp(40px, 4vw, 54px);
  height: clamp(40px, 4vw, 54px);
  border-radius: 50%;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rvid-card:hover .rvid-play {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(229,255,191,0.35);
}
.rvid-play svg { display: block; margin-left: 3px; }
.rvid-dur {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.6);
  color: var(--white);
  font-size: clamp(9px, 0.75vw, 11px);
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 3px;
  font-weight: 500;
}
.rvid-body {
  padding: clamp(12px, 1.4vw, 18px);
}
.rvid-body h5 {
  margin: 0 0 4px;
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1.25;
}
.rvid-body p {
  margin: 0;
  font-size: clamp(9px, 0.78vw, 12px);
  line-height: 1.4;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}

/* ── CTA (reusing sta pattern) ── */
.sta-scene { height: 260vh; }
.sta-section {
  width: 100%;
  height: 100vh;
  background: var(--blue);
  margin-top: clamp(48px, 6vw, 80px);
  clip-path: inset(88% 8% 0% 8% round 18px);
  will-change: clip-path;
  position: sticky;
  top: 0;
}
.sta-inner {
  width: 100%;
  height: 100%;
  padding: clamp(48px, 7vw, 90px) var(--side);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.sta-inner .wordmark { color: var(--bg); }
.sta-inner img.wordmark { align-self: center; margin: 0 auto; }
.sta-inner .wordmark .dot { background: var(--lime); }
.sta-inner h2 {
  font-size: var(--text-xl);
  line-height: 1.05;
  font-weight: 400;
  color: var(--white);
  margin: clamp(12px, 1.5vw, 20px) 0 0;
  white-space: pre-line;
  width: clamp(280px, 50vw, 700px);
}
.sta-inner .sub {
  font-size: var(--text-md);
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--white);
  margin: clamp(16px, 2vw, 28px) 0 0;
  width: clamp(260px, 48vw, 680px);
}
.sta-inner .cta-row {
  display: flex;
  gap: clamp(12px, 2.5vw, 38px);
  margin-top: clamp(28px, 4vw, 56px);
  flex-wrap: wrap;
  justify-content: center;
}
.sta-inner .wordmark,
.sta-inner h2,
.sta-inner .sub,
.sta-inner .cta-row {
  opacity: 0;
  transform: scale(0.75);
  filter: blur(6px);
  will-change: opacity, transform, filter;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .rh-card { grid-template-columns: 1fr; }
  .rnews-grid { grid-template-columns: 1fr; }
  .rpod-cards, .rvid-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .rpub-item { grid-template-columns: 1fr; }
  .rpod-cards, .rvid-cards { grid-template-columns: 1fr; }
}
