/* =====================================================================
   今、日本の赤ちゃんは？ — 共有スタイル
   現行 index.html の緑系デザインを CSS custom properties に集約。
   値（配色・書体）はここで一元管理し、各ページの style 直書きを避ける。
   ===================================================================== */

:root {
  /* palette */
  --bg: #f7faf6;
  --ink: #1f2d1a;
  --green: #3f9f31;
  --green-light: #64bf6a;
  --green-soft: rgba(100, 191, 106, 0.4);
  --green-soft-2: rgba(100, 191, 106, 0.25);
  --blue: #2563eb;
  --blue-light: #5295ff;
  --panel-green: rgba(160, 225, 164, 0.16);
  --panel-pi: rgba(137, 219, 171, 0.14);
  --panel-blue: rgba(142, 185, 252, 0.14);
  --card: #ffffff;
  --footer-bg: #151f11;
  --footer-ink: #f7faf6;
  --footer-accent: #89dbab;

  /* type */
  --serif: "Noto Serif JP", serif;
  --sans: "Noto Sans JP", sans-serif;

  /* layout */
  --maxw: 1120px;
  --header-h: 72px;
  --shadow-card: 0 4px 18px rgba(31, 45, 26, 0.06);
  --shadow-soft: 0 3px 14px rgba(31, 45, 26, 0.05);
}

html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
a {
  color: inherit;
}
::selection {
  background: rgba(63, 159, 49, 0.22);
}
img {
  max-width: 100%;
  display: block;
}

/* ---------- shared atoms ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 40px);
  padding-right: clamp(20px, 5vw, 40px);
}
.eyebrow {
  margin: 0 0 14px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
}
.section {
  padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 40px);
  scroll-margin-top: var(--header-h);
}
.section-title {
  margin: 0 0 clamp(24px, 4vw, 40px);
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-wrap: balance;
}
.lead {
  max-width: 40em;
  font-size: clamp(15px, 1.7vw, 17px);
  font-weight: 400;
  line-height: 2;
  text-wrap: pretty;
}
.panel {
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--panel-green);
  border-radius: clamp(28px, 4vw, 44px);
  padding: clamp(44px, 7vw, 88px) clamp(28px, 6vw, 76px);
}
.panel--pi {
  background: var(--panel-pi);
}
.panel--blue {
  background: var(--panel-blue);
}
.note {
  display: inline-block;
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #9a6b00;
  background: rgba(255, 214, 102, 0.28);
  padding: 4px 12px;
  border-radius: 999px;
}

/* ---------- header / nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(247, 250, 246, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--green-soft);
  padding-top: env(safe-area-inset-top);
}
.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 12px);
  line-height: 1;
}
.brand__logo {
  height: clamp(30px, 4vw, 38px);
  width: auto;
  display: block;
}
.brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.brand__ja {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(15px, 2vw, 18px);
  letter-spacing: 0.04em;
  color: var(--ink);
}
.brand__en {
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}
.desktop-nav {
  display: none;
  align-items: center;
  gap: clamp(18px, 2.4vw, 30px);
}
.desktop-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.desktop-nav a[aria-current="page"] {
  color: var(--green);
  font-weight: 700;
}
.nav-cta {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #fff !important;
  background: var(--green);
  padding: 9px 20px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.mobile-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: transparent;
  border: 1px solid rgba(63, 159, 49, 0.55);
  border-radius: 999px;
  cursor: pointer;
}
.mobile-btn span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.mobile-menu {
  display: none;
  border-top: 1px solid var(--green-soft);
  background: rgba(247, 250, 246, 0.98);
  padding: 8px clamp(20px, 5vw, 40px) calc(18px + env(safe-area-inset-bottom));
  flex-direction: column;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--green-soft-2);
}
.mobile-menu a[aria-current="page"] {
  color: var(--green);
  font-weight: 700;
}
.mobile-menu .nav-cta {
  padding: 13px 0;
  text-align: center;
  margin-top: 14px;
  border-bottom: none;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  scroll-margin-top: 80px;
  background:
    radial-gradient(
      130% 100% at 82% 8%,
      rgba(255, 255, 255, 0.4) 0%,
      rgba(255, 255, 255, 0) 42%
    ),
    linear-gradient(135deg, #62c470 0%, #46b595 46%, #57bee6 100%);
  padding: clamp(112px, 15vw, 168px) clamp(20px, 5vw, 40px)
    clamp(96px, 13vw, 168px);
  overflow: hidden;
}
.hero--compact {
  padding: clamp(104px, 13vw, 150px) clamp(20px, 5vw, 40px)
    clamp(60px, 9vw, 110px);
}
.hero__blob {
  position: absolute;
  z-index: 0;
}
.hero__blob--a {
  top: -90px;
  right: 8%;
  width: 360px;
  height: 340px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
}
.hero__blob--b {
  bottom: 60px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 54% 46% 40% 60% / 46% 56% 44% 54%;
}
.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(56px, 8vw, 116px);
  display: block;
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: var(--maxw);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.badge {
  margin: 0 0 clamp(22px, 3vw, 30px);
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #1f3d2a;
  background: rgba(255, 255, 255, 0.78);
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(31, 45, 26, 0.08);
  line-height: 1.75;
  /* 2行に折り返す前提で箱の幅を絞る。text-wrap: balance では
     行だけ詰まって白いピルの箱が広いまま残るため、幅で制御する */
  max-width: 22em;
}
/* 日本語は既定でどこでも改行されるため、語の途中で切れないよう
   意味のまとまりごとに改行禁止にする（改行位置は span の区切りだけ） */
