/* Home and research reference adaptation, October 21, 2026.
   Preserve the supplied typography, palette, original banner, and student art.
   Loaded only by index.html and research.html. */

.page-home main section,
.page-research main section { scroll-margin-top: 16px; }
.page-home .hero-art { pointer-events: none; }
.page-home .hero-phrase { text-wrap: nowrap; }
.page-home .hero-lede { max-width: 40ch; }
.page-home .student-feature { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.page-home .student-feature img { mix-blend-mode: multiply; }
.page-home .student-copy .eyebrow { margin-bottom: 18px; color: var(--green-soft); }
.page-home .theme-card > div { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.page-home .theme-card .text-link { margin-top: auto; }
.page-home .theme-card h3 { text-wrap: pretty; }
.page-home .recent-list .recent-year { color: var(--green-soft); font: 500 13px/1.3 var(--mono); letter-spacing: .08em; }
.page-home .btn:active { transform: translateY(1px); }
.page-home .btn:focus-visible { outline-offset: 5px; }
.page-home .band-dark::before { pointer-events: none; }

.page-research .intro-layout > div,
.page-research .theme-block-body { min-width: 0; }
.page-research .theme-block-head h2 { max-width: 11ch; }
.page-research .theme-block-head .theme-icon { width: 88px; height: 88px; }
.page-research .jump-links a { padding: 4px 0; }
.page-research .jump-links li + li { margin-top: 4px; }
.page-research .detail-label { font-family: var(--sans); font-weight: 600; letter-spacing: .14em; }
.page-research .paper-links li:first-child { padding-top: 0; }
.page-research .paper-links a { overflow-wrap: anywhere; }
.page-research .cycle-copy h2 { max-width: 13ch; }
.page-research .cycle-figure { max-width: 460px; }

/* The desktop references stay spacious; tablets retain readable columns. */
@media (min-width: 761px) and (max-width: 1020px) {
  .page-home .site-header, .page-research .site-header { gap: 24px; }
  .page-home .brand-copy small, .page-research .brand-copy small { max-width: 25ch; white-space: normal; }
  .page-home .nav, .page-research .nav { gap: 18px; font-size: 14px; }
  .page-home .student-feature { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 30px; }
  .page-home .student-copy h2 { font-size: 38px; }
  .page-home .student-copy p { font-size: 18px; }
  .page-home .theme-card > div { align-items: start; }
  .page-research .theme-block { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 40px; }
  .page-research .cycle-layout { gap: 40px; }
}

/* Keep the original banner behind the hero copy on phones, rather than
   detaching it into a second image below the buttons. No local white blur. */
@media (max-width: 760px) {
  .page-home .nav, .page-research .nav {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 8px;
    overflow: visible;
    font-size: clamp(12px, 3.3vw, 14px);
  }
  .page-home .home-hero { display: block; min-height: 460px; }
  .page-home .hero-art {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 44% center;
    opacity: .18;
  }
  .page-home .hero-copy { padding: 56px 0; }
  .page-home .hero-title { margin-bottom: 24px; font-size: clamp(31px, 8.7vw, 66px); line-height: 1.05; }
  .page-home .hero-learn { margin-top: .05em; font-size: 1.17em; }
  .page-home .hero-lede { max-width: 37ch; margin-bottom: 28px; font-size: 20px; }
  .page-home .hero-title .hero-phrase { -webkit-text-stroke-width: .85px; }
  .page-home .student-feature { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .page-home .student-feature img { order: 2; }
  .page-home .student-copy { order: 1; }
  .page-home .student-copy p { max-width: 44ch; }
  .page-home .theme-card { grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 28px 0; }
  .page-home .theme-card .theme-icon { width: 52px; height: 52px; margin-bottom: 0; }
  .page-home .theme-card .theme-num { margin-bottom: 12px; }
  .page-home .theme-card h3 { font-size: 26px; }
  .page-home .theme-card p { font-size: 18px; }
  .page-home .section-heading .text-link { margin-top: 24px; }
  .page-home .work-head, .page-home .work-row { gap: 32px; }
  .page-home .work-head h2 { font-size: clamp(42px, 10vw, 64px); }
  .page-research .page-intro { padding: 52px 0 44px; }
  .page-research .intro-layout { gap: 30px; }
  .page-research .jump-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
  .page-research .jump-links li + li { margin-top: 0; }
  .page-research .jump-links a { align-items: baseline; font-size: 14px; }
  .page-research .theme-block { gap: 28px; }
  .page-research .theme-block-head { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; align-items: center; }
  .page-research .theme-block-head .theme-num { grid-column: 1 / -1; margin-bottom: 18px; }
  .page-research .theme-block-head .theme-icon { width: 56px; height: 56px; margin-bottom: 0; }
  .page-research .theme-block-head h2 { max-width: none; font-size: clamp(32px, 7.5vw, 42px); }
  .page-research .theme-block-body .lede { margin-bottom: 28px; }
  .page-research .focus-list li { padding: 14px 0 14px 24px; }
  .page-research .focus-list li::before { left: 2px; top: 24px; width: 7px; height: 7px; }
  .page-research .cycle-layout { gap: 36px; }
  .page-research .cycle-copy { order: -1; }
  .page-research .cycle-figure { width: min(100%, 340px); margin-inline: auto; }
  .page-research .cycle-steps li { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .page-home .footer-brand, .page-research .footer-brand { grid-column: auto; }
}
@media (max-width: 380px) {
  .page-home .button-row { align-items: stretch; flex-direction: column; gap: 12px; }
  .page-home .button-row .btn { justify-content: space-between; }
  .page-research .jump-links { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
@media print {
  .page-home .hero-art, .page-home .band-dark::before { display: none; }
  .page-home .hero-learn, .page-home .hero-phrase { -webkit-text-stroke: 0; color: var(--green); }
}
