    /* Fonts are served from this repository so the site has no Google Fonts dependency. */
    @font-face {
      font-family: "Allura";
      src: url("assets/fonts/allura-latin-400-normal.woff2?v=20260720-2") format("woff2");
      font-style: normal;
      font-weight: 400;
      font-display: swap;
    }
    @font-face {
      font-family: "DM Sans";
      src: url("assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2");
      font-style: normal;
      font-weight: 400;
      font-display: swap;
    }
    @font-face {
      font-family: "DM Sans";
      src: url("assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2");
      font-style: normal;
      font-weight: 500;
      font-display: swap;
    }
    @font-face {
      font-family: "DM Sans";
      src: url("assets/fonts/dm-sans-latin-600-normal.woff2") format("woff2");
      font-style: normal;
      font-weight: 600;
      font-display: swap;
    }
    @font-face {
      font-family: "DM Sans";
      src: url("assets/fonts/dm-sans-latin-700-normal.woff2") format("woff2");
      font-style: normal;
      font-weight: 700;
      font-display: swap;
    }
    @font-face {
      font-family: "Libre Caslon Display";
      src: url("assets/fonts/libre-caslon-display-latin-400-normal.woff2") format("woff2");
      font-style: normal;
      font-weight: 400;
      font-display: swap;
    }

    :root {
      --paper: #f4f6f4;
      --surface: #ffffff;
      --ink: #15242a;
      --muted: #59696f;
      --blue: #174e6a;
      --blue-deep: #10384e;
      --blue-soft: #e5eef1;
      --sage: #738c87;
      --sand: #d8c7a5;
      --line: #d7e0e1;
      --shadow: 0 20px 55px rgba(19, 54, 69, .09);
      --content: 1160px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 88px; }
    body {
      margin: 0;
      background: var(--paper);
      color: var(--ink);
      font-family: "DM Sans", "Helvetica Neue", "Segoe UI", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
      font-size: 16px;
      line-height: 1.7;
    }
    body.nav-open { overflow: hidden; }
    a { color: var(--blue); text-decoration: none; }
    a:hover { color: var(--blue-deep); }
    button, input { font: inherit; }
    .skip-link {
      position: fixed; left: 18px; top: -60px; z-index: 1000;
      padding: 10px 14px; background: var(--surface); color: var(--blue-deep);
      border-radius: 8px; box-shadow: var(--shadow);
    }
    .skip-link:focus { top: 16px; }

    .site-header {
      position: sticky; top: 0; z-index: 50;
      border-bottom: 1px solid rgba(215,224,225,.9);
      background: rgba(250,251,250,.92);
      backdrop-filter: blur(15px);
    }
    .header-inner {
      width: min(var(--content), calc(100% - 42px));
      min-height: 72px; margin: auto;
      display: flex; align-items: center; justify-content: space-between; gap: 24px;
    }
    .wordmark {
      display: inline-flex; align-items: baseline; gap: 5px;
      color: var(--ink); text-decoration: none;
      font-family: "Allura", "Brush Script MT", "Segoe Script", cursive; font-size: 1.48rem; font-style: normal; font-weight: 400;
      letter-spacing: .01em; line-height: 1;
      -webkit-text-stroke: .08px currentColor;
    }
    .wordmark span { color: var(--sage); font-family: "DM Sans", "Helvetica Neue", "Segoe UI", Arial, sans-serif; font-size: .74rem; font-style: normal; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
    .nav-list { display: flex; align-items: center; gap: 5px; margin: 0; padding: 0; list-style: none; }
    .nav-list a {
      display: block; padding: 9px 11px; border-radius: 7px;
      color: #34474e; font-size: .84rem; font-weight: 600; text-decoration: none;
    }
    .nav-list a:hover, .nav-list a.is-active { background: var(--blue-soft); color: var(--blue); }
    .menu-button {
      display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line);
      border-radius: 8px; background: var(--surface); color: var(--blue-deep); cursor: pointer;
    }
    .menu-button span, .menu-button::before, .menu-button::after {
      display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; content: "";
    }

    .hero {
      position: relative; overflow: hidden;
      min-height: 300px; display: grid; align-items: center;
      background: #dfe7e9 url("assets/guopeng-coast.jpg") center 86% / cover no-repeat;
    }
    .hero::before {
      position: absolute; inset: 0; content: "";
      background: linear-gradient(90deg, rgba(9,39,54,.90) 0%, rgba(13,52,69,.72) 42%, rgba(18,63,87,.20) 78%, rgba(18,63,87,.05) 100%);
    }
    .hero::after {
      position: absolute; right: -130px; bottom: -260px; width: 540px; height: 540px;
      border: 1px solid rgba(255,255,255,.22); border-radius: 50%; content: "";
    }
    .hero-inner {
      position: relative; z-index: 1;
      width: min(var(--content), calc(100% - 42px)); margin: auto; padding: 22px 0;
      display: grid; grid-template-columns: minmax(0,1fr) 330px; align-items: center; gap: 72px;
    }
    .hero-copy { max-width: 710px; color: #fff; }
    .eyebrow { margin: 0 0 18px; color: rgba(255,255,255,.74); font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
    .hero h1 {
      display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px;
      margin: 0; font-family: "Libre Caslon Display", Georgia, serif;
      font-size: clamp(1.45rem, 2.6vw, 1.85rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.15;
    }
    .hero h1 .chinese-name-mark { width: 108px; height: auto; align-self: center; opacity: .78; }
    .hero-role { margin: 18px 0 6px; font-size: clamp(1.08rem, 2vw, 1.35rem); font-weight: 600; }
    .hero-affiliation { margin: 0; color: rgba(255,255,255,.76); }
    .hero-email { margin: 8px 0 0; }
    .hero-email span { color: #fff; }
    .hero-address { margin: 0; padding-left: 38px; border-left: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.78); font-style: normal; }
    .hero-address h2 { margin: 0 0 12px; color: #fff; font-family: "Libre Caslon Display", Georgia, serif; font-size: 1.6rem; font-weight: 400; }
    .hero-address p { margin: 0; font-size: .88rem; line-height: 1.75; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 33px; }
    .button {
      display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px;
      padding: 10px 17px; border: 1px solid rgba(255,255,255,.48); border-radius: 7px;
      color: #fff; font-size: .88rem; font-weight: 700; text-decoration: none;
      transition: transform .16s ease, background .16s ease;
    }
    .button:hover { transform: translateY(-1px); background: rgba(255,255,255,.13); color: #fff; }
    .button.primary { border-color: #fff; background: #fff; color: var(--blue-deep); }
    .button.primary:hover { background: #edf3f4; color: var(--blue-deep); }

    main { overflow: hidden; }
    .section { padding: 92px 0; }
    .section.alt { background: var(--surface); }
    .section-inner { width: min(var(--content), calc(100% - 42px)); margin: auto; }
    .section-head { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 45px; margin-bottom: 45px; }
    .section-kicker { margin: 4px 0 0; color: var(--sage); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
    .section-title { margin: 0; color: var(--blue-deep); font-family: "Libre Caslon Display", Georgia, serif; font-size: clamp(2.15rem, 4.8vw, 3.65rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.05; }
    .section-intro { max-width: 760px; margin: 18px 0 0; color: var(--muted); font-size: 1.03rem; }

    .about-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(300px,.75fr); gap: 60px; align-items: start; }
    .prose { font-size: 1.02rem; }
    .prose p { margin-top: 0; }
    .prose .lead { margin-bottom: 3px; color: #263b43; font-family: inherit; font-size: inherit; font-weight: 400; line-height: inherit; }
    .prose .school-page { margin: 0; color: var(--muted); font-size: .88rem; }
    .home-profile { max-width: 1080px; }
    .profile-intro { padding-bottom: 20px; }
    .career-stage { padding: 23px 0; }
    .career-stage:first-child { padding-top: 0; }
    .career-stage + .career-stage { border-top: 1px solid var(--line); }
    .career-stage > p:last-child { margin-bottom: 0; }
    .thesis-highlight { display: grid; grid-template-columns: 125px minmax(0,1fr); gap: 24px; align-items: center; margin-top: 18px; padding: 18px 20px; border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 8px; background: #f8faf9; font-style: normal; }
    .thesis-highlight span { color: var(--sage); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
    .thesis-highlight a { color: var(--blue-deep); font-family: Georgia, serif; font-size: 1rem; line-height: 1.45; }
    .thesis-details p { margin: 7px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
    .thesis-details p a { font-family: inherit; font-size: inherit; }
    .profile-section { display: grid; grid-template-columns: 245px minmax(0,1fr); gap: 42px; padding: 34px 0; border-top: 1px solid var(--line); }
    .profile-section h2 { margin: 0; color: var(--blue-deep); font-family: "Libre Caslon Display", Georgia, serif; font-size: 1.85rem; font-weight: 400; line-height: 1.15; white-space: nowrap; }
    .non-maths-section .prose p { text-align: justify; text-justify: inter-word; }
    .info-card { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: #f9faf9; box-shadow: 0 12px 35px rgba(19,54,69,.05); }
    .info-card h3 { margin: 0 0 18px; color: var(--blue-deep); font-family: Georgia, serif; font-size: 1.25rem; }
    .info-list { display: grid; gap: 14px; margin: 0; }
    .info-list div { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
    .info-list div:last-child { padding-bottom: 0; border: 0; }
    .info-list dt { margin-bottom: 3px; color: var(--sage); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
    .info-list dd { margin: 0; color: #2e4148; font-size: .91rem; }

    .research-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
    .research-card { position: relative; min-height: 255px; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
    .research-card::before { display: block; width: 34px; height: 3px; margin-bottom: 40px; background: var(--sand); content: ""; }
    .research-card .number { position: absolute; right: 22px; top: 20px; color: #dfe7e8; font-family: Georgia, serif; font-size: 2.3rem; }
    .research-card h3 { margin: 0 0 11px; color: var(--blue-deep); font-family: Georgia, serif; font-size: 1.27rem; }
    .research-card p { margin: 0; color: var(--muted); font-size: .92rem; }
    .thesis-card { display: grid; grid-template-columns: 155px minmax(0,1fr); gap: 26px; margin-top: 18px; padding: 28px; border-radius: 12px; background: var(--blue-deep); color: #fff; }
    .thesis-card .label { color: rgba(255,255,255,.62); font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
    .thesis-card p { margin: 0; font-family: Georgia, serif; font-size: 1.2rem; line-height: 1.5; }
    .thesis-card a { color: #fff; }

    .resource-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
    .pill-link { padding: 7px 12px; border: 1px solid #c7d6d9; border-radius: 999px; color: var(--blue); font-size: .78rem; font-weight: 700; text-decoration: none; }
    .pill-link:hover { background: var(--blue-soft); }
    .publication-tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
    .search-wrap { position: relative; width: min(100%,460px); }
    .search-wrap input { width: 100%; min-height: 46px; padding: 10px 15px 10px 42px; border: 1px solid #bfd0d4; border-radius: 8px; background: #fff; color: var(--ink); outline: none; }
    .search-wrap input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23,78,106,.1); }
    .search-wrap::before { position: absolute; left: 15px; top: 11px; color: var(--sage); content: "⌕"; font-size: 1.2rem; }
    .result-count { color: var(--muted); font-size: .84rem; white-space: nowrap; }
    .publication-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
    .publication-item { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 22px; padding: 25px 4px; border-bottom: 1px solid var(--line); }
    .publication-item.is-hidden { display: none; }
    .pub-number { color: #9aa9ad; font-family: Georgia, serif; font-size: 1.25rem; }
    .pub-title { margin: 0 0 5px; color: var(--blue-deep); font-family: Georgia, serif; font-size: 1rem; font-weight: 600; line-height: 1.42; }
    .pub-title a { color: inherit; text-decoration-thickness: 1px; }
    .pub-authors, .pub-venue { margin: 0; color: var(--muted); font-size: .82rem; }
    .pub-venue { margin-top: 4px; color: var(--ink); font-weight: 400; }
    .pub-journal { font-weight: 700; }
    .pub-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
    .pub-links a { color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
    .show-button { display: block; margin: 28px auto 0; padding: 10px 18px; border: 1px solid var(--blue); border-radius: 7px; background: transparent; color: var(--blue); font-weight: 700; cursor: pointer; }
    .show-button:hover { background: var(--blue-soft); }

    .event-feature { display: grid; grid-template-columns: 160px minmax(0,1fr) auto; gap: 24px; align-items: center; margin-bottom: 30px; padding: 25px 28px; border: 1px solid #bfd1d6; border-radius: 12px; background: linear-gradient(120deg,#f1f6f6,#fff); }
    .event-date { color: var(--blue); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
    .event-feature h3 { margin: 0 0 5px; color: var(--blue-deep); font-family: Georgia, serif; font-size: 1.25rem; }
    .event-feature p { margin: 0; color: var(--muted); font-size: .9rem; }
    .event-feature a { white-space: nowrap; font-size: .82rem; font-weight: 700; }
    .year-stack { display: grid; gap: 12px; }
    details.year-group { border: 1px solid var(--line); border-radius: 10px; background: #fff; }
    details.year-group > summary { display: grid; grid-template-columns: minmax(0,1fr) 92px 20px; align-items: center; gap: 12px; padding: 17px 20px; color: var(--blue-deep); cursor: pointer; font-family: Georgia, serif; font-size: 1.12rem; list-style: none; }
    details.year-group > summary::-webkit-details-marker { display: none; }
    details.year-group > summary span { color: var(--muted); font-family: "DM Sans",sans-serif; font-size: .76rem; text-align: right; white-space: nowrap; }
    details.year-group > summary::after { color: var(--sage); content: "+"; font-family: "DM Sans",sans-serif; font-size: 1.2rem; text-align: center; }
    details.year-group[open] > summary::after { content: "−"; }
    .event-list { margin: 0; padding: 0 20px 14px; list-style: none; }
    .event-list li { padding: 12px 0 12px 18px; border-top: 1px solid #e6ebec; color: #40535a; font-size: .9rem; position: relative; }
    .event-list li::before { position: absolute; left: 1px; top: 21px; width: 5px; height: 5px; border-radius: 50%; background: var(--sand); content: ""; }
    .conference-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
    .conference-card { display: grid; grid-template-columns: 145px minmax(0,1fr); column-gap: 22px; row-gap: 1px; padding: 25px 4px; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); }
    .conference-card .year { padding-top: 3px; color: #89999e; font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
    .conference-card h3 { margin: 0; color: var(--blue-deep); font-family: Georgia, serif; font-size: 1.08rem; line-height: 1.35; }
    .conference-card p { grid-column: 2; margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.4; }
    .conference-card a { color: inherit; }

    .cv-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
    .cv-grid > div { padding: 34px 0; border-bottom: 1px solid var(--line); }
    .cv-grid > div:first-child { padding-top: 0; }
    .cv-teaching { margin-top: 52px; padding-top: 46px; border-top: 1px solid var(--line); }
    .subsection-title { margin: 0 0 20px; color: var(--blue-deep); font-family: Georgia, serif; font-size: 1.35rem; }
    .timeline { margin: 0; padding: 0; list-style: none; }
    .timeline li { position: relative; display: grid; grid-template-columns: 190px minmax(0,1fr); column-gap: 22px; row-gap: 0; padding: 0 0 23px 27px; border-left: 1px solid #c6d3d5; }
    .timeline li:last-child { padding-bottom: 0; }
    .timeline li::before { position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border: 2px solid var(--surface); border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 1px var(--blue); content: ""; }
    .timeline time { color: var(--sage); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
    .timeline li p { grid-column: 2; }
    .timeline strong { display: block; color: #263b43; font-size: .94rem; line-height: 1.35; }
    .timeline p { margin: -1px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.4; }
    .award-list { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
    .award-list li { padding: 14px 16px; border-left: 3px solid var(--sand); background: #f7f9f8; color: #40535a; font-size: .88rem; }
    .award-list time { display: block; color: var(--sage); font-size: .7rem; font-weight: 700; text-transform: uppercase; }
    .grant-list time { display: inline; margin-right: 5px; }
    .grant-list time::after { content: " ·"; }

    .teaching-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 22px; }
    .teaching-card { padding: 27px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
    .teaching-card h3 { margin: 0 0 19px; color: var(--blue-deep); font-family: Georgia, serif; font-size: 1.25rem; }
    .course-list { margin: 0; padding: 0; list-style: none; }
    .course-list li { padding: 11px 0; border-top: 1px solid #e3e9ea; color: #40535a; font-size: .88rem; }
    .course-list li:first-child { border-top: 0; padding-top: 0; }
    .course-list time { display: block; color: var(--sage); font-size: .69rem; font-weight: 700; text-transform: uppercase; }
    .supervision-note { color: var(--muted); font-size: .87rem; }

    .personal-strip { padding: 42px 0; background: var(--blue-deep); color: #fff; }
    .personal-inner { width: min(var(--content),calc(100% - 42px)); margin: auto; display: grid; grid-template-columns: 210px 1fr; gap: 42px; align-items: start; }
    .personal-inner h2 { margin: 0; font-family: "Libre Caslon Display",Georgia,serif; font-size: 2rem; font-weight: 400; }
    .personal-inner p { margin: 0; color: rgba(255,255,255,.76); }
    .personal-inner a { color: #fff; }

    footer { padding: 22px 0; background: #0b2c3d; color: rgba(255,255,255,.7); }
    .footer-inner { width: min(900px,calc(100% - 42px)); margin: auto; }
    .footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,.13); }
    .footer-top h2 { margin: 0 0 13px; color: #fff; font-family: "Libre Caslon Display",Georgia,serif; font-size: 2rem; font-weight: 400; }
    .footer-top p { margin: 0; font-size: .88rem; }
    .footer-top a { color: #fff; }
    .footer-bottom { display: flex; justify-content: center; gap: 20px; padding: 0; text-align: center; font-size: .74rem; }

    @media (max-width: 930px) {
      .menu-button { display: block; }
      .nav-list { position: fixed; inset: 73px 0 auto; display: none; padding: 20px; border-bottom: 1px solid var(--line); background: rgba(250,251,250,.98); box-shadow: var(--shadow); }
      .nav-list.is-open { display: grid; }
      .nav-list a { padding: 12px 14px; }
      .hero { min-height: 320px; }
      .hero-inner { grid-template-columns: minmax(0,1fr) 280px; gap: 38px; }
      .section-head { grid-template-columns: 1fr; gap: 8px; }
      .about-grid { grid-template-columns: 1fr; gap: 28px; }
      .profile-section { grid-template-columns: 1fr; gap: 12px; }
      .thesis-highlight { grid-template-columns: 1fr; gap: 6px; }
      .research-grid { grid-template-columns: 1fr 1fr; }
      .research-card:last-child { grid-column: 1 / -1; }
      .teaching-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 680px) {
      html { scroll-padding-top: 72px; }
      .header-inner, .hero-inner, .section-inner, .personal-inner, .footer-inner { width: min(100% - 28px,var(--content)); }
      .footer-inner { width: min(900px,100% - 28px); }
      .wordmark span { display: none; }
      .hero { min-height: 370px; background-position: 58% 86%; }
      .hero-inner { grid-template-columns: 1fr; gap: 30px; }
      .hero-address { padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.3); border-left: 0; }
      .hero::before { background: linear-gradient(90deg,rgba(9,39,54,.94),rgba(13,52,69,.66)); }
      .hero h1 { font-size: clamp(1.4rem,7vw,1.75rem); }
      .non-maths-section .prose p { text-align: left; }
      .section { padding: 68px 0; }
      .research-grid, .cv-grid, .conference-grid { grid-template-columns: 1fr; }
      .research-card:last-child { grid-column: auto; }
      .thesis-card { grid-template-columns: 1fr; gap: 7px; }
      .publication-tools { align-items: flex-start; flex-direction: column; }
      .publication-item { grid-template-columns: 38px minmax(0,1fr); gap: 10px; }
      .event-feature { grid-template-columns: 1fr; gap: 7px; }
      .event-feature a { margin-top: 8px; }
      .conference-card { grid-template-columns: 1fr; gap: 6px; }
      .conference-card p { grid-column: 1; margin-top: 0; }
      .timeline li { grid-template-columns: 1fr; row-gap: 3px; }
      .timeline li p { grid-column: 1; }
      .personal-inner, .footer-top { grid-template-columns: 1fr; gap: 18px; }
      .footer-bottom { flex-direction: column; }
    }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
  

/* Multi-page additions */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.nav-list a[aria-current="page"] { background: var(--blue-soft); color: var(--blue); }
.page-hero {
  position: relative; overflow: hidden; min-height: 205px; display: grid; align-items: center;
  background: linear-gradient(112deg, #4f6d7d 0%, #5a7685 52%, #647f8c 100%);
  color: #fff;
}
.page-hero::after {
  position: absolute; inset: 0; content: ""; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,35,48,.08), transparent 58%);
}
.math-motif { position: absolute; z-index: 0; top: 50%; right: 1.5%; width: min(34vw,420px); height: auto; transform: translateY(-50%); fill: none; stroke: rgba(255,255,255,.16); stroke-width: 1.15; vector-effect: non-scaling-stroke; pointer-events: none; }
.math-motif circle { fill: rgba(255,255,255,.14); stroke: rgba(255,255,255,.22); }
.math-motif .motif-faint { stroke: rgba(255,255,255,.08); }
.sea-wave-reference-motif { position: absolute; z-index: 0; top: 50%; left: 21%; width: min(78vw,930px); height: 145%; object-fit: cover; object-position: center 64%; transform: translateY(-50%); opacity: .27; mix-blend-mode: screen; filter: grayscale(1) contrast(1.16); -webkit-mask-image: linear-gradient(90deg,transparent 0%,rgba(0,0,0,.9) 12%,#000 24%,#000 88%,rgba(0,0,0,.78) 95%,transparent 100%); mask-image: linear-gradient(90deg,transparent 0%,rgba(0,0,0,.9) 12%,#000 24%,#000 88%,rgba(0,0,0,.78) 95%,transparent 100%); pointer-events: none; }
.chalk-reference-motif { position: absolute; z-index: 0; top: 50%; right: -1%; width: min(47vw,570px); height: auto; transform: translateY(-50%) rotate(-2.5deg); opacity: .31; mix-blend-mode: screen; filter: grayscale(1) contrast(1.22); -webkit-mask-image: linear-gradient(90deg,transparent 0%,rgba(0,0,0,.72) 13%,#000 48%,#000 92%,transparent 100%); mask-image: linear-gradient(90deg,transparent 0%,rgba(0,0,0,.72) 13%,#000 48%,#000 92%,transparent 100%); pointer-events: none; }
.milky-way-reference-motif { position: absolute; z-index: 0; top: 50%; right: 5%; width: min(82vw,960px); height: auto; transform: translateY(-50%) rotate(-1.5deg); opacity: .22; mix-blend-mode: screen; filter: grayscale(1) contrast(1.18); -webkit-mask-image: linear-gradient(90deg,transparent 0%,rgba(0,0,0,.82) 10%,#000 24%,#000 84%,rgba(0,0,0,.78) 94%,transparent 100%); mask-image: linear-gradient(90deg,transparent 0%,rgba(0,0,0,.82) 10%,#000 24%,#000 84%,rgba(0,0,0,.78) 94%,transparent 100%); pointer-events: none; }
.galaxy-reference-motif { position: absolute; z-index: 0; top: 50%; right: 0; width: min(32vw,375px); height: auto; transform: translateY(-50%) rotate(-7deg); opacity: .27; mix-blend-mode: screen; filter: grayscale(1) contrast(1.18); -webkit-mask-image: radial-gradient(circle at center,#000 28%,rgba(0,0,0,.9) 52%,transparent 76%); mask-image: radial-gradient(circle at center,#000 28%,rgba(0,0,0,.9) 52%,transparent 76%); pointer-events: none; }
.brownian-reference-motif { position: absolute; z-index: 0; top: 50%; left: -2%; width: min(61vw,710px); height: auto; transform: translateY(-50%) rotate(.8deg); opacity: .15; mix-blend-mode: screen; filter: grayscale(1); -webkit-mask-image: linear-gradient(90deg,transparent 0%,rgba(0,0,0,.94) 14%,#000 48%,rgba(0,0,0,.72) 69%,transparent 94%); mask-image: linear-gradient(90deg,transparent 0%,rgba(0,0,0,.94) 14%,#000 48%,rgba(0,0,0,.72) 69%,transparent 94%); pointer-events: none; }
.white-noise-reference-motif { position: absolute; z-index: 0; top: 50%; right: -1%; width: min(53vw,630px); height: auto; transform: translateY(-50%) rotate(-1.5deg); opacity: .2; mix-blend-mode: screen; filter: grayscale(1) contrast(1.3); -webkit-mask-image: radial-gradient(ellipse at 48% 50%,#000 18%,rgba(0,0,0,.9) 48%,transparent 79%); mask-image: radial-gradient(ellipse at 48% 50%,#000 18%,rgba(0,0,0,.9) 48%,transparent 79%); pointer-events: none; }
.page-hero.image {
  background:
    linear-gradient(90deg, rgba(9,39,54,.91), rgba(13,52,69,.55)),
    url("assets/guopeng-coast.jpg") center 72% / cover no-repeat;
}
.page-hero-inner {
  position: relative; z-index: 1; width: min(var(--content), calc(100% - 42px));
  margin: 0 auto; padding: 22px 0; text-align: left;
}
.page-hero .eyebrow { margin-bottom: 15px; }
.page-hero h1 {
  max-width: 850px; margin: 0; font-family: "Libre Caslon Display", Georgia, serif;
  font-size: clamp(3rem, 7vw, 5rem); font-weight: 400; letter-spacing: -.05em; line-height: 1;
}
.page-hero p:last-child {
  max-width: 680px; margin: 22px 0 0; color: rgba(255,255,255,.74); font-size: 1.02rem;
}
.page-hero .publications-hero-copy { max-width: 760px; margin: 0; color: rgba(255,255,255,.82); font-size: .95rem; line-height: 1.6; }
.hero-resource-links { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 9px; margin-top: 18px; }
.hero-resource-links a { padding: 7px 12px; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; color: #fff; font-size: .78rem; font-weight: 700; }
.hero-resource-links a:hover { background: rgba(255,255,255,.12); color: #fff; }
.talks-hero-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; max-width: 980px; margin: 16px 0 0; }
.page-hero .talks-hero-copy p { max-width: none; margin: 0; color: rgba(255,255,255,.82); font-size: .95rem; line-height: 1.6; }
.page-hero .talks-hero-copy p + p { padding-left: 36px; border-left: 1px solid rgba(255,255,255,.3); }
.talks-hero-copy a { color: #fff; font-weight: 700; }
.page-hero .cv-hero-copy { max-width: 980px; margin: 0; color: rgba(255,255,255,.82); font-size: .95rem; line-height: 1.6; }
.page-hero .cv-hero-note { max-width: none; margin: 12px 0 0; color: rgba(255,255,255,.65); font-size: .84rem; }
.talks-section { padding: 8px 0 44px; }
.talks-section + .talks-section { margin-top: 14px; padding-top: 48px; border-top: 1px solid var(--line); }
.talks-section .subsection-title { margin-top: 0; }
.breadcrumb { margin: 0 0 14px; color: rgba(255,255,255,.62); font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; }
.breadcrumb a { color: inherit; text-decoration: none; }
.home-intro { padding: 72px 0; background: var(--surface); }
.home-intro-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: start; }
.home-intro h2 { margin: 0 0 20px; color: var(--blue-deep); font-family: "Libre Caslon Display",Georgia,serif; font-size: clamp(2.2rem,4vw,3.5rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.1; }
.home-intro p { color: var(--muted); }
.page-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.page-card {
  display: flex; min-height: 230px; flex-direction: column; justify-content: space-between;
  padding: 27px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  color: inherit; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.page-card:hover { transform: translateY(-3px); border-color: #b7cbd0; box-shadow: var(--shadow); color: inherit; }
.page-card .label { color: var(--sage); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.page-card h3 { margin: 36px 0 10px; color: var(--blue-deep); font-family: Georgia,serif; font-size: 1.35rem; }
.page-card p { margin: 0; color: var(--muted); font-size: .88rem; }
.page-card .arrow { display: block; margin-top: 22px; color: var(--blue); font-weight: 700; }
.page-main { padding: 44px 0 48px; }
.page-main.alt { background: var(--surface); }
.content-prose { max-width: 820px; }
.content-prose h2 { margin: 46px 0 15px; color: var(--blue-deep); font-family: Georgia,serif; font-size: 1.55rem; }
.content-prose h2:first-child { margin-top: 0; }
.content-prose p { color: #40535a; }
.quick-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 22px; }
.contact-card { padding: 30px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.contact-card h2 { margin: 0 0 18px; color: var(--blue-deep); font-family: Georgia,serif; font-size: 1.45rem; }
.contact-card p { margin: 0; color: var(--muted); }
.back-home { display: inline-block; margin-top: 30px; font-size: .85rem; font-weight: 700; text-decoration: none; }
.no-results { padding: 35px 0; color: var(--muted); }
footer { margin-top: auto; }

@media (max-width: 930px) {
  .page-grid { grid-template-columns: 1fr 1fr; }
  .home-intro-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 680px) {
  .page-hero { min-height: 230px; }
  .page-hero-inner { width: min(100% - 28px,var(--content)); padding: 24px 0; }
  .math-motif { right: -90px; width: 300px; opacity: .65; }
  .chalk-reference-motif { right: -155px; width: 430px; opacity: .24; }
  .sea-wave-reference-motif { left: -35px; width: 600px; height: 145%; opacity: .17; }
  .milky-way-reference-motif { right: -25px; width: 620px; opacity: .16; }
  .galaxy-reference-motif { right: -90px; width: 290px; opacity: .2; }
  .brownian-reference-motif { left: -135px; width: 430px; opacity: .09; }
  .white-noise-reference-motif { right: -175px; width: 460px; opacity: .15; }
  .talks-hero-copy { grid-template-columns: 1fr; gap: 14px; }
  .page-hero .talks-hero-copy p + p { padding: 14px 0 0; border-top: 1px solid rgba(255,255,255,.3); border-left: 0; }
  .page-grid, .contact-grid { grid-template-columns: 1fr; }
  .page-main { padding: 36px 0 36px; }
}