.badge span {
  white-space: nowrap;
}
.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 3.8vw, 42px);
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 1px 12px rgba(28, 70, 60, 0.28);
  text-wrap: balance;
}
.hero__title mark {
  background: transparent;
  background-image: linear-gradient(
    transparent 56%,
    rgba(255, 255, 255, 0.32) 56%
  );
  color: #fff;
  padding: 0 0.06em;
  white-space: nowrap;
}
.hero__sub {
  margin: clamp(18px, 2.5vw, 26px) 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(14px, 1.7vw, 17px);
  line-height: 1.8;
  color: #fff;
  text-shadow: 0 1px 10px rgba(28, 70, 60, 0.24);
}
.hero__text {
  margin: clamp(20px, 3vw, 30px) 0 0;
  max-width: 34em;
  font-size: clamp(15px, 1.7vw, 17px);
  font-weight: 400;
  line-height: 1.95;
  color: #fff;
  text-shadow: 0 1px 10px rgba(28, 70, 60, 0.24);
  text-wrap: pretty;
}
.hero__media {
  position: relative;
}
.hero__media-bg {
  position: absolute;
  bottom: -30px;
  left: -26px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  z-index: 0;
}
.hero__media-fg {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
}

/* ---------- meta grid ---------- */
.meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(100, 191, 106, 0.55);
  max-width: var(--maxw);
  margin: 0 auto;
}
.meta-cell {
  padding: 22px 24px;
  border-left: 1px solid rgba(100, 191, 106, 0.32);
  border-bottom: 1px solid rgba(100, 191, 106, 0.32);
}
.meta-cell__cat {
  font-size: 13.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}
.meta-cell__label {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.meta-cell__value {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 500;
}

/* ---------- cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.5vw, 28px);
}
.card {
  background: var(--card);
  border-radius: 24px;
  padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--shadow-card);
}
.card__num {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.04em;
}
.card__num--blue {
  color: var(--blue);
}
.card__title {
  margin: 18px 0 14px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 21px);
  letter-spacing: 0.03em;
}
.card__body {
  margin: 0;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.95;
  text-wrap: pretty;
}

/* ---------- list (news / generic) ---------- */
.stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.list-item {
  text-decoration: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px clamp(20px, 3vw, 32px);
  background: var(--card);
  border-radius: 18px;
  padding: clamp(18px, 2.2vw, 24px) clamp(22px, 3vw, 30px);
  box-shadow: var(--shadow-soft);
}
.list-item__date {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--blue);
  letter-spacing: 0.06em;
  min-width: 92px;
  font-variant-numeric: tabular-nums;
}
.list-item__text {
  flex: 1 1 240px;
  font-size: clamp(15px, 1.7vw, 16.5px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  text-wrap: pretty;
}
.tag {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: rgba(137, 219, 171, 0.32);
  padding: 5px 12px;
  border-radius: 999px;
}
.tag--outline {
  color: var(--blue);
  background: transparent;
  border: 1px solid rgba(82, 149, 255, 0.55);
  padding: 4px 12px;
}

/* ---------- outcomes ---------- */
.outcome-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.5vw, 28px);
}
.outcome-card .card__title {
  font-weight: 500;
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.6;
}
.outcome-card__meta {
  margin: 0;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink);
  opacity: 0.7;
  line-height: 1.7;
}

