:root {
  --blue: #159de4;
  --blue-dark: #0878b8;
  --blue-soft: #dff3ff;
  --red: #ee4b47;
  --yellow: #f5c84b;
  --ink: #172a3a;
  --muted: #647583;
  --cream: #fffaf0;
  --paper: #f7f5ee;
  --white: #ffffff;
  --line: #dce3e6;
  --line-strong: #bfcfd7;
  --navy: #172a3a;
  --surface: #ffffff;
  --tint: #edf7fc;
  --cream-card: #fff3d1;
  --fact-bg: #172a3a;
  --nav-text: #435463;
  --header-bg: rgba(255, 250, 240, 0.82);
  --header-border: rgba(220, 227, 230, 0.8);
  --band-bg: rgba(255, 255, 255, 0.55);
  --card-border: rgba(23, 42, 58, 0.13);
  --noscript-bg: #fff1ef;
  --shadow: 0 24px 70px rgba(29, 67, 89, 0.13);
  --radius-lg: 32px;
  --radius-md: 22px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --blue-dark: #2f9ee0;
  --blue-soft: #16324a;
  --ink: #e6eef3;
  --muted: #93a5b3;
  --cream: #142332;
  --paper: #0d1823;
  --white: #182a3a;
  --line: #263a4b;
  --line-strong: #2f475b;
  --surface: #182a3a;
  --tint: #111f2c;
  --cream-card: #2e2a1e;
  --fact-bg: #1d3347;
  --nav-text: #b6c4cf;
  --header-bg: rgba(20, 35, 50, 0.82);
  --header-border: rgba(38, 58, 75, 0.9);
  --band-bg: rgba(255, 255, 255, 0.02);
  --card-border: rgba(255, 255, 255, 0.1);
  --noscript-bg: #3a1f1f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

.theme-transition,
.theme-transition *,
.theme-transition *::before,
.theme-transition *::after {
  transition:
    background-color 0.4s ease,
    border-color 0.4s ease,
    color 0.4s ease,
    fill 0.4s ease,
    stroke 0.4s ease,
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1) !important;
}

.theme-transition .contribution-doraemon {
  transition: none !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 4%, rgba(21, 157, 228, 0.08), transparent 23rem),
    var(--paper);
  font-family: "DM Sans", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.35;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  transform: translateY(-150%);
  border-radius: 8px;
  color: var(--paper);
  background: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1280px, calc(100% - 32px));
  height: 80px;
  margin: 14px auto 0;
  padding: 0 28px;
  border: 1px solid var(--header-border);
  border-radius: 20px;
  background: var(--header-bg);
  box-shadow: 0 8px 30px rgba(29, 67, 89, 0.06);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--blue);
}

.brand-mark::before {
  position: absolute;
  top: 7px;
  width: 19px;
  height: 2px;
  content: "";
  background: white;
}

.brand-mark span {
  width: 8px;
  height: 8px;
  margin-top: 12px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
}

.brand-name {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.04em;
}

.brand-name i {
  color: var(--red);
  font-style: normal;
}

.site-nav {
  display: flex;
  gap: 34px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  color: var(--nav-text);
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--blue);
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.theme-toggle {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 100px;
}

.theme-toggle-track {
  position: relative;
  display: block;
  width: 58px;
  height: 32px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 100px;
  background: #bfe6fb;
  transition: background-color 0.4s ease;
}

.theme-toggle-track::before,
.theme-toggle-track::after {
  position: absolute;
  content: "";
  border-radius: 100px;
  background: #fff;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.theme-toggle-track::before {
  right: 7px;
  bottom: 6px;
  width: 16px;
  height: 7px;
}

.theme-toggle-track::after {
  right: 15px;
  bottom: 9px;
  width: 9px;
  height: 7px;
}

