:root {
  --ink: #10233e;
  --paper: #f7fbff;
  --science: #0878c9;
  --sun: #ffbf2f;
}

.discovery-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 191, 47, .32), transparent 22rem),
    linear-gradient(135deg, #eaf8ff 0%, #f8fcff 58%, #fff9e8 100%);
}

.science-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.science-card {
  background: rgba(255, 255, 255, .92);
  border: 1px solid #cdeafa;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(20, 86, 130, .11);
}

.science-card img { display: block; width: 100%; height: auto; }
.science-card__body { padding: 1.35rem 1.5rem 1.6rem; }
.science-card__body h2 { color: var(--ink); font-weight: 800; font-size: clamp(1.35rem, 2vw, 1.7rem); }
.science-card__body p { color: #486176; margin-top: .45rem; line-height: 1.75; }
.science-card__link { display: inline-flex; margin-top: 1rem; color: #0869aa; font-weight: 800; }

.comic-preview {
  background: #fffaf0;
  border: 1px solid #f5d98b;
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 18px 45px rgba(122, 78, 18, .1);
}

.comic-feature { margin-bottom: clamp(2.5rem, 7vw, 5rem); }
.comic-feature[id] { scroll-margin-top: 7rem; }
.journey-index { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.25rem; list-style:none; padding:0; }
.journey-index .science-card__body h3 { color:var(--ink); font-weight:800; font-size:1.2rem; line-height:1.5; }
.comic-feature__header { max-width: 48rem; margin-bottom: 1.5rem; }
.comic-page { margin: 0; }
.comic-page a {
  display: block;
  overflow: hidden;
  border: 1px solid #e7c870;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 22px 55px rgba(122, 78, 18, .14);
  transition: transform .25s ease, box-shadow .25s ease;
}
.comic-page a:hover { transform: translateY(-3px); box-shadow: 0 28px 65px rgba(122, 78, 18, .2); }
.comic-page a:focus-visible { outline: 4px solid #d97706; outline-offset: 5px; }
.comic-page img { display: block; width: 100%; height: auto; }
.comic-page figcaption { margin-top: .8rem; color: #786142; font-size: .875rem; text-align: center; }
.comic-cover { width: min(100%, 34rem); margin: 2rem auto 0; }

.comic-chapters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-top: 1.5rem; }
.comic-chapters li { background: #fff; border: 1px solid #f3dfad; border-radius: .9rem; padding: 1rem; color: #694b16; font-weight: 700; }

@media (max-width: 760px) {
  .science-grid { grid-template-columns: 1fr; }
  .journey-index { grid-template-columns: 1fr; }
  .comic-chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
