:root {
  --ink: #111418;
  --night: #101215;
  --paper: #f4f5f6;
  --white: #ffffff;
  --blue: #0866a5;
  --blue-bright: #149ad3;
  --coral: #ef5a51;
  --line: rgba(17,20,24,.17);
  --muted: #5b6169;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Libre Franklin", sans-serif; font-size: 16px; line-height: 1.65; }
p,.publication-list h3,.news-grid h3,.research-card li { text-align: justify; text-justify: inter-word; hyphens: auto; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 999; color: var(--ink); background: var(--white); padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header { height: 92px; padding: 0 clamp(1.3rem,4vw,4.5rem); display: flex; align-items: center; justify-content: space-between; position: absolute; inset: 0 0 auto; z-index: 50; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.22); }
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; font-weight: 900; font-size: 1.08rem; letter-spacing: .105em; }
.brand-mark { width: 36px; height: 30px; position: relative; display: inline-flex; align-items: center; gap: 3px; transform: skew(-11deg); }
.brand-mark i { width: 8px; border-radius: 8px; background: var(--coral); display: block; }
.brand-mark i:nth-child(1) { height: 15px; }
.brand-mark i:nth-child(2) { height: 27px; background: var(--white); }
.brand-mark i:nth-child(3) { height: 20px; background: var(--blue-bright); }
.site-header nav { display: flex; align-items: center; gap: clamp(1rem,2.2vw,2rem); }
.site-header nav a { text-decoration: none; font-weight: 600; font-size: .88rem; }
.site-header nav a:not(.nav-cta):hover { color: #90dcf5; }
.nav-cta { padding: .62rem 1rem; color: var(--white); background: var(--blue); border-radius: 99px; }
.menu-toggle { display: none; color: var(--white); border: 1px solid rgba(255,255,255,.45); background: transparent; padding: .5rem .75rem; border-radius: 99px; font: inherit; }

.hero { min-height: 760px; height: min(88vh,940px); position: relative; display: flex; align-items: center; overflow: hidden; isolation: isolate; color: var(--white); background: #091524; }
.hero::before { content: ""; position: absolute; inset: -28px; z-index: -1; background: url("images/nrf2-ros-hero.png") center / cover no-repeat; filter: blur(24px) brightness(.52) saturate(.82); transform: scale(1.08); }
.hero-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; filter: saturate(.95) contrast(1.02) brightness(.78); }
.hero-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg,rgba(5,16,31,.96) 0%,rgba(5,16,31,.82) 38%,rgba(5,16,31,.32) 70%,rgba(5,16,31,.12) 100%),linear-gradient(0deg,rgba(5,12,22,.78) 0%,transparent 50%); }
.hero-copy { position: relative; z-index: 2; width: min(1040px,77vw); padding: 8rem clamp(1.4rem,4vw,4.5rem) 6rem; }
.eyebrow,.section-kicker,.role { margin: 0 0 1rem; color: var(--blue-bright); font-weight: 700; letter-spacing: .18em; font-size: .72rem; }
.eyebrow { color: var(--white); }
.eyebrow span { padding: 0 .6rem; color: var(--blue-bright); }
h1,h2,h3 { margin: 0; line-height: 1.08; }
h1 { max-width: 950px; font-size: clamp(4.2rem,8.2vw,8.8rem); font-weight: 900; letter-spacing: -.065em; line-height: .82; }
h2,h3 { font-family: "Lora", serif; }
.hero-lede { max-width: 690px; margin: 2.2rem 0 2rem; font-size: clamp(1.05rem,1.6vw,1.35rem); line-height: 1.5; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; padding: .9rem 1.25rem; text-decoration: none; border-radius: 99px; font-weight: 700; font-size: .9rem; }
.button-primary { color: var(--white); background: var(--blue); }
.button-primary:hover { background: #07568a; }
.button-secondary { color: var(--white); border: 1px solid rgba(255,255,255,.58); background: rgba(0,0,0,.12); }
.hero-stats { position: absolute; right: clamp(1.4rem,4vw,4.5rem); bottom: 2.5rem; z-index: 2; display: flex; margin: 0; border-top: 1px solid rgba(255,255,255,.4); }
.hero-stats div { min-width: 132px; padding: .75rem 1rem 0; border-left: 1px solid rgba(255,255,255,.22); }
.hero-stats dt { font-size: 1.15rem; font-weight: 800; }
.hero-stats dd { margin: .1rem 0 0; color: rgba(255,255,255,.7); font-size: .72rem; }

.lab-nav { min-height: 96px; padding: 0 clamp(1.4rem,4vw,4.5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; position: sticky; top: 0; z-index: 45; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.lab-nav strong { font-family: "Lora",serif; font-size: 1.35rem; }
.lab-nav div { display: flex; gap: clamp(1rem,3.2vw,3.2rem); }
.lab-nav a { color: #51565c; text-decoration: none; font-size: .9rem; }
.lab-nav a:hover { color: var(--blue); }

.section-pad { padding: clamp(5rem,8vw,8.5rem) clamp(1.4rem,7vw,8rem); }
.intro { display: grid; grid-template-columns: .44fr 1.5fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: start; background: var(--white); border-bottom: 1px solid var(--line); }
.intro h2 { font-size: clamp(2.35rem,4.3vw,4.6rem); letter-spacing: -.045em; }
.intro>p:last-child { margin: 0; color: var(--muted); }
.section-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 3.8rem; }
.section-heading h2,.join h2 { font-size: clamp(2.7rem,4.5vw,5rem); letter-spacing: -.05em; }
.section-heading>p { max-width: 500px; color: var(--muted); margin: 0; }

.research { background: #eceff1; }
.research-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.research-card { min-height: 500px; padding: 2.1rem; display: flex; flex-direction: column; background: var(--white); border-radius: 16px; border-top: 5px solid transparent; transition: transform .25s ease,border-color .25s ease; overflow: hidden; }
.research-card:hover { transform: translateY(-5px); border-color: var(--blue-bright); }
.research-card-featured { color: var(--white); background: var(--night); }
.card-number { font-weight: 800; color: var(--blue-bright); }
.card-art { height: 245px; margin: 1.2rem -2.1rem 1.8rem; overflow: hidden; }
.card-art img { width: 100%; height: 100%; object-fit: cover; }
.card-art-keap1 { background: #fff; }
.card-art-keap1 img { object-fit: contain; padding: .35rem; }
.card-art-mito { position: relative; background: #000; isolation: isolate; }
.card-art-mito img { position: relative; z-index: 1; object-fit: contain; transform: scale(1.13); }
.card-art-selenium { position: relative; background: linear-gradient(145deg,#fff 0%,#f5f8fa 100%); isolation: isolate; }
.selenium-foreground { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: center; padding: .35rem 1rem; }
.card-art-selenium .selenium-foreground img { object-fit: contain; }
.card-art-selenium .selenoprotein-pathway { transform: scale(1.04); }
.card-art-selenium .selenium-bg { position: absolute; z-index: 1; width: 46%; height: auto; object-fit: contain; pointer-events: none; mix-blend-mode: multiply; }
.card-art-selenium .selenium-bg-lung { right: -3%; bottom: 2%; opacity: .1; }
.card-art-selenium .selenium-bg-mito { left: -4%; top: 4%; opacity: .55; }
.research-card h3 { margin-top: auto; font-size: 1.75rem; }
.research-card p { color: var(--muted); }
.research-card-featured p { color: #bdc4ca; }
.research-card ul { padding: 0; margin: .8rem 0 0; display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; }
.research-card li { padding: .28rem .58rem; border: 1px solid var(--line); border-radius: 99px; font-size: .72rem; }
.research-card-featured li { border-color: rgba(255,255,255,.2); }

.people { background: var(--white); }
.pi-card { width: 100%; display: grid; grid-template-columns: minmax(280px,390px) minmax(0,1fr); gap: clamp(2.5rem,6vw,6rem); align-items: center; padding: 0 0 clamp(5rem,8vw,8rem); border-bottom: 1px solid var(--line); }
.pi-card img { width: 100%; aspect-ratio: .84; object-fit: cover; object-position: center top; border-radius: 14px; filter: saturate(.88); }
.pi-card>div { padding-top: 0; }
.pi-card h3 { font-size: clamp(2.5rem,4.4vw,4.8rem); letter-spacing: -.045em; }
.pi-title { color: var(--blue); font-weight: 700; max-width: 780px; }
.pi-email { display: inline-block; margin: 0 0 .8rem; color: var(--ink); font-weight: 600; }
.pi-card div>p:not(.role):not(.pi-title) { max-width: 850px; color: var(--muted); text-align: justify; text-justify: inter-word; hyphens: auto; }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.4rem; margin-top: 3rem; }
.team-grid article,.trainee-grid article { background: transparent; }
.team-grid img,.trainee-grid img { width: 100%; aspect-ratio: .88; object-fit: cover; object-position: center top; border-radius: 12px; filter: grayscale(8%); }
.team-grid div,.trainee-grid div { padding: 1rem .15rem; }
.team-grid h3 { font-size: 1.28rem; }
.team-grid p,.trainee-grid p { margin: .3rem 0 0; color: var(--muted); }
.team-grid .member-role,.trainee-grid .member-role { color: var(--blue); font-weight: 700; font-size: .82rem; line-height: 1.4; }
.team-grid .member-bio,.trainee-grid .member-bio { margin-top: .8rem; padding-top: .8rem; color: var(--muted); border-top: 1px solid var(--line); font-size: .86rem; line-height: 1.55; text-align: justify; text-justify: inter-word; hyphens: auto; }
.trainee-heading { margin: 5rem 0 1.6rem; display: flex; align-items: baseline; gap: 1.5rem; }
.trainee-heading p { margin: 0; }
.trainee-heading h3 { font-size: clamp(1.9rem,3vw,3rem); letter-spacing: -.035em; }
.trainee-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 1.25rem; }
.trainee-grid h3 { font-size: 1.05rem; }
.trainee-grid p { font-size: .82rem; line-height: 1.4; }
.trainee-grid .member-bio { font-size: .78rem; }
.alumni-heading { margin-bottom: 0; padding-top: 2rem; border-top: 1px solid var(--line); }
.alumni-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.4rem; margin-top: 1.6rem; }
.alumni-grid article { padding-top: 1rem; border-top: 1px solid var(--line); }
.alumni-grid h3 { margin: 0; font-size: 1.05rem; }
.alumni-grid p { margin: .3rem 0 0; color: var(--blue); font-size: .82rem; font-weight: 700; }

.publications { color: var(--white); background: var(--night); }
.section-heading.light h2 { color: var(--white); }
.section-heading.light>a { color: var(--white); text-underline-offset: 5px; }
.publication-list article { position: relative; display: grid; grid-template-columns: 160px 1.55fr 1fr 44px; gap: 2rem; align-items: start; padding: 2.2rem 0; border-top: 1px solid rgba(255,255,255,.2); }
.publication-list span { color: var(--blue-bright); font-weight: 700; font-size: .82rem; }
.publication-list h3 { font-family: "Libre Franklin",sans-serif; font-size: 1.14rem; line-height: 1.45; }
.publication-list p { margin: 0; color: #aeb7be; font-size: .86rem; }
.publication-list>a { width: 42px; height: 42px; display: grid; place-items: center; text-decoration: none; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; }

.news { background: var(--white); }
.news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(3rem,5vw,5.5rem) clamp(1.4rem,3vw,2.6rem); }
.news-card { min-width: 0; }
.news-image { overflow: hidden; aspect-ratio: 16 / 10; background: #dce3e7; }
.news-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.news-image-jingchun img { object-position: center 18%; }
.news-image-august-2026 img { object-position: center 20%; }
.news-image-pair { position: relative; }
.news-image-september-2026 .news-image-main { object-position: center 28%; }
.news-image-september-2026 .news-image-inset { position: absolute; left: .75rem; bottom: .75rem; width: 43%; height: 43%; border: 3px solid var(--white); box-shadow: 0 8px 24px rgba(0,0,0,.22); object-position: center; }
.news-image-xuan { background: #0d3975; }
.news-image-xuan img { width: 100%; max-width: none; height: 100%; margin: 0; object-fit: contain; clip-path: none; }
.news-image-ryan { position: relative; isolation: isolate; background: transparent; }
.news-image-ryan::before { content: ""; position: absolute; inset: -16px; z-index: 0; background: url("https://lab.moffitt.org/media/340295/ryan-martin.jpg?height=440&width=440") center / cover no-repeat; filter: blur(10px) brightness(.82) saturate(1.08); transform: scale(1.12); }
.news-image-ryan img { position: relative; z-index: 1; transform: scale(.94); }
.news-image-ting img { object-position: center 68%; }
.news-card:hover .news-image img { transform: scale(1.025); }
.news-card:hover .news-image-ryan img { transform: scale(.97); }
.news-copy { padding-top: 1.25rem; }
.news-copy time { display: block; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.news-grid h3 { margin: .55rem 0 0; font-family: "Libre Franklin",sans-serif; font-size: 1.08rem; line-height: 1.5; }

.join { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem,8vw,9rem); color: var(--white); background: var(--blue); }
.join .section-kicker { color: var(--white); }
.join-copy>p:last-child { max-width: 700px; font-size: 1.08rem; }
.join-details { border-top: 1px solid rgba(255,255,255,.4); }
.join-details div { padding: 1.3rem 0; border-bottom: 1px solid rgba(255,255,255,.4); }
.join-details h3 { font-family: "Libre Franklin",sans-serif; font-size: 1.05rem; }
.join-details p { margin: .35rem 0 0; opacity: .85; }
.join .button { margin-top: 1.5rem; color: var(--blue); background: var(--white); }
.email-text { cursor: text; user-select: text; }
footer { padding: 4rem clamp(1.4rem,7vw,8rem); display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; color: #b7bec4; background: #080a0c; font-size: .87rem; }
footer>div:last-child { text-align: right; }
footer a { color: var(--white); }
.footer-brand { color: var(--white); font-size: 1.35rem; font-weight: 900; letter-spacing: .09em; }

@media (max-width: 1020px) {
  .hero { min-height: 680px; }
  .hero-copy { width: 90vw; }
  .intro { grid-template-columns: 1fr; gap: 1.2rem; }
  .research-grid { grid-template-columns: 1fr 1fr; }
  .research-card-featured { grid-row: span 2; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .trainee-grid { grid-template-columns: repeat(3,1fr); }
  .alumni-grid { grid-template-columns: repeat(2,1fr); }
  .news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .publication-list article { grid-template-columns: 125px 1fr 40px; }
  .publication-list p { grid-column: 2; }
  .join { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header { height: 72px; }
  .menu-toggle { display: block; }
  .site-header nav { display: none; position: absolute; left: 0; right: 0; top: 72px; padding: 1.2rem; flex-direction: column; align-items: stretch; color: var(--ink); background: var(--white); border-bottom: 1px solid var(--line); }
  .site-header nav.open { display: flex; }
  .nav-cta { text-align: center; color: var(--white); }
  .hero { min-height: 700px; height: 92vh; align-items: flex-start; }
  .hero-backdrop { object-position: center; }
  .hero-shade { background: linear-gradient(90deg,rgba(5,7,9,.93),rgba(5,7,9,.38)),linear-gradient(0deg,rgba(5,7,9,.82),transparent 60%); }
  .hero-copy { width: 100%; padding-top: 10.5rem; }
  h1 { font-size: clamp(3.5rem,15vw,6rem); }
  .hero-stats { right: 1.4rem; left: 1.4rem; bottom: 1.6rem; }
  .hero-stats div { flex: 1; min-width: 0; padding-left: .65rem; }
  .lab-nav { min-height: 78px; }
  .lab-nav div { display: none; }
  .section-heading { display: block; }
  .section-heading>p { margin-top: 1rem; }
  .research-grid { grid-template-columns: 1fr; }
  .research-card { min-height: 420px; }
  .pi-card { grid-template-columns: 1fr; gap: 0; }
  .pi-card img { max-height: none; }
  .pi-card>div { padding-top: 1.5rem; }
  .news-grid { grid-template-columns: 1fr; }
  .publication-list article { grid-template-columns: 1fr 40px; gap: .75rem; }
  .publication-list span,.publication-list h3,.publication-list p { grid-column: 1; }
  .publication-list>a { grid-column: 2; grid-row: 1 / 3; }
  footer { grid-template-columns: 1fr; }
  footer>div:last-child { text-align: left; }
}

@media (max-width: 470px) {
  .brand { font-size: .88rem; }
  .hero-lede { font-size: .98rem; }
  .hero-stats dd { font-size: .64rem; }
  .team-grid { grid-template-columns: 1fr; }
  .trainee-grid { grid-template-columns: repeat(2,1fr); gap: .85rem; }
  .alumni-grid { grid-template-columns: 1fr; }
}
