/* ---------- Home ---------- */
/* Hero: logo, lab name and affiliation first, then the question, in the body column */
.hero .container,.container.narrow{width:min(52rem,92vw)}
.hero-body{padding:3.6rem 0 3rem}
.home-logo{margin:0}
.home-logo img{
  --w:min(300px,62vw);width:var(--w);height:auto;
  /* rebels_logo.png has ~8.8% blank margin on every side: pull it flush
     with the text column and close the gap above the lab name */
  margin:calc(var(--w) * -.087) 0 calc(var(--w) * -.088) calc(var(--w) * -.088);
}
.home-logo + .tagline{margin-top:.5rem;line-height:1.45;font-size:1.15rem;font-weight:600;font-style:normal;color:var(--logo-navy)}
.tagline-ja{display:block;font-size:.95rem;font-weight:500;letter-spacing:.04em}   /* own line, same navy */
.headline{margin-top:2.4rem}
.subhead{margin:.7rem 0 0;font-size:.92rem;line-height:1.6;color:var(--muted)}

h2.title{margin-bottom:1.4rem}

/* About */
.about p{color:var(--ink);margin:0 0 1.1rem;font-size:1.05rem;line-height:1.75}
.about strong{color:var(--ink)}
.about a,.x-viewall,.more a{color:var(--logo-navy);text-decoration:underline;text-decoration-color:var(--logo-gray);text-underline-offset:.18em}
.about a:hover,.x-viewall:hover,.more a:hover{text-decoration-color:var(--logo-navy)}

/* About: link to the Projects page */
.more{margin:.4rem 0 0;font-size:.95rem}

/* News: official X embed (URLs from _data/x_posts.yml) */
.x-card{max-width:550px}
.x-embed .twitter-tweet{margin:0 0 1rem !important}
/* shown only if widgets.js is blocked */
.x-embed blockquote.twitter-tweet{padding:.7rem 1rem;border-left:2px solid var(--logo-gray);font-size:.9rem}
.x-viewall{display:inline-block;font-size:.95rem}

/* Join us band: flat navy, square button */
.join-band{text-align:center;color:#dbe4f0;background:var(--logo-navy)}
.join-band h2{margin:0;color:#fff;font-size:clamp(1.4rem,2.6vw,1.8rem);font-weight:600}
.join-band p{margin:.7rem auto 1.5rem;max-width:36rem;font-size:1.05rem}
.join-btn{
  display:inline-block;padding:.7rem 1.4rem;border-radius:3px;
  background:#fff;color:var(--logo-navy);font-weight:600;text-decoration:none;transition:background .15s;
}
.join-btn:hover{background:#e6e9ee}
