
    :root {
      --ink: #17323a;
      --ink-2: #3d5358;
      --muted: #58696b;
      --line: #d7dfd9;
      --surface: #eef2ed;
      --white: #ffffff;
      --blue: #136f68;
      --blue-dark: #0e554f;
      --cyan: #b8edda;
      --navy: #102b34;
      --navy-2: #0a2028;
      --mint: #b8edda;
      --violet: #a6a1e4;
      --paper: #f6f7f2;
      --max: 1180px;
      --radius: 22px;
      --shadow: 0 18px 55px rgba(16, 43, 52, .10);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: #fff;
      font-family: "DM Sans", Arial, sans-serif;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }
    a { color: inherit; text-decoration: none; }
    img { display: block; width: 100%; }
    button, a { -webkit-tap-highlight-color: transparent; }

    .container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--blue);
      text-transform: uppercase;
      letter-spacing: .13em;
      font-size: 12px;
      font-weight: 800;
      margin-bottom: 16px;
    }
    .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
    h1, h2, h3, h4 {
      font-family: "Manrope", "DM Sans", sans-serif;
      line-height: 1.08;
      margin: 0;
      color: var(--ink);
    }
    h1 { font-size: clamp(46px, 6vw, 78px); letter-spacing: -0.045em; }
    h2 { font-size: clamp(34px, 4vw, 54px); letter-spacing: -0.035em; }
    h3 { font-size: 24px; letter-spacing: -0.02em; }
    p { margin: 0; color: var(--ink-2); }
    .lead { font-size: clamp(18px, 2vw, 22px); color: #52617a; max-width: 780px; }
    .section { padding: 100px 0; }
    .section-soft { background: var(--surface); }
    .section-dark { background: var(--navy); color: white; }
    .section-dark h2, .section-dark h3, .section-dark p { color: white; }
    .section-head {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 30px;
      margin-bottom: 44px;
    }
    .section-head .lead { max-width: 580px; font-size: 17px; }

    /* NAV */
    .nav-wrap {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255,255,255,.92);
      backdrop-filter: blur(18px);
      border-bottom: 1px solid rgba(223,230,239,.85);
    }
    nav {
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
    }
    .brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
    .brand-mark {
      width: 38px; height: 38px; border-radius: 12px;
      display: grid; place-items: center;
      color: white;
      font-family: "Manrope";
      font-weight: 800;
      background: linear-gradient(145deg, var(--blue), var(--cyan));
      box-shadow: 0 8px 20px rgba(23,92,255,.23);
    }
    .brand-copy { line-height: 1.08; }
    .brand-copy strong { display: block; font-family: "Manrope"; font-size: 15px; }
    .brand-copy span { display: block; font-size: 10px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }
    .nav-links { display: flex; align-items: center; gap: 25px; font-size: 14px; font-weight: 600; color: #3f4e66; }
    .nav-links a:hover { color: var(--blue); }
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      min-height: 48px;
      padding: 0 20px;
      border-radius: 12px;
      font-size: 14px;
      font-weight: 700;
      border: 1px solid transparent;
      transition: .2s ease;
    }
    .btn-primary { background: var(--blue); color: white; box-shadow: 0 10px 26px rgba(23,92,255,.20); }
    .btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
    .btn-ghost { border-color: #ced8e8; color: var(--ink); background: white; }
    .btn-ghost:hover { border-color: #9db1cf; transform: translateY(-1px); }

    /* HERO */
    .hero { padding: 72px 0 62px; overflow: hidden; }
    .hero-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 40px; align-items: center; }
    .hero h1 span { color: var(--blue); }
    .hero h1 { font-size: clamp(40px, 4.6vw, 64px); }
    .hero-copy p { margin-top: 24px; font-size: 19px; max-width: 700px; }
    .hero-meta {
      margin-top: 24px;
      color: var(--muted);
      font-size: 14px;
      display: flex; gap: 9px; flex-wrap: wrap; align-items: center;
    }
    .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
    .hero-media {
      position: relative;
      height: 530px;
      min-height: 530px;
      border-radius: 34px;
      overflow: hidden;
      background: var(--navy);
      box-shadow: var(--shadow);
    }
    .hero-slide {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      opacity: 0; visibility: hidden;
      transition: opacity .7s ease, visibility .7s ease;
    }
    .hero-slide.is-active { opacity: 1; visibility: visible; }
    .hero-slide img { width: 100%; height: 530px; object-fit: contain; background: var(--navy); filter: saturate(.9) contrast(1.02); }
    .hero-media::after {
      content: "";
      position: absolute; inset: 0;
      background: linear-gradient(180deg, rgba(7,22,47,.02), rgba(7,22,47,.60));
    }
    .hero-card {
      position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2;
      color: white;
      background: rgba(7,22,47,.72);
      border: 1px solid rgba(255,255,255,.18);
      backdrop-filter: blur(12px);
      border-radius: 18px;
      padding: 20px;
    }
    .hero-card strong { display: block; font-family: "Manrope"; font-size: 18px; margin-bottom: 5px; }
    .hero-card span { font-size: 13px; color: #dce7f7; }
    .hero-controls { position:absolute; z-index:3; top:20px; right:20px; display:flex; gap:8px; }
    .hero-control {
      width:38px; height:38px; border:1px solid rgba(255,255,255,.35); border-radius:50%;
      color:white; background:rgba(7,22,47,.62); backdrop-filter:blur(8px); cursor:pointer;
      font-size:20px; line-height:1;
    }
    .hero-control:hover, .hero-control:focus-visible { background:rgba(36,99,255,.92); }
    .hero-dots { position:absolute; z-index:3; left:50%; bottom:132px; transform:translateX(-50%); display:flex; gap:8px; }
    .hero-dot { width:9px; height:9px; padding:0; border:0; border-radius:50%; background:rgba(255,255,255,.52); cursor:pointer; }
    .hero-dot.is-active { width:25px; border-radius:999px; background:white; }

    /* METRICS */
    .metrics { padding: 34px 0 52px; }
    .metrics-grid {
      display: grid; grid-template-columns: repeat(4, 1fr);
      border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
      background: white;
    }
    .metric { padding: 28px 26px; border-right: 1px solid var(--line); }
    .metric:last-child { border-right: 0; }
    .metric b { font-family: "Manrope"; font-size: 29px; letter-spacing: -.04em; display: block; }
    .metric span { font-size: 13px; color: var(--muted); }

    /* MISSION */
    .mission-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: start; }
    .mission-copy { font-size: 25px; line-height: 1.5; letter-spacing: -.012em; color: #2b3c57; }
    .mission-list { margin-top: 28px; display: grid; gap: 14px; }
    .mission-item { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: #4c5c75; }
    .check { flex: 0 0 25px; width: 25px; height: 25px; border-radius: 8px; display: grid; place-items: center; color: var(--blue); background: #eaf0ff; font-weight: 800; }

    /* RESEARCH CARDS */
    .research-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .research-card {
      min-height: 320px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 34px;
      background: white;
      position: relative;
      overflow: hidden;
      transition: .25s ease;
    }
    .research-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
    .research-card .num { font-family: "Manrope"; color: var(--blue); font-weight: 800; font-size: 13px; letter-spacing: .12em; }
    .research-card h3 { margin-top: 52px; max-width: 420px; }
    .research-card p { margin-top: 13px; max-width: 500px; }
    .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
    .tag { padding: 6px 9px; border-radius: 999px; background: #f0f4f8; color: #52617a; font-size: 11px; font-weight: 700; }
    .arrow { position: absolute; right: 28px; top: 28px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 18px; color: var(--blue); }

    /* PROJECTS */
    .project-feature {
      display: grid; grid-template-columns: 1.03fr .97fr; min-height: 500px;
      border-radius: 28px; overflow: hidden; background: white; border: 1px solid var(--line); margin-bottom: 22px;
    }
    .project-feature img { height: 100%; min-height: 500px; object-fit: cover; }
    .project-copy { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
    .project-copy h3 { font-size: 34px; margin: 10px 0 18px; }
    .project-copy .grant { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
    .project-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
    .project-mini { background: white; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
    .project-mini img { height: 190px; object-fit: cover; }
    .project-mini-copy { padding: 24px; }
    .project-mini h3 { font-size: 20px; }
    .project-mini p { margin-top: 10px; font-size: 14px; }

    /* PUBLICATIONS */
    .pub-list { border-top: 1px solid var(--line); }
    .pub {
      display: grid; grid-template-columns: 96px 1fr 120px; gap: 24px; align-items: start;
      padding: 28px 0; border-bottom: 1px solid var(--line);
    }
    .pub-year { color: var(--blue); font-family: "Manrope"; font-weight: 800; }
    .pub-title { font-family: "Manrope"; font-size: 18px; line-height: 1.4; font-weight: 700; color: var(--ink); }
    .pub-meta { margin-top: 7px; color: var(--muted); font-size: 13px; }
    .pub-link { justify-self: end; font-size: 13px; color: var(--blue); font-weight: 700; }

    /* TEAM */
    .team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
    .person { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: white; }
    .person-photo {
      aspect-ratio: 1/1;
      background: linear-gradient(145deg,#e9eef7,#f8fafc);
      display: grid; place-items: center;
      font-family: "Manrope"; font-size: 34px; font-weight: 800; color: #94a2b8;
    }
    .person:first-child .person-photo { background: linear-gradient(145deg, #0e3b81, #175cff); color: white; }
    .person-copy { padding: 19px; }
    .person h3 { font-size: 17px; }
    .person-role { margin-top: 7px; font-size: 12px; color: var(--blue); font-weight: 700; }
    .person-interest { margin-top: 10px; font-size: 12px; color: var(--muted); }

    /* TEACHING */
    .teaching-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .course { padding: 28px; border-radius: 18px; border: 1px solid var(--line); background: white; }
    .course-code { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
    .course h3 { margin-top: 14px; font-size: 21px; }
    .course p { margin-top: 12px; font-size: 14px; }

    /* JOIN */
    .join-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
    .join-copy p { color: #d4deed; margin-top: 20px; font-size: 18px; }
    .join-actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
    .join-actions .btn-ghost { border-color: rgba(255,255,255,.28); color: white; background: transparent; }
    .opportunities { display: grid; gap: 12px; }
    .opp { border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.05); border-radius: 16px; padding: 21px; }
    .opp strong { display: block; font-family: "Manrope"; font-size: 16px; }
    .opp span { color: #b9c6d9; font-size: 13px; }

    /* GALLERY */
    .gallery { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: 250px 250px; gap: 14px; }
    .gallery figure { margin: 0; border-radius: 18px; overflow: hidden; position: relative; background: #eef2f6; }
    .gallery figure:first-child { grid-row: 1 / span 2; }
    .gallery img { width: 100%; height: 100%; object-fit: cover; }
    .gallery figcaption { position: absolute; left: 15px; right: 15px; bottom: 13px; color: white; font-weight: 700; font-size: 12px; text-shadow: 0 2px 10px rgba(0,0,0,.8); }

    /* CONTACT */
    .contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
    .contact-card { border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: var(--surface); }
    .contact-row { padding: 16px 0; border-bottom: 1px solid var(--line); }
    .contact-row:last-child { border-bottom: 0; }
    .contact-row small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
    .contact-row span, .contact-row a { display: block; margin-top: 4px; font-size: 15px; font-weight: 600; }

    footer { padding: 32px 0 44px; border-top: 1px solid var(--line); }
    .footer-row { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; }
    .footer-meta { color: var(--muted); font-size: 12px; max-width: 680px; }
    .credits { margin-top: 10px; font-size: 10px; color: #8a97a9; }
    .credits a { text-decoration: underline; }

    /* Notion callout */
    .notion-note { margin-top: 34px; padding: 17px 19px; border-radius: 14px; background: #eef4ff; border: 1px solid #d6e2ff; color: #365178; font-size: 13px; }

    @media (max-width: 980px) {
      .nav-links { display: none; }
      .hero-grid, .mission-grid, .project-feature, .join-grid, .contact-grid { grid-template-columns: 1fr; }
      .hero-media { height: 430px; min-height: 430px; }
      .hero-slide img { height: 430px; object-fit: contain; }
      .metrics-grid { grid-template-columns: 1fr 1fr; }
      .metric:nth-child(2) { border-right: 0; }
      .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
      .research-grid, .project-list, .teaching-grid { grid-template-columns: 1fr 1fr; }
      .team-grid { grid-template-columns: repeat(3, 1fr); }
      .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 220px 220px; }
      .gallery figure:first-child { grid-column: 1 / -1; grid-row: auto; }
    }

    @media (max-width: 680px) {
      .container { width: min(var(--max), calc(100% - 30px)); }
      .section { padding: 74px 0; }
      .hero { padding-top: 52px; }
      .brand-copy span { display: none; }
      .nav-cta { display: none; }
      .section-head { align-items: start; flex-direction: column; }
      .metrics-grid, .research-grid, .project-list, .teaching-grid, .team-grid { grid-template-columns: 1fr; }
      .metric { border-right: 0; border-bottom: 1px solid var(--line); }
      .metric:last-child { border-bottom: 0; }
      .project-copy { padding: 32px; }
      .project-feature img { min-height: 330px; }
      .pub { grid-template-columns: 64px 1fr; }
      .pub-link { grid-column: 2; justify-self: start; }
      .gallery { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(4, 260px); }
      .gallery figure:first-child { grid-column: auto; }
      .footer-row { flex-direction: column; align-items: flex-start; }
    }
  
.nav-links a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-underline-offset: 7px; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 12px; background: white; }
.skip-link:focus { top: 8px; }
a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; }
.page-heading { font-size: clamp(34px, 4vw, 54px); letter-spacing: -.035em; }
@media(max-width: 980px) { nav { flex-wrap: wrap; gap: 16px; padding: 16px 0; } .nav-links { display:flex; order:3; width:100%; overflow-x:auto; padding: 4px 0 10px; gap:22px; } .nav-links a { white-space:nowrap; } }
@media(prefers-reduced-motion: reduce) { html {scroll-behavior:auto;} *, *::before, *::after {transition:none!important;} }

/* Member directory */
.members-section + .members-section { margin-top: 68px; }
.members-section h2 { font-size: 30px; margin-bottom: 28px; }
.members-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.member-card { background:white; border:1px solid var(--line); border-radius:18px; overflow:hidden; padding-top:18px; }
.member-portrait { height:180px; margin:0 auto; background-repeat:no-repeat; }
.member-details { border-top:1px solid var(--line); padding:18px 20px; margin-top:18px; }
.member-details h3 { font-size:19px; line-height:1.35; }
.member-email { display:block; width:fit-content; font-size:13px; color:var(--ink-2); text-decoration:underline; text-underline-offset:3px; margin:12px 0; overflow-wrap:anywhere; }
.member-badge { display:inline-block; border-radius:5px; padding:3px 9px; font-size:13px; }
.member-badge.head {background:#d8e9df;color:#205544;}
.member-badge.graduate {background:#f3dce7;color:#793550;}
.member-badge.alumni {background:#d5e9fa;color:#205786;}
@media(max-width:980px) { .members-grid {grid-template-columns:repeat(2,minmax(0,1fr));} }
@media(max-width:680px) { .members-grid {grid-template-columns:1fr;} }

.lab-photo { margin:0; border:1px solid var(--line); border-radius:22px; overflow:hidden; background:white; }
.lab-photo img { width:100%; height:auto; }
.lab-photo figcaption { padding:18px 24px; font-size:14px; color:var(--muted); }
@media(min-width:981px) { nav {gap:18px;flex-wrap:wrap;padding:14px 0;} .nav-links {gap:18px;flex-wrap:wrap;} }

.lab-gallery {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-bottom:40px;align-items:start;}
.lab-gallery .lab-photo img {aspect-ratio:4/3;object-fit:contain;background:#f6f8fb;}
.lab-gallery .lab-photo figcaption {font-weight:600;color:var(--ink);min-height:80px;}
@media(max-width:980px){.lab-gallery{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:680px){.lab-gallery{grid-template-columns:1fr;}}

.archive-intro{margin:24px 0 32px}.year-navigation{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:10px;min-height:0;margin-bottom:48px}.year-navigation a{padding:6px 12px;background:var(--surface);border-radius:8px;color:var(--blue)}.publication-year{margin:48px 0;scroll-margin-top:160px}.publication-year h2{font-size:30px;margin-bottom:20px}.archive-publication{padding:24px 0;border-bottom:1px solid var(--line);scroll-margin-top:160px}.archive-publication h3{font-size:19px;line-height:1.5}.archive-publication p{font-size:14px;margin:12px 0;overflow-wrap:anywhere}.paper-link{color:var(--blue);text-decoration:underline;text-underline-offset:4px;line-height:1.6}.research-detail{max-width:920px}.research-detail h1{margin:24px 0}.research-description{font-size:18px;line-height:1.8;margin:28px 0}.research-detail h2{font-size:28px;margin-top:40px}.research-detail li{margin:12px 0}.research-image{max-height:460px;object-fit:contain;border-radius:18px;background:var(--surface)}
.research-demonstrations{max-width:980px;margin:0 auto}.research-demonstrations .section-head{margin-bottom:28px}.video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.research-video{margin:0;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--surface)}.research-video iframe{display:block;width:100%;aspect-ratio:16/9;border:0}.research-video figcaption{padding:16px 18px;color:var(--muted);font-size:14px;line-height:1.55}.research-video figcaption strong{display:block;color:var(--ink);font-family:Manrope,sans-serif;font-size:16px;margin-bottom:4px}@media(max-width:700px){.video-grid{grid-template-columns:1fr}}

/* Preserve complete proposal diagrams and their labels. */
.project-feature {grid-template-columns:1fr;}
.project-diagram {margin:0;background:white;padding:24px;}
.project-feature .project-diagram img {height:auto;min-height:0;max-height:560px;object-fit:contain;}
.project-mini .project-diagram img {height:auto;min-height:0;object-fit:contain;}
.project-diagram figcaption {font-size:13px;color:var(--muted);line-height:1.6;margin-top:16px;}
.project-feature .project-copy {padding-top:24px;}

/* Supplied project figures retain their complete aspect ratio. */
.project-list {grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;}
.project-list .project-mini:first-child {grid-column:1/-1;}
.project-mini .project-diagram {padding:12px;}
.project-diagram a {display:block;}
@media(max-width:680px){.project-list{grid-template-columns:1fr;}}


/* Onset-inspired visual system */
body { background: var(--paper); }
.nav-wrap { background: rgba(246,247,242,.93); border-bottom-color: var(--line); }
.brand-mark { background: linear-gradient(145deg, var(--teal, #136f68), #102b34); box-shadow: 0 8px 20px rgba(19,111,104,.20); }
.nav-links { color: #355057; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.btn { border-radius: 7px; }
.btn-primary { background: var(--blue); box-shadow: 0 10px 26px rgba(19,111,104,.18); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; border-color: #b9c9c1; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.eyebrow { color: var(--blue); letter-spacing: .15em; }
.dot { background: var(--violet); }
.section-soft, .research-video, .contact-card { background: #edf3ee; }
.section-dark { background: var(--navy); }
.hero h1 span, .research-card .num, .course-code, .pub-year, .pub-link, .paper-link, .year-navigation a { color: var(--blue); }
.hero-media { background: var(--navy); border-radius: 22px; }
.hero-slide img { background: var(--navy); }
.hero-media::after { background: linear-gradient(180deg, rgba(10,32,40,.01), rgba(10,32,40,.70)); }
.hero-card, .hero-control { background: rgba(10,32,40,.78); }
.hero-control:hover, .hero-control:focus-visible { background: var(--blue); }
.tag { background: #dff4e8; color: #23564c; }
.check { color: var(--blue); background: #dff4e8; }
.research-card, .project-feature, .project-mini, .course, .person, .member-card, .lab-photo { background: var(--white); border-color: var(--line); }
.research-card { border-radius: 12px; }
.research-card:hover { border-color: #8fc8b6; box-shadow: var(--shadow); }
.arrow { color: var(--blue); border-color: var(--line); }
.project-feature { border-radius: 12px; }
.project-mini { border-radius: 12px; }
.course { border-radius: 12px; }
.member-badge.head { background:#dff4e8;color:#23564c; }
.member-badge.graduate { background:#e7e5fb;color:#4b477e; }
.member-badge.alumni { background:#dceef0;color:#275b62; }
.notion-note { background:#e5f3ec; border-color:#c4dfd1; color:#28544d; }
footer { background: #edf3ee; }
a:focus-visible { outline-color: var(--violet); }

/* Open research and teaching resources */
.resource-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.resource-card { display:flex; flex-direction:column; gap:16px; min-height:250px; padding:30px; border:1px solid var(--line); border-radius:12px; background:var(--white); }
.resource-card--featured { background:var(--navy); border-color:var(--navy); }
.resource-card--featured h3, .resource-card--featured p, .resource-card--featured .resource-meta { color:white; }
.resource-card--featured .resource-label { color:var(--mint); }
.resource-label { color:var(--blue); font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.resource-card h3 { font-size:25px; }
.resource-card p { font-size:15px; }
.resource-actions { margin-top:auto; display:flex; flex-wrap:wrap; gap:10px; }
.resource-card--featured .btn-ghost { border-color:rgba(255,255,255,.42); color:white; }
.resource-meta { color:var(--muted); font-size:13px; }
@media(max-width:680px){ .resource-grid{grid-template-columns:1fr;} }

/* BMI Lab identity mark */
.brand-mark { overflow: hidden; display: inline-grid; place-items: center; background: var(--paper); }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }


/* Academic information architecture */
.hero-academic { padding: 94px 0 86px; }
.hero-feature { margin:0; position:relative; min-height:480px; background:var(--navy); border-radius:12px; overflow:hidden; box-shadow:var(--shadow); }
.hero-feature img { width:100%; height:480px; object-fit:contain; background:var(--navy); }
.hero-feature figcaption { position:absolute; right:0; bottom:0; left:0; padding:18px 22px; background:rgba(10,32,40,.86); color:#fff; font-size:14px; }
.hero-feature figcaption span { display:block; margin-bottom:3px; color:var(--mint); font-size:11px; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
.academic-grid, .output-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:1px; border:1px solid var(--line); background:var(--line); }
.academic-card, .output-card { display:flex; flex-direction:column; gap:16px; min-height:300px; padding:34px; background:var(--paper); }
.academic-card h3, .output-card h3 { font-size:24px; }
.academic-card p, .output-card p { font-size:15px; }
.academic-card .paper-link, .output-card .paper-link { margin-top:auto; }
.academic-number, .output-type { color:var(--blue); font-family:Manrope,sans-serif; font-size:12px; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
.output-card { min-height:290px; background:#fff; }
.output-card--publication { background:var(--navy); }
.output-card--publication h3, .output-card--publication p, .output-card--publication .paper-link { color:#fff; }
.output-card--publication .output-type { color:var(--mint); }
.activity-grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:80px; align-items:start; }
.activity-grid .eyebrow { color:var(--mint); }
.activity-list { border-top:1px solid rgba(255,255,255,.28); }
.activity-list a { display:flex; justify-content:space-between; gap:22px; align-items:baseline; padding:22px 0; border-bottom:1px solid rgba(255,255,255,.28); }
.activity-list strong { font-family:Manrope,sans-serif; font-size:19px; color:#fff; }
.activity-list span { color:#c9d9d4; font-size:14px; text-align:right; }
.people-preview { display:grid; grid-template-columns:.85fr 1.15fr; gap:80px; align-items:start; }
.people-preview .btn { margin-top:28px; }
.people-list { border-top:1px solid var(--line); }
.people-list > div { display:grid; grid-template-columns:220px 1fr; gap:22px; padding:21px 0; border-bottom:1px solid var(--line); }
.people-list strong { font-family:Manrope,sans-serif; }
.people-list span { color:var(--muted); font-size:14px; }
.contact-card--academic { max-width:none; padding:48px; background:#fff; }
.contact-card--academic h2 { margin-bottom:16px; font-size:clamp(30px,3vw,44px); }
.contact-card--academic .paper-link { display:inline-block; margin-top:20px; font-size:16px; font-weight:700; }
@media(max-width:980px){ .hero-academic{padding:64px 0;} .hero-feature,.hero-feature img{min-height:0;height:400px;} .academic-grid,.output-grid{grid-template-columns:1fr;} .activity-grid,.people-preview{grid-template-columns:1fr;gap:42px;} }
@media(max-width:680px){ .hero-feature,.hero-feature img{height:300px;} .academic-card,.output-card{min-height:0;padding:28px;} .activity-list a,.people-list > div{display:block;} .activity-list span,.people-list span{display:block;margin-top:7px;text-align:left;} .contact-card--academic{padding:28px;} }