/* generic reference list (論文・発表など) */
.ref-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ref-item {
  background: var(--card);
  border-radius: 18px;
  padding: clamp(20px, 2.4vw, 26px) clamp(22px, 3vw, 30px);
  box-shadow: var(--shadow-soft);
}
.ref-item__title {
  margin: 10px 0 8px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(15.5px, 1.8vw, 18px);
  line-height: 1.7;
  letter-spacing: 0.02em;
  text-wrap: pretty;
}
.ref-item__meta {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink);
  opacity: 0.78;
  text-wrap: pretty;
}
.ref-item__link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
  word-break: break-all;
}

/* ---------- members ---------- */
.member-block + .member-block {
  margin-top: clamp(28px, 4vw, 44px);
}
.member-block__head {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(17px, 2vw, 21px);
  letter-spacing: 0.04em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-soft);
}
.member-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.member-card {
  background: var(--card);
  border-radius: 18px;
  padding: 20px 24px;
  box-shadow: var(--shadow-soft);
}
.member-card__role {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--green);
}
.member-card__name {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.member-card__affil {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.85;
}
.member-card__link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
  word-break: break-all;
}
.affil-list {
  margin: 0;
  padding-left: 1.6em;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- research panel (text + photo) ---------- */
.research-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.research-photo {
  margin: 0 auto;
  max-width: 420px; /* 元画像の実寸。拡大するとぼやけるため上限にする */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.research-photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- video / link feature ---------- */
.video-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
  background: var(--card);
  border-radius: 24px;
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-card);
}
.video-feature__thumb {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: block;
}
.video-feature__thumb img {
  width: 100%;
  height: auto;
}
.video-feature__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 45, 26, 0.18);
}
.video-feature__play::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 16px 0 16px 26px;
  border-color: transparent transparent transparent #fff;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  margin-left: 6px;
}

.link-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
/* 関連リンクの小見出し（QRコード資料の区分に対応） */
.links-head {
  margin: clamp(26px, 3.5vw, 34px) 0 14px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.6;
  letter-spacing: 0.03em;
}
.links-head:first-of-type {
  margin-top: 0;
}
.link-btn {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--green-soft);
  padding: 11px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

/* ---------- photo placeholder ---------- */
.photo-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(100, 191, 106, 0.12);
  border: 1px dashed rgba(63, 159, 49, 0.5);
  border-radius: 18px;
  color: var(--green);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  min-height: 160px;
  padding: 24px;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.5vw, 28px);
}
.contact-card {
  background: var(--card);
  border-radius: 24px;
  padding: clamp(28px, 3vw, 38px);
  box-shadow: var(--shadow-card);
}
.contact-card dl {
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  font-size: 14.5px;
  line-height: 1.7;
}
.contact-card dt {
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
}
.contact-card dd {
  margin: 0;
  word-break: break-word;
}
.contact-card a {
  color: var(--blue);
  font-weight: 600;
}

/* ---------- CTA ---------- */
.cta {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 40px);
  text-align: center;
}
.cta__inner {
  max-width: 640px;
  margin: 0 auto;
}
.btn-primary {
  display: inline-block;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--green);
  padding: 15px 42px;
  border-radius: 999px;
}

/* ---------- funding (科研費) ---------- */
.funding {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) 0;
}
.funding__logo {
  width: 132px;
  height: auto;
  border-radius: 6px;
  flex: 0 0 auto;
}
.funding__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink);
  opacity: 0.85;
  flex: 1 1 0;
  text-wrap: pretty;
}

