/* ============================================================
   HOME — geometry-faithful styles, measured from XD HOME–2
   Artboard: 1600 × 5572 · left margin 145 · right edge 1455
   ============================================================ */

/* grid reference: 1600px design width. Percentages = px/1600. */

.home main { overflow-x: clip; }

/* ---------- hero ---------- */
/* Materials y≈290 top, art block x879 w656 y294 h726 */
.hero { position: relative; padding: 150px 0 110px; }
.hero h1 { font-size: clamp(64px, 7.19vw, 115px); font-weight: 300; line-height: 1.0; }
.hero h1 .w1 { color: var(--blue-700); display: block; }
.hero h1 .w2 { color: var(--blue-500); display: block; margin-left: clamp(60px, 9.94vw, 159px); }

.hero-lede { max-width: 545px; margin-top: 56px; font-size: 22px; }
.hero-lede p + p { margin-top: 1em; }

/* hero CTA: 384x76 banner at x399 y1000 (XD Komponente 31 instance) */
.cta-banner { margin-top: 83px; margin-left: 19.4%; }
/* highlighted phrase inside the lede (XD: 263x28 #cdd8e1 strip in the text) */
.hero-lede mark { background: var(--blue-200); color: inherit; padding: 1px 8px; }

/* layered-planes art: XD x879 y294 w656 h726 on the 1600 artboard.
   header is 150px tall -> art top = 294-150 = 144px inside .hero
   (level with the top of "Materials", clear of the nav row). */
.hero-art {
  position: absolute; left: 54.9%; top: 144px;
  width: 41%; max-width: 656px; height: auto; pointer-events: none;
}

/* ---------- The Group ---------- */
/* photo x0→879 (bleeds left), y1473 h646; right col x913 */
.group-section { padding-top: 40px; }
.group-section .section-title { margin-bottom: 90px; }

.group-layout { position: relative; }
.group-photo-bleed {
  width: calc(50vw - 50% + 56%);          /* right edge at XD x879 at any viewport */
  margin-left: calc(-1 * (50vw - 50%));   /* bleed to viewport left edge */
  padding-left: 0;
}
.group-photo-bleed img { width: 100%; height: auto; display: block; }

.group-members {
  position: absolute; left: 58.6%; top: 0; width: 36%;
}
.group-members h3 { font-size: 22px; font-weight: 500; margin-bottom: 22px; }
.group-members ul { columns: 2; column-gap: 28px; }
.group-members li { font-size: 20px; line-height: 1.3; padding: 2px 0; list-style: none; break-inside: avoid; }

/* play-the-video banner: x303 y2119 (= photo bottom edge), 384×76 */
.play-banner { margin-left: 12.1%; margin-top: 0; position: relative; z-index: 4; }   /* (303-145)/1310; above portrait like XD */

/* leader row: portrait x625 w350 h455 · text col x1012 w~420 · blue bar x815 y2000 384×76 */
.leader-row {
  position: relative;
  display: flex; gap: 0;
  margin-top: -366px;      /* XD: portrait top y1829 overlaps photo bottom (y2119) */
  min-height: 500px;
  pointer-events: none;    /* row overlaps banner area; children re-enable */
}
.leader-row > * { pointer-events: auto; }
.leader-portrait {
  margin-left: 36.6%;      /* XD x625 */
  width: 370px; height: 475px;   /* 350x455 image + 10px white frame */
  border: 10px solid #fff;
  object-fit: cover; position: relative; z-index: 3;
}
.leader-text {
  position: absolute; left: 66.2%; top: 28px;      /* XD x1012 */
  width: 33%; z-index: 2;
}
.leader-text h3 { font-size: 22px; font-weight: 500; margin-bottom: 30px; }
.leader-text .who { font-size: 22px; }
.leader-text p { font-size: 20px; font-weight: 400; margin-top: 22px; }
.leader-text .links { margin-top: 52px; display: flex; gap: 30px; align-items: baseline; flex-wrap: wrap; }
.leader-text .links .cv { letter-spacing: .5px; }
.link-hl { background: var(--blue-200); padding: 1px 8px; }

/* ---------- News ---------- */
/* left col x145 w734 · right col x975 w480 */
.news-section { padding-top: 60px; }
.news-section .section-title { margin-bottom: 90px; }
.news-cols { display: grid; grid-template-columns: 56% 36.6%; gap: 7.4%; align-items: start; }

