.martin-page{background:#fff}.martin-hero{padding:3.5rem 0;background:linear-gradient(120deg,#fffaf0 0%,#edf4f8 100%)}.martin-hero-grid{display:grid;grid-template-columns:minmax(320px,.78fr) minmax(0,1.22fr);gap:4rem;align-items:center}.martin-hero figure{margin:0}.martin-hero figure img{width:100%;max-height:480px;object-fit:cover}.martin-hero figcaption{margin-top:.55rem;color:var(--muted);font-size:.78rem}.martin-hero h1{margin:.1rem 0 .6rem;color:var(--navy);font:700 clamp(2.5rem,5vw,4.5rem)/1 Georgia,"Times New Roman",serif}.martin-hero .role{color:var(--blue);font-weight:750}.martin-hero div>p:not(.eyebrow):not(.role){font-size:1.08rem}.back-link{display:inline-block;margin-top:.8rem;color:var(--red);font-weight:800}.profile-links-section{padding:1.4rem 0;border-bottom:1px solid var(--line)}.profile-links-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.7rem}.profile-links-grid a{display:grid;gap:.2rem;padding:1rem;border-left:4px solid var(--blue);background:var(--soft)}.profile-links-grid strong{color:var(--navy)}.profile-links-grid span{color:var(--muted);font-size:.78rem}.research-profile{padding:4.5rem 0}.research-profile h2,.profile-gallery h2,.connect-strip h2{font-size:clamp(1.5rem,3vw,2.5rem)}.research-lead{max-width:850px;font-size:1.12rem}.research-topic{display:grid;grid-template-columns:minmax(230px,.72fr) 1.28fr;gap:4rem;margin-top:3rem;padding-top:2rem;border-top:1px solid var(--line)}.research-topic span{color:var(--red);font-weight:800;letter-spacing:.12em}.research-topic h3{margin:.45rem 0 0;font-size:1.55rem}.research-topic>div>p:first-child{margin-top:0}.profile-gallery{padding:4rem 0;background:var(--soft)}.martin-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-top:2rem}.martin-gallery figure{margin:0;background:#fff;border:1px solid var(--line)}.martin-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover}.martin-gallery figcaption{padding:.8rem;color:var(--muted);font-size:.85rem}.connect-strip{padding:3.5rem 0;color:#fff;background:var(--deep)}.connect-strip .shell{display:grid;grid-template-columns:.8fr 1.2fr;gap:4rem}.connect-strip h2{color:#fff}.social-links{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}.social-links a{padding:.9rem;border:1px solid #ffffff36;font-weight:700}.social-links a:hover{background:#ffffff12}@media(max-width:850px){.martin-hero-grid,.research-topic,.connect-strip .shell{grid-template-columns:1fr;gap:2rem}.profile-links-grid{grid-template-columns:1fr 1fr}}@media(max-width:620px){.martin-hero{padding:2.2rem 0}.profile-links-grid,.martin-gallery,.social-links{grid-template-columns:1fr}.research-profile{padding:3rem 0}.research-topic{margin-top:2rem}.martin-hero figure img{max-height:380px}}

/* Requested profile hero adjustments */
.martin-hero h1{font-size:clamp(1.5rem,3vw,2.7rem)}
.research-overview-image{margin:1.25rem 0 0}
.research-overview-image img{width:100%;height:auto;border:1px solid var(--line);background:#fff}


/* Compact profile introduction and aligned image panel */
.martin-hero{padding:2.4rem 0}
.martin-title-block{margin:0 0 1.35rem;text-align:left}
.martin-title-block .eyebrow,.martin-title-block h1,.martin-title-block .role{margin-left:0}
.martin-title-block .role{margin-bottom:0}
.martin-visual-grid{display:grid;grid-template-columns:minmax(240px,.62fr) minmax(0,1.38fr);gap:1.25rem;align-items:start}
.martin-photo-panel{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:.45rem;aspect-ratio:4/3}
.martin-photo-panel img{width:100%;height:100%;min-height:0;object-fit:cover;border:1px solid var(--line)}
.martin-visual-grid .research-overview-image{margin:0}
.martin-visual-grid .research-overview-image img{display:block;width:100%;aspect-ratio:768/579;object-fit:contain}
.martin-hero .back-link{margin-top:1rem}
@media(max-width:850px){.martin-visual-grid{grid-template-columns:1fr;gap:1rem}.martin-photo-panel{max-width:620px}.martin-title-block{margin-bottom:1rem}}

/* Align both hero image blocks edge-to-edge */
.martin-visual-grid{align-items:stretch}
.martin-photo-panel{height:100%;aspect-ratio:auto}
.martin-visual-grid .research-overview-image{display:flex}
.martin-visual-grid .research-overview-image img{height:100%;aspect-ratio:auto;object-fit:contain}
.research-topic h3{margin-top:0}

/* Full-width research introduction */
.research-lead{width:100%;max-width:none}

/* Show the profile photographs without cropping */
.martin-photo-panel{grid-template-rows:minmax(0,1fr) minmax(0,1.25fr);background:#fff}
.martin-photo-panel img{object-fit:contain;background:#fff}
.martin-photo-panel .wide-cartoon{grid-column:1/-1;width:100%}

/* New landscape Lizard Lab research overview */
.martin-visual-grid .research-overview-image img{aspect-ratio:16/9;object-fit:contain}

/* Link from the profile to the dedicated research page */
.research-page-link{display:inline-block;margin-top:1rem;padding:.8rem 1rem;color:#fff;background:var(--red);font-weight:800}
.research-page-link:hover{background:var(--navy)}