.theme-toggle-stars {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(circle at 18% 30%, #fff 0 1.2px, transparent 1.6px),
    radial-gradient(circle at 34% 68%, #fff 0 1px, transparent 1.4px),
    radial-gradient(circle at 12% 74%, #fff 0 0.8px, transparent 1.2px),
    radial-gradient(circle at 42% 24%, #fff 0 0.8px, transparent 1.2px);
  transition: opacity 0.4s ease;
}

.theme-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.theme-toggle-thumb svg {
  position: absolute;
  width: 24px;
  height: 24px;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}

[data-theme="dark"] .theme-toggle-track {
  background: #1b2c4a;
}

[data-theme="dark"] .theme-toggle-track::before,
[data-theme="dark"] .theme-toggle-track::after {
  opacity: 0;
  transform: translateY(10px);
}

[data-theme="dark"] .theme-toggle-stars {
  opacity: 1;
}

[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(26px);
}

[data-theme="dark"] .icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}

[data-theme="dark"] .icon-moon {
  opacity: 1;
  transform: none;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4dbb79;
  box-shadow: 0 0 0 4px rgba(77, 187, 121, 0.14);
}

.menu-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 640px;
  padding-block: 90px 16px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
}

.eyebrow,
.section-kicker {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.eyebrow span {
  display: inline-block;
  margin-right: 10px;
  padding: 6px 11px;
  transform: rotate(-3deg);
  border-radius: 5px;
  color: white;
  background: var(--red);
  letter-spacing: 0.1em;
}

h1 {
  max-width: 720px;
  margin: 24px 0;
  font-size: clamp(52px, 6.2vw, 82px);
  line-height: 0.99;
  letter-spacing: -0.064em;
}

.name-highlight {
  position: relative;
  color: var(--blue-dark);
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 500;
}

.name-highlight::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 8px;
  content: "";
  transform: rotate(-1deg);
  border-radius: 50%;
  background: rgba(245, 200, 75, 0.65);
  mix-blend-mode: multiply;
}

.research-highlight {
  white-space: nowrap;
}

.research-highlight::before {
  content: "✦";
  margin-right: 8px;
  color: var(--yellow);
  font-size: 0.55em;
  vertical-align: 0.25em;
  -webkit-text-stroke: 1.5px var(--ink);
}

.hero-intro {
  max-width: 610px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.hero-intro strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 15px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: var(--blue-dark);
  box-shadow: 0 10px 24px rgba(8, 120, 184, 0.24);
}

.button-primary span {
  font-size: 19px;
}

.text-link {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.text-link span {
  margin-left: 8px;
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.social-row a:hover,
.social-button:hover {
  color: var(--blue-dark);
}

.social-button {
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
  font: inherit;
  cursor: pointer;
}

.qr-dialog {
  width: min(340px, calc(100% - 40px));
  padding: 34px 28px 28px;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: var(--cream);
  box-shadow: var(--shadow);
  text-align: center;
}

.qr-dialog::backdrop {
  background: rgba(23, 42, 58, 0.45);
  backdrop-filter: blur(4px);
}

.qr-dialog .section-kicker {
  margin: 6px 0 8px;
}

.qr-dialog h3 {
  margin: 0 0 20px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.qr-dialog img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  background: white;
}

.qr-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--surface);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.qr-dialog-bell {
  position: absolute;
  top: -22px;
  left: 50%;
  width: 40px;
  height: 34px;
  transform: translateX(-50%);
  border: 3px solid var(--ink);
  border-radius: 50% 50% 45% 45%;
  background: var(--yellow);
}

.qr-dialog-bell::after {
  position: absolute;
  bottom: -9px;
  left: 50%;
  width: 10px;
  height: 10px;
  transform: translateX(-50%);
  content: "";
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--red);
}

.hero-visual {
  position: relative;
  align-self: center;
  min-height: 540px;
}

.portrait-card {
  position: absolute;
  z-index: 2;
  top: 40px;
  left: 50%;
  width: min(360px, 74%);
  padding: 13px;
  transform: translateX(-50%) rotate(2.5deg);
  border: 1px solid var(--line);
  border-radius: 180px 180px 28px 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.portrait-placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 0.82;
  place-items: center;
  overflow: hidden;
  border-radius: 170px 170px 20px 20px;
  color: rgba(23, 42, 58, 0.4);
  background:
    radial-gradient(circle at 50% 30%, #fff 0 15%, transparent 15.5%),
    radial-gradient(ellipse at 50% 87%, #fff 0 38%, transparent 38.5%),
    linear-gradient(150deg, #90dcff, #2bacef);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.14em;
}

.portrait-placeholder.has-photo {
  background: var(--blue-soft);
}

.portrait-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-caption {
  display: flex;
  justify-content: space-between;
  padding: 17px 12px 6px;
  font-size: 12px;
}

.portrait-caption span {
  color: var(--muted);
}

.orbit {
  position: absolute;
  border: 1px solid var(--card-border);
  border-radius: 50%;
}

.orbit-one {
  top: 0;
  left: 6%;
  width: 88%;
  aspect-ratio: 1;
}

.orbit-two {
  top: 70px;
  left: 16%;
  width: 68%;
  aspect-ratio: 1;
  border-style: dashed;
}

.orbit-two::after {
  position: absolute;
  right: 8%;
  bottom: 18%;
  width: 9px;
  height: 9px;
  content: "";
  border-radius: 50%;
  background: var(--yellow);
}

/* 轨道上的公转元素：runner 负责公转，item 反向旋转保持图标始终正立 */
.orbit-runner {
  --orbit-start: 0deg;
  --orbit-duration: 30s;
  position: absolute;
  inset: -1px;
  transform: rotate(var(--orbit-start));
  animation: orbit-spin var(--orbit-duration) linear infinite;
  pointer-events: none;
  will-change: transform;
}

.orbit-item {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%) rotate(calc(var(--orbit-start) * -1));
  animation: orbit-counter-spin var(--orbit-duration) linear infinite;
}

.orbit-runner-earth {
  --orbit-start: -50deg;
  --orbit-duration: 40s;
  z-index: 1;
}

.orbit-runner-propeller {
  --orbit-start: 40deg;
  --orbit-duration: 26s;
  z-index: 3;
}

@keyframes orbit-spin {
  from { transform: rotate(var(--orbit-start)); }
  to { transform: rotate(calc(var(--orbit-start) + 360deg)); }
}

@keyframes orbit-counter-spin {
  from { transform: translate(-50%, -50%) rotate(calc(var(--orbit-start) * -1)); }
  to { transform: translate(-50%, -50%) rotate(calc(var(--orbit-start) * -1 - 360deg)); }
}

.earth {
  display: block;
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 6px 10px rgba(21, 157, 228, 0.25));
}

.earth-ocean {
  fill: var(--blue);
}

.earth-land {
  fill: #6ccf8f;
  stroke: var(--ink);
  stroke-width: 1.5;
  animation: earth-rotate 9s linear infinite;
}

.earth-outline {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.5;
}

.earth-shine {
  fill: none;
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 2.5;
  stroke-linecap: round;
}

@keyframes earth-rotate {
  from { transform: translateX(0); }
  to { transform: translateX(-48px); }
}

.propeller {
  position: relative;
  width: 92px;
  height: 54px;
  transform: rotate(10deg);
}

.propeller-blades {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 21px;
  transform-origin: 46px 50%;
  animation: propeller-spin 0.9s linear infinite;
}

@keyframes propeller-spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.propeller::before {
  position: absolute;
  top: 12px;
  left: 45px;
  width: 3px;
  height: 41px;
  content: "";
  background: var(--ink);
}

.propeller i,
.propeller b {
  position: absolute;
  top: 0;
  width: 45px;
  height: 17px;
  border: 2px solid var(--ink);
  background: var(--yellow);
}

.propeller i {
  left: 2px;
  border-radius: 100% 8px 8px 100%;
}

.propeller b {
  right: 0;
  border-radius: 8px 100% 100% 8px;
}

.propeller em {
  position: absolute;
  z-index: 2;
  top: 3px;
  left: 40px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--red);
}

.contribution-band {
  --cell-size: 12px;
  --cell-gap: 4px;
  --level-0: #e6eaec;
  --level-1: #9be9a8;
  --level-2: #40c463;
  --level-3: #30a14e;
  --level-4: #216e39;
  padding: 26px 0 18px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--band-bg);
}

[data-theme="dark"] .contribution-band {
  --level-0: #1a2a37;
  --level-1: #0e4429;
  --level-2: #006d32;
  --level-3: #26a641;
  --level-4: #39d353;
}

.contribution-stage {
  position: relative;
}

.contribution-grid {
  display: grid;
  grid-auto-columns: var(--cell-size);
  grid-auto-flow: column;
  grid-template-rows: repeat(7, var(--cell-size));
  gap: var(--cell-gap);
  justify-content: center;
}

.contribution-grid i,
.contribution-scale i {
  display: block;
  width: var(--cell-size);
  height: var(--cell-size);
  border-radius: 3px;
  background: var(--level-0);
  outline: 1px solid rgba(23, 42, 58, 0.04);
  outline-offset: -1px;
  transition: background-color 0.8s ease;
}

.contribution-grid i[data-level="1"],
.contribution-scale i[data-level="1"] { background: var(--level-1); }
.contribution-grid i[data-level="2"],
.contribution-scale i[data-level="2"] { background: var(--level-2); }
.contribution-grid i[data-level="3"],
.contribution-scale i[data-level="3"] { background: var(--level-3); }
.contribution-grid i[data-level="4"],
.contribution-scale i[data-level="4"] { background: var(--level-4); }

.contribution-grid i.is-lit {
  transition-duration: 0.15s;
}

.contribution-doraemon {
  position: absolute;
  top: 50%;
  left: 0;
  width: 64px;
  height: 68px;
  margin-top: -34px;
  filter: drop-shadow(0 8px 10px rgba(23, 42, 58, 0.18));
}

.contribution-doraemon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.contribution-legend {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}

.contribution-scale {
  display: flex;
  align-items: center;
  gap: 4px;
}

.contribution-scale i:first-of-type {
  margin-left: 4px;
}

.contribution-scale i:last-of-type {
  margin-right: 4px;
}

.section-block {
  padding-block: 120px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 90px;
  margin-bottom: 58px;
}

.section-heading.compact {
  align-items: end;
}

.section-number {
  display: inline-grid;
  width: 30px;
  height: 30px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}

.section-kicker {
  margin: 0 0 14px;
}

h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

h2 em {
  color: var(--blue-dark);
  font-family: Georgia, serif;
  font-weight: 400;
}

.section-summary {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.section-summary strong {
  color: var(--ink);
}

.section-summary.small {
  max-width: 400px;
  justify-self: end;
  font-size: 14px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.72fr;
  gap: 20px;
}

.interest-card,
.small-fact-card {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.interest-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  border: 1px solid var(--card-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interest-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: var(--shadow);
}

.blue-card {
  color: white;
  background: var(--blue);
}

.cream-card {
  background: var(--cream-card);
}

.card-index {
  position: absolute;
  top: 28px;
  left: 30px;
  font-size: 11px;
  font-weight: 700;
}

.interest-card h3 {
  max-width: 310px;
  margin: 0 0 13px;
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.interest-card p {
  max-width: 300px;
  margin: 0;
  opacity: 0.75;
  font-size: 13px;
  line-height: 1.7;
}

.card-arrow {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.line-icon {
  position: absolute;
  top: 55px;
  right: 24px;
  width: 190px;
  height: 150px;
}

.network-icon i {
  position: absolute;
  width: 32px;
  height: 32px;
  border: 2px solid white;
  border-radius: 50%;
}

.network-icon i:nth-child(1) { top: 12px; left: 76px; }
.network-icon i:nth-child(2) { top: 84px; left: 12px; }
.network-icon i:nth-child(3) { top: 100px; right: 18px; }
.network-icon i:nth-child(4) {
  top: 65px;
  left: 78px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.14);
}

.network-icon::before,
.network-icon::after {
  position: absolute;
  top: 74px;
  left: 34px;
  width: 125px;
  height: 2px;
  content: "";
  transform: rotate(25deg);
  background: white;
}

.network-icon::after {
  transform: rotate(-32deg);
}

.pocket-icon {
  top: 48px;
  right: 35px;
  width: 170px;
  height: 130px;
  border: 3px solid var(--ink);
  border-radius: 10px 10px 90px 90px;
  background: rgba(255, 255, 255, 0.28);
}

.pocket-icon::before {
  position: absolute;
  top: -14px;
  left: 26px;
  width: 112px;
  height: 28px;
  content: "";
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--cream-card);
}

.small-fact-card {
  padding: 32px;
  color: white;
  background: var(--fact-bg);
}

.small-fact-card::after {
  position: absolute;
  right: -65px;
  bottom: -65px;
  width: 180px;
  height: 180px;
  content: "";
  border: 2px dashed rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.small-fact-card p {
  margin: 85px 0 20px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.small-fact-card h3 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 25px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
}

.small-fact-card h3 span {
  color: var(--yellow);
}

.sparkle {
  position: absolute;
  top: 28px;
  right: 30px;
  color: var(--yellow);
  font-size: 25px;
}

.news,
.journey {
  background: var(--tint);
}

.news-list {
  border-top: 1px solid var(--line-strong);
}

.news-item {
  display: grid;
  grid-template-columns: 120px 1fr 48px;
  align-items: center;
  gap: 30px;
  min-height: 116px;
  border-bottom: 1px solid var(--line-strong);
}

.news-item time {
  font-size: 13px;
  font-weight: 700;
}

.news-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.news-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

.news-content a {
  color: var(--blue-dark);
  font-weight: 700;
}

.tag {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.tag-red {
  border-color: transparent;
  color: white;
  background: var(--red);
}

.circle-arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: color 0.2s ease, background 0.2s ease;
}

.circle-arrow:hover {
  color: white;
  background: var(--blue-dark);
}

.paper-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.paper-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.paper-thumb {
  position: relative;
  display: grid;
  min-height: 230px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 22px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.12em;
}

.paper-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-blue {
  color: white;
  background: var(--blue);
}

.thumb-yellow {
  color: var(--navy);
  background: #f9d96e;
}

.thumb-red {
  color: white;
  background: #ef6b62;
}

.portal-shape {
  position: absolute;
  right: -18px;
  bottom: -60px;
  width: 210px;
  height: 210px;
  border: 20px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.bell-shape {
  position: absolute;
  top: -30px;
  left: -20px;
  width: 130px;
  height: 130px;
  border: 16px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.door-shape {
  position: absolute;
  right: 25px;
  bottom: -40px;
  width: 110px;
  height: 180px;
  transform: rotate(-7deg);
  border: 12px solid rgba(255, 255, 255, 0.25);
  border-radius: 60px 60px 4px 4px;
}

.paper-info {
  align-self: center;
}

.paper-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}

.venue {
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.paper-info h3 {
  max-width: 690px;
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.authors,
.paper-desc {
  margin: 8px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.paper-desc {
  max-width: 680px;
}

.paper-links {
  display: flex;
  gap: 20px;
  margin-top: 18px;
}

.paper-links a {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
  margin-top: 20px;
}

.timeline-line {
  position: absolute;
  top: 6px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--line-strong);
}

.timeline article {
  position: relative;
  padding-top: 40px;
}

.timeline-dot {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 13px;
  height: 13px;
  border: 3px solid var(--tint);
  border-radius: 50%;
  background: var(--blue-dark);
  box-shadow: 0 0 0 1px var(--blue-dark);
}

.timeline time {
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.timeline h3 {
  margin: 12px 0 7px;
  font-size: 20px;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.contact {
  padding-block: 100px;
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: 80px 8%;
  border-radius: 40px;
  color: white;
  background: var(--blue-dark);
}

.contact-card .section-kicker {
  color: rgba(255, 255, 255, 0.62);
}

.contact-card h2 {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.contact-card h2 em {
  color: #bce9ff;
}

.contact-card > p:not(.section-kicker) {
  margin: 24px 0 30px;
  color: rgba(255, 255, 255, 0.7);
}

.button-light {
  position: relative;
  z-index: 2;
  color: var(--navy);
  background: white;
}

.contact-decoration {
  position: absolute;
  right: 7%;
  bottom: -70px;
  width: 240px;
  height: 240px;
  transform: rotate(12deg);
  border: 2px dashed rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.big-bell {
  position: absolute;
  top: 56px;
  left: 55px;
  width: 130px;
  height: 115px;
  border: 8px solid var(--ink);
  border-radius: 60% 60% 48% 48%;
  background: var(--yellow);
}

.big-bell::before {
  position: absolute;
  top: 42px;
  left: -9px;
  width: 132px;
  height: 10px;
  content: "";
  border: 5px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
}

.big-bell::after {
  position: absolute;
  bottom: -22px;
  left: 48px;
  width: 22px;
  height: 22px;
  content: "";
  border: 7px solid var(--ink);
  border-radius: 50%;
  background: var(--red);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-block: 30px 50px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

noscript {
  display: block;
  margin: 20px;
  padding: 16px;
  border: 1px solid var(--red);
  border-radius: 12px;
  color: var(--ink);
  background: var(--noscript-bg);
  text-align: center;
}

.site-footer p:last-child {
  justify-self: end;
}

.footer-brand {
  color: var(--ink);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 20px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--cream);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    place-content: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
  }

  .menu-toggle span {
    display: block;
    width: 17px;
    height: 2px;
    background: var(--ink);
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 80px;
  }

  .hero-visual {
    width: min(600px, 100%);
    margin: 60px auto 0;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .small-fact-card {
    grid-column: span 2;
    min-height: 270px;
  }

  .small-fact-card p {
    margin-top: 45px;
  }

  .paper-card {
    grid-template-columns: 270px 1fr;
    gap: 32px;
  }
}

@media (max-width: 700px) {
  .section-shell {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    width: calc(100% - 20px);
    height: 68px;
    margin-top: 10px;
    padding: 0 18px;
  }

  .hero {
    min-height: auto;
    padding-block: 70px 16px;
  }

  h1 {
    font-size: clamp(43px, 13.5vw, 62px);
  }

  .research-highlight {
    white-space: normal;
  }

  .hero-intro {
    font-size: 15px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .social-row {
    flex-wrap: wrap;
    line-height: 1.8;
  }

  .hero-visual {
    min-height: 490px;
  }

  .portrait-card {
    top: 35px;
    width: 76%;
  }

  .contribution-band {
    --cell-size: 10px;
    --cell-gap: 3px;
  }

  .contribution-doraemon {
    width: 52px;
    height: 55px;
    margin-top: -27px;
  }

  .contribution-legend > span:first-child {
    display: none;
  }

  .contribution-legend {
    justify-content: flex-end;
  }

  .section-block {
    padding-block: 85px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 44px;
  }

  h2 {
    font-size: 45px;
  }

  .section-summary.small {
    justify-self: start;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .small-fact-card {
    grid-column: auto;
  }

  .interest-card {
    min-height: 340px;
  }

  .news-item {
    grid-template-columns: 80px 1fr;
    gap: 14px;
    padding-block: 25px;
  }

  .news-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .circle-arrow {
    display: none;
  }

  .paper-card {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 30px 0;
  }

  .paper-thumb {
    min-height: 210px;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-left: 5px;
  }

  .timeline-line {
    top: 0;
    bottom: 0;
    left: 6px;
    width: 1px;
    height: auto;
  }

  .timeline article {
    padding: 0 0 0 35px;
  }

  .timeline-dot {
    top: 3px;
  }

  .contact {
    padding-block: 60px;
  }

  .contact-card {
    padding: 60px 28px 230px;
    border-radius: 28px;
  }

  .contact-decoration {
    right: 50%;
    bottom: -80px;
    transform: translateX(50%) rotate(12deg);
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  .footer-brand,
  .site-footer p:last-child {
    justify-self: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .orbit-runner,
  .orbit-item,
  .earth-land,
  .propeller-blades {
    animation: none !important;
  }
}