.news-cols h3 { font-size: 33px; font-weight: 600; margin-bottom: 50px; }
.news-card { margin-bottom: 100px; }
.news-card img { width: 100%; margin-bottom: 56px; }   /* img 734×509 */
.news-card h4 { font-size: 33px; font-weight: 400; margin-bottom: 16px; }
.news-card .read-single { display: inline-block; font-size: 20px; margin-top: 4px; }
.news-card p  { font-size: 22px; font-weight: 500; max-width: 700px; }
.news-card .read-more { display: inline-block; margin-top: 18px; font-size: 20px; }
.archive-row { margin-top: 44px; text-align: right; }   /* banner x495 → right side of col */

/* tweets col */
.tweets-box {
  background: var(--blue-200);
  padding: 30px 36px 36px;
  margin-bottom: 38px;
}
.tweets-box.intro p { font-size: 22px; }
.tweets-box.intro .handle { font-size: 33px; display: block; margin: 16px 0 10px; }
.tweets-box.intro .tags { font-size: 33px; color: var(--blue-500); line-height: 1.35; }

.tweet-card { min-height: 380px; position: relative; display: block; gap: 0; }  /* kill style.css flex */
.tweet-card .x-logo { width: 34px; height: 34px; margin: 0 auto 26px; display: block; }
.tweet-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 26px; }
.tweet-head img.mini-logo,
.tweet-card img.mini-logo { width: 50px; height: auto; border-radius: 0; }      /* kill style.css 72px circle */
.tweet-head .name { font-size: 26px; font-weight: 500; line-height: 1.15; }
.tweet-head .ago  { font-size: 14px; font-weight: 500; color: var(--blue-500); }
.tweet-card .body { font-size: 22px; font-weight: 600; }
.tweet-card .tags { font-size: 15px; color: var(--blue-500); margin-top: 22px; }

/* ---------- footer CTA ---------- */
.footer-cta { padding: 150px 0 0; max-width: none; }   /* XD: single line to x≈1430 */
.footer-cta a:hover { opacity: .75; }
.footer-cta .follow {
  text-decoration: underline;
  text-decoration-color: var(--blue-300);
  text-decoration-thickness: 4px;
  text-underline-offset: 9px;
}
.footer-cta .follow:hover { text-decoration-color: var(--blue-700); opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero-art { opacity: .3; }
  .group-members { position: static; width: auto; margin-top: 48px; }
  .leader-row { flex-direction: column; min-height: 0; margin-top: 48px; pointer-events: auto; }
  .leader-portrait { margin-left: 0; border: 0; width: 350px; height: 455px; }
  .leader-text { position: static; width: auto; margin-top: 40px; }
  .play-banner { margin-left: 0; }
  .group-photo-bleed { width: 100%; margin-left: 0; }
  .news-cols { grid-template-columns: 1fr; gap: 64px; }
}
@media (max-width: 720px) {
  .hero { padding: 70px 0 90px; }
  .hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .hero h1 .w2 { margin-left: 24px; }
  .hero-art { display: none; }
  .footer-cta { font-size: 36px; }
  .banner-btn { font-size: 24px; height: 60px; }
}

/* ---------- latest papers sidebar (replaces tweets) ---------- */
.paper-card { display: block; text-decoration: none; }
.paper-card .pc-year { font-size: 15px; font-weight: 600; color: var(--blue-500); letter-spacing: .5px; }
.paper-card .pc-title { font-size: 22px; font-weight: 600; margin-top: 12px; }
.paper-card .pc-src { font-size: 15px; color: var(--blue-500); margin-top: 16px; }
.paper-card .pc-src em { font-style: normal; font-weight: 600; }
.paper-card:hover { background: var(--blue-300); opacity: 1; }
.all-pubs { display: inline-flex; align-items: flex-start; gap: 10px; font-size: 20px; margin-top: 6px; }
.all-pubs .icon-corner { width: 12px; height: 12px; stroke: var(--blue-700); fill: none; stroke-width: 1.4; margin-top: -2px; }   /* icon rides the label's upper right */

/* fixed two-part logo: rules moved to style.css (now shared by ALL pages, 2026-07-14) */