/* ---------- paper (論文本文ページ) ---------- */
.paper {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(104px, 13vw, 140px) clamp(16px, 5vw, 40px) clamp(56px, 8vw, 96px);
}
/* 本文は読みやすい幅に、表だけ広く出す */
.paper-back,
.paper-head,
.paper-abstract,
.paper-body > :not(.paper-tablefig) {
  max-width: 760px;
  margin-inline: auto;
}
.paper-back {
  margin-top: 0;
  margin-bottom: clamp(20px, 3vw, 32px);
  font-size: 14px;
  font-weight: 600;
}
.paper-back a {
  color: var(--blue);
  text-decoration: none;
}
.paper-back--bottom {
  margin-top: clamp(40px, 6vw, 64px);
  margin-bottom: 0;
}
.paper-head {
  text-align: center;
  padding-bottom: clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--green-soft);
}
.paper-head__journal {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink);
  opacity: 0.85;
}
.paper-head__kind {
  display: inline-block;
  margin-right: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #fff;
  background: var(--green);
  padding: 2px 12px;
  border-radius: 999px;
}
.paper-head__title {
  margin: clamp(24px, 4vw, 36px) 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 3.4vw, 32px);
  line-height: 1.6;
  letter-spacing: 0.03em;
  text-wrap: balance;
}
.paper-head__subtitle {
  font-size: 0.72em;
}
.paper-head__title-en {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: clamp(15px, 1.9vw, 17px);
  font-weight: 600;
  line-height: 1.7;
}
.paper-authors {
  list-style: none;
  margin: clamp(24px, 3.5vw, 32px) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 22px;
}
.paper-authors li {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
}
.paper-authors sup {
  font-size: 0.62em;
}
.paper-authors [lang="en"] {
  margin-top: 2px;
  font-size: 13.5px;
  font-weight: 400;
  opacity: 0.8;
}
.paper-affil {
  list-style: none;
  margin: clamp(24px, 3.5vw, 32px) 0 0;
  padding: 0;
  text-align: left;
  font-size: 13.5px;
  line-height: 1.75;
  opacity: 0.85;
}
.paper-erratum {
  margin: 12px 0 0;
  text-align: left;
  font-size: 13.5px;
  line-height: 1.75;
  opacity: 0.85;
}
.paper-abstract {
  margin-top: clamp(32px, 5vw, 48px);
  background: var(--card);
  border-radius: 20px;
  padding: clamp(22px, 4vw, 40px);
  box-shadow: var(--shadow-soft);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.85;
}
.paper-abstract h2 {
  margin: 0 0 12px;
  text-align: center;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 18px;
}
.paper-abstract p {
  margin: 0 0 0.6em;
  text-indent: 2em;
  text-align: justify;
  hyphens: auto;
}
.paper-abstract .paper-keywords {
  margin: 18px 0 0;
  text-indent: 0;
  padding-left: 12px;
  border-left: 3px solid var(--green-soft);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.8;
}
.paper-body {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2;
}
.paper-body h2 {
  scroll-margin-top: calc(var(--header-h) + 16px);
  margin: clamp(44px, 6vw, 64px) 0 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-soft);
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(19px, 2.4vw, 22px);
  line-height: 1.5;
}
.paper-body h3 {
  margin: 32px 0 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
}
.paper-body h4 {
  margin: 24px 0 6px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
}
.paper-body p {
  margin: 0;
  text-indent: 1em;
  text-align: justify;
}
.paper-body p.is-flush {
  text-indent: 0;
}
.paper-body b {
  font-weight: 700;
}
.paper-body u {
  text-underline-offset: 4px;
}
.paper-list {
  list-style: none;
  margin: 6px 0 6px 1em;
  padding: 0;
}
.paper-list li {
  padding-left: 2em;
  text-indent: -2em;
}
.paper-list__para {
  display: block;
  text-indent: 1em;
}
.paper-list--steps li + li,
.paper-list--notes li + li {
  margin-top: 6px;
}
.paper-list--notes {
  margin-top: 18px;
  font-size: 14.5px;
}
.paper-list--notes li {
  padding-left: 1.2em;
  text-indent: -1.2em;
}
.paper-figure {
  margin: 24px 0;
  font-family: var(--sans);
}
.paper-figure__images {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
}
.paper-figure__images img {
  width: auto;
  max-width: 48%;
  height: clamp(120px, 26vw, 200px);
  object-fit: contain;
}
.paper-figure figcaption {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
}
.paper-figure__title {
  display: block;
  font-weight: 500;
}
.paper-figure__note {
  display: block;
  font-size: 13.5px;
  opacity: 0.8;
}
.paper-tablefig {
  width: fit-content;
  max-width: 100%;
  margin: 20px auto 28px;
  font-family: var(--sans);
}
.paper-tablefig figcaption {
  margin-bottom: 8px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.6;
}
.paper-tablefig .paper-note {
  margin-top: 8px;
  text-indent: 0;
  font-size: 13.5px;
  line-height: 1.75;
}
.paper-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--card);
  border: 1px solid rgba(31, 45, 26, 0.18);
  border-radius: 8px;
}
.paper-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13.5px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.paper-table th,
.paper-table td {
  border: 1px solid rgba(31, 45, 26, 0.14);
  padding: 5px 8px;
  text-align: right;
  white-space: nowrap;
}
.paper-table thead th {
  background: rgba(100, 191, 106, 0.12);
  font-weight: 500;
  text-align: center;
  vertical-align: bottom;
  white-space: nowrap;
}
.paper-table tbody th {
  text-align: left;
  font-weight: 400;
}
.paper-table tr.is-strong th,
.paper-table tr.is-strong td {
  font-weight: 700;
}
.paper-table .is-text {
  white-space: normal;
  min-width: 16em;
}
.paper-table--items td:first-child {
  text-align: right;
}
.paper-table .is-vertical {
  writing-mode: vertical-rl;
  white-space: normal;
  text-align: left;
  vertical-align: top;
  min-width: 0;
  height: 17em;
  padding: 8px 4px;
  line-height: 1.35;
}
.paper-table__num {
  display: block;
  text-combine-upright: all;
  margin-bottom: 4px;
}
.paper-table--appendix thead th,
.paper-table--appendix td {
  text-align: left;
  vertical-align: top;
  white-space: normal;
  min-width: 11em;
  width: 25%;
}
.paper-qr {
  margin: 14px 0 0;
  width: 96px;
  height: auto;
  image-rendering: pixelated;
}
.paper-subhead {
  margin-top: clamp(36px, 5vw, 48px) !important;
}
.paper-refs {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14.5px;
  line-height: 1.8;
}
.paper-refs li {
  padding-left: 2em;
  text-indent: -2em;
  overflow-wrap: anywhere;
}
.paper-refs li + li {
  margin-top: 4px;
}
.paper-refs a {
  color: var(--blue);
}
.paper-body p.paper-received {
  margin-top: 20px;
  text-align: right;
  text-indent: 0;
  font-size: 14.5px;
}
.paper-appendix {
  margin-top: clamp(48px, 7vw, 72px);
}
.paper-body p.paper-surveyor {
  margin-top: 24px;
  text-indent: 0;
  font-size: 14.5px;
}
.paper-surveyor span {
  display: block;
  text-align: right;
}
.paper-spaced {
  text-align: center;
}

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: clamp(56px, 7vw, 80px) clamp(20px, 5vw, 40px) clamp(36px, 4vw, 48px);
  overflow: hidden;
}
.site-footer__wave {
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: clamp(40px, 6vw, 80px);
  display: block;
}
.site-footer__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.site-footer__brand-en {
  margin-top: 8px;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8eb9fc;
  font-weight: 600;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px clamp(20px, 3vw, 32px);
}
.site-footer nav a {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 300;
  color: var(--footer-ink);
  opacity: 0.85;
}
.site-footer__copy {
  position: relative;
  max-width: var(--maxw);
  margin: clamp(36px, 4vw, 48px) auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(137, 219, 171, 0.25);
  font-size: 13.5px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--footer-accent);
}

/* ---------- responsive (switch at 860px) ---------- */
@media (max-width: 859px) {
  .meta-cell:nth-child(2n + 1) {
    border-left: none;
    padding-left: 0;
  }
}
@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .meta-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .meta-cell:nth-child(1) {
    border-left: none;
    padding-left: 0;
  }
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .outcome-grid {
    grid-template-columns: 1fr 1fr;
  }
  .member-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .video-feature {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .research-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .desktop-nav {
    display: flex;
  }
  .mobile-btn {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
